{{ $service->company->company_name ?? '' }}

{{ $service->company->company_address ?? '' }}
{{ $service->company->area->area_name ?? '' }}, {{ $service->company->city->city_name ?? '' }}, {{ $service->company->state->state_name ?? '' }}, {{ $service->company->country->country_name ?? '' }}, {{ $service->company->company_pincode ?? '' }}
@if ( $service->company->company_gstin) GST No: {{ $service->company->company_gstin ?? '' }}, @endif Email: {{ $service->company->company_email ?? '' }}
Phone No: {{ $service->company->company_phone_no_1 ?? '' }}, {{ $service->company->company_phone_no_2 ?? '' }}

To,

{{ $service->customer->customer_name ?? '' }}

{{ $service->customerAddress->customer_address ?? '' }}, {{ $service->customerAddress->area->area_name ?? '' }}, {{ $service->customerAddress->city->city_name ?? '' }}, {{ $service->customerAddress->state->state_name ?? '' }}, {{ $service->customerAddress->customer_pincode ?? '' }}, {{ $service->customerAddress->country->country_name ?? '' }}
@if ($service->customer->customer_phone_no_1) Phone No: {{ $service->customerAddress->customer_address_phone_no ?? $service->customer->customer_phone_no_1 }}
@endif @if ($service->customer->customer_gstin) GST No: {{ $service->customer->customer_gstin ?? '' }} @endif

Service No {{ $service->service_prefix }}/{{ $service->service_financial_year }}/{{ $service->service_number }}
Register Date {{ \Carbon\Carbon::parse($service->service_date)->format('d/m/Y') ?? '' }}
Product Category

{{ $service->amc_product_type }}

AMC Type

{{ $service->amc_type }}

AMC Start Date

{{ \Carbon\Carbon::parse($service->amc_start_date)->format('d-m-Y') }}

AMC Period

{{ $service->getReadableAmcPeriod() }}

AMC End Date

{{ \Carbon\Carbon::parse($service->amc_end_date)->format('d-m-Y') }}

AMC Interval Days

{{ $service->amc_service_interval_days }}

AMC SERVICE
Machine Details
@if ($service->amc_product_type == 'FAN') @else @endif @foreach ($service->serviceItems as $serviceItem) @endforeach
Machine No Product Brand TypeFan TypeAc Indoor TypeLocation Model No Serial No
{{$serviceItem->serviceMachines->machine_no}} {{$serviceItem->product_brand->product_brand_name}} {{$serviceItem->service_item_type}} {{$serviceItem->ac_indoor_type}} {{$serviceItem->location}} {{$serviceItem->model_no}} {{$serviceItem->serial_no}}