@extends('layouts.master') @section('title', 'Technician Report') @section('body') @endsection @section('content')

Technician Report

@csrf
@if(isset($technician))

Technician Details

Name{{ $technician->employee_first_name }} {{ $technician->employee_last_name }}
Phone{{ $technician->employee_phone_no_1 }}
Email{{ $technician->employee_email }}
{{-- Complains --}}

Complains Assigned

@foreach($complains as $c) @endforeach
Date Complain No Customer Status
{{ \Carbon\Carbon::parse($c->complain_date)->format('d/m/Y') }} {{ $c->complain_prefix }}/{{ $c->complain_financial_year }}/{{ $c->complain_number }} {{ $c->customer->customer_name ?? '' }} {{ $c->complain_status }}
{{-- Complain Follow-Ups --}}

Complains Follow-ups

@foreach($complainFollowUps as $fu) @endforeach
Date Complain No Customer Note
{{ \Carbon\Carbon::parse($fu->follow_up_date)->format('d/m/Y') }} {{ $fu->complain->complain_prefix }}/{{ $fu->complain->complain_financial_year }}/{{ $fu->complain->complain_number }} {{ $fu->complain->customer->customer_name }} {{ $fu->follow_up_note }}
{{-- Service --}}

Services Assigned

@foreach($serviceTxns as $s) @endforeach
Due Date Service No Customer Machine Completion Date Remarks Status
{{ \Carbon\Carbon::parse($s->service_due_date)->format('d/m/Y') }} {{ $s->service->service_prefix }}/{{ $s->service->service_financial_year }}/{{ $s->service->service_number }} {{ $s->service->customer->customer_name }} {{ $s->serviceMachine->machine_no ?? '' }} {{ \Carbon\Carbon::parse($s->completion_date)->format('d/m/Y') }} {{ $s->remarks }} {{ $s->service_status }}
@endif
@endsection @section('scripts') @endsection