Change Date
@if (isset($event) && $event)
@if ($event->name)
@t('Event: %s', $event->name)
@long_date($event->date)
@else
@date($event->date)
@if ($event->start_time)
@time($event->start_time)
@if ($event->end_time)
- @time($event->end_time)
@endif
@endif
@endif
@else
@date($date)
@if ($end_date)
- @date($end_date)
@endif
@if ($start_time)
@time($start_time)
@if ($end_time)
- @time($end_time)
@endif
@endif
@endif
{!! Form::open([
'data-toggle' => 'validator',
'id' => 'order-add-form'
]) !!}
@t('Order details')
@include ('Plugins/Payment/Views/Elements/Order/buyer')
@include('Plugins/Payment/Views/Elements/Order/payment')
{!! Form::label(
'data[Order][staff_id]',
t('Staff Member')
) !!}
@if (
isset($settings->content->pos_manual_bookings) &&
$settings->content->pos_manual_bookings
)
{!! Form::select(
'data[Order][staff_id]',
$admins,
User::getLoggedUserId(),
['required', 'empty' => true]
) !!}
@endif
{!! Form::label(
'data[Order][reason]',
t('Reason')
) !!}
@if (
isset($settings->content->pos_manual_bookings) &&
$settings->content->pos_manual_bookings
)
{!! Form::select(
'data[Order][reason]',
(isset($order_reasons) ? $order_reasons : []),
null,
['required']
) !!}
@endif
@include('Plugins/Payment/Views/Elements/Event/CustomFields/populate')
@include('Plugins/Payment/Views/Elements/Order/people')
@include('Plugins/Payment/Views/Elements/Order/products')
@include('Plugins/Payment/Views/Elements/Order/total')
@include('Plugins/Payment/Views/Elements/Order/CustomFields/edit', ['data' => []])
@if (isset($settings->content->pin_code) && $settings->content->pin_code)
{!! Form::password(
'data[pin_code]',
null,
[
'class' => 'form-control text-center pincode',
'placeholder' => __('PIN CODE'),
]
) !!}
@endif
@if (isset($settings->content->allow_pdf_preview) && $settings->content->allow_pdf_preview)
@endif
{!! Form::close() !!}