Path : /var/www/html/jewelry-pos/storage/framework/views/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/html/jewelry-pos/storage/framework/views/b3833ebee4afd6fdcd6a79696ff7cca0.php |
<?php $__env->startSection('content'); ?> <div class="" style="display: flex;justify-content: center;width: 100%;height: 100%;background-color: #eee;"> <div class="text-center mt-4 ml-4 notPrint" style="width: 5%;; height: 50%;"> <a href="<?php echo e(route('build-stock-product-date.index' , $id)); ?>" id="back" name="back" class="btn-sm btn-danger mt-6 fw-bold notPrint" style="cursor: pointer;color: white;">Back</a> </div> <div class="" style="height: 100%;width: 90%;"> <div class="text-center bg-white print" id="print" style="width: 100%;height: 100%;margin: auto;color: rebeccapurple"> <div class="row" style="display: flex;justify-content: center;align-items: center;color: rebeccapurple;"> <div class="col-sm-6 col-xl-6 p-2" style="border: 1px solid rebeccapurple;display: flex;justify-content: center;align-items: center;"> <h1 style="font-weight: bold;font-size: 24px"><?php echo e($settings_->shop_name); ?></h1> </div> </div> <div class="row m-2"> <div class="col-sm-6 col-xl-8 text-left mt-4" style="font-size: 14px;"> <?php echo e(__('message.user')); ?> : <b><?php echo e(Auth::user()->name); ?></b> </div> <div class="col-sm-6 col-xl-4 text-right mt-4" style="font-size: 14px;"> <?php echo e(__('message.invoice date')); ?> : <b><?php echo e(now()->format('d-m-Y H:i')); ?></b> </div> </div> <div class="row m-2"> <div class="col-sm-8 col-xl-8 text-left mt-4" style="font-size: 14px"> <?php echo e(__('message.location')); ?> : <b><?php echo e($settings_->address); ?></b> </div> <div class="col-sm-4 col-xl-4 text-right mt-4" style="font-size: 14px;"> <?php echo e(__('message.phone number')); ?> : <b><?php echo e($settings_->phone); ?></b> </div> </div> <div class="row m-2"> <div class="col-sm-4 col-xl-4 text-right mt-4" style="font-size: 14px;"> </div> </div> <div class="row mt-4" style="display: flex;justify-content: center;align-items: center;color: rebeccapurple;"> <div class="col-sm-6 col-xl-12 p-2 text-center" style="display: flex;justify-content: center;align-items: center;"> <h1 style="font-weight: bold;border-bottom: 2px solid rebeccapurple;font-size: 18px" class=""><?php echo e(__('message.stock balance report')); ?></h1> </div> </div> <div class="row ml-2 mt-2" style="width: 98%;display: flex;justify-content: center;align-items: center"> <table class="table table-bordered table-hover table-striped"> <thead class="bg-fusion-50 text-center"> <tr> <th>#</th> <th><?php echo e(__('message.product category')); ?></th> <th><?php echo e(__('message.qty')); ?></th> <th><?php echo e(__('message.cost')); ?></th> <th><?php echo e(__('message.original wages')); ?></th> <th><?php echo e(__('message.total cost supplier')); ?></th> </tr> </thead> <tbody> <?php $main_qty = 0; $child_qty = 0; $sum_cost_product_main = 0; $sum_cost_fee_main = 0; $sum_cost_product_child = 0; $sum_cost_fee_child = 0; ?> <?php $__currentLoopData = $productCategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $productCategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($productCategory->name != $platinume_Category->name): ?> <tr> <td><?php echo e($index+1); ?></td> <td><?php echo e($productCategory->name); ?></td> <td><?php echo e($productCategory->product->sum('qty')); ?></td> <td><?php echo e(number_format($productCategory->product->sum('cost') - $productCategory->product->sum('original_wages') , 2)); ?> <?php echo e($currency_->currency_symbol); ?></td> <td><?php echo e(number_format($productCategory->product->sum('original_wages') , 2)); ?> <?php echo e($currency_->currency_symbol); ?></td> <td style="font-weight: bold !important"><?php echo e(number_format($productCategory->product->sum('cost') , 2)); ?> <?php echo e($currency_->currency_symbol); ?></td> </tr> <?php $main_qty += $productCategory->product->sum('qty'); $sum_cost_product_main += $productCategory->product->sum('cost'); $sum_cost_fee_main += $productCategory->product->sum('original_wages'); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php $__currentLoopData = $child_p; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i => $p): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <?php if($i == 0): ?> <?php echo e($index+2); ?> <?php else: ?> <?php echo e($index+2+$i); ?> <?php endif; ?> </td> <td><?php echo e($p->name); ?></td> <td><?php echo e($p->product->sum('qty')); ?></td> <td><?php echo e(number_format($p->product->sum('cost') - $p->product->sum('original_wages') , 2)); ?> <?php echo e($currency_->currency_symbol); ?></td> <td><?php echo e(number_format($p->product->sum('original_wages') , 2)); ?> <?php echo e($currency_->currency_symbol); ?></td> <td style="font-weight: bold !important"><?php echo e(number_format($p->product->sum('cost') , 2)); ?> <?php echo e($currency_->currency_symbol); ?></td> </tr> <?php $child_qty += $p->product->sum('qty'); $sum_cost_product_child += $p->product->sum('cost'); $sum_cost_fee_child += $p->product->sum('original_wages'); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <tr> <td colspan="2" style="font-weight: bold !important;font-size:18px"><?php echo e(__('message.total')); ?> : </td> <td style="font-size:18px"><?php echo e($main_qty + $child_qty); ?></td> <td><?php echo e(number_format(($sum_cost_product_main+$sum_cost_product_child) - ($sum_cost_fee_main+$sum_cost_fee_child) , 2)); ?> <?php echo e($currency_->currency_symbol); ?></td> <td><?php echo e(number_format($sum_cost_fee_main+$sum_cost_fee_child , 2)); ?> <?php echo e($currency_->currency_symbol); ?></td> <td style="font-weight: bold !important"><?php echo e(number_format(($sum_cost_product_main+$sum_cost_product_child) , 2)); ?> <?php echo e($currency_->currency_symbol); ?></td> </tr> <!-- <?php if($productCategory): ?> <tr style="font-weight:400;font-size:16px;background-color: #99b288;"> <th colspan="5" style="text-align: right;"> <?php echo e(__('message.total')); ?> : </th> <th colspan="" style="text-align: left;" class="credit"> <?php echo e(number_format($totalQty,0)); ?> </th> <th colspan="" style="text-align: left;" class="credit"> <?php echo e(number_format($totalCost - $totalOriginalWage,2)); ?> <?php echo e($currency_->currency_symbol??''); ?> </th> <th colspan="" style="text-align: left;" class="credit"> <?php echo e(number_format($totalOriginalWage,2)); ?> <?php echo e($currency_->currency_symbol??''); ?> </th> <th class="credit"><?php echo e(number_format($totalCost , 2)); ?></th> <th colspan="" class="credit"> <?php echo e(number_format($totalWeight ,2)); ?> </th> <th colspan="" style="text-align: left;" class="credit"> <?php echo e(number_format($totalGoldWeight,2)); ?> </th> <th></th> <th class="credit"> <?php echo e(number_format($totalWage,2)); ?> <?php echo e($currency_->currency_symbol??''); ?> </th> <th colspan="" style="text-align: center;" class="credit"> <?php echo e(number_format($totalPrice,2)); ?> <?php echo e($currency_->currency_symbol??''); ?> </th> </tr> <?php else: ?> <tr style="font-weight:400;font-size:16px;background-color: #99b288;"> <th colspan="5" style="text-align: right;"> <?php echo e(__('message.total')); ?> : </th> <th colspan="" style="text-align: left;" class="credit"> <?php echo e(number_format($totalQty,0)); ?> </th> <th colspan="" style="text-align: left;" class="credit"> <?php echo e(number_format($totalCost - $totalOriginalWage,2)); ?> <?php echo e($currency_->currency_symbol??''); ?> </th> <th colspan="" style="text-align: left;" class="credit"> <?php echo e(number_format($totalOriginalWage,2)); ?> <?php echo e($currency_->currency_symbol??''); ?> </th> <th class="credit"><?php echo e(number_format($totalCost , 2)); ?></th> <th colspan="" class="credit"> <?php echo e(number_format($totalWeight ,2)); ?> </th> <th colspan="" style="text-align: left;" class="credit"> </th> <th></th> <th class="credit"> </th> <th colspan="" style="text-align: center;" class="credit"> </th> </tr> <?php endif; ?> --> </tbody> </table> </div> </div> </div> <div class="text-center mt-4 mr-4 notPrint" style="width: 5%;; height: 50%;"> <a id="print" name="print" class="btn-sm btn-info mt-6 fw-bold notPrint" onclick="return print()" style="cursor: pointer;color: white;">Print</a> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> window.print(); setTimeout(function closePrintView(){ window.location.href = "<?php echo e(route('build-stock-product-date.index', $id)); ?>"; }, 1000); $(document).ready(function() { $("#js-nav-menu").removeClass('active'); $("#js-nav-menu li ul li").removeClass('active'); $("#menu_stock_list").addClass('active open'); $("#collapse_stock").addClass('collapse in') $("#menu_building_stock").addClass('active') }) </script> <?php $__env->stopSection(); ?> <?php $__env->startSection('meta'); ?> <title><?php echo e(__('message.building stock')); ?> - <?php echo e($settings_->shop_name); ?></title> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin-main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/jewelry-pos/resources/views/build-stock-dates/print-category.blade.php ENDPATH**/ ?>