@extends('admin.layout') @section('content')
{{--@if(Auth::user()->admin == \App\User::ROLE_SUPPER_HERRO)--}}
{{ csrf_field() }}
Chỉnh sửa công việc

{{$job->get_service->name}}

{{$job->requester->name}}

{{$job->user_address}}

@php $details = json_decode($job->detail, true); $source_key = \App\Models\Services::$_sourceInput; $options = \App\Models\Services::$_options; @endphp @foreach($source_key as $key => $s_i) @if(array_key_exists($s_i, $details))

{{$details[$s_i]}}

@endif @endforeach

{{number_format($job->price,0)}}

{{--@else--}} {{--
--}} {{--
--}} {{--Chi tiết công việc--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--

{{$job->get_service->name}}

--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--

{{$job->requester->name}}

--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--

{{$job->job_day}}

--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--

{{$job->time_start}}

--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--

{{$job->time_end}}

--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--@if($job->tasker)--}} {{--

{{$job->get_tasker->name}}

--}} {{--@endif--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--

{{number_format($job->price,0)}}

--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{----}} {{--
--}} {{--
--}} {{--@php $status_title = \App\Models\Job::$status_title; @endphp--}} {{--

{{$status_title[$job->status]}}

--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--@endif--}}
@endsection