<?php $__env->startSection('content'); ?> <b>Dear customer,</b><br><br> Thank you for your purchase.<br><br> This is a confirmation email that we have received and accepted your order.<br><br> <table align="center" border="1" cellpadding="6" cellspacing="0" width="600" style="border-collapse: collapse; border: 1px solid #bbbbbb;"> <tr> <td colspan="5" bgcolor="#efefef"> <b>ORDER NUMBER: <?php echo $order->order; ?></b> </td> </tr> <tr> <td colspan="2" bgcolor="#fafafa"><b><?php echo trans('website.labels.product'); ?></b></td> <td align="center" bgcolor="#fafafa"><b><?php echo trans('website.labels.quantity'); ?></b></td> <td align="right" bgcolor="#fafafa"><b><?php echo trans('website.labels.item-price'); ?></b></td> <td align="right" bgcolor="#fafafa"><b><?php echo trans('website.labels.price'); ?></b></td> </tr> <?php foreach($order_items as $order_item): ?> <tr> <?php if($order_item->book): ?> <td align="center"> <?php echo HTML::image($order_item->book->image->url('small'), $order_item->book->title, ['width' => 60, 'height' => 85, 'style' => 'display: block;']); ?> </td> <td> <b><?php echo $order_item->book->title; ?></b><br> <?php echo $order_item->book->author; ?> </td> <?php elseif($order_item->orderShipmentPostage): ?> <td colspan="2"> <b><?php echo $order_shipments[$order->order_shipment_id]->title($language->id); ?></b> </td> <?php elseif($order_item->orderShipmentCondition): ?> <td colspan="2"> <b><?php echo $order_shipments[$order->order_shipment_id]->title($language->id); ?></b> </td> <?php endif; ?> <td align="center"><?php echo $order_item['quantity']; ?></td> <td align="right"><?php echo number_format($order_item['price_item'], 2, ',', ' '); ?> &euro;</td> <td align="right"><b><?php echo number_format($order_item['price'], 2, ',', ' '); ?> &euro;</b></td> </tr> <?php endforeach; ?> <tr> <td colspan="4"> <b><?php echo trans('website.labels.total-price-with-vat'); ?>:</b> </td> <td align="right"><b><?php echo number_format($order->price, 2, ',', ' '); ?> &euro;</b></td> </tr> <tr> <td colspan="5" bgcolor="#efefef"> <table align="center" border="0" cellpadding="0" cellspacing="0" width="588" style="border-collapse: collapse;"> <tr> <td><b><?php echo trans('website.labels.payment-method'); ?>:</b></td> <td align="right"><b><?php echo $order->orderPayment->title($language->id); ?></b></td> </tr> </table> </td> </tr> <tr> <td colspan="5" bgcolor="#efefef"> <table align="center" border="0" cellpadding="0" cellspacing="0" width="588" style="border-collapse: collapse;"> <tr> <td><b><?php echo trans('website.labels.shipment-method'); ?>:</b></td> <td align="right"><b><?php echo $order->orderShipment->title($language->id); ?></b></td> </tr> </table> </td> </tr> <tr> <td colspan="5" bgcolor="#fafafa"> <table align="center" border="0" cellpadding="10" cellspacing="0" width="588" style="border-collapse: collapse;"> <tr> <td width="176" valign="top"> <b><?php echo trans('website.labels.personal-information'); ?></b><br><br> <a href="mailto:<?php echo $order->email; ?>"><font color="#9a0000"><?php echo $order->email; ?></font></a><br> <?php echo $order->phone_number; ?> </td> <td width="176" valign="top"> <b><?php echo trans('website.labels.billing-address'); ?></b><br><br> <?php echo $order->first_name; ?> <?php echo $order->last_name; ?><br> <?php if(!empty($order->billing_company)): ?> <?php echo $order->billing_company; ?><br> <?php endif; ?> <?php echo $order->billing_street; ?><br> <?php echo $order->billing_postcode; ?>, <?php echo $order->billing_city; ?><br> <?php echo $order_countries[$order->billing_country]; ?><br> <?php if(!empty($order->billing_ico) && !isGeneratedIco($order->billing_ico)): ?> <br><?php echo trans('website.labels.ico'); ?>: <?php echo $order->billing_ico; ?> <?php endif; ?> <?php if(!empty($order->billing_dic)): ?> <br><?php echo trans('website.labels.dic'); ?>: <?php echo $order->billing_dic; ?> <?php endif; ?> <?php if(!empty($order->billing_icdph)): ?> <br><?php echo trans('website.labels.icdph'); ?>: <?php echo $order->billing_icdph; ?> <?php endif; ?> </td> <td width="176" valign="top"> <b><?php echo trans('website.labels.shipping-address'); ?></b><br><br> <?php if($order->orderShipment->type=='post-address' || $order->orderShipment->type=='post-office' || $order->orderShipment->type=='post-box' || $order->orderShipment->type=='courier-dhl' || $order->orderShipment->type=='post-czech' || $order->orderShipment->type=='post-europe'): ?> <?php if($order->orderShipment->type!='post-office' && $order->orderShipment->type!='post-box'): ?> <?php echo $order->shipment_first_name ? $order->shipment_first_name : $order->first_name; ?> <?php echo $order->shipment_last_name ? $order->shipment_last_name : $order->last_name; ?> <br> <?php endif; ?> <?php if(!empty($order->shipment_company)): ?> <?php echo $order->shipment_company; ?><br> <?php endif; ?> <?php echo $order->shipment_street; ?><br> <?php echo $order->shipment_postcode; ?>, <?php echo $order->shipment_city; ?><br> <?php echo $order_countries[$order->shipment_country]; ?> <?php else: ?> <?php echo $order->orderShipment->title($language->id); ?> <?php endif; ?> </td> </tr> </table> </td> </tr> </table><br> Order received: <b><?php echo date('d.m.Y H:i', strtotime($order->created_at)); ?></b><br><br> <?php if($order->orderPayment->type == 'ecard' || $order->orderPayment->type == 'epay'): ?> Your order will be processed within 6 workdays after receiving. You will receive confirmation email about crediting your payment to VEDA bank account and about dispatch of your order. In case of any problem with delivery we will contact you. You can follow the processing of your order also at www.veda.sav.sk in "My profile” section.<br><br> <?php elseif($order->orderPayment->type == 'deposit'): ?> Your order will be processed within 6 workdays after receiving your payment. You will receive confirmation email about crediting your payment to VEDA bank account (see below the data for payment) and about dispatch of your order. In case of any problem with delivery we will contact you. You can follow the processing of your order also at www.veda.sav.sk in “My profile” section.<br><br> Bank subject: <b><?php echo Config::get('website.veda.bank-name'); ?></b><br> Name of account: <b><?php echo Config::get('website.veda.account-name'); ?></b><br> IBAN: <b><?php echo Config::get('website.veda.iban'); ?></b><br> BIC (SWIFT): <b><?php echo Config::get('website.veda.bic'); ?></b><br> Variable symbol: <b><?php echo $order->order; ?></b><br> Constant symbol: <b><?php echo Config::get('website.veda.constant-symbol'); ?></b><br><br> <?php elseif($order->orderPayment->type == 'banking'): ?> Your order will be processed within 6 workdays after receiving your payment. You will receive confirmation email about crediting your payment to VEDA bank account and about dispatch of your order. In case of any problem with delivery we will contact you. You can follow the processing of your order also at www.veda.sav.sk in “My profile” section.<br><br> Bank subject: <b><?php echo Config::get('website.veda.bank-name'); ?></b><br> Name of account: <b><?php echo Config::get('website.veda.account-name'); ?></b><br> IBAN: <b><?php echo Config::get('website.veda.iban'); ?></b><br> BIC (SWIFT): <b><?php echo Config::get('website.veda.bic'); ?></b><br> Variable symbol: <b><?php echo $order->order; ?></b><br> Constant symbol: <b><?php echo Config::get('website.veda.constant-symbol'); ?></b><br><br> <?php elseif($order->orderPayment->type == 'cash'): ?> Your order will be processed within 6 workdays after receiving. You will receive confirmation email about dispatch of your order. In case of any problem with delivery we will contact you. You can follow the processing of your order also at www.veda.sav.sk in “My profile” section.<br><br> <?php endif; ?> Best wishes,<br> VEDA,<br> Publishing House of the Slovak Academy of Sciences<br><br> <?php $__env->stopSection(); ?>