<?php /* Smarty version Smarty-3.1.8, created on 2019-12-24 15:25:05
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/frontend/mini/catalog/default/PaymentTab3.tpl" */ ?>
<?php /*%%SmartyHeaderCode:3518600955da7e8674ca8e6-49541017%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0d79ad1fb6f947b0b2908c3e81af198bf328af85' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/frontend/mini/catalog/default/PaymentTab3.tpl',
      1 => 1577180532,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3518600955da7e8674ca8e6-49541017',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da7e86750f150_78986916',
  'variables' => 
  array (
    'language' => 0,
    'bookingAmount' => 0,
    'productDefaultCurrency' => 0,
    'currentCurrencyID' => 0,
    'selectedPaymentKey' => 0,
    'resPaymentGateways' => 0,
    'paymentGateways' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da7e86750f150_78986916')) {function content_5da7e86750f150_78986916($_smarty_tpl) {?><div id="payment-screen-3" class="d-none text-left">
                        <h4 class="font-weight-bold"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBookNow'];?>
</h4>
                        <p class="font-normal mb-4 text-muted text-uppercase"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBookingConditonMINI'];?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['bookingAmount']->value,'',$_smarty_tpl->tpl_vars['productDefaultCurrency']->value,$_smarty_tpl->tpl_vars['currentCurrencyID']->value);?>
</p>
                        <div class="col-12 p-0 mb-4">
                          <div class="row align-items-center">
                            
                            <?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['selectedPaymentKey']->value)===null||$tmp==='' ? '' : $tmp);?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["selectedPaymentKey"] = new Smarty_variable($_tmp1, null, 0);?>
                            <?php if ((($tmp = @$_smarty_tpl->tpl_vars['selectedPaymentKey']->value)===null||$tmp==='' ? '' : $tmp)==''){?>
                                <?php $_smarty_tpl->tpl_vars["selectedPaymentKey"] = new Smarty_variable(($_smarty_tpl->tpl_vars['resPaymentGateways']->value[0]['paySetGroupKey']), null, 0);?>
                            <?php }?>   
                            <?php  $_smarty_tpl->tpl_vars["paymentGateways"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["paymentGateways"]->_loop = false;
 $_smarty_tpl->tpl_vars["k1"] = new Smarty_Variable;
 $_from = (($tmp = @$_smarty_tpl->tpl_vars['resPaymentGateways']->value)===null||$tmp==='' ? '' : $tmp); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["paymentGateways"]->key => $_smarty_tpl->tpl_vars["paymentGateways"]->value){
$_smarty_tpl->tpl_vars["paymentGateways"]->_loop = true;
 $_smarty_tpl->tpl_vars["k1"]->value = $_smarty_tpl->tpl_vars["paymentGateways"]->key;
?>
                            <div class="col-auto">
                              <input type="radio" <?php if ($_smarty_tpl->tpl_vars['selectedPaymentKey']->value==$_smarty_tpl->tpl_vars['paymentGateways']->value[0]){?> checked <?php }?> id="<?php echo $_smarty_tpl->tpl_vars['paymentGateways']->value[0];?>
" name="payment"/>
                              <label for="<?php echo $_smarty_tpl->tpl_vars['paymentGateways']->value[0];?>
" class="font-weight-bold  <?php if ($_smarty_tpl->tpl_vars['selectedPaymentKey']->value==$_smarty_tpl->tpl_vars['paymentGateways']->value[0]){?>active <?php }?>"><?php echo $_smarty_tpl->tpl_vars['paymentGateways']->value[1];?>
</label>
                            </div>
                            <?php } ?>
                          </div>
                        </div>
                        <?php  $_smarty_tpl->tpl_vars["paymentGateways"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["paymentGateways"]->_loop = false;
 $_smarty_tpl->tpl_vars["k1"] = new Smarty_Variable;
 $_from = (($tmp = @$_smarty_tpl->tpl_vars['resPaymentGateways']->value)===null||$tmp==='' ? '' : $tmp); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["paymentGateways"]->key => $_smarty_tpl->tpl_vars["paymentGateways"]->value){
$_smarty_tpl->tpl_vars["paymentGateways"]->_loop = true;
 $_smarty_tpl->tpl_vars["k1"]->value = $_smarty_tpl->tpl_vars["paymentGateways"]->key;
?>
                         <?php if ($_smarty_tpl->tpl_vars['paymentGateways']->value[0]=='CashOnDeliveryRedemption'){?>   
                        <div class="contact-information payment-type-blk form-blk <?php echo $_smarty_tpl->tpl_vars['paymentGateways']->value[0];?>
  col-md-7 col-12 p-0 <?php if ($_smarty_tpl->tpl_vars['selectedPaymentKey']->value!=$_smarty_tpl->tpl_vars['paymentGateways']->value[0]){?> d-none <?php }?>">
                          <h5 class="font-weight-bold  mb-4"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblShowroomDetails'];?>
</h5>
                          <h6 class="font-weight-bold mb-1 showroomname"></h6>
                          <p class="font-weight-semibold mb-4 showroomaddress"></p>
                          <p class="font-weight-semibold mb-2"><i class="icon-phone-receiver"></i> <span class="d-inline-block showroomphone"></span></p>
                          <p class="font-weight-semibold mb-2"><i class="icon-close-envelope"></i> <span class="d-inline-block showroomemail"></span></p>
                          <p class="font-weight-semibold mb-5"><i class="icon-placeholder"></i> <a class="showroommap" target="_blank" href=""><?php echo $_smarty_tpl->tpl_vars['language']->value['lblViewOnMap'];?>
</a></p>
                          <p class="font-weight-semibold mb-3 text-muted"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPayAtShowroomText'];?>
</p>
                          <div class="col-12 p-0 mb-4 mt-5">
                            <div class="btn-fix py-md-0 py-3">
                              <div class="container">
                                <div class="row flex-md-row flex-row-reverse">
                                  <div class="col-6 p-md-0">
                                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->button(array('tabindex'=>"10",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblProceed']),'name'=>"Proceed",'id'=>"proceedcheckout",'class'=>"btn btn-primary font-normal px-4 text-uppercase proceed-payment"),$_smarty_tpl);?>
 
                                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->button(array('tabindex'=>"10",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblProceed']),'name'=>"Proceed",'id'=>"proceedcheckoutdisabled",'class'=>"btn disabled hide btn-primary font-normal px-4 proceed-payment"),$_smarty_tpl);?>
 
                                  </div>
                                  <div class="col-6 d-md-none d-block">
                                    <button class="btn btn-outline-primary font-normal  px-4  text-uppercase summary-btn"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSummary'];?>
</button>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                         <?php }else{ ?>
                             <div class="contact-information payment-type-blk form-blk <?php echo $_smarty_tpl->tpl_vars['paymentGateways']->value[0];?>
  col-md-7 col-12 p-0 <?php if ($_smarty_tpl->tpl_vars['selectedPaymentKey']->value!=$_smarty_tpl->tpl_vars['paymentGateways']->value[0]){?> d-none <?php }?>">
                          <div class="col-12 p-0 mb-4 mt-5">
                            <div class="btn-fix py-md-0 py-3">
                              <div class="container">
                                <div class="row flex-md-row flex-row-reverse">
                                  <div class="col-6 p-md-0">
                                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formPaymentGateway",'method'=>"post",'action'=>"cart/checkout/"),$_smarty_tpl);?>

                                      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"paymentSettingsGroupKey",'value'=>($_smarty_tpl->tpl_vars['paymentGateways']->value['paySetGroupKey'])),$_smarty_tpl);?>

                                      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"hidSubTitle"),$_smarty_tpl);?>

                                      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"hidUserName"),$_smarty_tpl);?>

                                      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"hidUserEmail"),$_smarty_tpl);?>

                                      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"hidUserPhone"),$_smarty_tpl);?>

                                      
                                      
                                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('tabindex'=>"10",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblProceed']),'name'=>"Proceed",'id'=>"proceedcccheckout",'class'=>"btn btn-primary font-normal proceed-payment px-4 text-uppercase"),$_smarty_tpl);?>
 
                                    
                                  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>

                                  </div>
                                  <div class="col-6 d-md-none d-block">
                                    <button class="btn btn-outline-primary font-small font-weight-bold px-5 py-sm-3 py-2 summary-btn"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSummary'];?>
</button>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                         <?php }?>    
                        <?php } ?>
</div> <?php }} ?>