Spamworldpro Mini Shell
Spamworldpro


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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/demo.cartinsight.co/storage/framework/views/44637b9f9c7964b08dc3336d007082f0.php
<?php $__env->startSection('css'); ?>
    <style>
        .p-img {
            vertical-align: middle !important;
            text-align: center;
            background-color: white !important;
        }

        .p-img img {
            max-width: 100px;
            max-height: 100px;
        }

        .r-c {
            padding: 0 !important;
        }

        .r-c span {
            display: block;
            margin-bottom: 3px;
            padding: 0 5px;
        }

        .r-c .s-e {
            background-color: #e7e7e7;
        }

        .r-c .s-o {
            background-color: #f7f7f7;
        }

        .smm {
            background-color: #f0f0ff
        }
        thead{
            background-color: #d3cefc
        }
        .table > thead > tr > th {
            border-bottom: 0;
            border-top: 0;
        }
        .fixed-header-table thead{
            background-color: #d3cefc;
            position: -webkit-sticky;
            position: sticky !important;
            top: 0 !important;
            z-index: 2;
        }

        .fixed-header-table thead th span {
            display: block;
            padding: 4px;
        }

        .fixed-header-table {
            position: relative;
            overflow-y: auto;
            height: 600px;
        }
    </style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('table'); ?>
    <div class="row">
        <div class="col-md-12">
            <div class="table-responsive fixed-header-table">
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <?php $__currentLoopData = $report->getColumnsValues(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $column => $attr): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if($attr == 'Replenishment'): ?>
                                <th colspan="6" style="<?php echo e(data_get($attr,'style')); ?>"
                                    class="<?php echo e(data_get($attr,'class')); ?> text-center">
                            <?php else: ?>
                                <th style="<?php echo e(data_get($attr,'style')); ?>" class="<?php echo e(data_get($attr,'class')); ?>"
                                    rowspan="2">
                                    <?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>
                    <tr>
                        <?php $__currentLoopData = $report->getColumnsValues(null,null,false,true); $__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(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->groupBy->product_id; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $variations): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                        <?php $__currentLoopData = $variations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $variation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <?php $__currentLoopData = $report->getColumnsValues($variations,$variation,$loop->first); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $column => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php if($column =='Image' && !$value): ?>
                                        <?php continue; ?>
                                    <?php elseif($column =='Image'): ?>
                                        <td rowspan="<?php echo e(count($variations)); ?>" class="p-img">
                                            <?php echo $value; ?>

                                        </td>
                                    <?php elseif($column == 'Replenishment'): ?>
                                        <?php $__currentLoopData = $value; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$replenishment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <td class="r-c">
                                                <?php $__currentLoopData = $replenishment; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $replenishment_column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <span class="<?php echo e($loop->index%2?'s-o':'s-e'); ?>"><?php echo e($replenishment_column); ?></span>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </td>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <?php else: ?>
                                        <td>
                                            <?php echo $value; ?>

                                        </td>
                                    <?php endif; ?>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                        <tr class="smm">
                            <td colspan="6"></td>
                            <td>
                                <?php echo e($variations->sum(function ($p) {
                                        return $p->stock_quantity + $p->total_sales_qty;
                                  })); ?>

                            </td>
                            <td>
                                <?php echo e(($variations->sum->total_sales_qty)); ?>

                            </td>
                            <td>
                                <?php echo e(($variations->sum->stock_quantity)); ?>

                            </td>
                            <td colspan="10"></td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                        <tr>
                            <td colspan="19" class="text-center">
                                No Data Found!
                            </td>
                        </tr>
                    <?php endif; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('WooCommerce::reports.layouts.report_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/aging.blade.php ENDPATH**/ ?>

Spamworldpro Mini