first commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<div id="stPayment_return" class="box roundies">
|
||||
<div class="title">
|
||||
<h2>{__ text="Płatność"}</h2>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>{__ text="Płatność nie została zrealizowana."}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,8 @@
|
||||
<div id="stPayment_return" class="box roundies">
|
||||
<div class="title">
|
||||
<h2>{__ text="Płatność"}</h2>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>{__ text="Dziękujemy za dokonanie płatności."}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
<div id="st_box_payment">
|
||||
{if $check_configuration == true}
|
||||
<img src="/images/frontend/theme/default2/stPayByNetPlugin/logo.png" alt="PayByNet"/><br />
|
||||
<span>
|
||||
{$description}
|
||||
</span>
|
||||
{$form_start}
|
||||
{$hidden_hashtrans}
|
||||
<div class="buttons right">
|
||||
<button type="submit" class="important roundies">
|
||||
<span class="arrow_right">{__ text="Zapłać"}</span>
|
||||
</button>
|
||||
</div>
|
||||
<br class="clear" />
|
||||
</form>
|
||||
{else}
|
||||
{__ text="Płatność została błędnie skonfigurowana."}
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,41 @@
|
||||
<div id="st-paybynet-content" style="padding-left: 15px;">
|
||||
{foreach item=bank key=id from=$banks}
|
||||
<div>
|
||||
<input type="radio" class="st_delivery-payment_default st-paybynet-input" id="st-paybynet-input-{$id}" data-id="{$id}" name="delivery[default_payment]" value="" style="float: none">
|
||||
<label for="st-paybynet-input-{$id}">{$bank}</label>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
jQuery(function ($){
|
||||
$(document).ready(function (){
|
||||
var li = $("#st-paybynet-content").parent().parent();
|
||||
var vv = li.find('input.st_delivery-payment_default').val();
|
||||
|
||||
if (li.find('input.st_delivery-payment_default').prop('checked')) {
|
||||
if ($('#st-paybynet-payment-id').val() != '') {
|
||||
$('#st-paybynet-input-' + $('#st-paybynet-payment-id').val()).prop('checked', true);
|
||||
} else {
|
||||
$('#st-paybynet-input-24900005').prop('checked', true);
|
||||
}
|
||||
}
|
||||
|
||||
li.find('input.st_delivery-payment_default').each(function(item) {
|
||||
if (!$(this).hasClass('st-paybynet-input'))
|
||||
$(this).remove();
|
||||
else
|
||||
$(this).val(vv);
|
||||
});
|
||||
|
||||
li.find('p').remove();
|
||||
li.find('label.st_delivery-label').css('margin-left', '22px');
|
||||
li.find('label.st_delivery-label').removeAttr('for');
|
||||
|
||||
$('.st-paybynet-input').click(function(){
|
||||
$('#st-paybynet-payment-id').val($(this).attr('data-id'));
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
@@ -0,0 +1,20 @@
|
||||
{set layout="one_column"}
|
||||
<div id="payment">
|
||||
<div class="title">
|
||||
<h1>{__ text="Płatność"}</h1>
|
||||
</div>
|
||||
<div class="panel panel-default center-block">
|
||||
<div class="panel-heading">
|
||||
{__ text="PayByNet"}
|
||||
</div>
|
||||
<div class="panel-body text-center">
|
||||
<p>
|
||||
{__ text="Płatność nie została zrealizowana."}<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,15 @@
|
||||
{set layout="one_column"}
|
||||
<div id="payment">
|
||||
<div class="title">
|
||||
<h1>{__ text="Płatność"}</h1>
|
||||
</div>
|
||||
<div class="panel panel-default center-block">
|
||||
<div class="panel-heading">
|
||||
{__ text="PayByNet"}
|
||||
</div>
|
||||
<div class="panel-body text-center">
|
||||
<p>{__ text="Dziękujemy za dokonanie płatności."}</p>
|
||||
<a href="/" class="btn btn-primary">{__ text="Wróć do zakupów" langCatalogue="stPayment"}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
<div class="panel panel-default center-block">
|
||||
<div class="panel-heading">
|
||||
{__ text="PayByNet"}
|
||||
</div>
|
||||
<div class="panel-body text-center">
|
||||
{if $check_configuration}
|
||||
<img src="/images/frontend/theme/default2/stPayByNetPlugin/logo.png" alt="{__ text="PayByNet"}"/><br />
|
||||
<span>
|
||||
{$description}
|
||||
</span>
|
||||
{$form_start}
|
||||
{$hidden_hashtrans}
|
||||
<button type="submit" class="btn btn-primary pull-right">
|
||||
{__ text="Zapłać"}
|
||||
</button>
|
||||
</form>
|
||||
{else}
|
||||
{__ text="Płatność została błędnie skonfigurowana."}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,41 @@
|
||||
<div id="paybynet-content">
|
||||
{foreach item=bank key=id from=$banks}
|
||||
<div>
|
||||
<label>
|
||||
<input type="radio" class="st-paybynet-input" id="st-paybynet-input-{$id}" data-id="{$id}" name="delivery[default_payment]" value="">
|
||||
{$bank}
|
||||
</label>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
jQuery(function ($){
|
||||
$(document).ready(function() {
|
||||
var div = $("#paybynet-content").parent().parent();
|
||||
var vv = div.find('input[name="delivery[default_payment]"]').val();
|
||||
|
||||
if (div.find('input').prop('checked')) {
|
||||
if ($('#st-paybynet-payment-id').val() != '') {
|
||||
$('#st-paybynet-input-' + $('#st-paybynet-payment-id').val()).prop('checked', true);
|
||||
} else {
|
||||
$('#st-paybynet-input-24900005').prop('checked', true);
|
||||
}
|
||||
}
|
||||
|
||||
div.find('#paybynet-content input').each(function(item) {
|
||||
$(this).val(vv);
|
||||
});
|
||||
|
||||
div.find('input:not(.st-paybynet-input)').each(function(item) {
|
||||
$(this).remove();
|
||||
});
|
||||
|
||||
div.find('p').remove();
|
||||
$('.st-paybynet-input').click(function() {
|
||||
$('#st-paybynet-payment-id').val($(this).attr('data-id'));
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
Reference in New Issue
Block a user