first commit

This commit is contained in:
2025-03-12 17:06:23 +01:00
commit 2241f7131f
13185 changed files with 1692479 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{set layout="one_column_layout"}
<div id="order_summary" class="box roundies " >
<div class="title">
<h2>{__ text="Nie złożono zamówienia"}</h2>
</div>
<div class="content" style="padding: 0px 15px 15px;">
<div id="summary_label" class="roundies">
<div class="content">
<span class="title_summary">{__ text="Administrator nie może składać zamówień."}</span><br/>
</div>
</div>
<div class="clear"></div>
</div>
</div>

View File

@@ -0,0 +1,436 @@
{set layout="one_column_layout"}
<div id="order_confirm" class="box roundies">
<div class="title">
<h2>{__ text="Potwierdzenie zamówienia"}</h2>
<p>{__ text="Zweryfikuj informacje zawarte w zamówieniu."}</p>
</div>
<div class="st_content">
{$form_start}
<fieldset>
{if $additional_confirm_text != ""}
<div class="st_order_confirm_additional_text">
{$additional_confirm_text}
</div>
{/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 class="st_order-order_sumary-box" style="margin-top: 30px;">
<div class="left data_frame roundies box_form">
<h3>
{__ text="Dane płatnika"}
</h3>
<div id="change_delivery" class="right" onclick="var form = jQuery('#send_form'); form.attr('action', '{$order_correction}'); form.get(0).submit();">{__ text="Zmień"}</div>
<div class="data_content user_date" style="padding:15px;">
{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 class="right data_frame roundies box_form">
<h3>
{__ text="Dane wysyłkowe"}
</h3>
<div id="change_delivery" class="right" onclick="var form = jQuery('#send_form'); form.attr('action', '{$order_correction}'); form.get(0).submit();">{__ text="Zmień"}</div>
<div class="data_content user_date" style="padding:15px;">
{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 class="clear" /></div>
</div>
<div class="st_order-order_sumary-box" style="padding-bottom:0px;">
<div class="left frame roundies info box_form">
<h3>
{__ text="Informacje"}
</h3>
<div class="data_content">
{__ text="Płatność"}: <b>{$payment_name}</b>
{if $payment_description}
<div class="info_frame">
<i>{$payment_description}</i>
</div>
{/if}
<br/>
{__ text="Dostawa"}: <b>{$delivery_name}</b><br/>
{if $delivery_description}
<div class="info_frame">
<i>{$delivery_description}</i>
</div>
{/if}
{if $delivery_date_value != " "}
{__ text="Termin dostawy"}: <b>{$delivery_date_value}</b><br/>
{/if}
</div>
</div>
{if $description!=""}
<div class="right info box_form roundies">
<div class="frame">
<h3>
{__ text="Uwagi do zamówienia"}
</h3>
<div class="data_content">
{$description}
</div>
</div>
</div>
{/if}
<div class="clear" /></div>
</div>
<div class="st_order-order_sumary-box">
<table cellspacing="0" class="st_tabular-list roundies" id="st_record_list-order" width="100%">
<colgroup>
{if $show_photo_in_basket}<col width="60" />{/if}
{if $show_code_in_basket}<col width="60" />{/if}
<col />
{if $show_netto_in_basket}<col width="80" />{/if}
{if $show_tax_in_basket}<col width="50" />{/if}
<col width="80" />
<col width="80" />
{if $points_system_is_active }
<col width="50" />
{/if}
{if $show_uom_in_basket}<col width="50" />{/if}
<col width="80" />
</colgroup>
<thead>
<tr>
{if $show_photo_in_basket}<th class="st_basket-product-photo roundies_lt"><span>{__ text="zdjęcie"}</span></th>{/if}
{if $show_code_in_basket}<th class="st_basket-product-code"><span>{__ text="kod"}</span></th>{/if}
<th class="st_basket-product-name"><span>{__ text="nazwa"}</span></th>
{if $show_netto_in_basket}<th class="st_basket-product-netto"><span>{__ text="netto"}</span></th>{/if}
{if $show_tax_in_basket}<th class="st_basket-product-tax"><span>{__ text="vat"}</span></th>{/if}
<th class="st_basket-product-brutto"><span>{__ text="brutto"}</span></th>
{if $points_system_is_active }
<th class="st_basket-product-brutto" nowrap>{$points_shortcut}</th>
{/if}
<th class="st_basket-product-num"><span>{__ text="ilość"}</span></th>
{if $show_uom_in_basket}<th class="st_basket-product-uom"><span>{__ text="j.m."}</span></th>{/if}
<th class="st_basket-product-sum"><span>{__ text="suma}</span></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}
<tr>
{if $show_photo_in_basket}<td class="st_basket-product-photo">{$product.photo}</td>{/if}
{if $show_code_in_basket}<td class="st_basket-product-code">{$product.code}</td>{/if}
<td class="st_basket-product-name">
{if isset($product_name)}
{$product.product_name}
{else}
{if isset($product.validate)}
{$product.name_show}
{else}
{$product.name}
{/if}
{/if}
</td>
{if $show_netto_in_basket}<td class="st_basket-product-netto" nowrap>{if $product.is_item_by_points} - {else}{$product.price}{/if}</td>{/if}
{if $show_tax_in_basket}<td class="st_basket-product-tax">{if $product.is_item_by_points} - {else} {$product.vat} % {/if}</td>{/if}
<td class="st_basket-product-brutto" nowrap>{if $product.is_item_by_points} - {else} {$product.price_brutto} {/if}</td>
{if $points_system_is_active}
<td class="st_basket-product-brutto" nowrap>{if $product.is_item_by_points} {$product.points_value} {else} - {/if}</td>
{/if}
<td class="st_basket-product-num" {if $product.errors.quantity}style="border: 1px solid red"{/if}>{$product.quantity}</td>
{if $show_uom_in_basket}<td class="st_basket-product-uom">{$product.uom}</td>{/if}
<td class="st_basket-product-sum" nowrap>{if $product.is_item_by_points} {$product.points_sum_value} {$points_shortcut} {else} {$product.total_amount} {/if}</td>
</tr>
{/foreach}
<tr>
<td colspan="10">
<div style="margin:5px;">
{if !$is_basket_only_for_points }
<span style="float:right;">{__ text="Wartość koszyka"}: {$total_product_price}</span><br/>
{/if}
{if $points_value != 0}
<span style="float:right;">{__ text="Koszt"} {$points_shortcut}: {$points_value} {$points_shortcut}</span><br/>
{/if}
{if !$is_order_only_for_points }
<span style="float:right;">{__ text="Koszt dostawy"}: {$order_cost}</span><br/>
{/if}
{if $delivery_courier_cost}
<span style="float:right;">({__ text="dodatkowa opłata"}: {$delivery_courier_cost})</span><br/>
{/if}
{if $discount}
<span style="float:right;">{__ text="Rabat"} ({$discount_name}): -{$discount}</span><br/>
{/if}
{if $paid}
<span style="float:right;">{__ text="Zapłacono"}: -{$paid}</span><br />
{/if}
<span style="font-size: 16px;font-weight: bold; float:right; line-height: 160%;">{__ text="Razem do zapłaty"}: {$final_total_amount}</span><br/>
{$additional_costs_socket}
</div>
</td>
</tr>
</tbody>
</table>
<div class="clear" /></div>
</div>
{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}
{$hidden_description}
{if $terms_digital == 1 || $terms_right_2_cancel == 1 || $terms_service == 1}
<table id="table_confirm_terms" cellpadding="0" cellspacing="0">
{if $terms_digital == 1}
<tr>
<td class="terms-text"><span class="label_terms_digital_confirm">{$terms_digital_text}</span></td>
<td><input name="terms_digital_confirm" id="terms_digital_confirm" type="checkbox" value="1" class="checkobox" ></td>
</tr>
{/if}
{if $terms_service == 1}
<tr>
<td class="terms-text"><span class="label_terms_service_confirm">{$terms_service_text}</span></td>
<td><input name="terms_service_confirm" id="terms_service_confirm" type="checkbox" value="1" class="checkobox" ></td>
</tr>
{/if}
{if $terms_right_2_cancel == 1}
<tr>
<td class="terms-text"><span class="label_terms_confirm">{$terms_right_2_cancel_text}</span></td>
<td><input type="checkbox" name="terms_confirm" id="terms_confirm" value="1" class="checkobox"><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></td>
</tr>
{/if}
</table>
{/if}
<div class="buttons left" id="st_order-back_button">
<button type="submit" class="regular roundies" id="back_button" onclick="this.form.action = '{$order_correction}'">
<span class="arrow_left icon_left">{__ text="Wróć do koszyka"}</span>
</button>
</div>
<div class="buttons right" id="st_order-confirm_button">
<button class="regular roundies important" id="confirm_button">
<span style="font-weight: normal;" class="arrow_right">{__ text="Zamówienie z obowiązkiem zapłaty."}</span> <span style="font-size: 16px;" class="arrow_right">{__ text="Zamów"}</span>
</button>
</div>
<div class="clear" /></div>
</fieldset>
</form>
</div>
</div>
{literal}
<script type="text/javascript" language="javascript">
jQuery(function ($) {
$(document).ready(function () {
$("label").inFieldLabels();
function equalHeight(group)
{
tallest = 0;
group.each(function() {
$(this).css("height","auto");
thisHeight = $(this).height();
if(thisHeight > tallest) {
tallest = thisHeight;
}
});
group.height(tallest);
}
$(window).load(function() {
equalHeight($(".data_frame"));
});
$(window).load(function() {
equalHeight($(".frame"));
});
$(window).load(function() {
equalHeight($(".info"));
});
$(".delivery_tooltip").tooltip({
effect: 'slide',
opacity: 1,
delay: 0,
position: 'bottom center',
offset: [20,0],
tipClass: "my_tooltip tooltip roundies"
});
$(".payment_tooltip").tooltip({
effect: 'slide',
opacity: 1,
delay: 0,
position: 'bottom center',
offset: [20,0],
tipClass: "my_tooltip tooltip roundies"
});
$('#confirm_button').click(function() {
var error_exist = false;
{/literal}{if $terms_right_2_cancel == 1}{literal}
if (!$("#terms_confirm").is(":checked")) {
$(".label_terms_confirm").css("color", "red");
error_exist = true;
}else{
$(".label_terms_confirm").css("color", "");
}
{/literal}{/if}{if $terms_digital == 1}{literal}
if (!$("#terms_digital_confirm").is(":checked")) {
$(".label_terms_digital_confirm").css("color", "red");
error_exist = true;
}else{
$(".label_terms_digital_confirm").css("color", "");
}
{/literal}{/if}{if $terms_service == 1}{literal}
if (!$("#terms_service_confirm").is(":checked")) {
$(".label_terms_service_confirm").css("color", "red");
error_exist = true;
}else{
$(".label_terms_service_confirm").css("color", "");
}
{/literal}{/if}{literal}
if(error_exist == false){
$("#send_form").submit(function(){return true;});
}else{
return false;
}
});
$('#active_terms_overlay').click(function() {
var api = $('#terms_overlay').data('overlay');
if (!api) {
$('#terms_overlay').overlay({
onBeforeLoad: function() {
var wrap = this.getOverlay().find('.terms_overlay_content');
$.get('/user/showTerms', function(data) {
wrap.html(data);
});
},
load: true
});
} else {
api.load();
}
});
$('#active_right_2_cancel_overlay').click(function() {
var api = $('#right_2_cancel_overlay').data('overlay');
if (!api) {
$('#right_2_cancel_overlay').overlay({
onBeforeLoad: function() {
var wrap = this.getOverlay().find('.right_2_cancel_overlay_content');
$.get('/user/showRight2Cancel', function(data) {
wrap.html(data);
});
},
load: true
});
} else {
api.load();
}
});
});
});
</script>
{/literal}

View File

@@ -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>

View File

@@ -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>

View File

@@ -0,0 +1,22 @@
{set layout="one_column_layout"}
<div id="st_application-st_basket-index" class="box roundies">
<div id="st_navigation_bar-user" class="st_navigation_bar_user">
<ul>
<li class="st_first"><a href="/user_data/userPanel">{__ text="Moje konto"}</a></li>
<li class="st_selected"><a href="/order/list">{__ text="Lista zamówień"}</a></li>
</ul>
</div>
<div class="st_content order_padding">
{if isset($pager)}
{$pager_results}
{else}
<div class="roundies box_form">
<div class="content">
<p style="text-align: center">{__ text="Aktualnie nie posiadasz żadnych zamówień"}</p>
</div>
</div>
{/if}
</div>
</div>

View File

@@ -0,0 +1,102 @@
{if $unconfirmed_orders == 1}
<br/>
<div class="roundies box_form">
<h3>{__ text="Niepotwierdzone zamówienia"}</h3>
<div class="content">
<table class="st_tabular-list roundies order_table" cellspacing="0">
<colgroup>
<col width="80">
<col width="140">
<col width="200">
<col width="80">
<col width="50">
<col width="50">
<col width="120">
</colgroup>
<thead>
<tr>
<th style="white-space: nowrap;" class="roundies_lt" ><span>{__ text="Numer"}</span></th>
<th><span>{__ text="Data złożenia"}</span></th>
<th><span>{__ text="Status"}</span></th>
<th style="text-align: right; white-space: nowrap;"><span>{__ text="Kwota"}</span></th>
<th><span>{__ text="Opłacone"}</span></th>
<th><span>{__ text="Faktury"}</span></th>
<th style="text-align: center;" class="roundies_rt"><span>{__ text="Potwierdzone"}</span></th>
</tr>
</thead>
<tbody>
{foreach key=row item=order from=$results}
{if $order.is_confirmed_orders == 0}
<tr>
<td>{$order.number}</td>
<td>{$order.created_at}</td>
<td>{$order.status}</td>
<td style="text-align: right;">{$order.total_amount}</td>
<td style="text-align: center;">{$order.is_paid}</td>
<td>{$order.invoice}</td>
<td style="text-align: center;">{$order.is_confirmed}</td>
</tr>
{/if}
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
{if $confirmed_orders == 1}
<br/>
<div class="roundies box_form">
<h3>{__ text="Potwierdzone zamówienia"}</h3>
<div class="content">
<table class="st_tabular-list roundies order_table" cellspacing="0">
<colgroup>
<col width="80">
<col width="140">
<col width="200">
<col width="80">
<col width="50">
<col width="50">
<col width="120">
</colgroup>
<thead>
<tr>
<th style="white-space: nowrap;"><span>{__ text="Numer"}</span></th>
<th><span>{__ text="Data złożenia"}</span></th>
<th><span>{__ text="Status"}</span></th>
<th style="text-align:right; white-space: nowrap;"><span>{__ text="Kwota"}</span></th>
<th><span>{__ text="Opłacone"}</span></th>
<th><span>{__ text="Faktury"}</span></th>
<th style="text-align: center;"><span>{__ text="Potwierdzone"}</span></th>
</tr>
</thead>
<tbody>
{foreach key=row item=order from=$results}
{if $order.is_confirmed_orders == 1}
<tr>
<td>{$order.number}</td>
<td>{$order.created_at}</td>
<td>{$order.status}</td>
<td style="text-align: right;">{$order.total_amount}</td>
<td style="text-align: center;">{$order.is_paid}</td>
<td>{$order.invoice}</td>
<td style="text-align: center;">{$order.is_confirmed}</td>
</tr>
{/if}
{/foreach}
</tbody>
</table>
</div></div>
{/if}

View File

@@ -0,0 +1,19 @@
<ul class="pagination">
{if $current_page!=1}
<li><a href="{$previous_page_url}">&laquo;</a></li>
{else}
<li style="visibility: hidden"><a href="#">&laquo;</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}">&raquo;</a></li>
{else}
<li style="visibility: hidden"><a href="{$link.url}">&raquo;</a></li>
{/if}
</ul>

View File

@@ -0,0 +1,489 @@
<!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: &quot;helveticaneue-light&quot: ;, &quot: ;helvetica neue light&quot: ;helvetica neue&quot: ;, helvetica, arial, &quot: ;lucida grande&quot: ;, 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: &quot;helveticaneue-light&quot: ;, &quot: ;helvetica neue light&quot: ;helvetica neue&quot: ;, helvetica, arial, &quot: ;lucida grande&quot: ;, 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"}:&nbsp;&nbsp;</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 -->
<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;border-bottom: 1px solid #cccccc;margin: 0;padding: 0;font-family: Arial, sans-serif;" align="left" valign="bottom">
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
{$product.code} <strong style="margin: 0;padding: 0;font-family: Arial, sans-serif;">{$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;margin: 0;padding: 0;font-family: Arial, sans-serif;" align="right" valign="bottom">
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
{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;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;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: 0;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>

View File

@@ -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}

View File

@@ -0,0 +1,500 @@
<!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: &quot;helveticaneue-light&quot: ;, &quot: ;helvetica neue light&quot: ;helvetica neue&quot: ;, helvetica, arial, &quot: ;lucida grande&quot: ;, 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: &quot;helveticaneue-light&quot: ;, &quot: ;helvetica neue light&quot: ;helvetica neue&quot: ;, helvetica, arial, &quot: ;lucida grande&quot: ;, 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"}:&nbsp;&nbsp;</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 -->
<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;border-bottom: 1px solid #cccccc;margin: 0;padding: 0;font-family: Arial, sans-serif;" align="left" valign="bottom">
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
{$product.code} <strong style="margin: 0;padding: 0;font-family: Arial, sans-serif;">{$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;margin: 0;padding: 0;font-family: Arial, sans-serif;" align="right" valign="bottom">
<br style="margin: 0;padding: 0;font-family: Arial, sans-serif;">
{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;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;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: 0;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;">
<!-- Callout Panel -->
{if $order_submit !=""}
<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_submit}
<span style="color: red;margin: 0;padding: 0;font-family: Arial, sans-serif;">{$order_submit_text}</span>
</p><!-- /Callout Panel -->
{/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>
<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;">
{$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>

View File

@@ -0,0 +1,68 @@
{__ 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}

View File

@@ -0,0 +1,359 @@
{set layout="one_column_layout"}
<div id="order_show" class="box roundies">
{if $user}
<div id="st_navigation_bar-user" class="st_navigation_bar_user">
<ul>
<li class="st_first"><a href="/user_data/userPanel">{__ text="Moje konto"}</a></li>
<li class=""><a href="/order/list">{__ text="Lista zamówień"}</a></li>
<li class="st_selected"><a href="#">{__ text="Zamówienie"}</a></li>
</ul>
</div>
{/if}
<div class="first_content">
<br>
{if isset($notice_flash)}
<div id="summary_label" class="roundies">
<div class="content">
<span style="font-size: 16px;font-weight: bold; color: #666666;">{$notice}</span><br/>
</div>
</div>
{/if}
<div class="roundies box_form">
<h3>{$order_number}</h3>
<div class="content">
<table id="order_info_table" class="st_tabular-list roundies order_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><span>{__ text="Data złożenia"}</span></th>
<th><span>{__ text="Status"}</span></th>
<th style="text-align: center;"><span>{__ text="Opłacone"}</span></th>
{if isset($user)}
<th style="text-align: center;"><span>{__ text="Faktury"}</span></th>
{/if}
<th style="text-align: center;"><span>{__ text="Potwierdzone"}</span></th>
</tr>
</thead>
<tbody>
<tr>
<td class="roundies_lb">{$created_at}</td>
<td>{$status}</td>
<td style="text-align: center;">{$is_paid}</td>
{if isset($user)}
<td style="text-align: center;">{$invoice}</td>
{/if}
<td style="text-align: center;" class="roundies_rb">{$is_confirmed}</td>
</tr>
</tbody>
</table>
</div>
</div>
{if !$user}
<div class="buttons right">
<a href="/user/loginUser" class="important roundies">
<span class="arrow_right">{__ text="Zaloguj się aby zobaczyć szczegóły zamówienia."}</span>
</a>
</div>
<br/><br/>
{/if}
</div>
{if $user}
<div class="order_padding">
<div class="st_order-order_sumary-box">
<div class="left data_frame roundies box_form">
<h3>
{__ text="Dane płatnika"}
</h3>
<div class="data_content user_date" style="padding:15px;">
{if $user_data_billing_company!=""}
<span class="invoice_text">{__ text="Dane do faktury"}</span>
<br/>
{$user_data_billing_company}
<br/>
{$user_data_billing_vat_number}
<br/>
{/if}
<div id="text-delivery-full_name">
<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 class="right data_frame roundies box_form">
<h3>
{__ text="Dane wysyłkowe"}
</h3>
<div class="data_content user_date" style="padding:15px;">
{if $user_data_delivery_company!=""}
{$user_data_delivery_company}
<br/>
{/if}
<div id="text-delivery-full_name">
<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>
<br class="clear" />
</div>
<div class="st_order-order_sumary-box" style="padding-bottom:0px;">
<div class="left frame roundies info box_form">
<h3>{__ text="Informacje"}</h3>
<div class="data_content">
{__ 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}</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 isset($delivery_number) && $delivery_number != ''}
{__ text="Numer przesyłki"}: <span><b>{$delivery_number}</b><span><br />
{/if}
{slot name="order_show_additional_data" hidden="true"}{/slot}
{if $paid}
{__ text="Łączny koszt"}: <b>{$order_total_amount}</b><br/>
{__ text="Zapłacono"}: <b>{$paid}</b><br/>
{/if}
</div>
</div>
{if $description!= "" }
<div class="right info box_form roundies">
<div class="frame">
<h3>
{__ text="Uwagi do zamówienia"}
</h3>
<div class="data_content">
{$description}
</div>
</div>
</div>
{/if}
<br class="clear"/>
</div>
<div class="st_order-order_sumary-box">
<table cellspacing="0" class="st_tabular-list roundies" id="st_record_list-order" width="100%">
<colgroup>
{if $show_photo_in_basket}<col width="60" />{/if}
{if $show_code_in_basket}<col width="60" />{/if}
<col />
{if $show_netto_in_basket}<col width="80" />{/if}
{if $show_tax_in_basket}<col width="50" />{/if}
<col width="80" />
<col width="80" />
{if $points_system_is_active }
<col width="50" />
{/if}
{if $show_uom_in_basket}<col width="50" />{/if}
<col width="80" />
</colgroup>
<thead>
<tr>
{if $show_photo_in_basket}<th class="st_basket-product-photo roundies_lt"><span>{__ text="zdjęcie"}</span></th>{/if}
{if $show_code_in_basket}<th class="st_basket-product-code"><span>{__ text="kod"}</span></th>{/if}
<th class="st_basket-product-name"><span>{__ text="nazwa"}</span></th>
{if $show_netto_in_basket}<th class="st_basket-product-netto"><span>{__ text="netto"}</span></th>{/if}
{if $show_tax_in_basket}<th class="st_basket-product-tax"><span>{__ text="vat"}</span></th>{/if}
<th class="st_basket-product-brutto"><span>{__ text="brutto"}</span></th>
{if $points_system_is_active }
<th class="st_basket-product-brutto" nowrap>{$points_shortcut}</th>
{/if}
<th class="st_basket-product-num"><span>{__ text="ilość"}</span></th>
{if $show_uom_in_basket}<th class="st_basket-product-uom"><span>{__ text="j.m."}</span></th>{/if}
<th class="st_basket-product-sum"><span>{__ text="suma}</span></th>
</tr>
</thead>
<tbody>
{foreach key=row item=order_product from=$results}
<tr>
{if $show_photo_in_basket}<td class="st_basket-product-photo">{$order_product.photo}</td>{/if}
{if $show_code_in_basket}<td class="st_basket-product-code">{$order_product.code}</td>{/if}
<td class="st_basket-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 class="st_basket-product-netto" nowrap>{if $order_product.is_item_by_points} - {else}{$order_product.price}{/if}</td>{/if}
{if $show_tax_in_basket}<td class="st_basket-product-tax">{if $order_product.is_item_by_points} - {else} {$order_product.vat} % {/if}</td>{/if}
<td class="st_basket-product-brutto" nowrap>{if $order_product.is_item_by_points} - {else} {$order_product.price_true} {/if}</td>
{if $points_system_is_active}
<td class="st_basket-product-brutto" nowrap>{if $order_product.is_item_by_points} {$order_product.points_value} {else} - {/if}</td>
{/if}
<td class="st_basket-product-num" {if $product.errors.quantity}style="border: 1px solid red"{/if}>{$order_product.quantity}</td>
{if $show_uom_in_basket}<td class="st_basket-product-uom">{$order_product.uom}</td>{/if}
<td class="st_basket-product-sum" nowrap>{if $order_product.is_item_by_points} {$order_product.points_sum_value} {$points_shortcut} {else} {$order_product.total_amount} {/if}</td>
</tr>
{/foreach}
<tr>
<td colspan="10">
<div style="margin:5px;">
<span style="float:right;">{__ text="Wartość koszyka"}: {$total_product_price}</span><br/>
{if $points_value != 0}
<span style="float:right;">{__ text="Koszt"} {$points_shortcut}: {$points_value}</span><br/>
{/if}
<span style="float:right;">{__ text="Koszt dostawy"}: {$order_cost}</span><br/>
{if $discount}
<span style="float: right">{__ text="Rabat"}: -{$discount}</span><br />
{/if}
<span style="font-size: 16px;font-weight: bold; float:right;">{__ text="Razem do zapłaty"}: {$final_total_amount}</span><br/>
</div>
</td>
</tr>
</tbody>
</table>
{if $show_payment!=1}
<div class="buttons right">
<a href="{$payment_url}" class="important roundies">
<span class="arrow_right">{__ text="Zapłać"}</span>
</a>
</div>
{/if}
</div>
</div>
{/if}
</div>
{literal}
<script type="text/javascript" language="javascript">
jQuery(function ($) {
$(document).ready(function () {
function equalHeight(group)
{
tallest = 0;
group.each(function() {
$(this).css("height","auto");
thisHeight = $(this).height();
if(thisHeight > tallest) {
tallest = thisHeight;
}
});
group.height(tallest);
}
$(window).load(function() {
equalHeight($(".frame"));
});
$(window).load(function() {
equalHeight($(".user_date"));
});
});
});
</script>
{/literal}

View File

@@ -0,0 +1,7 @@
<div id="st_button-user-edit_data_basket" class="st_button-container">
<div id="button-basket-confirm" class="buttons right">
<button type="submit" name="submit_save" value="submit_save" class="important roundies"{if $disabled} disabled="disabled"{/if}>
<span class="arrow_right">{if $label}{__ text=$label}{else}{__ text='Przejdź do potwierdzenia'}{/if}</span>
</button>
</div>
</div>

View File

@@ -0,0 +1,131 @@
{set layout="one_column_layout"}
<div id="order_summary" class="box roundies " >
<div class="title">
<h2>{__ text="Podsumowanie zamówienia"}</h2>
<p>{__ text="Zapisz informację."}</p>
</div>
<div class="content" style="padding: 0px 15px 15px;">
<div id="summary_label" class="roundies">
<div class="content">
<span class="title_summary">{__ text="Dziękujemy za złożenie zamówienia"}</span><br/>
</div>
</div>
<div id="summary_info" class="roundies box_form">
<div class="content">
<div class="order_label">
<div id="order_summary_action-top">
<div style="display: inline;float: left; min-width: 35px; margin: 5px 5px 5px 80px;">
<div style="text-align: center; height: 35px">
<a href="/orderPdf/show/id/{$id}/hash_code/{$hash_code}" target="_blank" rel="noindex, nofollow">
<img src="/images/frontend/theme/default2/order_print.png" alt="" />
</a>
</div>
<div style="text-align: center;">
{__ text="Drukuj"}
</div>
</div>
<div style="display: inline;float: left; min-width: 35px; margin: 5px;">
<div style="text-align: center; height: 35px">
<a href="/orderPdf/show/id/{$id}/download/1/hash_code/{$hash_code}" rel="noindex, nofollow">
<img src="/images/frontend/theme/default2/order_pdf.png" alt="" />
</a>
</div>
<div style="text-align: center;">
{__ text="Pobierz"}
</div>
</div>
{include_st_component module="stInvoicePdf" component="downloadInvoice"}
</div>
<div class="clear"></div>
<div class="st_row">
<div class="st_name">
{__ text="Zamówienie nr"}:
</div>
<div class="st_field">
<b class="order_number">{$order_number}</b>
</div>
</div>
<div class="st_row">
<div class="st_name">
{__ text="Do zapłaty"}:
</div>
<div class="st_field" style="font-size:1.3em;">
<b >{$order_total_amount}</b>
</div>
</div>
{if $points_system_is_active==1}
{if $order_total_points_value > 0}
<div class="st_row">
<div class="st_name">
{__ text="Pobrano z konta"}:
</div>
<div class="st_field" style="font-size:1.3em;">
<b >{$order_total_points_value} {$points_shortcut}</b>
</div>
</div>
{/if}
{if $order_total_points_earn > 0}
<div class="st_row">
<div class="st_name">
{__ text="Za zamówienie otrzymasz"}:
</div>
<div class="st_field" style="color: green;">
<b >{$order_total_points_earn} {$points_shortcut}</b>
</div>
</div>
{/if}
{/if}
</div>
{$order_summary_socket_after_amount}
{if $show_payment_button}
<div id="pay_button" class="buttons right">
<a href="{$payment_url}" class="important roundies">
<span class="arrow_right">{__ text="Zapłać"}</span>
</a>
</div>
{else}
{$payment_type_summary_description}
{/if}
<div class="clear"></div>
{$order_summary_text}
</div>
<div id="order_summary_action-bottom">
<div id="order_print">
<a class="print" href="/orderPdf/show/id/{$id}/hash_code/{$hash_code}" target="_blank">
{__ text="Drukuj"}
</a>
<a class="download" href="/orderPdf/show/id/{$id}/download/1/hash_code/{$hash_code}">
{__ text="Pobierz"}
</a>
{include_st_component module="stInvoicePdf" component="downloadInvoice"}
{if $show_payment_button}
<a href="{$payment_url}" class="important roundies pay">
<span class="arrow_right">
{if $credit}
{__ text="Wypełnij wniosek"}
{else}
{__ text="Zapłać"}
{/if}
</span>
</a>
{/if}
<div class="clear"></div>
</div>
</div>
</div>
<div class="clear"></div>
</div>
</div>
{$order_summary_socket}