first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{set layout="one_column"}
|
||||
<div id="order-summary">
|
||||
<div class="title">
|
||||
<h1></h1>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-default center-block">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
{__ text="Nie złożono zamówienia"}
|
||||
</h3>
|
||||
</div>
|
||||
<div class="panel-body text-center">
|
||||
<p>{__ text="Administrator nie może składać zamówień."}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,461 @@
|
||||
{set layout="one_column"}
|
||||
<div id="order-confirm" class="order-control">
|
||||
<div class="title">
|
||||
<h1>{__ text="Podsumowanie zamówienia"}</h1>
|
||||
</div>
|
||||
|
||||
{if $notice}
|
||||
<div class="alert alert-success" role="alert">{$notice}</div>
|
||||
{elseif $error}
|
||||
<div class="alert alert-danger" role="alert">{$error}</div>
|
||||
{/if}
|
||||
|
||||
<form id="send_form" action="{urlfor internal='stOrder/save'}" method="post" class="clearfix">
|
||||
{if $additional_confirm_text != "" || $create_account_value==1}
|
||||
<div class="panel panel-default add-confirm-text">
|
||||
<div class="panel-body">
|
||||
{if $additional_confirm_text != ""}
|
||||
{$additional_confirm_text}
|
||||
{/if}
|
||||
|
||||
{if $create_account_value==1}
|
||||
<div id="create_user">
|
||||
{__ text="Konto użytkownika"}: <b>{$user_data_billing_email}</b>
|
||||
{$newsletter_form}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="row" data-equalizer>
|
||||
<div class="col-sm-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
{__ text="Dane płatnika"}
|
||||
</h3>
|
||||
</div>
|
||||
<div class="panel-body data" data-equalizer-watch>
|
||||
|
||||
|
||||
{if $user_data_billing_invoice==1}
|
||||
<span class="invoice_text">{__ text="Dane do faktury"}</span>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
{if $sf_request->hasError('user_data_billing[vat_number]')}
|
||||
<div class="form-group has-error">
|
||||
<label class="control-label">{$sf_request->getError('user_data_billing[vat_number]')}</label>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $user_data_billing_company!=""}
|
||||
{$user_data_billing_company}
|
||||
<br>
|
||||
{$user_data_billing_vat_number}
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<div class="full_name_space">
|
||||
<b>{$user_data_billing_full_name}</b>
|
||||
</div>
|
||||
|
||||
{$user_data_billing_address}
|
||||
<br>
|
||||
|
||||
{if $user_data_billing_address_more!=""}
|
||||
{$user_data_billing_address_more}
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
{if $user_data_billing_region!=""}
|
||||
{$user_data_billing_region}
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
{$user_data_billing_code}
|
||||
|
||||
{$user_data_billing_town}
|
||||
<br>
|
||||
|
||||
{if $sf_request->hasError('user_data_billing[country]')}
|
||||
<div class="form-group has-error">
|
||||
<label class="control-label">{$sf_request->getError('user_data_billing[country]')}</label>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{$user_data_billing_country}
|
||||
<br>
|
||||
|
||||
{$user_data_billing_phone}
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
{__ text="Dane wysyłkowe"}
|
||||
</h3>
|
||||
</div>
|
||||
<div class="panel-body data" data-equalizer-watch>
|
||||
|
||||
{if $user_data_delivery_company!=""}
|
||||
{$user_data_delivery_company}
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<div class="full_name_space">
|
||||
<b>{$user_data_delivery_full_name}</b>
|
||||
</div>
|
||||
|
||||
{$user_data_delivery_address}
|
||||
<br>
|
||||
|
||||
{if $user_data_delivery_address_more!=""}
|
||||
{$user_data_delivery_address_more}
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
{if $user_data_delivery_region!=""}
|
||||
{$user_data_delivery_region}
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
{$user_data_delivery_code}
|
||||
|
||||
{$user_data_delivery_town}
|
||||
<br>
|
||||
|
||||
{$user_data_delivery_country}
|
||||
<br>
|
||||
|
||||
{$user_data_delivery_phone}
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row" data-equalizer>
|
||||
<div class="col-sm-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h3 class="panel-title">{__ text="Informacje"}</h3></div>
|
||||
<div class="panel-body" data-equalizer-watch>
|
||||
{__ text="Płatność"}: <b>{$payment_name}</b>
|
||||
{if $payment_channel}
|
||||
<span class="selected-payment-channel">
|
||||
<img src="{$payment_channel.logo}" alt="{$payment_channel.name}">
|
||||
{if $payment_channel.show_name}
|
||||
{$payment_channel.name}
|
||||
{/if}
|
||||
</span>
|
||||
{/if}<br>
|
||||
{if $payment_description}
|
||||
<div class="info_frame">
|
||||
{$payment_description}
|
||||
</div>
|
||||
{/if}
|
||||
{__ text="Dostawa"}:
|
||||
<b>{$delivery_name}</b>
|
||||
{if $is_weekend_delivery}
|
||||
<span class="label label-default text-lowercase">{__ text="Dostawa w weekend" catalogue="stDeliveryFrontend"}</span>
|
||||
{/if}
|
||||
{if $is_express_delivery}
|
||||
<span class="label label-default text-lowercase">{__ text="Dostawa ekspresowa" catalogue="stDeliveryFrontend"}</span>
|
||||
{/if}
|
||||
<br>
|
||||
{if $delivery_description}
|
||||
<div class="info_frame">
|
||||
{$delivery_description}
|
||||
</div>
|
||||
{/if}
|
||||
{if $delivery_date_value != " "}
|
||||
{__ text="Termin dostawy"}: <b>{$delivery_date_value}</b><br>
|
||||
{/if}
|
||||
{if $show_not_professional_purchase}
|
||||
{__ text="Zakup o charakterze zawodowym" catalogue="stUserData"}:
|
||||
<b>
|
||||
{if $not_professional_purchase}
|
||||
{__ text="Nie"}
|
||||
{else}
|
||||
{__ text="Tak"}
|
||||
{/if}
|
||||
</b>
|
||||
<br>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $description!=""}
|
||||
<div class="col-sm-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><h3 class="panel-title">{__ text="Uwagi do zamówienia"}</h3></div>
|
||||
<div class="panel-body" data-equalizer-watch>
|
||||
{$description}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="panel panel-default bottom">
|
||||
<table id="order-confirm-summary" class="table">
|
||||
<thead>
|
||||
<tr class="active">
|
||||
{if $show_photo_in_basket}<th class=""></th>{/if}
|
||||
{if $show_code_in_basket}<th class="">{__ text="kod"}</th>{/if}
|
||||
<th class="">{__ text="nazwa"}</th>
|
||||
{if $show_netto_in_basket}<th class="th-td-right">{__ text="netto"}</th>{/if}
|
||||
{if $show_tax_in_basket}<th class="th-td-right">{__ text="vat"}</th>{/if}
|
||||
<th class="th-td-right">{__ text="brutto"}</th>
|
||||
<th class="th-td-center">{__ text="ilość"}</th>
|
||||
{if $show_uom_in_basket}<th class="th-td-center">{__ text="j.m."}</th>{/if}
|
||||
<th class="th-td-right">{__ text="suma"}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach key=row item=product from=$results}
|
||||
{if ($product.errors)}
|
||||
<tr>
|
||||
{foreach item=error from=$product.errors}
|
||||
<td colspan="10" style="color: red; text-align: center">{$error}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
{/if}
|
||||
{slot name="order-confirm-before-item-row" hidden="true" parameters="product"}{/slot}
|
||||
<tr>
|
||||
{if $show.photo}
|
||||
<td class="image product-image" data-th='{__ text="zdjęcie"}'>{$product.photo}</td>
|
||||
{/if}
|
||||
{if $show.code}
|
||||
<td class="mobile product-code" data-th='{__ text="kod"}'> {$product.code}</td>
|
||||
{/if}
|
||||
<td class="product-name" data-th='{__ text="nazwa"}'>
|
||||
{if isset($product_name)}
|
||||
{$product.product_name}
|
||||
{else}
|
||||
{if isset($product.validate)}
|
||||
{$product.name_show}
|
||||
{else}
|
||||
{$product.name}
|
||||
{/if}
|
||||
{/if}
|
||||
</td>
|
||||
{if $show.netto}
|
||||
<td class="th-td-right product-net text-nowrap price mobile" data-th='{__ text="netto"}' nowrap>{$product.price}</td>
|
||||
{/if}
|
||||
{if $show.tax}
|
||||
<td class="th-td-right mobile product-tax text-nowrap" data-th='{__ text="vat"}'>{$product.vat} %</td>
|
||||
{/if}
|
||||
<td class="th-td-right product-gross text-nowrap price mobile" data-th='{__ text="brutto"}' nowrap>{$product.price_brutto}</td>
|
||||
<td class="th-td-center product-quantity" data-th='{__ text="ilość"}' {if $product.errors.quantity}style="border: 1px solid red"{/if}>
|
||||
{$product.quantity}
|
||||
{if $show.uom}
|
||||
<div class="product-uom visible-xs" data-th='{__ text="j.m."}'>{$product.uom}</div>
|
||||
{/if}
|
||||
</td>
|
||||
{if $show.uom}
|
||||
<td class="product-uom hidden-xs" data-th='{__ text="j.m."}'>{$product.uom}</td>
|
||||
{/if}
|
||||
<td class="th-td-right product-total text-nowrap hidden-xs" nowrap data-th='{__ text="suma"}'>{$product.total_amount}</td>
|
||||
</tr>
|
||||
{slot name="order-confirm-after-item-row" hidden="true" parameters="product, show"}{/slot}
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<table cellspacing="0" class="bg-white" width="100%">
|
||||
<tr>
|
||||
<td colspan="10">
|
||||
<div>
|
||||
<span class="pull-right" >{__ text="Wartość koszyka"}: {$total_product_price}</span><br>
|
||||
<span class="pull-right" >{__ text="Koszt dostawy"}: {$order_cost}</span><br>
|
||||
{if $delivery_courier_cost}
|
||||
<span style="float:right;">({__ text="dodatkowa opłata"}: {$delivery_courier_cost})</span><br>
|
||||
{/if}
|
||||
{if $discount}
|
||||
<span class="pull-right" >{__ text="Rabat"} ({$discount_name}): -{$discount}</span><br>
|
||||
{/if}
|
||||
{if $paid}
|
||||
<span class="pull-right" >{__ text="Zapłacono"}: -{$paid}</span><br>
|
||||
{/if}
|
||||
<span class="pull-right" ><b>{__ text="Razem do zapłaty"}: {$final_total_amount}</b></span><br>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{foreach key=row item=name from=$user_data_billing_hidden}
|
||||
{$name.billing_name}
|
||||
{/foreach}
|
||||
|
||||
{foreach key=row item=name from=$user_data_delivery_hidden}
|
||||
{$name.delivery_name}
|
||||
{/foreach}
|
||||
|
||||
{$delivery_date}
|
||||
{$delivery_time}
|
||||
|
||||
<input type="hidden" name="payment_channel" value="{json_encode data=$payment_channel escape=true}">
|
||||
<input type="hidden" name="delivery_pickup_point" value="{json_encode data=$delivery_pickup_point escape=true}">
|
||||
|
||||
{$hidden_description}
|
||||
|
||||
{if $terms_digital == 1 || $terms_right_2_cancel == 1 || $terms_service == 1}
|
||||
<table id="table_confirm_terms" cellpadding="0" cellspacing="0" class="label_terms_confirm">
|
||||
{if $terms_digital == 1}
|
||||
<tr>
|
||||
<td class="terms-text"><label for="terms_digital_confirm"><span class="label_terms_digital_confirm">{$terms_digital_text}</span></label></td>
|
||||
<td class="checkbox-td">
|
||||
<span class=" switch">
|
||||
<input name="terms_digital_confirm" id="terms_digital_confirm" type="checkbox" value="1" class="checkobox" >
|
||||
<label for="terms_digital_confirm" class="label-checkbox-switch"></label>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $terms_right_2_cancel == 1}
|
||||
<tr>
|
||||
<td class="terms-text"><label for="terms_confirm">{$terms_right_2_cancel_text}</label></td>
|
||||
<td class="checkbox-td">
|
||||
<span class=" switch">
|
||||
<input type="checkbox" name="terms_confirm" id="terms_confirm" value="1" class="checkobox">
|
||||
<label for="terms_confirm" class="label-checkbox-switch"></label>
|
||||
<div id="terms_overlay">
|
||||
<div class="terms_overlay_content"></div>
|
||||
</div>
|
||||
<div id="right_2_cancel_overlay">
|
||||
<div class="right_2_cancel_overlay_content"></div>
|
||||
</div>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $terms_service == 1}
|
||||
<tr>
|
||||
<td class="terms-text"><label for="terms_service_confirm"><span class="label_terms_service_confirm">{$terms_service_text}</span></label></td>
|
||||
<td class="checkbox-td">
|
||||
<span class=" switch">
|
||||
<input name="terms_service_confirm" id="terms_service_confirm" type="checkbox" value="1" class="checkobox" >
|
||||
<label for="terms_service_confirm" class="label-checkbox-switch"></label>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
<div class="text-center">
|
||||
<button type="submit" class="btn btn-primary pull-right" id="confirm_button">
|
||||
{__ text="Zamówienie z obowiązkiem zapłaty."}
|
||||
</button>
|
||||
|
||||
<button type="submit" class="btn btn-default pull-left" id="st_order-back_button" onclick="this.form.action = '{$order_correction}'">
|
||||
{__ text="Wróć do koszyka"}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clearfix"></div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal fade modal-vertical-centered" id="order-process-modal" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-body">
|
||||
<h3 class="text-center">{__ text="Zamówienie"}</h3>
|
||||
<p class="text-center">{__ text="Trwa składanie zamówienia. Proszę czekać."}</p>
|
||||
<div class="preloader"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{literal}
|
||||
<script type="text/javascript" language="javascript">
|
||||
jQuery(function ($) {
|
||||
$(document).ready(function () {
|
||||
|
||||
$('#toTop, #phone-call').remove();
|
||||
|
||||
$('#confirm_button').click(function(e) {
|
||||
|
||||
var error_exist = false;
|
||||
|
||||
{/literal}{if $terms_right_2_cancel == 1}{literal}
|
||||
|
||||
if (!$("#terms_confirm").is(":checked")) {
|
||||
$(".label_terms_confirm").addClass("error_terms");
|
||||
error_exist = true;
|
||||
}else{
|
||||
$(".label_terms_confirm").removeClass("error_terms");
|
||||
}
|
||||
|
||||
{/literal}{/if}{if $terms_digital == 1}{literal}
|
||||
|
||||
if (!$("#terms_digital_confirm").is(":checked")) {
|
||||
|
||||
$(".label_terms_digital_confirm").addClass("error_terms");
|
||||
error_exist = true;
|
||||
|
||||
}else{
|
||||
$(".label_terms_digital_confirm").removeClass("error_terms");
|
||||
}
|
||||
|
||||
{/literal}{/if}{if $terms_service == 1}{literal}
|
||||
|
||||
if (!$("#terms_service_confirm").is(":checked")) {
|
||||
|
||||
$(".label_terms_service_confirm").addClass("error_terms");
|
||||
error_exist = true;
|
||||
|
||||
}else{
|
||||
$(".label_terms_service_confirm").removeClass("error_terms");
|
||||
}
|
||||
|
||||
{/literal}{/if}{literal}
|
||||
|
||||
if(error_exist) {
|
||||
e.stopImmediatePropagation();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
$('#confirm_button').click(function() {
|
||||
var btn = $(this);
|
||||
$('#order-process-modal')
|
||||
.on('shown.bs.modal', function() {
|
||||
btn.closest('form').submit();
|
||||
})
|
||||
.modal({ show: true });
|
||||
return false;
|
||||
|
||||
});
|
||||
|
||||
$('#order-confirm-summary [data-toggle=tooltip]').tooltip().on('show.bs.tooltip', function(e) {
|
||||
var target = $(e.target);
|
||||
if (target.hasClass('product-option-label')) {
|
||||
var maxWidth = target.css('max-width');
|
||||
target.css({ 'max-width': 'none' });
|
||||
var width = target.width();
|
||||
target.css({ 'max-width': maxWidth });
|
||||
|
||||
return width > target.width();
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
@@ -0,0 +1,16 @@
|
||||
<div id="st_order-quastion" class="st_component" style="border: none;">
|
||||
<h5 class="st_title">
|
||||
{__ text="Uwagi do zamówienia"}
|
||||
</h5>
|
||||
<div style="margin:5px; padding-top:8px">
|
||||
{$comment}
|
||||
</div>
|
||||
</div>
|
||||
<div id="st_button-user-edit_data_basket" class="st_button-container">
|
||||
<div class="st_button{if $disabled}-disabled{/if} st_align-right">
|
||||
<div class="st_button-left{if $disabled}-disabled{/if}">
|
||||
{$description_submit}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -0,0 +1,83 @@
|
||||
<div id="last_orders_by_user">
|
||||
{if $unconfirmed_orders == 1}
|
||||
<div id="unconfirm_order" class="roundies box_form">
|
||||
<h3>{__ text="Niepotwierdzone zamówienia"}</h3>
|
||||
<div class="content">
|
||||
{foreach item=order from=$results}
|
||||
{if $count_unconfirmed < 3}
|
||||
{if $order.is_confirmed_orders == 0}
|
||||
{if $count_unconfirmed++}{/if}
|
||||
<div class="st_order-last_order">
|
||||
<div>
|
||||
{$order.link}
|
||||
{$order.is_confirmed}
|
||||
</div>
|
||||
<ul>
|
||||
{foreach item=order_product from=$order.products}
|
||||
<li>{$order_product.photo} {$order_product.quantity} x {$order_product.name}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
{if $count_unconfirmed > 2}
|
||||
<div class="buttons" id="st_button_show_order">
|
||||
<a href="{$check_all_url}" class="regular roundies">
|
||||
{__ text="Pokaż wszystkie"}<img src="/images/frontend/theme/default2/buttons/arrow_right.png" alt=""/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $confirmed_orders == 1}
|
||||
<div id="confirm_order" class="roundies box_form">
|
||||
<h3>{__ text="Potwierdzone zamówienia"}</h3>
|
||||
<div class="content">
|
||||
{foreach item=order from=$results}
|
||||
{if $count_confirmed < 3}
|
||||
|
||||
{if $order.is_confirmed_orders == 1}
|
||||
{if $count_confirmed++}{/if}
|
||||
<div class="st_order-last_order">
|
||||
<div>
|
||||
{$order.link}
|
||||
</div>
|
||||
<ul>
|
||||
{foreach item=order_product from=$order.products}
|
||||
<li> {$order_product.photo} {$order_product.quantity} x {$order_product.name}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
{if $count_confirmed > 2}
|
||||
<div class="buttons" id="st_button_show_order">
|
||||
<a href="{$check_all_url}" class="regular roundies">
|
||||
{__ text="Pokaż wszystkie"}<img src="/images/frontend/theme/default2/buttons/arrow_right.png" alt=""/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
{if isset($no_orders)}
|
||||
<div id="no_order" class="roundies box_form">
|
||||
<div class="content">
|
||||
<p style="text-align: center">{__ text="Aktualnie nie posiadasz żadnych zamówień"}</p>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,16 @@
|
||||
{set layout="one_column"}
|
||||
<div class="user-control">
|
||||
{st_get_component module="stUserData" component="responsiveUserPanelMenu" active_tab="2"}
|
||||
<div id="order-list">
|
||||
{if isset($pager)}
|
||||
{$pager_results}
|
||||
{$pager}
|
||||
{else}
|
||||
<div class="panel panel-default center-block info-panel">
|
||||
<div class="panel-body text-center">
|
||||
<p>{__ text="Aktualnie nie posiadasz żadnych zamówień"}</p>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,169 @@
|
||||
{if $unconfirmed_orders == 1}
|
||||
<h4>{__ text="Niepotwierdzone zamówienia"}</h4>
|
||||
<table class="table table-hover table-responsive unconfirmed" cellspacing="0" width="100%">
|
||||
<colgroup class="hidden-xs">
|
||||
<col width="10%">
|
||||
<col width="25%">
|
||||
<col width="15%">
|
||||
<col width="12%">
|
||||
<col width="12%">
|
||||
<col width="7%">
|
||||
<col width="21%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th >{__ text="Numer"}</th>
|
||||
<th >{__ text="Data złożenia"}</th>
|
||||
<th class="th-td-center">{__ text="Status"}</th>
|
||||
<th class="th-td-right">{__ text="Kwota"}</th>
|
||||
<th class="th-td-center">{__ text="Opłacone"}</th>
|
||||
<th class="th-td-center">{__ text="Faktury"}</th>
|
||||
<th class="th-td-center">{__ text="Potwierdzone"}</th>
|
||||
{if $prduct_returns_enabled == 1}
|
||||
<th class="th-td-center">{__ text="Zwroty"}</th>
|
||||
{/if}
|
||||
{slot name="order_list_table_head" hidden="true"}{/slot}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach key=row item=order from=$results}
|
||||
{if $order.is_confirmed_orders == 0}
|
||||
<tr class="cursor-hand">
|
||||
<td data-th='{__ text="Numer"}' class="numer product-image mobile">{$order.number}</td>
|
||||
<td data-th='{__ text="Data złożenia"}' class="product-name mobile">{$order.created_at}</td>
|
||||
<td data-th='{__ text="Status"}' class="th-td-center status mobile"><b>{$order.status}</b></td>
|
||||
<td data-th='{__ text="Kwota"}' class="th-td-right mobile">{$order.total_amount}</td>
|
||||
<td data-th='{__ text="Opłacone"}' class="th-td-center mobile is_paid"><b>{$order.is_paid}</b></td>
|
||||
<td data-th='{__ text="Faktury"}' class="th-td-center mobile">{$order.invoice}</td>
|
||||
<td data-th='{__ text="Potwierdzone"}' class="th-td-center last-td mobile"><b class="underline">{$order.is_confirmed}</b></td>
|
||||
|
||||
{if $prduct_returns_enabled == 1}
|
||||
<td data-th='{__ text="Zwroty"}' class="th-td-center last-td mobile">
|
||||
|
||||
{if $order.is_allow_return}{$order.return_link}<br>{/if}
|
||||
|
||||
{foreach key=row item=return from=$order.returns_list}
|
||||
<a href="/productReturns/show?id={$return.id}">#{$return.id}</a> <br>
|
||||
{/foreach}
|
||||
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
{slot name="order_list_table_body_row" hidden="true" parameters="order"}{/slot}
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
{if $confirmed_orders == 1}
|
||||
<h4>{__ text="Potwierdzone zamówienia"}</h4>
|
||||
<table class="table table-hover table-responsive" cellspacing="0" width="100%">
|
||||
<colgroup class="hidden-xs">
|
||||
<col width="10%">
|
||||
<col width="25%">
|
||||
<col width="15%">
|
||||
<col width="12%">
|
||||
<col width="12%">
|
||||
<col width="7%">
|
||||
<col width="21%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th >{__ text="Numer"}</th>
|
||||
<th >{__ text="Data złożenia"}</th>
|
||||
<th class="th-td-center">{__ text="Status"}</th>
|
||||
<th class="th-td-right">{__ text="Kwota"}</th>
|
||||
<th class="th-td-center">{__ text="Opłacone"}</th>
|
||||
<th class="th-td-center">{__ text="Faktury"}</th>
|
||||
<th class="th-td-center">{__ text="Potwierdzone"}</th>
|
||||
|
||||
{if $prduct_returns_enabled == 1}
|
||||
<th class="th-td-center">{__ text="Zwroty"}</th>
|
||||
{/if}
|
||||
{slot name="order_list_table_head" hidden="true"}{/slot}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach key=row item=order from=$results}
|
||||
{if $order.is_confirmed_orders == 1}
|
||||
<tr class="cursor-hand {$order.link}">
|
||||
<td data-th='{__ text="Numer"}' class="numer product-image mobile">{$order.number}</td>
|
||||
<td data-th='{__ text="Data złożenia"}' class="product-name mobile">{$order.created_at}</td>
|
||||
<td data-th='{__ text="Status"}' class="th-td-center status mobile"><b>{$order.status}</b></td>
|
||||
<td data-th='{__ text="Kwota"}' class="th-td-right mobile">{$order.total_amount}</td>
|
||||
<td data-th='{__ text="Opłacone"}' class="th-td-center mobile is_paid"><b>{$order.is_paid}</b></td>
|
||||
<td data-th='{__ text="Faktury"}' class="th-td-center mobile">{$order.invoice}</td>
|
||||
<td data-th='{__ text="Potwierdzone"}' class="th-td-center last-td mobile"><b>{$order.is_confirmed}</b></td>
|
||||
|
||||
{if $prduct_returns_enabled == 1}
|
||||
|
||||
<td data-th='{__ text="Zwroty"}' class="th-td-center last-td mobile">
|
||||
|
||||
{if $order.is_allow_return}{$order.return_link}<br>{/if}
|
||||
|
||||
{foreach key=row item=return from=$order.returns_list}
|
||||
<a href="/productReturns/show?id={$return.id}">#{$return.id}</a> <br>
|
||||
{/foreach}
|
||||
|
||||
</td>
|
||||
|
||||
{/if}
|
||||
{slot name="order_list_table_body_row" hidden="true" parameters="order"}{/slot}
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
{if $order_returns == 1}
|
||||
<h4>{__ text="Lista zwrotow"}</h4>
|
||||
<table class="table table-hover table-responsive unconfirmed" cellspacing="0" width="100%">
|
||||
<colgroup class="hidden-xs">
|
||||
<col width="10%">
|
||||
<col width="25%">
|
||||
<col width="15%">
|
||||
<col width="12%">
|
||||
<col width="12%">
|
||||
<col width="7%">
|
||||
<col width="21%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th >{__ text="Numer"}</th>
|
||||
<th >{__ text="Data złożenia"}</th>
|
||||
<th class="th-td-center">{__ text="Status"}</th>
|
||||
<th class="th-td-right">{__ text="Kwota"}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach key=row item=order from=$order_returns}
|
||||
<tr class="cursor-hand">
|
||||
<td data-th='{__ text="Numer"}' class="numer product-image mobile">{$order.number}</td>
|
||||
<td data-th='{__ text="Data złożenia"}' class="product-name mobile">{$order.created_at}</td>
|
||||
<td data-th='{__ text="Status"}' class="th-td-center status mobile"><b>{$order.status}</b></td>
|
||||
<td data-th='{__ text="Kwota"}' class="th-td-right mobile">{$order.total_amount}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
jQuery(function ($)
|
||||
{
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("tr").click(function() {
|
||||
window.location.href = $(this).find("a").attr("href");
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
@@ -0,0 +1,19 @@
|
||||
<ul class="pagination">
|
||||
{if $current_page!=1}
|
||||
<li><a href="{$previous_page_url}">«</a></li>
|
||||
{else}
|
||||
<li style="visibility: hidden"><a href="#">«</a></li>
|
||||
{/if}
|
||||
{foreach item=link from=$links}
|
||||
{if $link.page == $current}
|
||||
<li class="active"><a href="#">{$link.page}</a></li>
|
||||
{else}
|
||||
<li><a href="{$link.url}">{$link.page}</a></li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if $current_page!=$last_page}
|
||||
<li><a href="{$next_page_url}">»</a></li>
|
||||
{else}
|
||||
<li style="visibility: hidden"><a href="{$link.url}">»</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
@@ -0,0 +1,508 @@
|
||||
<!-- http://templates.mailchimp.com/resources/inline-css/ -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<head style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
<meta name="viewport" content="width=device-width" style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<title style="margin: 0;padding: 0;font-family: Arial, sans-serif;">ZURBemails</title>
|
||||
|
||||
<style style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{literal}
|
||||
/* -------------------------------------
|
||||
GLOBAL
|
||||
------------------------------------- */
|
||||
* {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
* { font-family: Arial, sans-serif; }
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.collapse {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
body {
|
||||
-webkit-font-smoothing:antialiased;
|
||||
-webkit-text-size-adjust:none;
|
||||
width: 100%!important;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
/* -------------------------------------
|
||||
ELEMENTS
|
||||
------------------------------------- */
|
||||
a { color: #{/literal}{$link_color}{literal};}
|
||||
|
||||
.btn {
|
||||
text-decoration:none;
|
||||
color: #FFF;
|
||||
background-color: #666;
|
||||
padding:10px 16px;
|
||||
font-weight:bold;
|
||||
margin-right:10px;
|
||||
text-align:center;
|
||||
cursor:pointer;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
p.callout {
|
||||
padding:15px;
|
||||
background-color:#ECF8FF;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.callout a {
|
||||
font-weight:bold;
|
||||
color: #2BA6CB;
|
||||
}
|
||||
|
||||
table.social {
|
||||
|
||||
background-color: #ebebeb;
|
||||
|
||||
}
|
||||
.social .soc-btn {
|
||||
padding: 3px 7px;
|
||||
font-size:12px;
|
||||
margin-bottom:10px;
|
||||
text-decoration:none;
|
||||
color: #FFF;font-weight:bold;
|
||||
display:block;
|
||||
text-align:center;
|
||||
}
|
||||
a.fb { background-color: #3B5998!important; }
|
||||
a.tw { background-color: #1daced!important; }
|
||||
a.gp { background-color: #DB4A39!important; }
|
||||
a.ms { background-color: #000!important; }
|
||||
|
||||
.sidebar .soc-btn {
|
||||
display:block;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
/* -------------------------------------
|
||||
HEADER
|
||||
------------------------------------- */
|
||||
table.head-wrap { width: 100%;}
|
||||
|
||||
.header.container table td.logo { padding: 15px; }
|
||||
.header.container table td.label { padding: 15px; padding-left:0px;}
|
||||
|
||||
|
||||
/* -------------------------------------
|
||||
BODY
|
||||
------------------------------------- */
|
||||
table.body-wrap { width: 100%;}
|
||||
|
||||
|
||||
/* -------------------------------------
|
||||
FOOTER
|
||||
------------------------------------- */
|
||||
table.footer-wrap { width: 100%; clear:both!important;
|
||||
}
|
||||
.footer-wrap .container td.content p { border-top: 1px solid rgb(215,215,215); padding-top:15px;}
|
||||
.footer-wrap .container td.content p {
|
||||
font-size:10px;
|
||||
font-weight: bold;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* -------------------------------------
|
||||
TYPOGRAPHY
|
||||
------------------------------------- */
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
font-family: Arial, sans-serif; line-height: 1.1; margin-bottom:15px; color:#000;
|
||||
}
|
||||
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-size: 60%; color: #6f6f6f; line-height: 0; text-transform: none; }
|
||||
|
||||
h1 { font-weight:200; font-size: 44px;}
|
||||
h2 { font-weight:200; font-size: 37px;}
|
||||
h3 { font-weight:500; font-size: 27px;}
|
||||
h4 { font-weight:500; font-size: 23px;}
|
||||
h5 { font-weight:900; font-size: 17px;}
|
||||
h6 { font-weight:900; font-size: 14px; text-transform: uppercase; color:#444;}
|
||||
|
||||
.collapse { margin:0!important;}
|
||||
|
||||
p, ul {
|
||||
margin-bottom: 10px;
|
||||
font-weight: normal;
|
||||
font-size:12px;
|
||||
line-height:1.6;
|
||||
}
|
||||
p.lead { font-size:17px; }
|
||||
p.last { margin-bottom:0px;}
|
||||
|
||||
ul li {
|
||||
margin-left:5px;
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
/* -------------------------------------
|
||||
SIDEBAR
|
||||
------------------------------------- */
|
||||
ul.sidebar {
|
||||
background:#ebebeb;
|
||||
display:block;
|
||||
list-style-type: none;
|
||||
}
|
||||
ul.sidebar li { display: block; margin:0;}
|
||||
ul.sidebar li a {
|
||||
text-decoration:none;
|
||||
color: #666;
|
||||
padding:10px 16px;
|
||||
/* font-weight:bold; */
|
||||
margin-right:10px;
|
||||
/* text-align:center; */
|
||||
cursor:pointer;
|
||||
border-bottom: 1px solid #777777;
|
||||
border-top: 1px solid #FFFFFF;
|
||||
display:block;
|
||||
margin:0;
|
||||
}
|
||||
ul.sidebar li a.last { border-bottom-width:0px;}
|
||||
ul.sidebar li a h1,ul.sidebar li a h2,ul.sidebar li a h3,ul.sidebar li a h4,ul.sidebar li a h5,ul.sidebar li a h6,ul.sidebar li a p { margin-bottom:0!important;}
|
||||
|
||||
|
||||
|
||||
/* ---------------------------------------------------
|
||||
RESPONSIVENESS
|
||||
Nuke it from orbit. It's the only way to be sure.
|
||||
------------------------------------------------------ */
|
||||
|
||||
/* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */
|
||||
.container {
|
||||
display:block!important;
|
||||
max-width:600px!important;
|
||||
margin:0 auto!important; /* makes it centered */
|
||||
clear:both!important;
|
||||
}
|
||||
|
||||
/* This should also be a block element, so that it will fill 100% of the .container */
|
||||
.content {
|
||||
padding:15px;
|
||||
max-width:600px;
|
||||
margin:0 auto;
|
||||
display:block;
|
||||
}
|
||||
|
||||
/* Let's make sure tables in the content area are 100% wide */
|
||||
.content table { width: 100%; }
|
||||
|
||||
|
||||
/* Odds and ends */
|
||||
.column {
|
||||
width: 300px;
|
||||
float:left;
|
||||
}
|
||||
.social .column tr td { padding: 15px; }
|
||||
|
||||
.user_data .column tr td { padding-bottom: 15px; }
|
||||
|
||||
.column-wrap {
|
||||
padding:0!important;
|
||||
margin:0 auto;
|
||||
max-width:600px!important;
|
||||
}
|
||||
.column table { width:100%;}
|
||||
|
||||
.social .column {
|
||||
width: 280px;
|
||||
min-width: 279px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.user_data .column {
|
||||
width: 280px;
|
||||
min-width: 279px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
/* Be sure to place a .clear element after each set of columns, just to be safe */
|
||||
.clear { display: block; clear: both; }
|
||||
|
||||
|
||||
/* -------------------------------------------
|
||||
PHONE
|
||||
For clients that support media queries.
|
||||
Nothing fancy.
|
||||
-------------------------------------------- */
|
||||
@media only screen and (max-width: 600px) {
|
||||
|
||||
a[class="btn"] { display:block!important; margin-bottom:10px!important; background-image:none!important; margin-right:0!important;}
|
||||
|
||||
div[class="column"] { width: auto!important; float:none!important;}
|
||||
|
||||
table.social div[class="column"] {
|
||||
width:auto!important;
|
||||
}
|
||||
|
||||
}
|
||||
{/literal}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF" style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;-webkit-font-smoothing: antialiased;-webkit-text-size-adjust: none;height: 100%;width: 100%!important;">
|
||||
|
||||
<!-- HEADER -->
|
||||
<table class="head-wrap" bgcolor="#{$bg_header_color}" style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;"></td>
|
||||
<td class="header container" style="margin: 0 auto!important;padding: 0;font-family: Arial, sans-serif;font-size: 12px;display: block!important;max-width: 600px!important;clear: both!important;">
|
||||
|
||||
<div class="content" style="margin: 0 auto;padding: 15px;font-family: Arial, sans-serif;font-size: 12px;max-width: 600px;display: block;">
|
||||
<table bgcolor="#{$bg_header_color}" style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;">{if $logo!=""}<img src="http://{$host}/uploads{$logo}?version=1" style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;max-width: 100%; max-height: 50px;">{/if}</td>
|
||||
<td align="right" style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><h6 class="collapse" style="margin: 0!important;padding: 0;font-family: "helveticaneue-light": ;, ": ;helvetica neue light": ;helvetica neue": ;, helvetica, arial, ": ;lucida grande": ;, sans-serif: ;line-height: 1.1;margin-bottom: 15px;color: #444;font-weight: 900;font-size: 14px;text-transform: uppercase;">{$created_at}</h6></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;"></td>
|
||||
</tr>
|
||||
</table><!-- /HEADER -->
|
||||
|
||||
|
||||
<!-- BODY -->
|
||||
<table class="body-wrap" cellpadding="0" cellspacing="0" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;"></td>
|
||||
<td class="container" bgcolor="#FFFFFF" style="margin: 0 auto!important;padding: 0;font-family: Arial, sans-serif;display: block!important;max-width: 600px!important;clear: both!important;">
|
||||
|
||||
<div class="content" style="margin: 0 auto;padding: 15px;font-family: Arial, sans-serif;max-width: 600px;display: block;">
|
||||
<table cellpadding="0" cellspacing="0" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<p style="font-size: 12px;margin: 0;padding: 0;font-family: Arial, sans-serif;margin-bottom: 10px;font-weight: normal;line-height: 1.6;">{$user_head}</p>
|
||||
|
||||
<h4 style="margin: 0;padding: 0;font-family: "helveticaneue-light": ;, ": ;helvetica neue light": ;helvetica neue": ;, helvetica, arial, ": ;lucida grande": ;, sans-serif: ;line-height: 1.1;margin-bottom: 15px;color: #000;font-weight: 500;font-size: 23px;"> {__ text="Zamówienie numer"}: {$number}</h4>
|
||||
|
||||
{if $create_account == 1}
|
||||
<span style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Dane dostępowe do konta"}:</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<span style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Login"}: </span><span style="font-size: 12px;color: #404040;font-weight: bold;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$username}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $create_account == 0}
|
||||
<span style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Użytkownik"}: </span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<span style="font-size: 12px;color: #404040;font-weight: bold;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$username}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<table class="user_data" width="100%" cellpadding="0" cellspacing="0" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
<!-- column 1 -->
|
||||
<table align="left" class="column" cellpadding="0" cellspacing="0" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 280px;float: left;min-width: 279px;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;padding-bottom: 15px;">
|
||||
<span style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Dane bilingowe"}: </span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $billing_company != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_company}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $vat_nr != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="NIP"}: {$vat_nr}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<span style="font-size: 14px;color: #404040;font-weight: bold;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_full_name}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_address}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $billing_address_more != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_address_more}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $billing_region != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_region}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $billing_code_town != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_code_town}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $billing_country != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_country}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $billing_pesel != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="PESEL"}: {$billing_pesel}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_full_phone}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /column 1 -->
|
||||
|
||||
<!-- column 2 -->
|
||||
<table align="left" class="column" cellpadding="0" cellspacing="0" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 280px;float: left;min-width: 279px;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;padding-bottom: 15px;">
|
||||
<span style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Dane dostawy"}: </span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $delivery_company != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_company}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<span style="font-size: 14px;color: #404040;font-weight: bold;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_full_name}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_address}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $delivery_address_more != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_address_more}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $delivery_region != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_region}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $delivery_code_town != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_code_town}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $delivery_country != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_country}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_full_phone}</span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /column 2 -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /social & contact -->
|
||||
|
||||
{if $show_not_professional_purchase}
|
||||
<p style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{__ text="Zakup o charakterze zawodowym" catalogue="stUserData"}:
|
||||
{$order_user_data_billing->getNotProfessionalPurchaseLabel()}
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<div style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="600" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 100%;">
|
||||
|
||||
<tbody style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{foreach key=row item=product from=$results}
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="font-size: 12px;color: #404040;margin: 0;padding: 10px 0px 4px 0px;font-family: Arial, sans-serif; text-align: left;" colspan="2" valign="bottom">
|
||||
{$product.code} <strong style="margin: 0;padding: 0;font-family: Arial, sans-serif;">{$product.instance->getName()}</strong>
|
||||
{if $product.instance->hasPriceModifiers()}
|
||||
<div style="padding-top: 2px">
|
||||
{foreach item=modifier from=$product.instance->getPriceModifiers()}
|
||||
{if $modifier.custom.field}
|
||||
{assign var=option_title value="`$modifier.custom.field`: `$modifier.label`"}
|
||||
<span title="{$option_title|strip_tags}" style="display: inline-block; line-height: 1.4; padding: 0.4em 0.6em; font-size: 75%; background: #ddd; margin-bottom: 2px; vertical-align: middle; max-width: 300px;"><span style="overflow: hidden; display: -webkit-inline-box !important; -webkit-line-clamp: 1; -webkit-box-orient: vertical; word-break: break-all">{$modifier.custom.field}: {$modifier.label}</span></span>
|
||||
{elseif $modifier.label}
|
||||
{assign var=option_title value=$modifier.label}
|
||||
<span title="{$option_title|strip_tags}" style="display: inline-block; line-height: 1.4; padding: 0.4em 0.6em; font-size: 75%; background: #ddd; margin-bottom: 2px; vertical-align: middle; max-width: 300px;"><span style="overflow: hidden; display: -webkit-inline-box !important; -webkit-line-clamp: 1; -webkit-box-orient: vertical; word-break: break-all">{$modifier.label}</span></span>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70%" style="font-size: 12px;color: #404040;border-bottom: 1px solid #cccccc;margin: 0;padding: 0 0 5px 0;font-family: Arial, sans-serif;" valign="bottom">{$product.quantity} {$product.uom} x {$product.brutto} ( {$product.netto} x {$product.vat} % )</td>
|
||||
<td width="30%" style="font-size: 12px;color: #404040;border-bottom: 1px solid #cccccc;margin: 0;padding: 0 0 5px 0;font-family: Arial, sans-serif; text-align: right" valign="bottom">
|
||||
{if $product.is_item_by_points} {$product.points_value} {else} {$product.total_amount} {/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="font-size: 12px;color: #404040;border-bottom: 1px solid #cccccc;margin: 0;padding: 0 0 5px 0;font-family: Arial, sans-serif;" align="left" valign="bottom">
|
||||
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{__ text="Płatność"}: <span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$payment_name}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{if $delivery_date != ""}
|
||||
{__ text="Termin dostawy"}: <span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_date}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
{__ text="Dostawy"}: <span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_name}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
|
||||
</td>
|
||||
<td width="30%" style="font-size: 12px;color: #404040;border-bottom: 1px solid #cccccc;margin: 0;padding: 0 0 5px 0;font-family: Arial, sans-serif;" align="right" valign="bottom">
|
||||
{$delivery_cost}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div style="float: right;font-size: 12px;color: #576278;text-align: right;margin: 0;padding-top: 10px;font-family: Arial, sans-serif;">
|
||||
{if $paid || $discount}
|
||||
{__ text="Razem"}<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$total_amount}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
{if $discount}
|
||||
{__ text="Rabat"}<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">-{$discount}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
{if $paid}
|
||||
{__ text="Zapłacono"}<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$paid}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
{__ text="Łączna kwota do zapłaty"}<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><span style="color: #000;font-size: 14px;margin: 0;padding: 0;font-family: Arial, sans-serif;"><b style="margin: 0;padding: 0;font-family: Arial, sans-serif;">{$final_total_amount}</b></span>
|
||||
{if $total_points_value != 0}
|
||||
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><span style="color: #000;font-size: 14px;margin: 0;padding: 0;font-family: Arial, sans-serif;"><b style="margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Koszt"} {$points_shortcut}: {$total_points_value}</b></span>
|
||||
{/if}
|
||||
</div>
|
||||
<br style="clear: both;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $order_total_points_earn != 0}
|
||||
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Za zamówienie otrzymasz"}: <span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$order_total_points_earn} {$points_shortcut}</span>
|
||||
{/if}
|
||||
|
||||
{if $comment != ""}
|
||||
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<div style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{__ text="Uwagi do zamówienia"}:<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$comment}</span>
|
||||
</div>
|
||||
<br style="clear: both;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $is_invoice_request == 1}
|
||||
<div style="float:left; font-size:12px;color:#576278;">
|
||||
<b><span style="color:#404040;">{__ text="Klient prosi o wystawienie faktury."}</span></b>
|
||||
</div>
|
||||
<br style="clear:both">
|
||||
{/if}
|
||||
|
||||
<!-- Callout Panel -->
|
||||
|
||||
<p class="callout" style="text-align: center;margin: 0;padding: 15px;font-family: Arial, sans-serif;font-size: 12px;margin-bottom: 15px;font-weight: normal;line-height: 1.6;background-color: #{$bg_action_color};">
|
||||
{$order_link}
|
||||
</p><!-- /Callout Panel -->
|
||||
|
||||
|
||||
|
||||
<!-- social & contact -->
|
||||
<table class="social" width="100%" style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;background-color: #{$bg_footer_color};width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="font-size: 12px;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{$user_foot}
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /social & contact -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><!-- /content -->
|
||||
|
||||
</td>
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;"></td>
|
||||
</tr>
|
||||
</table><!-- /BODY -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,54 @@
|
||||
{__ text="Data złożenia zamówienia"}: {$created_at}
|
||||
{__ text="Zamówienie numer"}: {$number}
|
||||
|
||||
{__ text="Dane bilingowe"}:
|
||||
{if $billing_company != ""}{$billing_company}{/if}
|
||||
|
||||
{if $vat_nr != ""}{__ text="NIP"}: {$vat_nr}{/if}
|
||||
|
||||
{$billing_full_name}
|
||||
{$billing_address}
|
||||
{if $billing_address_more != ""}{$billing_address_more}{/if}
|
||||
|
||||
{if $billing_region != ""}{$billing_region}{/if}
|
||||
|
||||
{if $billing_code_town != ""}{$billing_code_town}{/if}
|
||||
|
||||
{if $billing_pesel != ""}{__ text="PESEL"}:{$billing_pesel}{/if}
|
||||
|
||||
{$billing_full_phone}
|
||||
|
||||
{__ text="Dane dostawy"}:
|
||||
{if $delivery_company != ""}{$delivery_company}{/if}
|
||||
|
||||
{$delivery_full_name}
|
||||
{$delivery_address}
|
||||
{if $delivery_address_more != ""}{$delivery_address_more}{/if}
|
||||
|
||||
{if $delivery_region != ""}{$delivery_region}{/if}
|
||||
|
||||
{if $delivery_code_town != ""}{$delivery_code_town}{/if}
|
||||
|
||||
{$delivery_full_phone}
|
||||
|
||||
{__ text="Lista zamówienia"}:
|
||||
|
||||
{foreach key=row item=product from=$results}
|
||||
{__ text="Kod"}: {$product.code}
|
||||
{__ text="Nazwa"}: {$product.name}
|
||||
{__ text="Netto"}: {$product.netto}
|
||||
{__ text="VAT"}: {$product.vat}
|
||||
{__ text="Brutto"}: {$product.brutto}
|
||||
{__ text="Ilość"}: {$product.quantity} {$product.uom}
|
||||
{__ text="Kwota"}: {$product.front_symbol} {$product.total_amount} {$product.back_symbol}
|
||||
{/foreach}
|
||||
|
||||
{if $paid}
|
||||
{__ text="Razem"}: {$total_amount}
|
||||
{__ text="Zapłacono"}: {$paid}
|
||||
{/if}
|
||||
|
||||
{__ text="Łączna kwota do zapłaty"}: {$final_total_amount}
|
||||
{__ text="Płatność"}: {$payment_name}
|
||||
{__ text="Dostawy"}: {$delivery_name}
|
||||
{__ text="Koszt"}: {$delivery_cost}
|
||||
@@ -0,0 +1,663 @@
|
||||
<!-- http://templates.mailchimp.com/resources/inline-css/ -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<head style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
<meta name="viewport" content="width=device-width" style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<title style="margin: 0;padding: 0;font-family: Arial, sans-serif;">ZURBemails</title>
|
||||
|
||||
<style style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{literal}
|
||||
/* -------------------------------------
|
||||
GLOBAL
|
||||
------------------------------------- */
|
||||
* {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
* { font-family: Arial, sans-serif; }
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.collapse {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing:antialiased;
|
||||
-webkit-text-size-adjust:none;
|
||||
width: 100%!important;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.tinymce_html{
|
||||
font-size:10px;
|
||||
}
|
||||
|
||||
.tinymce_html img,
|
||||
.tinymce_html embed,
|
||||
.tinymce_html video
|
||||
{
|
||||
max-width: 100%;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.image > a > img
|
||||
{
|
||||
max-width: 100% !important;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.tinymce_html object,
|
||||
.tinymce_html iframe
|
||||
{
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.tinymce_html table th,
|
||||
.tinymce_html table td
|
||||
{
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.tinymce_html ul
|
||||
{
|
||||
padding-left: 19px;
|
||||
}
|
||||
|
||||
.tinymce_html ul ul,
|
||||
.tinymce_html ol
|
||||
{
|
||||
padding-left: 30px;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
.tinymce_html ol
|
||||
{
|
||||
counter-reset: item;
|
||||
}
|
||||
|
||||
.tinymce_html ol > li:before
|
||||
{
|
||||
content: counters(item, ".") ". ";
|
||||
counter-increment: item;
|
||||
position: absolute;
|
||||
margin-left: -19px;
|
||||
}
|
||||
|
||||
.tinymce_html ol[style*="lower"] ol,
|
||||
.tinymce_html ol[style*="upper"] ol
|
||||
{
|
||||
list-style-type: decimal;
|
||||
padding-left: 17px;
|
||||
}
|
||||
|
||||
.tinymce_html ol[style*="lower"] li:before,
|
||||
.tinymce_html ol[style*="upper"] li:before
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tinymce_html ol ol
|
||||
{
|
||||
padding-left: 27px;
|
||||
}
|
||||
|
||||
.tinymce_html ol ol li:before
|
||||
{
|
||||
margin-left: -27px;
|
||||
}
|
||||
|
||||
.tinymce_html ol ol ol
|
||||
{
|
||||
padding-left: 38px;
|
||||
}
|
||||
|
||||
.tinymce_html ol ol ol li:before
|
||||
{
|
||||
margin-left: -38px;
|
||||
}
|
||||
|
||||
.tinymce_html ol ol ol ol
|
||||
{
|
||||
padding-left: 48px;
|
||||
}
|
||||
|
||||
.tinymce_html ol ol ol ol li:before
|
||||
{
|
||||
margin-left: -48px;
|
||||
}
|
||||
|
||||
.tinymce_html a
|
||||
{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.tinymce_html h1
|
||||
{
|
||||
margin-top:15px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.tinymce_html h2
|
||||
{
|
||||
margin-top:15px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.tinymce_html h3
|
||||
{
|
||||
margin-top:15px;
|
||||
font-size: 16px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.tinymce_html h4
|
||||
{
|
||||
margin-top:15px;
|
||||
font-size: 15px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.tinymce_html h5
|
||||
{
|
||||
margin-top:15px;
|
||||
font-size: 14px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.tinymce_html h6
|
||||
{
|
||||
margin-top:15px;
|
||||
font-size: 14px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
/* -------------------------------------
|
||||
ELEMENTS
|
||||
------------------------------------- */
|
||||
a { color: #{/literal}{$link_color}{literal};}
|
||||
|
||||
.btn {
|
||||
text-decoration:none;
|
||||
color: #FFF;
|
||||
background-color: #666;
|
||||
padding:10px 16px;
|
||||
font-weight:bold;
|
||||
margin-right:10px;
|
||||
text-align:center;
|
||||
cursor:pointer;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
p.callout {
|
||||
padding:15px;
|
||||
background-color:#ECF8FF;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.callout a {
|
||||
font-weight:bold;
|
||||
color: #2BA6CB;
|
||||
}
|
||||
|
||||
table.social {
|
||||
|
||||
background-color: #ebebeb;
|
||||
|
||||
}
|
||||
.social .soc-btn {
|
||||
padding: 3px 7px;
|
||||
font-size:12px;
|
||||
margin-bottom:10px;
|
||||
text-decoration:none;
|
||||
color: #FFF;font-weight:bold;
|
||||
display:block;
|
||||
text-align:center;
|
||||
}
|
||||
a.fb { background-color: #3B5998!important; }
|
||||
a.tw { background-color: #1daced!important; }
|
||||
a.gp { background-color: #DB4A39!important; }
|
||||
a.ms { background-color: #000!important; }
|
||||
|
||||
.sidebar .soc-btn {
|
||||
display:block;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
/* -------------------------------------
|
||||
HEADER
|
||||
------------------------------------- */
|
||||
table.head-wrap { width: 100%;}
|
||||
|
||||
.header.container table td.logo { padding: 15px; }
|
||||
.header.container table td.label { padding: 15px; padding-left:0px;}
|
||||
|
||||
|
||||
/* -------------------------------------
|
||||
BODY
|
||||
------------------------------------- */
|
||||
table.body-wrap { width: 100%;}
|
||||
|
||||
|
||||
/* -------------------------------------
|
||||
FOOTER
|
||||
------------------------------------- */
|
||||
table.footer-wrap { width: 100%; clear:both!important;
|
||||
}
|
||||
.footer-wrap .container td.content p { border-top: 1px solid rgb(215,215,215); padding-top:15px;}
|
||||
.footer-wrap .container td.content p {
|
||||
font-size:10px;
|
||||
font-weight: bold;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* -------------------------------------
|
||||
TYPOGRAPHY
|
||||
------------------------------------- */
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
font-family: Arial, sans-serif; line-height: 1.1; margin-bottom:15px; color:#000;
|
||||
}
|
||||
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-size: 60%; color: #6f6f6f; line-height: 0; text-transform: none; }
|
||||
|
||||
h1 { font-weight:200; font-size: 44px;}
|
||||
h2 { font-weight:200; font-size: 37px;}
|
||||
h3 { font-weight:500; font-size: 27px;}
|
||||
h4 { font-weight:500; font-size: 23px;}
|
||||
h5 { font-weight:900; font-size: 17px;}
|
||||
h6 { font-weight:900; font-size: 14px; text-transform: uppercase; color:#444;}
|
||||
|
||||
.collapse { margin:0!important;}
|
||||
|
||||
p, ul {
|
||||
margin-bottom: 10px;
|
||||
font-weight: normal;
|
||||
font-size:12px;
|
||||
line-height:1.6;
|
||||
}
|
||||
p.lead { font-size:17px; }
|
||||
p.last { margin-bottom:0px;}
|
||||
|
||||
ul li {
|
||||
margin-left:5px;
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
/* -------------------------------------
|
||||
SIDEBAR
|
||||
------------------------------------- */
|
||||
ul.sidebar {
|
||||
background:#ebebeb;
|
||||
display:block;
|
||||
list-style-type: none;
|
||||
}
|
||||
ul.sidebar li { display: block; margin:0;}
|
||||
ul.sidebar li a {
|
||||
text-decoration:none;
|
||||
color: #666;
|
||||
padding:10px 16px;
|
||||
/* font-weight:bold; */
|
||||
margin-right:10px;
|
||||
/* text-align:center; */
|
||||
cursor:pointer;
|
||||
border-bottom: 1px solid #777777;
|
||||
border-top: 1px solid #FFFFFF;
|
||||
display:block;
|
||||
margin:0;
|
||||
}
|
||||
ul.sidebar li a.last { border-bottom-width:0px;}
|
||||
ul.sidebar li a h1,ul.sidebar li a h2,ul.sidebar li a h3,ul.sidebar li a h4,ul.sidebar li a h5,ul.sidebar li a h6,ul.sidebar li a p { margin-bottom:0!important;}
|
||||
|
||||
|
||||
|
||||
/* ---------------------------------------------------
|
||||
RESPONSIVENESS
|
||||
Nuke it from orbit. It's the only way to be sure.
|
||||
------------------------------------------------------ */
|
||||
|
||||
/* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */
|
||||
.container {
|
||||
display:block!important;
|
||||
max-width:600px!important;
|
||||
margin:0 auto!important; /* makes it centered */
|
||||
clear:both!important;
|
||||
}
|
||||
|
||||
/* This should also be a block element, so that it will fill 100% of the .container */
|
||||
.content {
|
||||
padding:15px;
|
||||
max-width:600px;
|
||||
margin:0 auto;
|
||||
display:block;
|
||||
}
|
||||
|
||||
/* Let's make sure tables in the content area are 100% wide */
|
||||
.content table { width: 100%; }
|
||||
|
||||
|
||||
/* Odds and ends */
|
||||
.column {
|
||||
width: 300px;
|
||||
float:left;
|
||||
}
|
||||
.social .column tr td { padding: 15px; }
|
||||
|
||||
.user_data .column tr td { padding-bottom: 15px; }
|
||||
|
||||
.column-wrap {
|
||||
padding:0!important;
|
||||
margin:0 auto;
|
||||
max-width:600px!important;
|
||||
}
|
||||
.column table { width:100%;}
|
||||
|
||||
.social .column {
|
||||
width: 280px;
|
||||
min-width: 279px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.user_data .column {
|
||||
width: 280px;
|
||||
min-width: 279px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
/* Be sure to place a .clear element after each set of columns, just to be safe */
|
||||
.clear { display: block; clear: both; }
|
||||
|
||||
|
||||
/* -------------------------------------------
|
||||
PHONE
|
||||
For clients that support media queries.
|
||||
Nothing fancy.
|
||||
-------------------------------------------- */
|
||||
@media only screen and (max-width: 600px) {
|
||||
|
||||
a[class="btn"] { display:block!important; margin-bottom:10px!important; background-image:none!important; margin-right:0!important;}
|
||||
|
||||
div[class="column"] { width: auto!important; float:none!important;}
|
||||
|
||||
table.social div[class="column"] {
|
||||
width:auto!important;
|
||||
}
|
||||
|
||||
}
|
||||
{/literal}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF" style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;-webkit-font-smoothing: antialiased;-webkit-text-size-adjust: none;height: 100%;width: 100%!important;">
|
||||
|
||||
<!-- HEADER -->
|
||||
<table class="head-wrap" bgcolor="#{$bg_header_color}" style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;"></td>
|
||||
<td class="header container" style="margin: 0 auto!important;padding: 0;font-family: Arial, sans-serif;font-size: 12px;display: block!important;max-width: 600px!important;clear: both!important;">
|
||||
|
||||
<div class="content" style="margin: 0 auto;padding: 15px;font-family: Arial, sans-serif;font-size: 12px;max-width: 600px;display: block;">
|
||||
<table bgcolor="#{$bg_header_color}" style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;">{if $logo!=""}<img src="http://{$host}/uploads{$logo}?version=1" style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;max-width: 100%; max-height: 50px;">{/if}</td>
|
||||
<td align="right" style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><h6 class="collapse" style="margin: 0!important;padding: 0;font-family: "helveticaneue-light": ;, ": ;helvetica neue light": ;helvetica neue": ;, helvetica, arial, ": ;lucida grande": ;, sans-serif: ;line-height: 1.1;margin-bottom: 15px;color: #444;font-weight: 900;font-size: 14px;text-transform: uppercase;">{$created_at}</h6></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;"></td>
|
||||
</tr>
|
||||
</table><!-- /HEADER -->
|
||||
|
||||
|
||||
<!-- BODY -->
|
||||
<table class="body-wrap" cellpadding="0" cellspacing="0" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;"></td>
|
||||
<td class="container" bgcolor="#FFFFFF" style="margin: 0 auto!important;padding: 0;font-family: Arial, sans-serif;display: block!important;max-width: 600px!important;clear: both!important;">
|
||||
|
||||
<div class="content" style="margin: 0 auto;padding: 15px;font-family: Arial, sans-serif;max-width: 600px;display: block;">
|
||||
<table cellpadding="0" cellspacing="0" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<p style="font-size: 12px;margin: 0;padding: 0;font-family: Arial, sans-serif;margin-bottom: 10px;font-weight: normal;line-height: 1.6;">{$user_head}</p>
|
||||
|
||||
<h4 style="margin: 0;padding: 0;font-family: "helveticaneue-light": ;, ": ;helvetica neue light": ;helvetica neue": ;, helvetica, arial, ": ;lucida grande": ;, sans-serif: ;line-height: 1.1;margin-bottom: 15px;color: #000;font-weight: 500;font-size: 23px;"> {__ text="Zamówienie numer"}: {$number}</h4>
|
||||
|
||||
<p style="font-size: 12px;margin: 0;padding: 0;font-family: Arial, sans-serif;margin-bottom: 10px;font-weight: normal;line-height: 1.6;">{$user_content_head}</p>
|
||||
|
||||
{if $create_account == 1}
|
||||
<span style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Dane dostępowe do konta"}:</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<span style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Login"}: </span><span style="font-size: 12px;color: #404040;font-weight: bold;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$username}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $create_account == 0}
|
||||
<span style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Użytkownik"}: </span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<span style="font-size: 12px;color: #404040;font-weight: bold;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$username}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<table class="user_data" width="100%" cellpadding="0" cellspacing="0" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
<!-- column 1 -->
|
||||
<table align="left" class="column" cellpadding="0" cellspacing="0" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 280px;float: left;min-width: 279px;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;padding-bottom: 15px;">
|
||||
<span style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Dane bilingowe"}: </span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $billing_company != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_company}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $vat_nr != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="NIP"}: {$vat_nr}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<span style="font-size: 14px;color: #404040;font-weight: bold;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_full_name}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_address}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $billing_address_more != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_address_more}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $billing_region != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_region}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $billing_code_town != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_code_town}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $billing_country != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_country}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $billing_pesel != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="PESEL"}: {$billing_pesel}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$billing_full_phone}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /column 1 -->
|
||||
|
||||
<!-- column 2 -->
|
||||
<table align="left" class="column" cellpadding="0" cellspacing="0" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 280px;float: left;min-width: 279px;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;padding-bottom: 15px;">
|
||||
<span style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">{__ text="Dane dostawy"}: </span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $delivery_company != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_company}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<span style="font-size: 14px;color: #404040;font-weight: bold;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_full_name}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_address}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $delivery_address_more != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_address_more}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $delivery_region != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_region}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $delivery_code_town != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_code_town}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
{if $delivery_country != ""}
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_country}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<span style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_full_phone}</span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /column 2 -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /social & contact -->
|
||||
|
||||
{if $show_not_professional_purchase}
|
||||
<p style="font-size: 12px;color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{__ text="Zakup o charakterze zawodowym" catalogue="stUserData"}:
|
||||
{$order_user_data_billing->getNotProfessionalPurchaseLabel()}
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<div style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="600" style="margin: 0;padding: 0;font-family: Arial, sans-serif;width: 100%;">
|
||||
|
||||
<tbody style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{foreach key=row item=product from=$results}
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="font-size: 12px;color: #404040;margin: 0;padding: 10px 0px 4px 0px;font-family: Arial, sans-serif; text-align: left;" colspan="2" valign="bottom">
|
||||
{$product.code} <strong style="margin: 0;padding: 0;font-family: Arial, sans-serif;">{$product.instance->getName()}</strong>
|
||||
{if $product.instance->hasPriceModifiers()}
|
||||
<div style="padding-top: 2px">
|
||||
{foreach item=modifier from=$product.instance->getPriceModifiers()}
|
||||
{if $modifier.custom.field}
|
||||
{assign var=option_title value="`$modifier.custom.field`: `$modifier.label`"}
|
||||
<span title="{$option_title|strip_tags}" style="display: inline-block; line-height: 1.4; padding: 0.4em 0.6em; font-size: 75%; background: #ddd; margin-bottom: 2px; vertical-align: middle; max-width: 300px;"><span style="overflow: hidden; display: -webkit-inline-box !important; -webkit-line-clamp: 1; -webkit-box-orient: vertical; word-break: break-all">{$modifier.custom.field}: {$modifier.label}</span></span>
|
||||
{elseif $modifier.label}
|
||||
{assign var=option_title value=$modifier.label}
|
||||
<span title="{$option_title|strip_tags}" style="display: inline-block; line-height: 1.4; padding: 0.4em 0.6em; font-size: 75%; background: #ddd; margin-bottom: 2px; vertical-align: middle; max-width: 300px;"><span style="overflow: hidden; display: -webkit-inline-box !important; -webkit-line-clamp: 1; -webkit-box-orient: vertical; word-break: break-all">{$modifier.label}</span></span>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="70%" style="font-size: 12px;color: #404040;border-bottom: 1px solid #cccccc;margin: 0;padding: 0 0 5px 0;font-family: Arial, sans-serif;" valign="bottom">{$product.quantity} {$product.uom} x {$product.brutto} ( {$product.netto} x {$product.vat} % )</td>
|
||||
<td width="30%" style="font-size: 12px;color: #404040;border-bottom: 1px solid #cccccc;margin: 0;padding: 0 0 5px 0;font-family: Arial, sans-serif; text-align: right" valign="bottom">
|
||||
{if $product.is_item_by_points} {$product.points_value} {else} {$product.total_amount} {/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="font-size: 12px;color: #404040;border-bottom: 1px solid #cccccc;margin: 0;padding: 0 0 5px 0;font-family: Arial, sans-serif;" align="left" valign="bottom">
|
||||
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{__ text="Płatność"}: <span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$payment_name}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{if $delivery_date != ""}
|
||||
{__ text="Termin dostawy"}: <span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_date}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
{__ text="Dostawy"}: <span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$delivery_name}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
|
||||
</td>
|
||||
<td width="30%" style="font-size: 12px;color: #404040;border-bottom: 1px solid #cccccc;margin: 0;padding: 0 0 5px 0;font-family: Arial, sans-serif;" align="right" valign="bottom">
|
||||
{$delivery_cost}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div style="float: right;font-size: 12px;color: #576278;text-align: right;margin: 0;padding-top: 10px;font-family: Arial, sans-serif;">
|
||||
{if $paid || $discount}
|
||||
{__ text="Razem"}<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$total_amount}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
{if $discount}
|
||||
{__ text="Rabat"}<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">-{$discount}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
{if $paid}
|
||||
{__ text="Zapłacono"}<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$paid}</span><br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
{__ text="Łączna kwota do zapłaty"}<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;"><span style="color: #000;font-size: 14px;margin: 0;padding: 0;font-family: Arial, sans-serif;"><b style="margin: 0;padding: 0;font-family: Arial, sans-serif;">{$final_total_amount}</b></span>
|
||||
</div>
|
||||
<br style="clear: both;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $comment != ""}
|
||||
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<div style="font-size: 12px;color: #576278;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{__ text="Uwagi do zamówienia"}:<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<span style="color: #404040;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$comment}</span>
|
||||
</div>
|
||||
<br style="clear: both;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{/if}
|
||||
|
||||
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
{if $order_confirm}
|
||||
<p class="callout" style="text-align: center;margin: 0;padding: 15px;font-family: Arial, sans-serif;font-size: 12px;margin-bottom: 15px;font-weight: normal;line-height: 1.6; background-color: #eee">
|
||||
<a style="color: #404040" href="{$order_confirm.url}">{$order_confirm.label}</a>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
{if $show_payment_button}
|
||||
<p class="callout" style="text-align: center;margin: 0;padding: 15px;font-family: Arial, sans-serif;font-size: 12px;margin-bottom: 15px;font-weight: normal;line-height: 1.6;background-color: #{$bg_action_color};">
|
||||
<a href="{$payment_url}" style="color: #{$bg_action_link_color}">{__ text="Opłać zamówienie"}</a>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<p style="font-size: 12px;margin: 0;padding: 0;font-family: Arial, sans-serif;margin-bottom: 10px;font-weight: normal;line-height: 1.6;">{$user_content_foot}</p>
|
||||
|
||||
<p style="font-size: 12px;margin: 0;padding: 0;font-family: Arial, sans-serif;margin-bottom: 10px;font-weight: normal;line-height: 1.6;"><a href="{$url_to_view}" style="color: #{$link_color}" >{__ text="Sprawdź szczegóły zamówienia w sklepie."}</a></p>
|
||||
|
||||
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
|
||||
<div style="font-size: 14px;color: #404040;font-weight: bold margin-top: 10px;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<b style="margin: 0;padding: 0;font-family: Arial, sans-serif;">{$webpage_terms_name}</b>
|
||||
</div>
|
||||
<div style="line-height: 18px;font-size: 10px;margin: 0;padding: 0;font-family: Arial, sans-serif;" class="tinymce_html">
|
||||
{$webpage_terms_content}
|
||||
</div>
|
||||
|
||||
<div style="font-size: 14px;color: #404040;font-weight: bold margin-top: 10px;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<b style="margin: 0;padding: 0;font-family: Arial, sans-serif;">{$webpage_right_2_cancel_name}</b>
|
||||
</div>
|
||||
<div style="line-height: 18px;font-size: 10px;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{$webpage_right_2_cancel_content}
|
||||
</div>
|
||||
|
||||
<!-- social & contact -->
|
||||
<table class="social" width="100%" style="margin: 0;padding: 0;font-family: Arial, sans-serif;font-size: 12px;background-color: #{$bg_footer_color};width: 100%;">
|
||||
<tr style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
<td style="font-size: 12px;margin: 0;padding: 0;font-family: Arial, sans-serif;">
|
||||
{$user_foot}
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /social & contact -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><!-- /content -->
|
||||
|
||||
</td>
|
||||
<td style="margin: 0;padding: 0;font-family: Arial, sans-serif;"></td>
|
||||
</tr>
|
||||
</table><!-- /BODY -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,504 @@
|
||||
<!-- http://templates.mailchimp.com/resources/inline-css/ -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>ZURBemails</title>
|
||||
|
||||
<style>
|
||||
{literal}
|
||||
/* -------------------------------------
|
||||
GLOBAL
|
||||
------------------------------------- */
|
||||
* {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
* { font-family: Arial, sans-serif; }
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.collapse {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
body {
|
||||
-webkit-font-smoothing:antialiased;
|
||||
-webkit-text-size-adjust:none;
|
||||
width: 100%!important;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
/* -------------------------------------
|
||||
ELEMENTS
|
||||
------------------------------------- */
|
||||
a { color: #2BA6CB;}
|
||||
|
||||
.btn {
|
||||
text-decoration:none;
|
||||
color: #FFF;
|
||||
background-color: #666;
|
||||
padding:10px 16px;
|
||||
font-weight:bold;
|
||||
margin-right:10px;
|
||||
text-align:center;
|
||||
cursor:pointer;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
p.callout {
|
||||
padding:15px;
|
||||
background-color:#ECF8FF;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.callout a {
|
||||
font-weight:bold;
|
||||
color: #2BA6CB;
|
||||
}
|
||||
|
||||
table.social {
|
||||
|
||||
background-color: #ebebeb;
|
||||
|
||||
}
|
||||
.social .soc-btn {
|
||||
padding: 3px 7px;
|
||||
font-size:12px;
|
||||
margin-bottom:10px;
|
||||
text-decoration:none;
|
||||
color: #FFF;font-weight:bold;
|
||||
display:block;
|
||||
text-align:center;
|
||||
}
|
||||
a.fb { background-color: #3B5998!important; }
|
||||
a.tw { background-color: #1daced!important; }
|
||||
a.gp { background-color: #DB4A39!important; }
|
||||
a.ms { background-color: #000!important; }
|
||||
|
||||
.sidebar .soc-btn {
|
||||
display:block;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
/* -------------------------------------
|
||||
HEADER
|
||||
------------------------------------- */
|
||||
table.head-wrap { width: 100%;}
|
||||
|
||||
.header.container table td.logo { padding: 15px; }
|
||||
.header.container table td.label { padding: 15px; padding-left:0px;}
|
||||
|
||||
|
||||
/* -------------------------------------
|
||||
BODY
|
||||
------------------------------------- */
|
||||
table.body-wrap { width: 100%;}
|
||||
|
||||
|
||||
/* -------------------------------------
|
||||
FOOTER
|
||||
------------------------------------- */
|
||||
table.footer-wrap { width: 100%; clear:both!important;
|
||||
}
|
||||
.footer-wrap .container td.content p { border-top: 1px solid rgb(215,215,215); padding-top:15px;}
|
||||
.footer-wrap .container td.content p {
|
||||
font-size:10px;
|
||||
font-weight: bold;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* -------------------------------------
|
||||
TYPOGRAPHY
|
||||
------------------------------------- */
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; line-height: 1.1; margin-bottom:15px; color:#000;
|
||||
}
|
||||
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-size: 60%; color: #6f6f6f; line-height: 0; text-transform: none; }
|
||||
|
||||
h1 { font-weight:200; font-size: 44px;}
|
||||
h2 { font-weight:200; font-size: 37px;}
|
||||
h3 { font-weight:500; font-size: 27px;}
|
||||
h4 { font-weight:500; font-size: 23px;}
|
||||
h5 { font-weight:900; font-size: 17px;}
|
||||
h6 { font-weight:900; font-size: 14px; text-transform: uppercase; color:#444;}
|
||||
|
||||
.collapse { margin:0!important;}
|
||||
|
||||
p, ul {
|
||||
margin-bottom: 10px;
|
||||
font-weight: normal;
|
||||
font-size:14px;
|
||||
line-height:1.6;
|
||||
}
|
||||
p.lead { font-size:17px; }
|
||||
p.last { margin-bottom:0px;}
|
||||
|
||||
ul li {
|
||||
margin-left:5px;
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
/* -------------------------------------
|
||||
SIDEBAR
|
||||
------------------------------------- */
|
||||
ul.sidebar {
|
||||
background:#ebebeb;
|
||||
display:block;
|
||||
list-style-type: none;
|
||||
}
|
||||
ul.sidebar li { display: block; margin:0;}
|
||||
ul.sidebar li a {
|
||||
text-decoration:none;
|
||||
color: #666;
|
||||
padding:10px 16px;
|
||||
/* font-weight:bold; */
|
||||
margin-right:10px;
|
||||
/* text-align:center; */
|
||||
cursor:pointer;
|
||||
border-bottom: 1px solid #777777;
|
||||
border-top: 1px solid #FFFFFF;
|
||||
display:block;
|
||||
margin:0;
|
||||
}
|
||||
ul.sidebar li a.last { border-bottom-width:0px;}
|
||||
ul.sidebar li a h1,ul.sidebar li a h2,ul.sidebar li a h3,ul.sidebar li a h4,ul.sidebar li a h5,ul.sidebar li a h6,ul.sidebar li a p { margin-bottom:0!important;}
|
||||
|
||||
|
||||
|
||||
/* ---------------------------------------------------
|
||||
RESPONSIVENESS
|
||||
Nuke it from orbit. It's the only way to be sure.
|
||||
------------------------------------------------------ */
|
||||
|
||||
/* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */
|
||||
.container {
|
||||
display:block!important;
|
||||
max-width:600px!important;
|
||||
margin:0 auto!important; /* makes it centered */
|
||||
clear:both!important;
|
||||
}
|
||||
|
||||
/* This should also be a block element, so that it will fill 100% of the .container */
|
||||
.content {
|
||||
padding:15px;
|
||||
max-width:600px;
|
||||
margin:0 auto;
|
||||
display:block;
|
||||
}
|
||||
|
||||
/* Let's make sure tables in the content area are 100% wide */
|
||||
.content table { width: 100%; }
|
||||
|
||||
|
||||
/* Odds and ends */
|
||||
.column {
|
||||
width: 300px;
|
||||
float:left;
|
||||
}
|
||||
.social .column tr td { padding: 15px; }
|
||||
|
||||
.user_data .column tr td { padding-bottom: 15px; }
|
||||
|
||||
.column-wrap {
|
||||
padding:0!important;
|
||||
margin:0 auto;
|
||||
max-width:600px!important;
|
||||
}
|
||||
.column table { width:100%;}
|
||||
|
||||
.social .column {
|
||||
width: 280px;
|
||||
min-width: 279px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.user_data .column {
|
||||
width: 280px;
|
||||
min-width: 279px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
/* Be sure to place a .clear element after each set of columns, just to be safe */
|
||||
.clear { display: block; clear: both; }
|
||||
|
||||
|
||||
/* -------------------------------------------
|
||||
PHONE
|
||||
For clients that support media queries.
|
||||
Nothing fancy.
|
||||
-------------------------------------------- */
|
||||
@media only screen and (max-width: 600px) {
|
||||
|
||||
a[class="btn"] { display:block!important; margin-bottom:10px!important; background-image:none!important; margin-right:0!important;}
|
||||
|
||||
div[class="column"] { width: auto!important; float:none!important;}
|
||||
|
||||
table.social div[class="column"] {
|
||||
width:auto!important;
|
||||
}
|
||||
|
||||
}
|
||||
{/literal}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body bgcolor="#FFFFFF">
|
||||
|
||||
<!-- HEADER -->
|
||||
<table class="head-wrap" bgcolor="#F5F5F5" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="header container" >
|
||||
|
||||
<div class="content">
|
||||
<table bgcolor="#F5F5F5" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><img src="http://argentorwd.demo.soteshop.pl/images/frontend/theme/argentorwd/logo.png" /></td>
|
||||
<td align="right"><h6 class="collapse">{$created_at}</h6></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table><!-- /HEADER -->
|
||||
|
||||
|
||||
<!-- BODY -->
|
||||
<table class="body-wrap" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="container" bgcolor="#FFFFFF">
|
||||
|
||||
<div class="content">
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<p style="font-size:12px;">{$user_head}</p>
|
||||
|
||||
<h4> {__ text="Zamówienie numer"}: {$number}</h4>
|
||||
|
||||
<p style="font-size:12px;">{$user_content_head}</p>
|
||||
|
||||
{if $create_account == 1}
|
||||
<span style="font-size:12px; color:#576278;">{__ text="Dane dostępowe do konta"}:</span><br/>
|
||||
<span style="font-size:12px;color:#576278;">{__ text="Login"}: </span><span style="font-size:12px;color:#404040; font-weight:bold;">{$username}</span><br/><br/>
|
||||
{/if}
|
||||
|
||||
{if $create_account == 0}
|
||||
<span style="font-size:12px; color:#576278;">{__ text="Użytkownik"}: </span><br>
|
||||
<span style="font-size:12px;color:#404040; font-weight:bold;">{$username}</span><br><br>
|
||||
{/if}
|
||||
|
||||
<table class="user_data" width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<!-- column 1 -->
|
||||
<table align="left" class="column" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<span style="font-size:12px; color:#576278;">{__ text="Dane bilingowe"}: </span><br>
|
||||
|
||||
{if $billing_company != ""}
|
||||
<span style="font-size:12px;color:#404040;">{$billing_company}</span><br>
|
||||
{/if}
|
||||
|
||||
{if $vat_nr != ""}
|
||||
<span style="font-size:12px;color:#404040;">{__ text="NIP"}: {$vat_nr}</span><br>
|
||||
{/if}
|
||||
|
||||
<span style="font-size:14px;color:#404040; font-weight:bold">{$billing_full_name}</span><br>
|
||||
<span style="font-size:12px;color:#404040">{$billing_address}</span><br>
|
||||
|
||||
{if $billing_address_more != ""}
|
||||
<span style="font-size:12px;color:#404040">{$billing_address_more}</span><br>
|
||||
{/if}
|
||||
|
||||
{if $billing_region != ""}
|
||||
<span style="font-size:12px;color:#404040">{$billing_region}</span><br>
|
||||
{/if}
|
||||
|
||||
{if $billing_code_town != ""}
|
||||
<span style="font-size:12px;color:#404040">{$billing_code_town}</span><br>
|
||||
{/if}
|
||||
|
||||
{if $billing_country != ""}
|
||||
<span style="font-size:12px;color:#404040">{$billing_country}</span><br>
|
||||
{/if}
|
||||
|
||||
{if $billing_pesel != ""}
|
||||
<span style="font-size:12px;color:#404040">{__ text="PESEL"}: {$billing_pesel}</span><br>
|
||||
{/if}
|
||||
|
||||
<span style="font-size:12px;color:#404040">{$billing_full_phone}</span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /column 1 -->
|
||||
|
||||
<!-- column 2 -->
|
||||
<table align="left" class="column" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<span style="font-size:12px; color:#576278;">{__ text="Dane dostawy"}: </span><br>
|
||||
|
||||
{if $delivery_company != ""}
|
||||
<span style="font-size:12px;color:#404040;">{$delivery_company}</span><br>
|
||||
{/if}
|
||||
|
||||
<span style="font-size:14px;color:#404040; font-weight:bold">{$delivery_full_name}</span><br>
|
||||
<span style="font-size:12px;color:#404040">{$delivery_address}</span><br>
|
||||
|
||||
{if $delivery_address_more != ""}
|
||||
<span style="font-size:12px;color:#404040">{$delivery_address_more}</span><br>
|
||||
{/if}
|
||||
|
||||
{if $delivery_region != ""}
|
||||
<span style="font-size:12px;color:#404040">{$delivery_region}</span><br>
|
||||
{/if}
|
||||
|
||||
{if $delivery_code_town != ""}
|
||||
<span style="font-size:12px;color:#404040">{$delivery_code_town}</span><br>
|
||||
{/if}
|
||||
|
||||
{if $delivery_country != ""}
|
||||
<span style="font-size:12px;color:#404040">{$delivery_country}</span><br>
|
||||
{/if}
|
||||
|
||||
<span style="font-size:12px;color:#404040">{$delivery_full_phone}</span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /column 2 -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /social & contact -->
|
||||
|
||||
<div>
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="600">
|
||||
|
||||
<tbody>
|
||||
{foreach key=row item=product from=$results}
|
||||
<tr>
|
||||
<td style="font-size:12px;color:#404040; border-bottom:1px solid #cccccc;" align="left" valign="bottom">
|
||||
<br/>
|
||||
{$product.code} <strong>{$product.name}</strong>
|
||||
{$product.quantity}{$product.uom} x {if $product.is_item_by_points} {$product.points_value} {else} {$product.netto} x {$product.vat} % {/if}
|
||||
</td>
|
||||
<td width="30%" style="font-size:12px;color:#404040; border-bottom:1px solid #cccccc;" align="right" valign="bottom">
|
||||
<br/>
|
||||
{if $product.is_item_by_points} {$product.points_value} {else} {$product.brutto} {/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{/foreach}
|
||||
|
||||
<tr>
|
||||
<td style="font-size:12px;color:#404040; border-bottom:1px solid #cccccc;" align="left" valign="bottom">
|
||||
<br/>
|
||||
{__ text="Płatność"}: <span style="color:#404040;">{$payment_name}</span><br>
|
||||
{if $delivery_date != ""}
|
||||
{__ text="Termin dostawy"}: <span style="color:#404040;">{$delivery_date}</span><br>
|
||||
{/if}
|
||||
{__ text="Dostawy"}: <span style="color:#404040;">{$delivery_name}</span><br>
|
||||
|
||||
|
||||
</td>
|
||||
<td width="30%" style="font-size:12px;color:#404040; border-bottom:1px solid #cccccc;" align="right" valign="bottom">
|
||||
{$delivery_cost}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div style="float:right;font-size:12px;color:#576278;text-align:right;">
|
||||
{if $paid || $discount}
|
||||
{__ text="Razem"}<br/><span style="color:#404040;">{$total_amount}</span><br/>
|
||||
{/if}
|
||||
{if $discount}
|
||||
{__ text="Rabat"}<br/><span style="color:#404040;">-{$discount}</span><br/>
|
||||
{/if}
|
||||
{if $paid}
|
||||
{__ text="Zapłacono"}<br/><span style="color:#404040;">{$paid}</span><br/>
|
||||
{/if}
|
||||
{__ text="Łączna kwota do zapłaty"}<br/><span style="color:#000; font-size:14px"><b>{$final_total_amount}</b></span>
|
||||
{if $total_points_value != 0}
|
||||
<br/><span style="color:#000; font-size:14px"><b>{__ text="Koszt"} {$points_shortcut}: {$total_points_value}</b></span>
|
||||
{/if}
|
||||
</div>
|
||||
<br style="clear:both">
|
||||
|
||||
{if $order_total_points_earn != 0}
|
||||
<br/>{__ text="Za zamówienie otrzymasz"}: <span style="color:#404040;">{$order_total_points_earn} {$points_shortcut}</span>
|
||||
{/if}
|
||||
|
||||
{if $comment != ""}
|
||||
<br/>
|
||||
<div style="font-size:12px;color:#576278;">
|
||||
{__ text="Uwagi do zamówienia"}:<br/>
|
||||
<span style="color:#404040;">{$comment}</span>
|
||||
</div>
|
||||
<br style="clear:both">
|
||||
{/if}
|
||||
|
||||
<br/>
|
||||
<!-- Callout Panel -->
|
||||
{if $order_submit !=""}
|
||||
<p class="callout" style="text-align: center;">
|
||||
{$order_submit}
|
||||
<span style="color:red;">{$order_submit_text}</span>
|
||||
</p><!-- /Callout Panel -->
|
||||
{/if}
|
||||
|
||||
<p style="font-size:12px;">{$user_content_foot}</p>
|
||||
|
||||
<p style="font-size:12px;"><a href="url_to_view" >{__ text="Sprwadź szczegóły zamówienia w sklpie."}</a></p>
|
||||
|
||||
<br/>
|
||||
|
||||
<div style="font-size:14px; color:#404040; font-weight:bold margin-top: 10px;">
|
||||
<b>{$webpage_terms_name}</b>
|
||||
</div>
|
||||
<div style="line-height:18px; font-size:10px;">
|
||||
{$webpage_terms_content}
|
||||
</div>
|
||||
|
||||
<div style="font-size:14px;color:#404040; font-weight:bold margin-top: 10px;">
|
||||
<b>{$webpage_right_2_cancel_name}</b>
|
||||
</div>
|
||||
<div style="line-height:18px; font-size:10px;">
|
||||
{$webpage_right_2_cancel_content}
|
||||
</div>
|
||||
|
||||
<!-- social & contact -->
|
||||
<table class="social" width="100%">
|
||||
<tr>
|
||||
<td style="font-size:12px;">
|
||||
{$user_foot}
|
||||
</td>
|
||||
</tr>
|
||||
</table><!-- /social & contact -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><!-- /content -->
|
||||
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table><!-- /BODY -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,70 @@
|
||||
{__ text="Data złożenia zamówienia"}: {$created_at}
|
||||
{__ text="Zamówienie numer"}: {$number}
|
||||
|
||||
{if $create_account == 1}
|
||||
{__ text="Dane dostępowe do konta"}:
|
||||
{__ text="Login"}: {$username}
|
||||
{/if}
|
||||
|
||||
{if $create_account == 0}
|
||||
{__ text="Użytkownik"}: {$username}
|
||||
{/if}
|
||||
|
||||
{__ text="Dane bilingowe"}:
|
||||
{if $billing_company != ""}{$billing_company}{/if}
|
||||
|
||||
{if $vat_nr != ""}{__ text="NIP"}: {$vat_nr}{/if}
|
||||
|
||||
{$billing_full_name}
|
||||
{$billing_address}
|
||||
{if $billing_address_more != ""}{$billing_address_more}{/if}
|
||||
|
||||
{if $billing_region != ""}{$billing_region}{/if}
|
||||
|
||||
{if $billing_code_town != ""}{$billing_code_town}{/if}
|
||||
|
||||
{if $billing_pesel != ""}{__ text="PESEL"}:{$billing_pesel}{/if}
|
||||
|
||||
{$billing_full_phone}
|
||||
|
||||
{__ text="Dane dostawy"}:
|
||||
{if $delivery_company != ""}{$delivery_company}{/if}
|
||||
|
||||
{$delivery_full_name}
|
||||
{$delivery_address}
|
||||
|
||||
{if $delivery_address_more != ""}{$delivery_address_more}{/if}
|
||||
|
||||
{if $delivery_region != ""}{$delivery_region}{/if}
|
||||
|
||||
{if $delivery_code_town != ""}{$delivery_code_town}{/if}
|
||||
|
||||
{$delivery_full_phone}
|
||||
|
||||
{__ text="Lista zamówienia"}:
|
||||
|
||||
{foreach key=row item=product from=$results}
|
||||
{__ text="Kod"}: {$product.code}
|
||||
{__ text="Nazwa"}: {$product.name}
|
||||
{__ text="Netto"}: {$product.netto}
|
||||
{__ text="VAT"}: {$product.vat} %
|
||||
{__ text="Brutto"}: {$product.brutto}
|
||||
{__ text="Ilość"}: {$product.quantity} {$product.uom}
|
||||
{__ text="Kwota"}: {$product.front_symbol} {$product.total_amount} {$product.back_symbol}
|
||||
{/foreach}
|
||||
|
||||
{if $paid}
|
||||
{__ text="Razem"}: {$total_amount}
|
||||
{__ text="Zapłacono"}: {$paid}
|
||||
{/if}
|
||||
|
||||
{__ text="Łączna kwota do zapłaty"}: {$final_total_amount}
|
||||
{__ text="Płatność"}: {$payment_name}
|
||||
{__ text="Dostawy"}: {$delivery_name}
|
||||
{__ text="Koszt"}: {$delivery_cost}
|
||||
|
||||
{$order_submit}
|
||||
|
||||
{$order_submit_text}
|
||||
|
||||
{$trusted_shops_rating}
|
||||
@@ -0,0 +1,329 @@
|
||||
{set layout="one_column"}
|
||||
|
||||
{if $user}
|
||||
{st_get_component module="stUserData" component="responsiveUserPanelMenu" active_tab="21" order_number=$order_number}
|
||||
{/if}
|
||||
|
||||
<div id="order-show">
|
||||
<div class="title">
|
||||
<h1>{$order_number}</h1>
|
||||
</div>
|
||||
|
||||
{if isset($notice_flash)}
|
||||
<div class="alert alert-success" role="alert">{$notice}</div>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
<table class="table" cellspacing="0">
|
||||
<!-- <colgroup>
|
||||
<col width="120">
|
||||
<col width="300">
|
||||
<col width="50">
|
||||
{if $user}
|
||||
<col width="50">
|
||||
{/if}
|
||||
<col width="100">
|
||||
</colgroup> -->
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{__ text="Data złożenia"}</th>
|
||||
<th class="th-td-center">{__ text="Status"}</th>
|
||||
<th class="th-td-center">{__ text="Opłacone"}</th>
|
||||
{if isset($user)}
|
||||
<th class="th-td-center">{__ text="Faktury"}</th>
|
||||
{/if}
|
||||
<th class="th-td-center">{__ text="Potwierdzone"}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td data-th='{__ text="Data złożenia"}' class="mobile">{$created_at}</td>
|
||||
<td data-th='{__ text="Status"}' class="th-td-center status mobile">{$status}</td>
|
||||
<td data-th='{__ text="Opłacone"}' class="th-td-center mobile">{$is_paid}</td>
|
||||
{if isset($user)}
|
||||
<td data-th='{__ text="Faktury"}' class="th-td-center mobile">{$invoice}</td>
|
||||
{/if}
|
||||
<td data-th='{__ text="Potwierdzone"}' class="th-td-center mobile">{$is_confirmed}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{if $user}
|
||||
<div class="row row-first" data-equalizer>
|
||||
<div class="col-sm-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
{__ text="Dane płatnika"}
|
||||
|
||||
</div>
|
||||
<div class="panel-body" data-equalizer-watch>
|
||||
|
||||
|
||||
{if $user_data_billing_invoice==1}
|
||||
<span class="invoice_text">{__ text="Dane do faktury"}</span>
|
||||
<br/>
|
||||
{/if}
|
||||
|
||||
{if $user_data_billing_company!=""}
|
||||
{$user_data_billing_company}
|
||||
<br/>
|
||||
{$user_data_billing_vat_number}
|
||||
<br/>
|
||||
{/if}
|
||||
|
||||
<div class="full_name_space">
|
||||
<b>{$user_data_billing_full_name}</b>
|
||||
</div>
|
||||
|
||||
{$user_data_billing_address}
|
||||
<br/>
|
||||
|
||||
{if $user_data_billing_address_more!=""}
|
||||
{$user_data_billing_address_more}
|
||||
<br/>
|
||||
{/if}
|
||||
|
||||
{if $user_data_billing_region!=""}
|
||||
{$user_data_billing_region}
|
||||
<br/>
|
||||
{/if}
|
||||
|
||||
{$user_data_billing_code}
|
||||
|
||||
{$user_data_billing_town}
|
||||
<br/>
|
||||
|
||||
{$user_data_billing_country}
|
||||
<br/>
|
||||
|
||||
{$user_data_billing_phone}
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
{__ text="Dane wysyłkowe"}
|
||||
|
||||
</div>
|
||||
<div class="panel-body" data-equalizer-watch>
|
||||
|
||||
{if $user_data_delivery_company!=""}
|
||||
{$user_data_delivery_company}
|
||||
<br/>
|
||||
{/if}
|
||||
|
||||
<div class="full_name_space">
|
||||
<b>{$user_data_delivery_full_name}</b>
|
||||
</div>
|
||||
|
||||
{$user_data_delivery_address}
|
||||
<br/>
|
||||
|
||||
{if $user_data_delivery_address_more!=""}
|
||||
{$user_data_delivery_address_more}
|
||||
<br/>
|
||||
{/if}
|
||||
|
||||
{if $user_data_delivery_region!=""}
|
||||
{$user_data_delivery_region}
|
||||
<br/>
|
||||
{/if}
|
||||
|
||||
{$user_data_delivery_code}
|
||||
|
||||
{$user_data_delivery_town}
|
||||
<br/>
|
||||
|
||||
{$user_data_delivery_country}
|
||||
<br/>
|
||||
|
||||
{$user_data_delivery_phone}
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">{__ text="Informacje"}</div>
|
||||
<div class="panel-body">
|
||||
{__ text="Płatność"}: <span class="{if $payment_description} payment_tooltip {/if}" title="{$payment_description|escape}"><b>{$payment_name}</b> {if $payment_description}<img src="/images/frontend/theme/default2/information.png" alt="" />{/if}</span><br/>
|
||||
{__ text="Dostawa"}:
|
||||
<span class="{if $delivery_description} delivery_tooltip {/if}" title="{$delivery_description|escape}">
|
||||
<b>
|
||||
{$delivery_name}
|
||||
{if $is_weekend_delivery}
|
||||
<span class="label label-default text-lowercase">{__ text="Dostawa w weekend" catalogue="stDeliveryFrontend"}</span>
|
||||
{/if}
|
||||
{if $is_express_delivery}
|
||||
<span class="label label-default text-lowercase">{__ text="Dostawa ekspresowa" catalogue="stDeliveryFrontend"}</span>
|
||||
{/if}
|
||||
</b>
|
||||
{if $delivery_description}
|
||||
<img src="/images/frontend/theme/default2/information.png" alt="" />
|
||||
{/if}
|
||||
</span><br/>
|
||||
{if ($delivery_date)}{__ text="Termin dostawy"}: <span><b>{$delivery_date}</b></span><br/>{/if}
|
||||
{if $delivery_tracking_url}
|
||||
{__ text="Numer przesyłki"}: <span><b><a href="{$delivery_tracking_url}" target="_blank">{$delivery_number}</a></b><span>
|
||||
<a href="{$delivery_tracking_url}" target="_blank"><u>{__ text="Sprawdź status dostawy" catalogue="stDeliveryFrontend"}</u></a>
|
||||
<br>
|
||||
{elseif $delivery_number}
|
||||
{__ text="Numer przesyłki"}: <span><b>{$delivery_number}</b><span><br />
|
||||
{/if}
|
||||
|
||||
{slot name="order-show-additional-data" hidden="true"}{/slot}
|
||||
|
||||
{if $show_not_professional_purchase}
|
||||
{__ text="Zakup o charakterze zawodowym" catalogue="stUserData"}:
|
||||
<b>{$order_user_data_billing->getNotProfessionalPurchaseLabel()}</b><br>
|
||||
{/if}
|
||||
|
||||
{if $paid}
|
||||
{__ text="Łączny koszt"}: <b>{$order_total_amount}</b><br/>
|
||||
{__ text="Zapłacono"}: <b>{$paid}</b><br/>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $description!=""}
|
||||
<div class="col-sm-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">{__ text="Uwagi do zamówienia"}</div>
|
||||
<div class="panel-body">
|
||||
{$description}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
{if $show_photo_in_basket}<th>{__ text="zdjęcie"}</th>{/if}
|
||||
{if $show_code_in_basket}<th>{__ text="kod"}</th>{/if}
|
||||
<th>{__ text="nazwa"}</th>
|
||||
{if $show_netto_in_basket}<th class="th-td-right">{__ text="netto"}</th>{/if}
|
||||
{if $show_tax_in_basket}<th class="th-td-center">{__ text="vat"}</th>{/if}
|
||||
<th class="th-td-right">{__ text="brutto"}</th>
|
||||
<th class="th-td-center">{__ text="ilość"}</th>
|
||||
{if $show_uom_in_basket}<th class="th-td-center">{__ text="j.m."}</th>{/if}
|
||||
<th class="th-td-right">{__ text="suma"}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach key=row item=order_product from=$results}
|
||||
<tr>
|
||||
{if $show_photo_in_basket}<td data-th='{__ text="zdjęcie"}'>{$order_product.photo}</td>{/if}
|
||||
{if $show_code_in_basket}<td data-th='{__ text="kod"}' class="mobile">{$order_product.code}</td>{/if}
|
||||
<td data-th='{__ text="nazwa"}' class="product-name">{if isset($order_product.product_name)}{$order_product.product_name}{else}{if isset($order_product.validate)}{$order_product.name_show}{else}{$order_product.name}{/if}{/if}</td>
|
||||
{if $show_netto_in_basket}<td data-th='{__ text="netto"}' class="th-td-right mobile" nowrap>{$order_product.price}</td>{/if}
|
||||
{if $show_tax_in_basket}<td data-th='{__ text="vat"}' class="th-td-center mobile" nowrap>{$order_product.vat} %</td>{/if}
|
||||
<td nowrap data-th='{__ text="brutto"}' class="th-td-right mobile">{$order_product.price_true}</td>
|
||||
|
||||
<td data-th='{__ text="ilość"}' class="th-td-center mobile">{$order_product.quantity}</td>
|
||||
{if $show_uom_in_basket}<td data-th='{__ text="j.m."}' class="th-td-center mobile">{$order_product.uom}</td>{/if}
|
||||
<td class="th-td-right mobile" data-th='{__ text="suma"}' nowrap>{$order_product.total_amount}</td>
|
||||
</tr>
|
||||
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<table cellspacing="0" class="" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<div>
|
||||
<span class="pull-right">{__ text="Wartość koszyka"}: {$total_product_price}</span><br/>
|
||||
<span class="pull-right">{__ text="Koszt dostawy"}: {$order_cost}</span><br/>
|
||||
{if $discount}
|
||||
<span class="pull-right">{__ text="Rabat"}: -{$discount}</span><br />
|
||||
{/if}
|
||||
<span class="pull-right"><b>{__ text="Razem do zapłaty"}: {$final_total_amount}</b></span><br/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{slot name="order_show_footer" hidden="true" parameters="order"}{/slot}
|
||||
|
||||
<div class="text-right">
|
||||
{if $show_payment!=1}
|
||||
<a href="{$payment_url}" class="btn btn-primary" rel="noindex, nofollow">
|
||||
<span class="glyphicon glyphicon-usd"></span>
|
||||
{__ text="Zapłać"}
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
{if $is_allow_return}
|
||||
|
||||
<div class="text-right">
|
||||
<a href="{$return_link}" class="btn btn-default" rel="noindex, nofollow">
|
||||
{__ text="Zwróć wybrane produkty"}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
{foreach key=row item=productsReturn from=$productsReturns}
|
||||
|
||||
{st_get_component module="stProductReturnsFrontend" component="show" return_id=$productsReturn->getId()}
|
||||
|
||||
{/foreach}
|
||||
|
||||
|
||||
{else}
|
||||
<div id="no-account" class="panel panel-default center-block text-center" style="max-width:50%; padding-top:10px; margin-top:50px">
|
||||
<div class="panel-body">
|
||||
{__ text="Zaloguj się aby zobaczyć szczegóły zamówienia."}
|
||||
</div>
|
||||
|
||||
<div class="text-center">
|
||||
<a href="/user/loginUser" class="btn btn-default" rel="noindex, nofollow">
|
||||
{__ text="Przejdź do logowania"}
|
||||
</a>
|
||||
</div>
|
||||
<br/>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<script>
|
||||
jQuery(function($) {
|
||||
$('#order-show [data-toggle=tooltip]').tooltip().on('show.bs.tooltip', function(e) {
|
||||
var target = $(e.target);
|
||||
if (target.hasClass('product-option-label')) {
|
||||
var maxWidth = target.css('max-width');
|
||||
target.css({ 'max-width': 'none' });
|
||||
var width = target.width();
|
||||
target.css({ 'max-width': maxWidth });
|
||||
|
||||
return width > target.width();
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
@@ -0,0 +1,5 @@
|
||||
<div id="st_button-user-edit_data_basket" class="st_button-container">
|
||||
<button type="submit" name="submit_save" value="submit_save" class="btn btn-primary pull-right"{if $disabled} disabled="disabled"{/if}>
|
||||
{if $label}{__ text=$label}{else}{__ text='Przejdź do potwierdzenia'}{/if}
|
||||
</button>
|
||||
</div>
|
||||
@@ -0,0 +1,60 @@
|
||||
{set layout="one_column"}
|
||||
<div id="order-summary">
|
||||
<div class="title">
|
||||
<h1>{__ text="Potwierdzenie zamówienia"}</h1>
|
||||
</div>
|
||||
<div class="panel panel-default center-block">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
{__ text="Dziękujemy za złożenie zamówienia"}
|
||||
</h3>
|
||||
</div>
|
||||
<div style="clear: both;">
|
||||
<div class="list-group-item clearfix">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td class="th-td-right text-right">{__ text="Zamówienie nr"}:</td>
|
||||
<td><b>{$order_number}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="th-td-right text-right">{__ text="Do zapłaty"}:</td>
|
||||
<td><b>{$order_total_amount}</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="list-group-item">
|
||||
{$order_summary_text}
|
||||
{$payment_type_summary_description}
|
||||
</div>
|
||||
<div class="list-group-item text-center">
|
||||
<a class="btn btn-default" href="/">
|
||||
<span class="glyphicon glyphicon-arrow-left"></span>
|
||||
{__ text="Wróć do sklepu"}
|
||||
</a>
|
||||
{if $order_session_hash == $session_hash}
|
||||
<a class="print btn btn-default" href="/orderPdf/show/id/{$id}/hash_code/{$hash_code}" target="_blank" rel="noindex, nofollow">
|
||||
<span class="glyphicon glyphicon-print"></span>
|
||||
{__ text="Drukuj"}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
{if $order_session_hash == $session_hash}
|
||||
<a class="download btn btn-default" href="/orderPdf/show/id/{$id}/download/1/hash_code/{$hash_code}" rel="noindex, nofollow">
|
||||
<span class="glyphicon glyphicon-file"></span>
|
||||
{__ text="Zamówienie PDF"}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
{include_st_component module="stInvoicePdf" component="downloadInvoice"}
|
||||
{if $show_payment_button}
|
||||
<a href="{$payment_url}" class="btn btn-primary pay" rel="noindex, nofollow" id="order-pay-btn">
|
||||
<span class="glyphicon glyphicon-usd"></span>
|
||||
{$payment_button_text}
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{$order_summary_socket}
|
||||
{st_get_component module="stPayment" component="processPayment" order=$instance}
|
||||
Reference in New Issue
Block a user