{{ $row->id }} @if (isset($row->User->id)) {{ $row->User->first_name }} {{ $row->User->last_name }} @if ($row->User->email)
{{ $row->User->email }}
@endif @if ($row->User->phone)
{{ $row->User->phone }}
@endif @else {{ $row->name }} @if ($row->email)
{{ $row->email }}
@endif @if ($row->phone)
{{ $row->phone }}
@endif @endif {!! Form::select( 'approved', ['1' => __('New'), '2' => __('Acknowledged'), '3' => __('Actioned')], $row->approved, [ 'data-url' => action('Payment/BookingsController@secure_approved', [$row->venue_id, $row->id]), 'class' => 'form-control approved' ] ) !!} @date($row->date) @if ($row->start_time && $row->end_time)
@t( '%s - %s', [ Timing::format($row->start_time, 'H:i'), Timing::format($row->end_time, 'H:i') ] )
@elseif ($row->start_time && !$row->end_time)
@t('%s - ...', Timing::format($row->start_time, 'H:i'))
@elseif (!$row->start_time && $row->end_time)
@t('... - %s', Timing::format($row->end_time, 'H:i'))
@endif {{ $row->people }} @timestamp($row->created) @if ($row->Category->name) {{ $row->Category->name }} @else @t('Not specified') @endif @if ($row->type) {{ $row->type }} @else @t('automatic') @endif
@if (isset($row->EnquiryTags) && $row->EnquiryTags) @foreach ($row->EnquiryTags as $enquiry_tag) @include( 'Plugins/Payment/Views/Elements/EnquiryTag/tag', ['venue_id' => $row->venue_id] ) @endforeach @endif
{{----}} {!! Form::select( 'assign', $users, $row->assigned_to, [ 'data-url' => action('Payment/BookingsController@secure_assign', [$row->venue_id, $row->id]), 'empty' => true, 'class' => 'form-control assign-to' ] ) !!} @if (!isset($details) || !$details) @if (User::isAdmin()) @endif @if (!$row->order_id) {{-- --}} @else @endif {{-- --}} @if ($row->unread_messages > 0) {{ $row->unread_messages }} @endif @if ($row->archive) @else @endif @endif