first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<form id='cv-ing-form' action="{$url}" method="post">
|
||||
{foreach key=name item=value from=$data}
|
||||
<input type="hidden" name="{$name}" value='{$value}' />
|
||||
{/foreach}
|
||||
</form>
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
jQuery(function($){
|
||||
$(document).ready(function(){
|
||||
$('#pay_button a, #order_summary_action-bottom a.pay').click(function(e){
|
||||
$('#cv-ing-form').submit();
|
||||
e.stopPropagation()
|
||||
e.preventDefault();
|
||||
return false;
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
@@ -0,0 +1,15 @@
|
||||
<div id="stPayment_return" class="box roundies">
|
||||
<div class="title">
|
||||
<h2>{$txt.header_info_imoje}</h2>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>
|
||||
{$txt.return_fail}<br/>
|
||||
{__ text="Skontaktuj się z nami." langCatalogue="stPayment"}
|
||||
</p>
|
||||
{if $contactLink}
|
||||
<a href="{$contactLink}" class="important roundies">{__ text="Kontakt" langCatalogue="stPayment"}</a>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
<div id="stPayment_return" class="box roundies">
|
||||
<div class="title">
|
||||
<h2>{$txt.header_info_imoje}</h2>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>{$txt.return_success}</p>
|
||||
<a href="/" class="important roundies">{__ text="Wróć do zakupów" langCatalogue="stPayment"}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,27 @@
|
||||
<div id="st_box_payment">
|
||||
<span>
|
||||
{$txt.header_info_imoje}
|
||||
</span>
|
||||
<div>
|
||||
{if $check_configuration}
|
||||
<p>
|
||||
<img src="https://imoje.ingbank.pl/images/logo.svg" alt="" style="max-width: 250px" />
|
||||
</p>
|
||||
<form action="{$url}" method="post">
|
||||
{foreach key=name item=value from=$data}
|
||||
<input type="hidden" name="{$name}" value='{$value}' />
|
||||
{/foreach}
|
||||
<div class="buttons right">
|
||||
<button type="submit" class="important roundies">
|
||||
<span class="arrow_right">{__ text="Zapłać" langCatalogue="stOrder"}</span>
|
||||
</button>
|
||||
</div>
|
||||
<br class="clear" />
|
||||
</form>
|
||||
{else}
|
||||
<p>
|
||||
{$txt.payment_config_info}
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,30 @@
|
||||
<form id='cv-ing-form' action="{$url}" method="post">
|
||||
{foreach key=name item=value from=$data}
|
||||
<input type="hidden" name="{$name}" value='{$value}' />
|
||||
{/foreach}
|
||||
</form>
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
jQuery(function($){
|
||||
$(document).ready(function(){
|
||||
if($('#order-pay-btn').length){
|
||||
$('#order-pay-btn').click(function(e){
|
||||
$('#cv-ing-form').submit();
|
||||
e.stopPropagation()
|
||||
e.preventDefault();
|
||||
return false;
|
||||
});
|
||||
}else if($('.btn.btn-primary.pay').length){
|
||||
$('.btn.btn-primary.pay').click(function(e){
|
||||
$('#cv-ing-form').submit();
|
||||
e.stopPropagation()
|
||||
e.preventDefault();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
@@ -0,0 +1,17 @@
|
||||
{set layout="one_column"}
|
||||
<div id="payment">
|
||||
<div class="panel panel-default center-block">
|
||||
<div class="panel-heading">
|
||||
{$txt.header_info_imoje}
|
||||
</div>
|
||||
<div class="panel-body text-center">
|
||||
<p>
|
||||
{$txt.return_fail}<br/>
|
||||
{__ text="Skontaktuj się z nami." langCatalogue="stPayment"}
|
||||
</p>
|
||||
{if $contactLink}
|
||||
<a href="{$contactLink}" class="btn btn-primary">{__ text="Kontakt" langCatalogue="stPayment"}</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,12 @@
|
||||
{set layout="one_column"}
|
||||
<div id="payment">
|
||||
<div class="panel panel-default center-block">
|
||||
<div class="panel-heading">
|
||||
{$txt.header_info_imoje}
|
||||
</div>
|
||||
<div class="panel-body text-center">
|
||||
<p>{$txt.return_success}</p>
|
||||
<a href="/" class="btn btn-primary">{__ text="Wróć do zakupów" langCatalogue="stPayment"}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,24 @@
|
||||
<div class="panel panel-default center-block">
|
||||
<div class="panel-heading">
|
||||
{$txt.header_info_imoje}
|
||||
</div>
|
||||
<div id="payu-panel-body" class="panel-body text-center">
|
||||
{if $check_configuration}
|
||||
<p>
|
||||
<img src="https://imoje.ingbank.pl/images/logo.svg" alt="" style="max-width: 250px" />
|
||||
</p>
|
||||
<form action="{$url}" method="post">
|
||||
{foreach key=name item=value from=$data}
|
||||
<input type="hidden" name="{$name}" value="{$value}" />
|
||||
{/foreach}
|
||||
<button type="submit" class="btn btn-primary pull-right">
|
||||
{__ text="Zapłać" langCatalogue="stOrder"}
|
||||
</button>
|
||||
</form>
|
||||
{else}
|
||||
<p>
|
||||
{$txt.payment_config_info}
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user