One Hat Cyber Team
Your IP :
216.73.216.93
Server IP :
178.63.234.5
Server :
Linux whm01.ins-jo.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software :
Apache
PHP Version :
8.1.32
Buat File
|
Buat Folder
Dir :
~
/
home
/
business
/
www
/
storage
/
framework
/
views
/
Edit File Name :
ef538d394556ff28aa39c6cb056fb4c3364f7eb6.php
<?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"> Report </h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('user-dashboard')); ?>"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#">Shop Management</a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#">Manage Orders</a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"> Report </a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header p-1"> <div class="row"> <div class="col-lg-10"> <form action="<?php echo e(url()->full()); ?>" class="form-inline"> <div class="form-group"> <label for="">From</label> <input class="form-control datepicker" type="text" name="from_date" placeholder="From" value="<?php echo e(request()->input('from_date') ? request()->input('from_date') : ''); ?>" required autocomplete="off"> </div> <div class="form-group"> <label for="">To</label> <input class="form-control datepicker ml-1" type="text" name="to_date" placeholder="To" value="<?php echo e(request()->input('to_date') ? request()->input('to_date') : ''); ?>" required autocomplete="off"> </div> <div class="form-group"> <label for="">Payment Method</label> <select name="payment_method" class="form-control ml-1"> <option value="" selected>All</option> <?php if(!empty($onPms)): ?> <?php $__currentLoopData = $onPms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $onPm): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($onPm->keyword); ?>" <?php echo e(request()->input('payment_method') == $onPm->keyword ? 'selected' : ''); ?>><?php echo e($onPm->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php if(!empty($offPms)): ?> <?php $__currentLoopData = $offPms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $offPm): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($offPm->name); ?>" <?php echo e(request()->input('payment_method') == $offPm->name ? 'selected' : ''); ?>><?php echo e($offPm->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </select> </div> <div class="form-group"> <label for="">Payment Status</label> <select name="payment_status" class="form-control ml-1"> <option value="" selected>All</option> <option value="Pending" <?php echo e(request()->input('payment_status') == 'Pending' ? 'selected' : ''); ?>>Pending</option> <option value="Completed" <?php echo e(request()->input('payment_status') == 'Completed' ? 'selected' : ''); ?>>Completed</option> </select> </div> <div class="form-group"> <label for="">Order Status</label> <select name="order_status" class="form-control ml-1"> <option value="" selected>All</option> <option value="pending" <?php echo e(request()->input('order_status') == 'pending' ? 'selected' : ''); ?>>Pending</option> <option value="processing" <?php echo e(request()->input('order_status') == 'processing' ? 'selected' : ''); ?>>Processing</option> <option value="completed" <?php echo e(request()->input('order_status') == 'completed' ? 'selected' : ''); ?>>Completed</option> <option value="rejected" <?php echo e(request()->input('order_status') == 'rejected' ? 'selected' : ''); ?>>Rejected</option> </select> </div> <div class="form-group"> <button type="submit" class="btn btn-primary btn-sm ml-1">Submit</button> </div> </form> </div> <div class="col-lg-2"> <form action="<?php echo e(route('user.orders.export')); ?>" class="form-inline justify-content-end"> <div class="form-group"> <button type="submit" class="btn btn-success btn-sm ml-1" title="CSV Format">Export</button> </div> </form> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($orders) > 0): ?> <div class="table-responsive"> <table class="table table-striped mt-3"> <thead> <tr> <th scope="col">Order Number</th> <th scope="col">Billing Name</th> <th scope="col">Billing Email</th> <th scope="col">Billing Phone</th> <th scope="col">Billing City</th> <th scope="col">Billing Country</th> <th scope="col">Shipping Name</th> <th scope="col">Shipping Email</th> <th scope="col">Shipping Phone</th> <th scope="col">Shipping City</th> <th scope="col">Shipping Country</th> <th scope="col">Gateway</th> <th scope="col">Shipping Method</th> <th scope="col">Payment Status</th> <th scope="col">Order Status</th> <th scope="col">Cart Total</th> <th scope="col">Discount</th> <th scope="col">Tax</th> <th scope="col">Shipping Charge</th> <th scope="col">Total</th> <th scope="col">Date</th> </tr> </thead> <tbody> <?php $__currentLoopData = $orders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $order): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td>#<?php echo e($order->order_number); ?></td> <td><?php echo e($order->billing_fname); ?></td> <td><?php echo e($order->billing_email); ?></td> <td><?php echo e($order->billing_number); ?></td> <td><?php echo e($order->billing_city); ?></td> <td><?php echo e($order->billing_country); ?></td> <td><?php echo e($order->shpping_fname); ?></td> <td><?php echo e($order->shpping_email); ?></td> <td><?php echo e($order->shpping_number); ?></td> <td><?php echo e($order->shpping_city); ?></td> <td><?php echo e($order->shpping_country); ?></td> <td><?php echo e(ucfirst($order->method)); ?></td> <td><?php echo e($order->shipping_method ? $order->shipping_method : '-'); ?></td> <td> <?php if($order->payment_status == 'Pending'): ?> <span class="badge badge-warning">Pending</span> <?php elseif($order->payment_status == 'Completed'): ?> <span class="badge badge-success">Completed</span> <?php endif; ?> </td> <td> <?php if($order->order_status == 'pending'): ?> <span class="badge badge-warning">Pending</span> <?php elseif($order->order_status == 'processing'): ?> <span class="badge badge-primary">Processing</span> <?php elseif($order->order_status == 'completed'): ?> <span class="badge badge-success">Completed</span> <?php elseif($order->order_status == 'rejected'): ?> <span class="badge badge-danger">Rejected</span> <?php endif; ?> </td> <td><?php echo e($userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : ''); ?><?php echo e(round($order->cart_total,2)); ?><?php echo e($userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : ''); ?></td> <td><?php echo e($userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : ''); ?><?php echo e(round($order->discount,2)); ?><?php echo e($userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : ''); ?></td> <td><?php echo e($userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : ''); ?><?php echo e(round($order->tax,2)); ?><?php echo e($userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : ''); ?></td> <td><?php echo e($userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : ''); ?> <?php echo e(round($order->shipping_charge,2)); ?> <?php echo e($userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : ''); ?></td> <td><?php echo e($userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : ''); ?><?php echo e(round($order->total,2)); ?><?php echo e($userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : ''); ?></td> <td> <?php echo e($order->created_at); ?> </td> </tr> <div class="modal fade" id="receiptModal<?php echo e($order->id); ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel">Receipt Image</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <img src="<?php echo e(asset('assets/front/receipt/' . $order->receipt)); ?>" alt="Receipt" width="100%"> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <!-- Send Mail Modal --> <div class="modal fade" id="mailModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered modal-lg" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle">Send Mail</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <form id="ajaxEditForm" class="" action="<?php echo e(route('user.orders.mail')); ?>" method="POST"> <?php echo csrf_field(); ?> <div class="form-group"> <label for="">Client Mail **</label> <input id="inemail" type="text" class="form-control" name="email" value="" placeholder="Enter email"> <p id="eerremail" class="mb-0 text-danger em"></p> </div> <div class="form-group"> <label for="">Subject **</label> <input id="insubject" type="text" class="form-control" name="subject" value="" placeholder="Enter subject"> <p id="eerrsubject" class="mb-0 text-danger em"></p> </div> <div class="form-group"> <label for="">Message **</label> <textarea id="inmessage" class="form-control summernote" name="message" placeholder="Enter message" data-height="150"></textarea> <p id="eerrmessage" class="mb-0 text-danger em"></p> </div> </form> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> <button id="updateBtn" type="button" class="btn btn-primary">Send Mail</button> </div> </div> </div> </div> <?php endif; ?> </div> </div> </div> <?php if(!empty($orders)): ?> <div class="card-footer"> <div class="row"> <div class="d-inline-block mx-auto"> <?php echo e($orders->links()); ?> </div> </div> </div> <?php endif; ?> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/business/public_html/resources/views/user/item/order/report.blade.php ENDPATH**/ ?>
Save