/
home
/
sjslayjy
/
public_html
/
assets
/
resources
/
views
/
admin
/
stock
/
Upload File
HOME
@extends('layout.master') @push('plugin-styles') <!-- {!! Html::style('/assets/plugins/plugin.css') !!} --> @endpush @section('content') <div class="row"> <div class="col-lg-12 grid-margin"> <div class="card"> <div class="card-body"> <h3 class="card-title">Goods recipt Notes (GRN) Details</h3> <div class="row"> <div class="col-lg-3"> <label>Reference Number : <br/><strong>{{$grn->reference_number}}</strong></label> </div> <div class="col-lg-3"> <label>Invoice Number : <br/><strong>{{$grn->invoice_number}}</strong></label> </div> <div class="col-lg-3"> <label>Invoice Date : <br/><strong>{{$grn->invoice_date}}</strong></label> </div> <div class="col-lg-3"> <label>Indent Number : <br/> <strong>{{$grn->indentNumber}}</strong> </label> </div> </div> <div class="row"> <div class="col-lg-3"> <label>Gate Entry Receipt Number : <br/><strong>{{$grn->gateEntryReceiptNumber}}</strong></label> </div> <div class="col-lg-3"> <label>Gate Entry Date and time : <br/><strong>{{$grn->gateEntryDate}}</strong></label> </div> <div class="col-lg-3"> <label>Entry Name and ATS ID : <br/><strong>{{$grn->entryName}}</strong></label> </div> <div class="col-lg-3"> <label>Phone Number : <br/><strong>{{$grn->phoneNumber}}</strong></label> </div> </div> <div class="row"> <div class="col-lg-3"> <label>WareHouse : <br/><strong>{{$grn->warehouse}}</strong></label> </div> <div class="col-lg-3"> <label>Freight charges : <br/><strong>{{$grn->freightCharges}}</strong></label> </div> <div class="col-lg-3"> <label>Freight GST : <br/><strong>{{$grn->freight_gst}}%</strong></label> </div> <div class="col-lg-3"> <label>Supplierr Name : <br/><strong>{{$grn->supplier_name}}</strong></label> </div> </div> <div class="row"> <div class="col-lg-3"> <label>Rejection Note : <br/><strong>{{$grn->rejection_note}}</strong></label> </div> <div class="col-lg-3"> <label>Tax Inovice</label> @if ($grn->tax_invoice != '') <a href="{{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> @else($grn->tax_invoice == '') <p style="color: red;">Tax Invoice Not Available</p> @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>Delivered Qty</th> <th>Received Qty</th> <th>Accepted Qty</th> <th>Rejected Qty</th> <th>Moved Qty</th> <th>Rate</th> <th>Total</th> </tr> </thead> <tbody> @php $total = 0; $gst_total = 0; $grand_total = 0 ; @endphp @foreach($grn_items as $key => $grn_item) <tr> <td>{{$key+1}}</td> <td>{{$grn_item->item_code}}</td> <td>{{$grn_item->description}}</td> <td>{{$grn_item->uom}}</td> <td>{{$grn_item->delivered_qty}}</td> <td>{{$grn_item->received_qty}}</td> <td>{{$grn_item->accepted_qty}}</td> <td>{{$grn_item->rejected_qty}}</td> <td>{{$grn_item->quantity}}</td> <td>{{$grn_item->rate}}</td> <td >{{$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; @endphp @endforeach @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; @endphp </tbody> <tfoot class="footer"> <tr> <td colspan="10"> Sub Total </td> <td ><span id="sub_total" style="float: right;"> {{$sub_total}} Rs</span></td> </tr> <tr> <td colspan="10">Tax Total </td> <td ><span id="sub_total" style="float: right;"> {{ $gst_total }} Rs</span></td> </tr> <tr> <td colspan="10"> Total </td> <td ><span id="sub_total" style="float: right;"> {{$grand_total}} Rs</span></td> </tr> </tfoot> </table> </div> </div> </div> </div> </div> @endsection @push('plugin-scripts') {!! Html::script('/assets/plugins/chartjs/chart.min.js') !!} {!! Html::script('/assets/plugins/jquery-sparkline/jquery.sparkline.min.js') !!} @endpush @push('custom-scripts') {!! Html::script('/assets/js/dashboard.js') !!} @endpush