@extends('layouts.admin') @section('header-content') @endsection @section('content')

@if(isset($job->user->firstname))
    {{$job->user->firstname .' '.$job->user->lastname}}
@endif

Area: @if(isset($job->area->name)){{$job->area->name}} @endif
{{$job->start_date}} - {{$job->end_date}}
@if(isset($job->job_details) && count($job->job_details)>0)
@foreach($job->job_details as $key=>$detail) @endforeach
# Customers Visit date Job Type Job Type Details Comment Reason
{{$key+1}} @if(isset($detail->shop->name)){{$detail->shop->name}}@endif {{$detail->visit_date}} {{$detail->job_type}} @if(isset($detail->job_type_id) && !empty($detail->job_type_id)) @if($detail->job_type=='order') {{$detail->job_type}} @elseif($detail->job_type=='payment') {{$detail->job_type}} @endif @elseif($detail->job_type=='revisit' || $detail->job_type=='no-order') {{$detail->job_type}} @endif {{$detail->comment}} {{$detail->reason}}
@else
No Record Found
@endif
@endsection