/
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 $__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">Goods Receipt Notes (GRN) Details</h3> <div class="row"> <div class="col-lg-3"> <label>Reference Number : <br/><strong><?php echo e($grn->reference_number); ?></strong></label> </div> <div class="col-lg-3"> <label>Invoice Number : <br/><strong><?php echo e($grn->invoice_number); ?></strong></label> </div> <div class="col-lg-3"> <label>Invoice Date : <br/><strong><?php echo e($grn->invoice_date); ?></strong></label> </div> <div class="col-lg-3"> <label>Indent Number : <br/> <strong><?php echo e($grn->indentNumber); ?></strong> </label> </div> </div> <div class="row"> <div class="col-lg-3"> <label>Gate Entry Receipt Number : <br/><strong><?php echo e($grn->gateEntryReceiptNumber); ?></strong></label> </div> <div class="col-lg-3"> <label>Gate Entry Date and time : <br/><strong><?php echo e($grn->gateEntryDate); ?></strong></label> </div> <div class="col-lg-3"> <label>Entry Name and ATS ID : <br/><strong><?php echo e($grn->entryName); ?></strong></label> </div> <div class="col-lg-3"> <label>Phone Number : <br/><strong><?php echo e($grn->phoneNumber); ?></strong></label> </div> </div> <div class="row"> <div class="col-lg-3"> <label>WareHouse : <br/><strong><?php echo e($grn->warehouse); ?></strong></label> </div> <div class="col-lg-3"> <label>Freight charges : <br/><strong><?php echo e($grn->freightCharges); ?></strong></label> </div> <div class="col-lg-3"> <label>Freight GST : <br/><strong><?php echo e($grn->freight_gst); ?>%</strong></label> </div> <div class="col-lg-3"> <label>Supplierr Name : <br/><strong><?php echo e($grn->supplier_name); ?></strong></label> </div> </div> <div class="row"> <div class="col-lg-3"> <label>Rejection Note : <br/><strong><?php echo e($grn->rejection_note); ?></strong></label> </div> <div class="col-lg-3"> <label>Tax Inovice</label> <?php if($grn->tax_invoice != ''): ?> <a href="<?php echo e(URL::to($grn->tax_invoice)); ?>" target="_blank" title="" class=""><i class="fa fa-file-pdf-o fa-lg" aria-hidden="true"></i></br>View Invoice</a> <?php else: ?> <p style="color: red;">Tax Invoice Not Available</p> <?php endif; ?> </div> </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-4"> <h4 class="card-title">Authorized Spare Parts List</h4> </div> </div> <div class="table-responsive"> <table class="table table-striped table-bordered"> <thead> <tr> <th>S No.</th> <th>Item Code</th> <th>Item Description </th> <th>Unit</th> <th>PO Qty</th> <th>Balance Qty</th> <th>Received Qty</th> <th>Rate</th> <th>Total</th> </tr> </thead> <tbody> <?php $total = 0; $gst_total = 0; $grand_total = 0 ; ?> <?php $__currentLoopData = $grn_items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $grn_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($key+1); ?></td> <td><?php echo e($grn_item->item_code); ?></td> <td><?php echo e($grn_item->description); ?></td> <td> <?php if($grn_item->uom == 1): ?> PCS <?php elseif($grn_item->uom == 2): ?> LTR <?php elseif($grn_item->uom == 3): ?> SET <?php elseif($grn_item->uom == 4): ?> KG <?php elseif($grn_item->uom == 5): ?> SQM <?php elseif($grn_item->uom == 6): ?> MTR <?php elseif($grn_item->uom == 7): ?> ROLL <?php elseif($grn_item->uom == 8): ?> NOs <?php elseif($grn_item->uom == 9): ?> Km <?php elseif($grn_item->uom == 10): ?> Site <?php elseif($grn_item->uom == 11): ?> Pair <?php elseif($grn_item->uom == 12): ?> LS <?php elseif($grn_item->uom == 13): ?> Pack <?php elseif($grn_item->uom == 14): ?> Monthly <?php elseif($grn_item->uom == 15): ?> Quarterly <?php elseif($grn_item->uom == 16): ?> Half Yearly <?php elseif($grn_item->uom == 17): ?> Yearly <?php else: ?> <?php echo e($grn_item->uom); ?> <?php endif; ?> </td> <td><?php echo e($grn_item->po_qty); ?></td> <td><?php echo e($grn_item->available_in_grn); ?></td> <td><?php echo e($grn_item->quantity); ?></td> <td><?php echo e($grn_item->rate); ?></td> <td ><?php echo e($grn_item->amount); ?></td> </tr> <?php $sub_total = $grn_item->quantity*$grn_item->rate; $total = $total + $sub_total; $sub_gst_total = ($sub_total*$grn_item->gst_slab_rates)/100; $gst_total = $gst_total + $sub_gst_total; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php if($grn->freightCharges != ""){ $f_gst = ($grn->freightCharges*$grn->freight_gst)/100; $gst_total = $gst_total + $f_gst ; } $grand_total = $total + $gst_total + $grn->freightCharges; ?> </tbody> <tfoot class="footer"> <tr> <td colspan="8"> Sub Total </td> <td ><span id="sub_total" style="float: right;"> <?php echo e($sub_total); ?> Rs</span></td> </tr> <tr> <td colspan="8">Tax Total </td> <td ><span id="sub_total" style="float: right;"> <?php echo e($gst_total); ?> Rs</span></td> </tr> <tr> <td colspan="8"> Total </td> <td ><span id="sub_total" style="float: right;"> <?php echo e($grand_total); ?> Rs</span></td> </tr> </tfoot> </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 $__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/admin/stock/view-mrn.blade.php ENDPATH**/ ?>