/
home
/
sjslayjy
/
public_html
/
assets
/
resources
/
views
/
exports
/
Upload File
HOME
<table> <thead> <tr> <th colspan="16" style="text-align:center;font-size:20px;">Goods Receipt Notes</th> <th></th> </tr> <tr> <th>GRN No</th> <th>GRN Date</th> <th>Ref DocNo</th> <th>Item Code</th> <th>Item Description</th> <th>Supplier Name</th> <th>Supplier Invoice Number</th> <th>Supplier Invoice Date</th> <th>Delivery Qty</th> <th>Rate</th> <th>Amount<br>Excluding Tax</th> <th>Tax Amount</th> <th>Fright Amount</th> <th>Sup Code</th> <th>Ware House </th> <!-- <th>PKTS</th> --> <th>Transporter Details</th> <th>E Way Bill</th> <!-- <th>Vehicle No</th> --> </tr> </thead> <tbody> @foreach($mrns as $mrn) @php $supplier_name = ''; $supplier_code = ''; if(array_key_exists($mrn->reference_number, $all_suppliers)) { $supplier_name = $all_suppliers[$mrn->reference_number]['vendor_name']; $supplier_code = $all_suppliers[$mrn->reference_number]['vendor_code']; } @endphp <tr> <td>{{$mrn->grn_no}}</td> <td>{{$mrn->grn_date}}</td> <td>{{$mrn->reference_number}}</td> <td>{{$mrn->item_code}}</td> <td>{{$mrn->item_discription}}</td> <td>{{ $supplier_name }}</td> <td>{{$mrn->invoice_number}}</td> <td>{{$mrn->invoice_date}}</td> <td>{{$mrn->quantity}}</td> <td>{{$mrn->rate}}</td> <td>{{$mrn->amount}}</td> <td>{{$mrn->tax_amount}}</td> <!-- <td>{{$mrn->freightCharges}}</td> --> @if($mrn_no != $mrn->grn_no) <td>{{$mrn->freightCharges}}</td> @else <td></td> @endif @php $mrn_no = $mrn->grn_no; @endphp <td>{{ $supplier_code }}</td> <td>{{$mrn->warehouse}}</td> <!-- <td></td> --> <td>{{$mrn->transporter_details}}</td> <td>{{$mrn->eway_bill_no}}</td> <!-- <td></td> --> </tr> @endforeach </tbody> </table>