@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)
@endif
@if ($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
|
{!! Form::text(
'tags',
(isset($row->tags) ? $row->tags : null),
[
'class' => 'form-control taginput',
'data-url' => action('Payment/TagsController@secure_autocomplete.json', [$row->venue_id]),
'data-store' => action('Payment/TagsController@secure_add.json', [$row->venue_id, $row->id])
]
) !!}
|
{!! 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