Customer Name: {{ $ticket->request_by->fullname }}
Addresss: {{ $ticket->request_by->address }}
@if($ticket->request_by->no_tel) Tel: {{$ticket->request_by->no_tel}}
@endif HP: {{$ticket->request_by->mobile}}
Email: {{$ticket->request_by->email}}
Quotation:
{{$ticket->quotation_no}}
{{$ticket->sales_person}} ( HP: {{$ticket->contact_no}})
{{ ViewHelper::formatDate($ticket->quotation_date)}}
@if($isMail)

Issues

@foreach($ticket->issues as $issue) @endforeach
Issue Expected Outcome
{{ $issue->issue_desc }} {{ $issue->expected_desc }}

Preferred Slots

@foreach($ticket->preferred_slots as $slot) @endforeach
Date Time
{{ ViewHelper::formatDate($slot->date) }} {{ ViewHelper::formatTime($slot->time_start) }} to {{ ViewHelper::formatTime($slot->time_end) }}
@endif @if(isset($show_staff_assignments) && $show_staff_assignments && count($ticket->staff_assignments) > 0)

Staff Assignments

@foreach(ViewHelper::mergeStaffAssignment($ticket->staff_assignments) as $date => $assignments) @foreach($assignments as $a) @endforeach @endforeach
Date Time Staff Mobile
{{ ViewHelper::formatDate($date) }} {{ ViewHelper::formatTime($a->time_start) }} to {{ ViewHelper::formatTime($a->time_end) }} {{ $a->staff_name }} {{ $a->staff_mobile }}
@endif @if(isset($show_otp) && $show_otp)

One Time Passwords (OTPs)

First OTP {{ $ticket->otps->first_otp }} Provide First OTP to repairman upon arrival. This helps us keep track of attendance and punctuality of our repairman
Second OTP {{ $ticket->otps->second_otp }} Provide Second OTP upon the completion of the job. DO NOT give OTP to repairman if job is incomplete
@endif @if(isset($show_attachment) && $show_attachment && count($ticket->attachments)>0)

Attachments

@foreach($ticket->attachments as $a) @endforeach
Attachment
{{$a->filename}}
@endif

Description

{!! preg_replace("/([0-9]+)pf/","$1px",$ticket->quotation_desc) !!}