fix incorrect invoice/banklink link

This commit is contained in:
Vaidas Lungis committed 2015-01-09 13:37:02 +02:00
1 parent ec9c43a448
commit 8586ff0d17
1 file changed
+1 -1
@@ -167,7 +167,7 @@
$('#payment-html').collapse('show');
});
} else {
var link = 'invoice/banklink/' + result.invoice_hash + '/' + result.gateway_id;
var link = '{{"invoice/banklink"|link}}' + '/' + result.invoice_hash + '/' + result.gateway_id;
$('#payment-html-inner').html('<a href="'+link+'" target="_parent" id="redirect-to-gateway">Redirect to payment gateway</a>');
$('#checkout').collapse('hide');
$('#checkout-inner').remove();