HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/storage/views/c01d05833ccb91f9262d7f30bb348cba
<?php

$tableCellStyles = 'border-bottom: solid 1px #e7e4e1; border-right: solid 1px #e7e4e1';
$tableLastCellStyles = 'border-bottom: solid 1px #e7e4e1;';

$tableCellInner = 'padding: 10px; font-size: 12px; font-family: Arial, sans-serif; line-height: 16px;';
$tableCellInnerLeft = 'padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 0px; font-size: 12px; font-family: Arial, sans-serif; line-height: 16px;';
$tableCellInnerRight = 'padding-top: 10px; padding-right: 0px; padding-bottom: 10px; padding-left: 10px; font-size: 12px; font-family: Arial, sans-serif; line-height: 16px;';

$tableCell_no_border = 'padding: 10px; border-right: solid 1px #e7e4e1; font-size: 12px; font-family: Arial, sans-serif; line-height: 16px;';
$tableCellLeft_no_border = 'padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 0px; border-right: solid 1px #e7e4e1; font-size: 12px; font-family: Arial, sans-serif; line-height: 16px;';
$tableCellRight_no_border = 'padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 0px; font-size: 12px; font-family: Arial, sans-serif; line-height: 16px;';



$tableCellSummaryInner = 'padding: 5px 0; font-size: 12px; font-family: Arial, sans-serif; line-height: 16px;';
$tableCell = 'padding: 10px; border-bottom: solid 1px #e7e4e1; border-right: solid 1px #e7e4e1; font-size: 12px; font-family: Arial, sans-serif; line-height: 16px;';
$tableCellLeft = 'padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 0px; border-bottom: solid 1px #e7e4e1; border-right: solid 1px #e7e4e1; font-size: 12px; font-family: Arial, sans-serif; line-height: 16px;';
$tableCellRight = 'padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 0px; border-bottom: solid 1px #e7e4e1; font-size: 12px; font-family: Arial, sans-serif; line-height: 16px;';


$border_style = 'solid 1px #e7e4e1';

$tableCell_border_top = $tableCell_no_border.' border-top:'.$border_style.' ;';
$tableCellLeft_border_top = $tableCellLeft_no_border.' border-top:'.$border_style.' ;';
$tableCellRight_border_top = $tableCellRight_no_border.' border-top:'.$border_style.' ;';

$tableCellSummary = 'padding: 5px 0; font-size: 12px; font-family: Arial, sans-serif; line-height: 16px;';


?>
 <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td align="left" width="50%" style="<?php echo $tableCellLeft; ?>"> <?php echo Lang::get('partials/orderOverview.description'); ?> </td> <td align="center" width="*" style="<?php echo $tableCell; ?>"> <?php echo Lang::get('partials/orderOverview.quantity'); ?> </td> <td align="center" width="*" style="<?php echo $tableCell; ?>"> <?php echo Lang::get('partials/orderOverview.price'); ?> </td> <td align="center" width="*" style="<?php echo $tableCell; ?>"> <?php echo Lang::get('partials/orderOverview.discount'); ?> </td> <td align="right" width="*" style="<?php echo $tableCellRight; ?>"> <?php echo Lang::get('partials/orderOverview.total'); ?> </td> </tr> <?php foreach($products as $product): ?> <tr> <td align="left" valign="top" style="<?php echo $tableCellLeft; ?>"> <?php echo $product['internal_article_number']; ?> - <strong><?php echo $product['title']; ?></strong> </td> <td align="center" valign="top" style="<?php echo $tableCell; ?>"> <?php echo $product['quantity']; ?> <?php if($product['discount_number_of_items_for_free'] > 0): ?> + <?php echo $product['discount_number_of_items_for_free']; ?> <?php endif; ?> </td> <td align="center" valign="top" style="<?php echo $tableCell; ?>"> &euro;&nbsp;<?php echo price($product['original_price_ex']); ?> </td> <td align="center" valign="top" style="<?php echo $tableCell; ?>"> <?php echo $product['discount_description']; ?> </td> <td align="right" valign="top" style="<?php echo $tableCellRight; ?>"> &euro;&nbsp;<?php echo price($product['price_ex']); ?> </td> </tr> <?php /*<?php if(isset($product['composition'])): ?>*/ ?> <?php /*<?php foreach(json_decode($product['composition']) as $comp): ?>*/ ?> <?php /*<tr>*/ ?> <?php /*<td align="left" valign="top" style="<?php echo $tableCellLeft_no_border; ?>">*/ ?> <?php /*<?php echo $comp->type; ?> - <?php echo $comp->size; ?>*/ ?> <?php /*- <?php echo $comp->class; ?>*/ ?> <?php /*</td>*/ ?> <?php /*<td align="center" valign="top" style="<?php echo $tableCell_no_border; ?>">*/ ?> <?php /*<?php echo $product['quantity'] * $comp->quantity; ?>*/ ?> <?php /*<?php if($product['discount_number_of_items_for_free'] > 0): ?>*/ ?> <?php /*+ <?php echo $product['discount_number_of_items_for_free']* $comp->quantity; ?>*/ ?> <?php /*<?php endif; ?>*/ ?> <?php /*</td>*/ ?> <?php /*<td align="center" valign="top" style="<?php echo $tableCell_no_border; ?>">*/ ?> <?php /*&nbsp;*/ ?> <?php /*</td>*/ ?> <?php /*<td align="center" valign="top" style="<?php echo $tableCell_no_border; ?>">*/ ?> <?php /*&nbsp;*/ ?> <?php /*</td>*/ ?> <?php /*<td align="right" valign="top" style="<?php echo $tableCellRight_no_border; ?>">*/ ?> <?php /*&nbsp;*/ ?> <?php /*</td>*/ ?> <?php /*</tr>*/ ?> <?php /*<?php endforeach; ?>*/ ?> <?php /*<?php endif; ?>*/ ?> <?php endforeach; ?> <tr> <td colspan="2">&nbsp;</td> <td colspan="3"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td style="<?php echo $tableCellSummary; ?>"> <strong><?php echo Lang::get('partials/pricingOverview.subtotal'); ?></strong> </td> <td style="<?php echo $tableCellSummary; ?>" align="right"> &euro;&nbsp;<?php echo price($sub_total_ex_vat); ?> </td> </tr> <?php if($discount_percentage > 0): ?> <tr> <td style="<?php echo $tableCellSummary; ?>"> <strong><?php echo Lang::get('partials/pricingOverview.discount'); ?> (<?php echo $discount_percentage; ?>%):</strong> </td> <td style="<?php echo $tableCellSummary; ?>" align="right"> -&euro;&nbsp;<?php echo price($discount_price_ex_vat); ?> </td> </tr> <?php endif; ?> <tr> <td style="<?php echo $tableCellSummary; ?>"> <strong><?php echo Lang::get('partials/pricingOverview.shipping'); ?></strong> </td> <td style="<?php echo $tableCellSummary; ?>" align="right"> &euro;&nbsp;<?php echo price($shipping_costs_ex_vat); ?> </td> </tr> <tr> <td style="<?php echo $tableCellSummary; ?>"> <strong><?php echo Lang::get('partials/pricingOverview.total_vat_excluded'); ?></strong> </td> <td style="<?php echo $tableCellSummary; ?>" align="right"> &euro;&nbsp;<?php echo price($sub_total_ex_vat - $discount_price_ex_vat + $shipping_costs_ex_vat); ?> </td> </tr> <?php if($invoice_company_vat != "" && substr(strtoupper($invoice_company_vat),0,2) != "NL"): ?> <tr> <td style="<?php echo $tableCellSummary; ?>"> <strong><?php echo Lang::get('partials/pricingOverview.vat_reverse_charge'); ?> 0%</strong> </td> <td style="<?php echo $tableCellSummary; ?>" align="right"> &euro;&nbsp;<?php echo price(0); ?> </td> </tr> <?php else: ?> <?php foreach($taxes as $tax): ?> <?php if($tax['rate'] != 0): ?> <tr> <td style="<?php echo $tableCellSummary; ?>"> <strong><?php echo Lang::get('partials/pricingOverview.vat'); ?> <?php echo $tax['rate']; ?>%</strong> </td> <td style="<?php echo $tableCellSummary; ?>" align="right"> &euro;&nbsp;<?php echo price($tax['total']); ?> </td> </tr> <?php endif; ?> <?php endforeach; ?> <?php endif; ?> <tr> <td style="<?php echo $tableCellSummary; ?>"> <strong><?php echo Lang::get('partials/pricingOverview.total'); ?></strong> </td> <?php if($invoice_company_vat != "" && substr(strtoupper($invoice_company_vat),0,2) != "NL"): ?> <td style="<?php echo $tableCellSummary; ?>" align="right"> &euro;&nbsp;<?php echo price($sub_total_ex_vat - $discount_price_ex_vat + $shipping_costs_ex_vat); ?> </td> <?php else: ?> <td style="<?php echo $tableCellSummary; ?>" align="right"> &euro;&nbsp;<?php echo price($price_total); ?> </td> <?php endif; ?> </tr> </table> </td> </tr> </table>