관리-도구
편집 파일: ac91d913bf0979763907ecc946a7733ed41e5400.php
<?php $__env->startSection('content'); ?> <div class="row"> <div class="col-12"> <div class="alert alert-info"> <strong><?php echo e(_lang('All amounts are showing in base currency').' ('.currency().')'); ?></strong> </div> <div class="card"> <div class="card-header"> <span class="panel-title"><?php echo e(_lang('Customer Order Report')); ?></span> </div> <div class="card-body"> <div class="report-params"> <form class="validate" method="post" action="<?php echo e(route('reports.order_report')); ?>"> <div class="row"> <?php echo e(csrf_field()); ?> <div class="col-md-2"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Start Date')); ?></label> <input type="text" class="form-control datepicker" name="date1" id="date1" value="<?php echo e(isset($date1) ? $date1 : old('date1')); ?>" readOnly="true" required> </div> </div> <div class="col-md-2"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('End Date')); ?></label> <input type="text" class="form-control datepicker" name="date2" id="date2" value="<?php echo e(isset($date2) ? $date2 : old('date2')); ?>" readOnly="true" required> </div> </div> <div class="col-md-3"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Order Status')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e(isset($order_status) ? $order_status : old('order_status')); ?>" name="order_status" id="order_status"> <option value=""><?php echo e(_lang('All')); ?></option> <option value="pending_payment"><?php echo e(_lang('Pending Payment')); ?></option> <option value="pending"><?php echo e(_lang('Pending')); ?></option> <option value="completed"><?php echo e(_lang('Completed')); ?></option> <option value="on_hold"><?php echo e(_lang('On Hold')); ?></option> <option value="processing"><?php echo e(_lang('Processing')); ?></option> <option value="refunded"><?php echo e(_lang('Refunded')); ?></option> <option value="canceled"><?php echo e(_lang('Canceled')); ?></option> </select> </div> </div> <div class="col-md-3"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Customer Email')); ?></label> <input type="text" class="form-control" name="customer_email" id="customer_email" value="<?php echo e(isset($customer_email) ? $customer_email : old('customer_email')); ?>"> </div> </div> <div class="col-md-2"> <button type="submit" class="btn btn-light btn-xs mt-26"><i class="ti-filter"></i> <?php echo e(_lang('Filter')); ?></button> </div> </form> </div> </div><!--End Report param--> <?php $date_format = get_option('date_format','Y-m-d'); ?> <?php $currency = currency(); ?> <div class="report-header"> <h4><?php echo e(_lang('Customer Order Report')); ?></h4> <h5><?php echo e(isset($date1) ? date($date_format, strtotime($date1)).' '._lang('to').' '.date($date_format, strtotime($date2)) : '---------- '._lang('to').' ----------'); ?></h5> </div> <table class="table table-bordered report-table"> <thead> <th><?php echo e(_lang('Name')); ?></th> <th><?php echo e(_lang('Email')); ?></th> <th><?php echo e(_lang('Type')); ?></th> <th><?php echo e(_lang('Orders')); ?></th> <th><?php echo e(_lang('Products')); ?></th> <th class="text-right"><?php echo e(_lang('Total Spend')); ?></th> </thead> <tbody> <?php if(isset($report_data)): ?> <?php $__currentLoopData = $report_data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $report): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($report->customer_name); ?></td> <td><?php echo e($report->customer_email); ?></td> <td><?php echo e($report->customer_id != NULL ? _lang('Customer') : _lang('Guest')); ?></td> <td><?php echo e($report->total_orders); ?></td> <td><?php echo e($report->total_products); ?></td> <td class="text-right"><?php echo xss_clean(decimalPlace($report->total, $currency)); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/customamgdigital/saintsaccessories.custom.amgdigitalagency.com/resources/views/backend/reports/order_report.blade.php ENDPATH**/ ?>