@extends('layouts.admin-page-wide') @section('pageTitle',__('site.order').': '.$order->user->name) @section('page-title',__('site.order').': '.$order->user->name) @section('page-content')
@can('access','view_orders') @endcan @can('access','edit_order') @endcan @can('access','delete_order')
{{ method_field('DELETE') }} {{ csrf_field() }}
@endcan

{{ \Illuminate\Support\Carbon::parse($order->created_at)->format('d/M/Y') }}
{{ orderStatus($order->status) }}
@if(!empty($order->interview_date))
{{ \Illuminate\Support\Carbon::parse($order->interview_date)->format('d/M/Y') }}
@endif
{!! clean( nl2br(clean($order->interview_location)) ) !!}
{{ $order->interview_time }}
{!! clean( nl2br(clean($order->comments)) ) !!}
@foreach(\App\OrderFieldGroup::where('order_form_id',$order->order_form_id)->orderBy('sort_order')->get() as $group)

@foreach($group->orderFields()->orderBy('sort_order')->get() as $field)