/
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"> <div class="row grid-margin"> <div class="col-lg-8"> <h4 class="card-title"> Spares in Suppnt Stocks</h4> </div> <div class="col-lg-2" > </div> </div> <div class="row"> <div class="col-lg-12"> <ul class="nav nav-tabs" id="myTab" role="tablist"> <li class="nav-item waves-effect waves-light"> <a class="nav-link active" id="fresh_qty" data-toggle="tab" href="#fresh" role="tab" aria-controls="fresh" aria-selected="false">Fresh Spares</a> </li> <li class="nav-item waves-effect waves-light"> <a class="nav-link" id="repaired_qty" data-toggle="tab" href="#repaired" role="tab" aria-controls="repaired" aria-selected="false">Repaired Spares</a> </li> </ul> <div class="tab-content" id="myTabContent"> <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> Fresh Value</th> </tr> </thead> <tbody> <?php $__currentLoopData = $fresh_stocks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $fresh_stock): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <?php echo e($fresh_stock->spare_code); ?> </td> <td ><?php echo e($fresh_stock->description); ?></td> <td> <?php echo e($fresh_stock->available_qty); ?></td> <td> <?php echo e($fresh_stock->rate); ?></td> <td> <?php echo e($fresh_stock->rate*$fresh_stock->available_qty); ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> <div class="tab-pane fade" id="repaired" role="tabpanel" aria-labelledby="repaired_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> Repaired Value</th> </tr> </thead> <tbody> <?php $__currentLoopData = $repaired_stocks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $repaired_stock): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <?php echo e($repaired_stock->spare_code); ?> </td> <td ><?php echo e($repaired_stock->description); ?></td> <td> <?php echo e($repaired_stock->available_qty); ?></td> <td> <?php echo e($repaired_stock->rate); ?></td> <td> <?php echo e($repaired_stock->rate*$repaired_stock->available_qty); ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> <div class="col-lg-12 grid-margin"> <div class="card"> <div class="card-body"> <h3 class="card-title">Spare Quantity in Circle Stocks</h3> <div class="table-responsive"> <table class="table myTable"> <thead> <tr> <th> Item Code </th> <th > Item Description </th> <th> Fresh</th> <th> Repaired</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->fresh_qty); ?></label></td> <td><label class="badge badge-warning"><?php echo e($part_in_stock->repaired_qty); ?></label></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </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 /home/sjslayjy/public_html/assets/resources/views/circle-store/suppnt-in-stock.blade.php ENDPATH**/ ?>