/
home
/
sjslayjy
/
public_html
/
assets
/
storage
/
framework
/
views
/
Upload File
HOME
<?php $__env->startPush('plugin-styles'); ?> <!-- <?php echo Html::style('/assets/plugins/plugin.css'); ?> --> <?php echo Html::style('//cdn.datatables.net/1.10.23/css/jquery.dataTables.min.css'); ?> <style type="text/css"> .table th, .table td { white-space: break-spaces !important; } .table-responsive{ margin: 20px 0; } </style> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-lg-12 grid-margin"> <div class="card"> <div class="card-body"> <h3 class="card-title">Spare Quantity in Scrap Zone</h3> <div class="table-responsive"> <table class="table myTable"> <thead> <tr> <th> Item Code </th> <th > Item Description </th> <th> Faulty </th> </tr> </thead> <tbody id="stock_list"> <?php $__currentLoopData = $stocks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $part_in_stock): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td class="font-weight-medium"><?php echo e($part_in_stock->spare_code); ?></td> <td ><?php echo e($part_in_stock->description); ?></td> <td><label class="badge badge-success"><?php echo e($part_in_stock->faulty_qty); ?></label></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> <div class="col-lg-12 grid-margin"> <div class="card"> <div class="card-body"> <div class="row grid-margin"> <div class="col-lg-8"> <h4 class="card-title"> Spares in Scrap Zone </h4> </div> <div class="col-lg-2" > </div> </div> <div class="row"> <div class="col-lg-12"> <div class="tab-pane active show fade" id="fresh" role="tabpanel" aria-labelledby="fresh_qty"> <div class="table-responsive"> <table class="table myTable" > <thead> <tr> <th> Item Code </th> <th > Item Description </th> <th> Qty</th> <th> Rate</th> <th> Faulty Value</th> </tr> </thead> <tbody> <?php $__currentLoopData = $faulty_stocks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $faulty_stock): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <?php echo e($faulty_stock->spare_code); ?> </td> <td ><?php echo e($faulty_stock->description); ?></td> <td> <?php echo e($faulty_stock->available_qty); ?></td> <td> <?php echo e($faulty_stock->rate); ?></td> <td> <?php echo e($faulty_stock->rate*$faulty_stock->available_qty); ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('plugin-scripts'); ?> <?php echo Html::script('/assets/plugins/chartjs/chart.min.js'); ?> <?php echo Html::script('/assets/plugins/jquery-sparkline/jquery.sparkline.min.js'); ?> <?php $__env->stopPush(); ?> <?php $__env->startPush('custom-scripts'); ?> <?php echo Html::script('/assets/js/dashboard.js'); ?> <?php echo Html::script('//cdn.datatables.net/1.10.23/js/jquery.dataTables.min.js'); ?> <script type="text/javascript"> $(document).ready( function () { $('.myTable').DataTable(); } ); function get_spare_of_warehouse(t) { var warehouse = $(t).val(); var url = window.location.origin+'/circle-store/spares-in-stock/?circle='+warehouse; window.location.replace(url); } function downloadNow(){ var warehouse = $(t).val(); var url = window.location.origin+'/circle-store/export-spare-stock/?circle='+warehouse; window.location.href = url; } </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/assets/resources/views/circle-store/faulty-in-stock.blade.php ENDPATH**/ ?>