@extends('layouts.master') @section('title') Service Detail @endsection @section('page-title') Service Detail @endsection @section('body')
@endsection @section('content')
{{ optional($service->company)->company_address }}, {{ optional(optional($service->company)->area)->area_name }}, {{ optional(optional($service->company)->city)->city_name }}, {{ optional(optional($service->company)->state)->state_name }}, {{ optional(optional($service->company)->country)->country_name }}, {{ optional($service->company)->company_pincode }}
GST No: {{ optional($service->company)->company_gstin }}, Email: {{ optional($service->company)->company_email }}, Phone No: {{ optional($service->company)->company_phone_no_1 }}
{{ optional($service->customerAddress)->customer_address }},
{{ optional($service->customerAddress)->customer_pincode }},
{{ optional(optional($service->customerAddress)->area)->area_name }},
{{ optional(optional($service->customerAddress)->city)->city_name }},
{{ optional(optional($service->customerAddress)->state)->state_name }},
{{ optional(optional($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 }} |
| Machine No | Product Brand | Type | @if ($service->amc_product_type == 'FAN')Fan Type | @elseAc Indoor Type | @endifLocation | 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}} |
| Service Date | Assigned Technician | Completion Date | Remarks |
|---|---|---|---|
| {{ \Carbon\Carbon::parse($serviceTxn->service_due_date)->format('d-m-Y') }} | {{ $serviceTxn->technician->employee_first_name ?? ''}} {{ $serviceTxn->technician->employee_last_name ?? ''}} | {{ $serviceTxn->completion_date ? \Carbon\Carbon::parse($serviceTxn->completion_date)->format('d-m-Y') : '' }} | {{ $serviceTxn->remarks }} |