@extends('layouts.master') @section('title') Material Report @endsection @section('page-title') Material Report @endsection @section('body') @endsection @section('content')
Print
logo
{{ $materialReport->company->company_name ?? '' }}

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

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


To,
{{ $materialReport->customer->customer_name ?? 'Customer Name' }}

{{ $materialReport->customerAddress->customer_address ?? 'Customer Address' }}, {{ $materialReport->customerAddress->customer_pincode ?? 'Customer Pincode' }}, {{ $materialReport->customerAddress->area->area_name ?? 'Customer Area' }}, {{ $materialReport->customerAddress->city->city_name ?? 'Customer City' }}, {{ $materialReport->customerAddress->state->state_name ?? 'Customer State' }}, {{ $materialReport->customerAddress->country->country_name ?? 'Customer Country' }},

Phone No: {{ $materialReport->customer->customer_phone_no_1 ?? '001-234-5678' }}

GST No: {{ $materialReport->customer->customer_gstin ?? 'No GST' }}

Request No

{{ $materialReport->material_request_prefix }}/ {{ $materialReport->material_request_financial_year }}/ {{ $materialReport->material_request_number }}

Request Date

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

Delivery Date

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

Installation Date

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


MATERIAL REPORT


@foreach ($categoriesWithSortOrder as $category) @foreach ($category['items'] as $index => $item) @endforeach @endforeach
# Item Brand Model No Size Description Request Qty Issue Qty Return Qty Used Qty UOM
{{ $category['category_name'] }}
{{ $loop->parent->index + 1 }}.{{ $index + 1 }} {{ $item['product_name'] ?? '' }} {{ $item['product_brand'] ?? '' }} {{ $item['model_no'] ?? '' }} {{ $item['size'] ?? '' }} {{ $item['description'] ?? '' }} {{ $item['requested_qty'] ?? '' }} {{ $item['issued_qty'] ?? '' }} {{ $item['returned_qty'] ?? '' }} {{ $item['used_qty'] ?? '' }} {{ $item['uom'] ?? '' }}
@if ($materialReport->material_request_note)
Request Notes:

{!! nl2br(e($materialReport->material_request_note ?? '')) !!}

@endif @if ($materialReport->material_request_terms)
Request Terms:

{!! nl2br(e($materialReport->material_request_terms ?? '')) !!}

@endif
@if ($materialReport->material_request_warehouse_id) @if ($materialReport->material_request_warehouse_id == -1)
Delivery Address:

{{$materialReport->delivery_address}}

@else

@if ($materialReport->warehouse->warehouse_name) Warehouse Name: {!! $materialReport->warehouse->warehouse_name ?? '' !!}

@else @endif

{!! $materialReport->warehouse->warehouse_address ?? '' !!}, {!! $materialReport->warehouse->area->area_name ?? '' !!}, {!! $materialReport->warehouse->city->city_name ?? '' !!}, {!! $materialReport->warehouse->warehouse_pincode ?? '' !!}, {!! $materialReport->warehouse->state->state_name ?? '' !!}, {!! $materialReport->warehouse->country->country_name ?? '' !!}

@endif @endif
From,




{{ $materialReport->company->company_name ?? '' }}
@endsection @section('scripts') @endsection