![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/demo.cartinsight.co/storage/framework/views/ |
<?php $__env->startSection('content_header'); ?> <?php $__env->startComponent('components.content_header'); ?> <?php $__env->slot('page_title'); ?> <?php echo e($title); ?> <?php $__env->endSlot(); ?> <?php $__env->slot('breadcrumb'); ?> <?php echo e(Breadcrumbs::render(request()->segment(2))); ?> <?php $__env->endSlot(); ?> <?php echo $__env->renderComponent(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('css'); ?> <style> .table-head { background-color: #d3cefc; } .table-head a { color: #000; } .td-sm { min-width: 70px !important; } .td-md { min-width: 200px !important; } .td-lg { min-width: 300px !important; } table { font-size: 12px !important; } table th { min-width: 100px !important; } .wmd-view-topscroll, .wmd-view { overflow-x: scroll; overflow-y: hidden; border: none 0px RED; } .wmd-view-topscroll { height: 20px; } .scroll-div1 { overflow-x: scroll; overflow-y: hidden; height: 20px; } th { position: relative; padding: 8px 10px; } th a.sorting { position: absolute; top: 8px; } th a.sorting:hover .fa { color: white !important; } th a.sorting .fa { font-size: 10px !important; } th a.sort-desc { right: 5px; } th a.sort-asc { right: 0; } .fa-sort-asc::before { content: "\2191" !important; } .fa-sort-desc::before { content: "\2193" !important; } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('title',$title); ?> <?php $__env->startSection('content'); ?> <?php if($report->hasFilters): ?> <?php $__env->startComponent('components.box',['box_title'=>'Filters']); ?> <?php echo CoralsForm::openForm(null,['method'=>'GET', 'class'=>'']); ?> <?php echo $__env->make('Report::reports.partials.filters', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo CoralsForm::closeForm(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php echo (new \Corals\Foundation\Shortcodes\Service\Widget)->get('ReportSummery',['reportKey'=> $reportKey ]); ?> <?php $__env->startComponent('components.box',['box_title'=>$title, 'box_class'=>'box-primary']); ?> <div class="wmd-view-topscroll"> <div class="scroll-div1"> </div> </div> <?php if (! empty(trim($__env->yieldContent('table')))): ?> <?php echo $__env->yieldContent('table'); ?> <?php else: ?> <div class="row"> <div class="col-md-12"> <div class="table-responsive"> <table class="table table-striped table-hover "> <thead> <tr class="table-head"> <?php $__currentLoopData = $report->getColumnsValues(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $column => $attr): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <th style="<?php echo e(data_get($attr,'style')); ?>" class="<?php echo e(data_get($attr,'class')); ?>"> <?php if(data_get($attr,'sortable',false)): ?> <?php echo $report->columnSortHrefElement($attr); ?> <?php endif; ?> <?php if(is_array($attr)): ?> <?php echo $column; ?> <?php else: ?> <?php echo $attr; ?> <?php endif; ?> </th> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> </thead> <tbody> <?php $__empty_1 = true; $__currentLoopData = $records; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $order): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <?php $__currentLoopData = $report->getColumnsValues($order); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $column => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <th> <?php echo $value; ?> </th> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <tr> <td colspan="<?php echo e(count($report->getColumnsValues())); ?>" class="text-center"> No Data Found! </td> </tr> <?php endif; ?> </tbody> </table> <?php echo $records->appends(request()->except('page'))->links(); ?> </div> </div> </div> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?> <?php echo \Illuminate\View\Factory::parentPlaceholder('js'); ?> <script> $(function () { $(".wmd-view-topscroll, .wmd-view").css({ 'width': ($(".table-responsive").width() + 'px') }); $(".scroll-div1").css({ 'width': ($(".table").width() + 'px') }) $(".wmd-view-topscroll").scroll(function () { $(".table-responsive") .scrollLeft($(".wmd-view-topscroll").scrollLeft()); }); $(".table-responsive").scroll(function () { $(".wmd-view-topscroll") .scrollLeft($(".wmd-view").scrollLeft()); }); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/corals/demo.woobi.io/vendor/corals/woocommerce-reporting/src/WooCommerce/resources/views/reports/layouts/report_master.blade.php ENDPATH**/ ?>