garancia/pdf/order-return.tpl
2016-10-10 15:24:25 +02:00

164 lines
5.8 KiB
Smarty
Executable File

{*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2013 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div style="font-size: 9pt; color: #444">
<table>
<tr><td>&nbsp;</td></tr>
</table>
<!-- ADDRESSES -->
<table style="width: 100%">
<tr>
<td style="width: 20%"></td>
<td style="width: 80%">
{if !empty($invoice_address)}
<table style="width: 100%">
<tr>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{l s='Delivery Address' pdf='true'}</span><br />
{$delivery_address}
</td>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{l s='Billing Address' pdf='true'}</span><br />
{$invoice_address}
</td>
</tr>
</table>
{else}
<table style="width: 100%">
<tr>
<td style="width: 50%">
<span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{l s='Billing & Delivery Address' pdf='true'}</span><br />
{$delivery_address}
</td>
<td style="width: 50%">
</td>
</tr>
</table>
{/if}
</td>
</tr>
</table>
<!-- / ADDRESSES -->
<table>
<tr><td style="line-height: 8px">&nbsp;</td></tr>
</table>
<table style="width: 100%">
<tr>
<td style="width: 20%; padding-right: 7px; text-align: right; vertical-align: top">
</td>
<td style="width: 80%; padding-right: 7px; text-align: left; vertical-align: top">
{l s='We have logged your return request.' pdf='true'}<br />
{l s='Your package must be returned to us within' pdf='true'} {$return_nb_days} {l s='days of receiving your order.' pdf='true'}<br />
</td>
</tr>
</table>
<!-- PRODUCTS TAB -->
<table style="width: 100%">
<tr>
<td style="width: 20%; padding-right: 7px; text-align: right; vertical-align: top">
<!-- CUSTOMER INFORMATIONS -->
<b>{l s='Return Number:' pdf='true'}</b><br />
{'%06d'|sprintf:$order_return->id}<br />
<br />
<b>{l s='Date:' pdf='true'}</b><br />
{dateFormat date=$order_return->date_add full=0}<br />
<br />
<!-- / CUSTOMER INFORMATIONS -->
</td>
<td style="width: 80%; text-align: right">
<table style="width: 100%">
<tr style="line-height:6px;">
<td style="text-align: left; background-color: #4D4D4D; color: #FFF; padding-left: 10px; font-weight: bold; width: 60%">{l s='ITEMS TO BE RETURNED' pdf='true'}</td>
<td style="background-color: #4D4D4D; color: #FFF; text-align: left; font-weight: bold; width: 20%">{l s='REFERENCE' pdf='true'}</td>
<td style="background-color: #4D4D4D; color: #FFF; text-align: center; font-weight: bold; width: 20%">{l s='QTY' pdf='true'}</td>
</tr>
{foreach $products as $product}
{cycle values='#FFF,#DDD' assign=bgcolor}
<tr style="line-height:6px;background-color:{$bgcolor};">
<td style="text-align: left; width: 60%">{$product.product_name}</td>
<td style="text-align: left; width: 20%">
{if empty($product.product_reference)}
---
{else}
{$product.product_reference}
{/if}
</td>
<td style="text-align: center; width: 20%">{$product.product_quantity}</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
<table style="width: 100%">
<tr>
<td style="width: 20%; padding-right: 7px; text-align: right; vertical-align: top">
</td>
<td style="width: 80%; padding-right: 7px; text-align: left; vertical-align: top">
<table style="background-color:#DDD; line-height: 4px; padding: 7px;">
<tr>
<td style="font-weight: bold">{l s='If the following conditions are not respected we reserve the rights to refuse your package and/or reimbursement:' pdf='true'}</td>
</tr>
<tr>
<td>
<ul>
<li>{l s='Please include this number return reference on your return package:' pdf='true'} {$order_return->id}</li>
<li>{l s='All products must be returned in their original package without damage or wear.' pdf='true'}</li>
<li>{l s='Please print out this document and slip it into your package.' pdf='true'}</li>
<li>{l s='The package should be sent to the following address:' pdf='true'}</li>
</ul>
{$shop_address}
</td>
</tr>
</table>
<br />
{l s='Upon receiving your package, we will notify you by e-mail. We will then begin processing the reimbursement of your order total. Let us know if you have any questions' pdf='true'}
</td>
</tr>
</table>
{if isset($HOOK_DISPLAY_PDF)}
<div style="line-height: 1pt">&nbsp;</div>
<table style="width: 100%">
<tr>
<td style="width: 15%"></td>
<td style="width: 85%">
{$HOOK_DISPLAY_PDF}
</td>
</tr>
</table>
{/if}
</div>