@extends('layouts.master') @section('title', 'Vendor Report') @section('body')
@endsection @section('content')| Total PO | {{ $pos->count() }} | Total GRN | {{ $grns->count() }} |
|---|---|---|---|
| Total PO Items | {{ $poItems->count() }} | Total GRN Items | {{ $grnItems->count() }} |
| PO Date | PO Number | Company | Total Amount |
|---|---|---|---|
| {{ \Carbon\Carbon::parse($po->po_date)->format('d/m/Y') }} | {{ $po->po_prefix }}/{{ $po->po_financial_year }}/{{ $po->po_number }} | {{ $po->company->company_name ?? '' }} | {{ $po->po_grand_total }} |
| GRN Date | GRN Number | PO Number | Total Amount |
|---|---|---|---|
| {{ \Carbon\Carbon::parse($grn->grn_date)->format('d/m/Y') }} | {{ $grn->grn_prefix }}/{{ $grn->grn_financial_year }}/{{ $grn->grn_number }} | {{ $grn->po->po_prefix ?? '' }}/{{ $grn->po->po_financial_year ?? '' }}/{{ $grn->po->po_number ?? '' }} | {{ $grn->grn_grand_total }} |
| Item Name | Qty | Unit Price | Sub Total |
|---|---|---|---|
| {{ $item->item_name }} | {{ $item->item_qty }} | {{ $item->item_unit_price }} | {{ $item->item_sub_total }} |
| Item Name | Received Qty | Unit Price | Sub Total |
|---|---|---|---|
| {{ $item->item_name }} | {{ $item->received_qty }} | {{ $item->item_unit_price }} | {{ $item->item_sub_total }} |