<?php $__env->startSection('title'); ?> <?php echo trans('website.labels.order'); ?> <?php echo $order->order; ?> - <?php echo trans('website.labels.orders-history'); ?> - <?php echo trans('website.labels.my-profile'); ?> - <?php echo Config::get('website.title'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('container'); ?> <div class="row"> <div class="col-xs-3"> <?php echo $__env->make('website.user.menu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> </div> <div class="col-xs-9"> <div class="row"> <div class="col-xs-12 account"> <div class="row"> <div class="col-xs-12"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title text-uppercase"><?php echo trans('website.labels.order'); ?> <?php echo $order->order; ?></h3> </div> <div class="panel-body no-padding"> <table class="table table-striped"> <thead> <tr> <th class="col-xs-6"><?php echo trans('website.labels.product'); ?></th> <th class="text-center"><?php echo trans('website.labels.quantity'); ?></th> <th class="text-right"><?php echo trans('website.labels.item-price'); ?></th> <th class="text-right"><?php echo trans('website.labels.price'); ?></th> </tr> </thead> <tbody> <?php foreach($order_items as $order_item): ?> <tr> <?php if($order_item->type == 'book'): ?> <td class="col-xs-6"> <?php echo HTML::image($order_item->book->image->url('small'), $order_item->book->title, ['class' => 'image']); ?> <h3 class="book"><?php echo $order_item->book->title; ?></h3><br> <h4 class="author"><?php echo $order_item->book->author; ?></h4> </td> <?php elseif($order_item->orderShipmentPostage): ?> <td class="col-xs-6"> <h3 class="postage"><?php echo $order_shipment->title($language->id); ?></h3> </td> <?php elseif($order_item->orderShipmentCondition): ?> <td class="col-xs-6"> <h3 class="postage"><?php echo $order_shipment->title($language->id); ?></h3> </td> <?php endif; ?> <td class="text-center"><?php echo $order_item['quantity']; ?></td> <td class="text-right"><?php echo number_format($order_item['price_item'], 2, ',', ' '); ?> &euro;</td> <td class="text-right"><strong><?php echo number_format($order_item['price'], 2, ',', ' '); ?> &euro;</strong></td> </tr> <?php endforeach; ?> <tr> <td class="col-xs-6"> <h3 class="payment"><?php echo trans('website.labels.total-price-with-vat'); ?></h3> </td> <td class="text-right" colspan="3"><strong><?php echo number_format($order->price, 2, ',', ' '); ?> &euro;</strong></td> </tr> <tr> <td class="col-xs-12 payment" colspan="4"> <strong><?php echo trans('website.labels.payment-method'); ?></strong> <strong class="pull-right"><?php echo $order_payment->title($language->id); ?></strong> </td> </tr> <tr> <td class="col-xs-12 shipment" colspan="4"> <strong><?php echo trans('website.labels.shipment-method'); ?></strong> <strong class="pull-right"><?php echo $order_shipment->title($language->id); ?></strong> </td> </tr> </tbody> </table> </div> <div class="panel-footer padding"> <div class="row"> <div class="col-xs-4"> <strong><?php echo trans('website.labels.personal-information'); ?></strong><br><br> <address> <a href="mailto:<?php echo $order->email; ?>"><?php echo $order->email; ?></a><br> <?php echo $order->phone_number; ?> </address> </div> <div class="col-xs-4"> <strong><?php echo trans('website.labels.billing-address'); ?></strong><br><br> <address> <p> <?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]; ?> </p> <p> <?php if(!empty($order->billing_ico) && !isGeneratedIco($order->billing_ico)): ?> <?php echo trans('website.labels.ico'); ?>: <?php echo $order->billing_ico; ?><br> <?php endif; ?> <?php if(!empty($order->billing_dic)): ?> <?php echo trans('website.labels.dic'); ?>: <?php echo $order->billing_dic; ?><br> <?php endif; ?> <?php if(!empty($order->billing_icdph)): ?> <?php echo trans('website.labels.icdph'); ?>: <?php echo $order->billing_icdph; ?> <?php endif; ?> </p> </address> </div> <div class="col-xs-4"> <strong><?php echo trans('website.labels.shipping-address'); ?></strong><br><br> <?php if($order_shipment->type=='post-address' || $order_shipment->type=='post-office' || $order_shipment->type=='post-box' || $order_shipment->type=='courier-dhl' || $order_shipment->type=='post-czech' || $order_shipment->type=='post-europe'): ?> <address> <?php if($order_shipment->type!='post-office' && $order_shipment->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]; ?> </address> <?php else: ?> <address> <?php echo $order_shipment->title($language->id); ?> </address> <?php endif; ?> </div> </div> </div> </div> </div> </div> <div class="row"> <div class="pull-left back"> <i class="glyphicon glyphicon-chevron-left"></i> <?php echo HTML::linkRoute('user-orders-history', trans('website.labels.back')); ?> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?>