<?php
/* Smarty version 3.1.33-p1, created on 2020-12-08 14:50:04
  from '/home/tecnisat/public_html/central/templates/six/invoice-payment.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33-p1',
  'unifunc' => 'content_5fcf929cefd5a1_26956533',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '46ab8dd79b274edac7b83d73c16a2be74ba5e63d' => 
    array (
      0 => '/home/tecnisat/public_html/central/templates/six/invoice-payment.tpl',
      1 => 1582944284,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5fcf929cefd5a1_26956533 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['showRemoteInput']->value) {?>
    <div id="frmRemoteCardProcess" class="text-center" align="center">
        <?php echo $_smarty_tpl->tpl_vars['remoteInput']->value;?>

        <iframe name="ccframe" class="auth3d-area" width="90%" height="600" scrolling="auto" src="about:blank"></iframe>
    </div>

    <?php echo '<script'; ?>
 language="javascript">
        jQuery("#frmRemoteCardProcess").find("form:first").attr('target', 'ccframe');
        setTimeout("autoSubmitFormByContainer('frmRemoteCardProcess')", 1000);
    <?php echo '</script'; ?>
>
<?php } else { ?>
    <?php $_smarty_tpl->_subTemplateRender(((string)$_smarty_tpl->tpl_vars['template']->value)."/payment/".((string)$_smarty_tpl->tpl_vars['cardOrBank']->value)."/validate.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
    <form id="frmPayment" method="post" action="<?php echo $_smarty_tpl->tpl_vars['submitLocation']->value;?>
" class="form-horizontal" role="form">
        <input type="hidden" name="invoiceid" value="<?php echo $_smarty_tpl->tpl_vars['invoiceid']->value;?>
" />

        <div class="row">
            <div class="col-md-7">

                <?php if ($_smarty_tpl->tpl_vars['errormessage']->value) {?>
                    <?php $_smarty_tpl->_subTemplateRender(((string)$_smarty_tpl->tpl_vars['template']->value)."/includes/alert.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('type'=>"error",'errorshtml'=>$_smarty_tpl->tpl_vars['errormessage']->value), 0, true);
?>
                <?php }?>

                <div class="alert alert-danger text-center gateway-errors hidden"></div>

                <div class="form-group">
                    <label class="col-sm-4 control-label">
                        <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'paymentmethod'),$_smarty_tpl ) );?>

                    </label>
                    <div class="col-sm-8">
                        <?php $_smarty_tpl->_subTemplateRender(((string)$_smarty_tpl->tpl_vars['template']->value)."/payment/".((string)$_smarty_tpl->tpl_vars['cardOrBank']->value)."/select.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
                    </div>
                </div>

                <?php if (!$_smarty_tpl->tpl_vars['hasRemoteInput']->value) {?>
                    <?php $_smarty_tpl->_subTemplateRender(((string)$_smarty_tpl->tpl_vars['template']->value)."/payment/".((string)$_smarty_tpl->tpl_vars['cardOrBank']->value)."/inputs.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
                <?php }?>
                <div id="btnSubmitContainer" class="form-group submit-container">
                    <div class="text-center">
                        <button type="submit" class="btn btn-primary btn-lg margin-top-5" id="btnSubmit" value="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'submitpayment'),$_smarty_tpl ) );?>
">
                            <span class="pay-text"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'submitpayment'),$_smarty_tpl ) );?>
</span>
                            <span class="click-text hidden"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'pleasewait'),$_smarty_tpl ) );?>
</span>
                        </button>
                    </div>
                </div>

            </div>
            <div class="col-md-5">
                <?php $_smarty_tpl->_subTemplateRender(((string)$_smarty_tpl->tpl_vars['template']->value)."/payment/invoice-summary.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
            </div>
        </div>

        <?php if ($_smarty_tpl->tpl_vars['servedOverSsl']->value) {?>
            <div class="alert alert-warning" role="alert">
                <i class="fas fa-lock"></i> &nbsp; <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'creditcardsecuritynotice'),$_smarty_tpl ) );?>

            </div>
        <?php }?>

    </form>
<?php }
}
}
