@extends('layouts.app') {{--Important Variables--}} @section('title') GRN PREVIEW @stop @section('top-bar') @include('includes.top-bar') @stop @section('left-sidebar') @include('includes.left-sidebar') @stop @section('content') @php // $grnTransaction = App\Models\Transaction::where('reference_id', $grn->id)->where('voucher_type', 'GRN')->first(); $transaction = new App\Models\Transaction(); $common_helper = new App\Helpers\CommonHelper(); @endphp

GRN Preview

{{ $grn->grn_no }}


SNo. Project Name Vendor Name Purchase Order No Purchase Order Date Receiving Date
{{ 1 }} {{ $grn->purchase_order->branch->name }} {{ $grn->purchase_order->vendor->name }} {{ $grn->purchase_order->purchase_id }} {{ $transaction->date_format($grn->purchase_order->issuing_date) }} {{ $transaction->date_format($grn->receiving_date) }}

Items @foreach ($grn->grn_item as $grn_item) @endforeach
SNo. Item/Unit Requested Quantity Received Quantity Rate {{$transaction->systemSettingCurrency()}} Total {{$transaction->systemSettingCurrency()}}
{{ 1 }} {{ $grn_item->item->name }} ({{ $grn_item->item->unit }}) {{ $grn_item->quantity }} {{ $grn_item->quantity_received }} {{ $grn_item->purchase_order_item->rate }} {{ $transaction->convert_money_format($grn_item->quantity_received * $grn_item->purchase_order_item->rate) }}
@stop @push('include-css') @endpush @push('include-js') @endpush