Файл: upload-2031-rs1/catalog/view/theme/default/template/payment/cheque.tpl
Строк: 40
<h2><?php echo $text_instruction; ?></h2>
<div
class="well well-sm">
<p><b><?php echo
$text_payable; ?></b></p>
<p><?php echo $payable;
?></p>
<b><?php echo $text_address;
?></b><br />
<p><?php echo $address;
?></p>
<p><?php echo $text_payment;
?></p>
</div>
<div class="buttons">
<div class="pull-right">
<input
type="button" value="<?php echo $button_confirm;
?>" id="button-confirm" class="btn btn-primary"
data-loading-text="<?php echo $text_loading; ?>" />
</div>
</div>
<script
type="text/javascript"><!--
$('#button-confirm').on('click',
function() {
$.ajax({
type: 'get',
url:
'index.php?route=payment/cheque/confirm',
cache: false,
beforeSend:
function() {
$('#button-confirm').button('loading');
},
complete:
function() {
$('#button-confirm').button('reset');
},
success:
function() {
location = '<?php echo $continue;
?>';
}
});
});
//--></script>