@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 @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 }} @datetime($row->created) @if ($row->Category->name) {{ $row->Category->name }} @else @t('Not specified') @endif
@if (isset($row->EnquiryTags) && $row->EnquiryTags) @foreach ($row->EnquiryTags as $tag) Tag->color) style="background-color: {{ $tag->Tag->color }};" @endif >{{ $tag->Tag->name }} @endforeach @endif
{!! Form::select( 'assign', $users, $row->assigned_to, [ 'data-url' => action('Payment/BookingsController@secure_assign', [$row->venue_id, $row->id]), 'empty' => true ] ) !!} @if (!isset($details) || !$details) @if (!$row->order_id) @else @endif @if ($row->unread_messages > 0) {{ $row->unread_messages }} @endif @endif