⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.200
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
styleage_v3
/
core
/
storage
/
framework
/
views
/
View File Name :
72a32dc532078d51ac5280a54e70934625a49e37.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="icon" type="image/x-icon" href="<?php echo e(asset('assets/images/'.$setting->favicon)); ?>"/> <title><?php echo e($setting->title); ?></title> <link rel="stylesheet" media="screen" href="<?php echo e(asset('assets/front/css/vendor.min.css')); ?>"> <!-- Main Template Styles--> <link id="mainStyles" rel="stylesheet" media="screen" href="<?php echo e(asset('assets/front/css/styles.min.css')); ?>"> <!-- Modernizr--> <?php echo $__env->yieldContent('css'); ?> <!-- Main css --> <link href="<?php echo e(asset('assets/front/css/main.css')); ?>" rel="stylesheet"> <style> .logo-row{ display: flex; width: 100% !important; } .logo-row-1{ width: 50% !important; display: flex !important; align-items: center !important; } .logo-row-2{ width: 50% !important; } .logo-row-1 img{ width: 200px !important; } .address{ display: flex !important; margin-bottom: 2% !important; } .right{ width: 50%; } .left{ width: 50%; } .table{ width: 100%; border-collapse: collapse; border: 1px solid; } .table td{ border: 1px solid; } .tbl-right{ border-right: 1px solid; } .table td, .table th, .table thead th{ border-color: none; } .txt-left{ text-align: left; } .txt-center{ text-align: center; } .txt-right{ text-align: right; } .txt-right span{ padding: 2px; } </style> </head> <body id="invoice-print" onload="window.print()" id="page-top"> <?php if($order->state){ $state = json_decode($order->state,true); }else{ $state = []; } ?> <!-- Start of Main Content --> <div class="container padding-bottom-3x mb-1 print_invoice"> <div class="card card-body p-5"> <div class="row"> <div class="col-lg-12"> </div> </div> <!-- / .row --> <div class="row logo-row" > <div class="col-md-6 logo-row-1 "> <!-- Logo --> <img class="img-fluid mb-5 mh-70" alt="Logo" src="<?php echo e(asset('assets/images/'.$setting->logo)); ?>"> </div> <div class="col-md-8 logo-row-2"> <h5><b><?php echo e(__('Order Details :')); ?></b></h5> <span class="text-muted"><?php echo e(__('Order Id :')); ?></span><?php echo e($order->transaction_number); ?><br> <span class="text-muted"><?php echo e(__('Order Date :')); ?></span><?php echo e($order->created_at->format('M d, Y')); ?><br> <span class="text-muted"><?php echo e(__('Payment Status :')); ?></span> <?php if($order->payment_status == 'Paid' || $order->payment_status =="success"): ?> <?php echo e(__('Success')); ?> <?php else: ?> <?php echo e(__('Unpaid')); ?> <?php endif; ?> <br> <span class="text-muted"><?php echo e(__('Payment Method :')); ?></span><?php echo e($order->payment_method); ?><br> <span class="text-muted"><?php echo e(__('Order Status :')); ?></span><?php echo e($order->order_status); ?> <br> <br> </div> </div> <!-- / .row --> <div class="row address"> <div class="col-6 col-md-6 left"> <h5><?php echo e(__('Billing Address :')); ?></h5> <?php $bill = json_decode($order->billing_info,true); ?> <span class="text-muted"><?php echo e(__('Name')); ?>: </span><?php echo e($bill['bill_first_name']); ?> <?php echo e($bill['bill_last_name']); ?><br> <span class="text-muted"><?php echo e(__('Email')); ?>: </span><?php echo e($bill['bill_email']); ?><br> <span class="text-muted"><?php echo e(__('Phone')); ?>: </span><?php echo e($bill['bill_phone']); ?><br> <?php if(isset($bill['bill_address1'])): ?> <span class="text-muted"><?php echo e(__('Address')); ?>: </span><?php echo e($bill['bill_address1']); ?>, <?php echo e(isset($bill['bill_address2']) ? $bill['bill_address2'] : ''); ?><br> <?php endif; ?> <?php if(isset($bill['bill_country'])): ?> <span class="text-muted"><?php echo e(__('Country')); ?>: </span><?php echo e($bill['bill_country']); ?><br> <?php endif; ?> <?php if(isset($bill['bill_city'])): ?> <span class="text-muted"><?php echo e(__('City')); ?>: </span><?php echo e($bill['bill_city']); ?><br> <?php endif; ?> <?php if(isset($state['name'])): ?> <span class="text-muted"><?php echo e(__('State')); ?>: </span><?php echo e($state['name']); ?><br> <?php endif; ?> <?php if(isset($bill['bill_zip'])): ?> <span class="text-muted"><?php echo e(__('Zip')); ?>: </span><?php echo e($bill['bill_zip']); ?><br> <?php endif; ?> <?php if(isset($bill['bill_company'])): ?> <span class="text-muted"><?php echo e(__('Company')); ?>: </span><?php echo e($bill['bill_company']); ?><br> <?php endif; ?> </div> <div class="col-6 col-md-6 right"> <h5><?php echo e(__('Shipping Address :')); ?></h5> <?php $ship = json_decode($order->shipping_info,true) ?> <span class="text-muted"><?php echo e(__('Name')); ?>: </span><?php echo e($ship['ship_first_name']); ?> <?php echo e($ship['ship_last_name']); ?> <br> <span class="text-muted"><?php echo e(__('Email')); ?>: </span><?php echo e($ship['ship_email']); ?><br> <span class="text-muted"><?php echo e(__('Phone')); ?>: </span><?php echo e($ship['ship_phone']); ?><br> <?php if(isset($ship['ship_address1'])): ?> <span class="text-muted"><?php echo e(__('Address')); ?>: </span><?php echo e($ship['ship_address1']); ?>, <?php echo e(isset($ship['ship_address2']) ? $ship['ship_address2'] : ''); ?><br> <?php endif; ?> <?php if(isset($ship['ship_country'])): ?> <span class="text-muted"><?php echo e(__('Country')); ?>: </span><?php echo e($ship['ship_country']); ?><br> <?php endif; ?> <?php if(isset($ship['ship_city'])): ?> <span class="text-muted"><?php echo e(__('City')); ?>: </span><?php echo e($ship['ship_city']); ?><br> <?php endif; ?> <?php if(isset($state['name'])): ?> <span class="text-muted"><?php echo e(__('State')); ?>: </span><?php echo e($state['name']); ?><br> <?php endif; ?> <?php if(isset($ship['ship_zip'])): ?> <span class="text-muted"><?php echo e(__('Zip')); ?>: </span><?php echo e($ship['ship_zip']); ?><br> <?php endif; ?> <?php if(isset($ship['ship_company'])): ?> <span class="text-muted"><?php echo e(__('Company')); ?>: </span><?php echo e($ship['ship_company']); ?><br> <?php endif; ?> </div> </div> <div class="row"> <div class="col-12"> <!-- Table --> <div class="gd-responsive-table"> <table class="table my-4"> <thead> <tr> <th width="50%" class="px-0 bg-transparent border-top-0 txt-left tbl-right"> <span class="h6"><?php echo e(__('Products')); ?></span> </th> <th class="px-0 bg-transparent border-top-0 tbl-right"> <span class="h6"><?php echo e(__('Attribute')); ?></span> </th> <th class="px-0 bg-transparent border-top-0 tbl-right"> <span class="h6"><?php echo e(__('Quantity')); ?></span> </th> <th class="px-0 bg-transparent border-top-0 text-right"> <span class="h6"><?php echo e(__('Price')); ?></span> </th> </tr> </thead> <tbody> <?php $option_price = 0; $total = 0; ?> <?php $__currentLoopData = json_decode($order->cart,true); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $total += $item['main_price'] * $item['qty']; $option_price += $item['attribute_price']; $grandSubtotal = $total + $option_price; ?> <tr> <td class="px-0"> <?php echo e($item['name']); ?> </td> <td class="px-0 txt-center"> <?php if($item['attribute']['option_name']): ?> <?php $__currentLoopData = $item['attribute']['option_name']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $optionkey => $option_name): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <span class="entry-meta"><b><?php echo e($option_name); ?></b> : <?php if($setting->currency_direction == 1): ?> <?php echo e($order->currency_sign); ?><?php echo e(round($item['attribute']['option_price'][$optionkey]*$order->currency_value,2)); ?> <?php else: ?> <?php echo e(round($item['attribute']['option_price'][$optionkey]*$order->currency_value,2)); ?><?php echo e($order->currency_sign); ?> <?php endif; ?> </span> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> -- <?php endif; ?> </td> <td class="px-0 txt-center"> <?php echo e($item['qty']); ?> </td> <td class="px-0 txt-center text-right"> <?php if($setting->currency_direction == 1): ?> <?php echo e($order->currency_sign); ?><?php echo e(round($item['main_price']*$order->currency_value,2)); ?> <?php else: ?> <?php echo e(round($item['main_price']*$order->currency_value,2)); ?><?php echo e($order->currency_sign); ?> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php if($order->tax!=0): ?> <tr> <td class="px-0 border-top border-top-2"> <span class="text-muted"><?php echo e(__('Tax')); ?></span> </td> <td class="px-0 text-right border-top border-top-2 txt-right" colspan="5"> <span> <?php if($setting->currency_direction == 1): ?> <?php echo e($order->currency_sign); ?><?php echo e(round($order->tax*$order->currency_value,2)); ?> <?php else: ?> <?php echo e(round($order->tax*$order->currency_value,2)); ?><?php echo e($order->currency_sign); ?> <?php endif; ?> </span> </td> </tr> <?php endif; ?> <?php if(json_decode($order->discount,true)): ?> <?php $discount = json_decode($order->discount,true); ?> <tr> <td class="px-0 border-top border-top-2"> <span class="text-muted"><?php echo e(__('Coupon discount')); ?> (<?php echo e($discount['code']['code_name']); ?>)</span> </td> <td class="px-0 text-right border-top border-top-2 " colspan="5"> <span class="text-danger"> <?php if($setting->currency_direction == 1): ?> -<?php echo e($order->currency_sign); ?><?php echo e(round($discount['discount'] * $order->currency_value,2)); ?> <?php else: ?> -<?php echo e(round($discount['discount'] * $order->currency_value,2)); ?><?php echo e($order->currency_sign); ?> <?php endif; ?> </span> </td> </tr> <?php endif; ?> <?php if(json_decode($order->shipping,true)): ?> <?php $shipping = json_decode($order->shipping,true); ?> <tr> <td class="px-0 border-top border-top-2"> <span class="text-muted"><?php echo e(__('Shipping')); ?></span> </td> <td class="px-0 text-right border-top border-top-2" colspan="5"> <span > <?php if($setting->currency_direction == 1): ?> <?php echo e($order->currency_sign); ?><?php echo e(round($shipping['price']*$order->currency_value,2)); ?> <?php else: ?> <?php echo e(round($shipping['price']*$order->currency_value,2)); ?><?php echo e($order->currency_sign); ?> <?php endif; ?> </span> </td> </tr> <?php endif; ?> <?php if(json_decode($order->state_price,true)): ?> <tr> <td class="px-0 border-top border-top-2"> <span class="text-muted"><?php echo e(__('State Tax')); ?></span> </td> <td class="px-0 text-right border-top border-top-2" colspan="5"> <span > <?php if($setting->currency_direction == 1): ?> <?php echo e(isset($state['type']) && $state['type'] == 'percentage' ? ' ('.$state['price'].'%) ' : ''); ?> <?php echo e($order->currency_sign); ?><?php echo e(round($order['state_price']*$order->currency_value,2)); ?> <?php else: ?> <?php echo e(isset($state['type']) && $state['type'] == 'percentage' ? ' ('.$state['price'].'%) ' : ''); ?> <?php echo e(round($order['state_price']*$order->currency_value,2)); ?><?php echo e($order->currency_sign); ?> <?php endif; ?> </span> </td> </tr> <?php endif; ?> <tr> <td class="px-0 border-top border-top-2"> <?php if($order->payment_method == 'Cash On Delivery'): ?> <strong><?php echo e(__('Total amount')); ?></strong> <?php else: ?> <strong><?php echo e(__('Total amount due')); ?></strong> <?php endif; ?> </td> <td class="px-0 text-right border-top border-top-2 txt-right" colspan="5"> <span class="h3"> <?php if($setting->currency_direction == 1): ?> <?php echo e($order->currency_sign); ?><?php echo e(PriceHelper::OrderTotal($order)); ?> <?php else: ?> <?php echo e(PriceHelper::OrderTotal($order)); ?><?php echo e($order->currency_sign); ?> <?php endif; ?> </span> </td> </tr> </tbody> </table> </div> </div> </div> <!-- / .row --> </div> </div> <script type="text/javascript" src="<?php echo e(asset('assets/front/js/vendor.min.js')); ?>"></script> <script type="text/javascript" src="<?php echo e(asset('assets/front/js/scripts.min.js')); ?>"></script> <script type="text/javascript" src="<?php echo e(asset('assets/back/js/plugin/bootstrap-notify/bootstrap-notify.min.js')); ?>"></script> <script type="text/javascript" src="<?php echo e(asset('assets/front/js/plugin.js')); ?>"></script> <script type="text/javascript" src="<?php echo e(asset('assets/front/js/myscript.js')); ?>"></script> </body> </html> <?php /**PATH /var/www/styleage_v3/core/resources/views/user/order/print.blade.php ENDPATH**/ ?>