⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
olasjoys
/
pdf
/
View File Name :
order-slip.product-tab.tpl
{** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * 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 https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors <contact@prestashop.com> * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) *} <table class="product" width="100%" cellpadding="4" cellspacing="0"> <thead> <tr> <th class="product header small" width="60%">{l s='Product / Reference' d='Shop.Pdf' pdf='true'}</th> <th class="product header small" width="10%">{l s='Qty' d='Shop.Pdf' pdf='true'}</th> <th class="product header-right small" width="15%">{l s='Unit price' d='Shop.Pdf' pdf='true'}<br />{if $tax_excluded_display}{l s='(Tax Excl.)' d='Shop.Pdf' pdf='true'}{else}{l s='(Tax Incl.)' d='Shop.Pdf' pdf='true'}{/if}</th> <th class="product header-right small" width="15%">{l s='Price' d='Shop.Pdf' pdf='true'}<br />{if $tax_excluded_display}{l s='(Tax Excl.)' d='Shop.Pdf' pdf='true'}{else}{l s='(Tax Incl.)' d='Shop.Pdf' pdf='true'}{/if}</th> </tr> </thead> <tbody> {if !isset($order_details) || count($order_details) == 0} <tr class="product" colspan="4"> <td class="product center"> {l s='No details' d='Shop.Pdf' pdf='true'} </td> </tr> {else} {foreach $order_details as $order_detail} {cycle values=["color_line_even", "color_line_odd"] assign=bgcolor_class} <tr class="product {$bgcolor_class}"> <td class="product left"> {$order_detail.product_name} </td> <td class="product center"> {$order_detail.product_quantity} </td> <td class="product right"> {if $tax_excluded_display} - {displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl} {else} - {displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_incl} {/if} </td> <td class="product right"> {if $tax_excluded_display} - {displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_excl} {else} - {displayPrice currency=$order->id_currency price=$order_detail.total_price_tax_incl} {/if} </td> </tr> {foreach $order_detail.customizedDatas as $customizationPerAddress} {foreach $customizationPerAddress as $customizationId => $customization} <tr class="customization_data {$bgcolor_class}"> <td> <table style="width: 100%;"><tr><td> {foreach $customization.datas as $customization_types} {if isset($customization.datas[Product::CUSTOMIZE_TEXTFIELD]) && count($customization.datas[Product::CUSTOMIZE_TEXTFIELD]) > 0} {foreach $customization.datas[Product::CUSTOMIZE_TEXTFIELD] as $customization_infos} {$customization_infos.name}: {$customization_infos.value} {if !$smarty.foreach.custo_foreach.last}<br />{/if} {/foreach} {/if} {if isset($customization.datas[Product::CUSTOMIZE_FILE]) && count($customization.datas[Product::CUSTOMIZE_FILE]) > 0} {count($customization.datas[Product::CUSTOMIZE_FILE])} {l s='image(s)' d='Shop.Pdf' pdf='true'} {/if} {/foreach} </td></tr></table> </td> <td class="center">({$customization.quantity})</td> <td class="product"></td> <td class="product"></td> </tr> {/foreach} {/foreach} {/foreach} {/if} {if is_array($cart_rules) && count($cart_rules)} {foreach $cart_rules as $cart_rule} <tr class="discount"> <td class="white left" colspan="3">{$cart_rule.name}</td> <td class="white right"> {if $tax_excluded_display} + {$cart_rule.value_tax_excl} {else} + {$cart_rule.value} {/if} </td> </tr> {/foreach} {/if} </tbody> </table>