@extends('layouts.master') @section('title') GRN Detail @endsection @section('page-title') GRN Detail @endsection @section('body') @endsection @section('content')
grn_id) }}" target="_blank" class="btn btn-success me-1"> Print
logo
{{ $grn->company->company_name ?? '' }}

{{ $grn->company->company_address ?? '' }}, {{ $grn->company->area->area_name ?? '' }}, {{ $grn->company->city->city_name ?? '' }}, {{ $grn->company->state->state_name ?? '' }}, {{ $grn->company->country->country_name ?? '' }}, {{ $grn->company->company_pincode ?? '' }}

GST No: {{ $grn->company->company_gstin ?? '' }}, Email: {{ $grn->company->company_email ?? '' }}, Phone No: {{ $grn->company->company_phone_no_1 ?? '' }}


To,
{{ $grn->vendor->vendor_company ?? 'vendor Company Name' }}

{{ $grn->vendor->vendor_address ?? 'Vendor Address' }}, {{ $grn->vendor->vendor_pincode ?? 'Vendor Pincode' }}, {{ $grn->vendor->area->area_name ?? 'Vendor Area' }}, {{ $grn->vendor->city->city_name ?? 'Vendor City' }}, {{ $grn->vendor->state->state_name ?? 'Vendor State' }}, {{ $grn->vendor->country->country_name ?? 'Vendor Country' }},

Phone No: {{ $grn->vendor->vendor_phone_no_1 ?? '001-234-5678' }}

GST No: {{ $grn->vendor->vendor_gstin ?? '001-234-5678' }}

GRN No

{{ $grn->grn_prefix }}/{{ $grn->grn_financial_year }}/{{ $grn->grn_number }}

GRN Date

{{ \Carbon\Carbon::parse($grn->grn_date)->format('d/m/Y') ?? '' }}

PO No

{{ $po->po_prefix }}/{{ $po->po_financial_year }}/{{ $po->po_number }}


GRN


@foreach ($grn->items as $index => $item) @endforeach
# Item Name Brand Model No Size Description Qty UOM Rate Total
{{ $index + 1 }} {{ $item->product->product_name ?? '' }} {{ $item->product->product_brands->product_brand_name ?? '' }} {{ $item->product->product_model_no ?? '' }} {{ $item->product->product_size ?? '' }} {{ $item->item_description ?? '' }} {{ $item->item_qty }} {{ $item->product->product_unit_measurement ?? '' }} {{ number_format($item->item_unit_price, 2) }} {{ number_format($item->item_unit_price * $item->item_qty, 2) }}
Sub Total {{ number_format($grn->grn_sub_total_amount, 2) }}
Tax {{ number_format($grn->grn_tax_rate, 2) }}% {{ number_format($grn->grn_total_tax, 2) }}
Total

{{ number_format($grn->grn_grand_total, 2) }}

@endsection @section('scripts') @endsection