| @t('Event') |
@if (isset($edit) && $edit)
{!! Form::hidden('data[Order][event_id]', null, ['id'=>'field-data-order-event_id_1']) !!}
{!! Form::select(
'data[Order][event_id]',
$events,
(isset($data->event_id) ? $data->event_id : null),
[
'data-confirm' => __('Changing the event will remove the selected items and you will need to reselect them. Are you sure you want to do that?'),
'data-prev' => (isset($data->event_id) ? $data->event_id : null)
]
) !!}
@else
@if (isset($data->Event))
@if ($data->Event->name)
{{ $data->Event->name }}
@else
@t('No Event Name')
@endif
@else
@t('No Event Name')
@endif
@endif
|
|---|---|
| @t('Status') |
@if ((isset($edit) && $edit))
{!! Form::select(
'data[Order][status]',
array_merge(oa($statuses), oa($extra_statuses)),
(isset($data->status) ? $data->status : null)
) !!}
@else
@if (isset($extra_statuses->{$data->status}) && $extra_statuses->{$data->status})
{{ $extra_statuses->{$data->status} }}
@else
{{ $statuses->{$data->status} }}
@endif
@endif
@if (
(!isset($edit) || !$edit) &&
$data->status == 'pending'
)
|
@t('activate')
@endif
@if (
(!isset($edit) || !$edit) &&
$data->status == 'active'
)
|
@t('on hold')
|
@t('cancel')
@endif
@if (
(!isset($edit) || !$edit) &&
in_array($data->status, ['cancelled', 'on_hold'])
)
|
@t('activate')
@endif
@if ($data->status == 'cancelled' && $data->cancellation_reason)
{{ $data->cancellation_reason }}
@if ($data->cancellation_description)
{{ $data->cancellation_description }}
@endif
|
| @t('Amount Paid') | @if ($currency->id != $order_currency->id) @t('%s (%s)', [ amount($data->paid_amount - (isset($data->paid_card_fee) ? $data->paid_card_fee : 0), [ 'to' => $order_currency->id ]), amount( $data->paid_amount - (isset($data->paid_card_fee) ? $data->paid_card_fee : 0), [ 'to' => $currency->id ] ) ]) @else {{ amount( $data->paid_amount - (isset($data->paid_card_fee) ? $data->paid_card_fee : 0), [ 'to' => $currency->id ] ) }} @endif @if (canSee($venue->id, null, 'finances')) @if ( (!isset($edit) || !$edit) && $data->paid_amount > 0 && $data->status == 'active' && ( !isset($data->extra->refundable) || $data->extra->refundable == true ) ) | @if ($data->payment == 'card') @t('refund') @else @t('cancel') @endif @endif @endif |
| @t('Net Amount') | @if ($currency->id != $order_currency->id) {{ amount($data->net_amount, [ 'to' => $order_currency->id ]) }} @else {{ amount( $data->net_amount, [ 'to' => $currency->id ] ) }} @endif |
| @t('Bookedit Fee') | @if ($currency->id != $order_currency->id) {{ amount( ($data->fee - $data->paid_owned_fee), ['to' => $order_currency->id] ) }} @else {{ amount( ($data->fee - $data->paid_owned_fee), ['to' => $currency->id] ) }} @endif |
| @t('Additional Fee') | @if ($currency->id != $order_currency->id) {{ amount($data->paid_owned_fee, ['to' => $order_currency->id]) }} @else {{ amount($data->paid_owned_fee, ['to' => $currency->id]) }} @endif |
| @t('Commercial Card Fee') | @if ($currency->id != $order_currency->id) {{ amount($data->paid_card_fee, ['to' => $order_currency->id]) }} @else {{ amount($data->paid_card_fee, ['to' => $currency->id]) }} @endif |
| @t('VAT') | @if ($currency->id != $order_currency->id) {{ amount($data->fee_vat, ['to' => $order_currency->id]) }} @else {{ amount($data->fee_vat, ['to' => $currency->id]) }} @endif |
| @if ( isset($settings->content->payment->services[$key]->label) && $settings->content->payment->services[$key]->label ) {{ $settings->content->payment->services[$key]->label }} @else @t('Service Charge') @endif | @if ($currency->id != $order_currency->id) {{ amount($value, ['to' => $order_currency->id]) }} @else {{ amount($value, ['to' => $currency->id]) }} @endif |
| @t('Tax') | @if ($currency->id != $order_currency->id) {{ amount($data->paid_tax_charge, ['to' => $order_currency->id]) }} @else {{ amount($data->paid_tax_charge, ['to' => $currency->id]) }} @endif |
| @t('Gratuity fee') | @if ($currency->id != $order_currency->id) {{ amount($data->tip, ['to' => $order_currency->id]) }} @else {{ amount( $data->tip, [ 'to' => $currency->id ] ) }} @endif |
| @t('Total Amount') | @if ($currency->id != $order_currency->id) @t('%s (%s)', [ amount($data->total, [ 'to' => $order_currency->id ]), amount( $data->total, [ 'to' => $currency->id ] ) ]) @else {{ amount( $data->total, [ 'to' => $currency->id ] ) }} @endif |
| @t('Remaining to be paid') | @if ($currency->id != $order_currency->id) @t('%s (%s)', [ amount(($data->remaining_payment), [ 'to' => $order_currency->id ]), amount( $data->remaining_payment, [ 'to' => $currency->id ] ) ]) @else {{ amount( $data->remaining_payment, [ 'to' => $currency->id ] ) }} @endif |
| @t('Discount') | @if (isset($edit) && $edit) {!! Form::number( 'data[Order][discount]', (isset($data->Order->discount) ? $data->Order->discount : null), [ 'class' => 'form-control text-right', 'step' => '0.01', 'placeholder' => '0.00', 'min' => '0' ] ) !!} @else {{ amount( ($data->discount ? $data->discount : 0), [ 'to' => $currency->id ] ) }} @if (isset($data->Coupon->id) && $data->Coupon->id) ( {{ $data->Coupon->name }} ) @endif @endif |
| @t('Initial Payment Type') |
@if (isset($edit) && $edit)
{!! Form::select(
'data[Order][payment]',
[
'card' => t('Card'), //manual
//'customer' => t('Send payment link to customer'), //automatic
'existing' => t('Payment has already been made'), //manual
'existing' => t('Paid'), //manual
'cash' => t('Cash payment'), //manual
'deposit' => t('Pay Deposit Now - Remainder On Arrival'), //Deposit to be paid.
'night-pending' => t('To pay on arrival'),
'cheque-pending' => t('To pay via cheque'),
'bank_transfer-pending' => t('To pay via bank transfer'),
'cash-pending' => t('To pay via cash'),
'provisional' => t('Provisional')
],
(isset($data->payment) ? $data->payment : null)
) !!}
@else
{{ $data->type }}
@if ($data->payment)
(
@if (isset(oa($payment_options)[$data->payment]) && oa($payment_options)[$data->payment])
{{ oa($payment_options)[$data->payment] }}
@else
{{ str_replace('_', ' ', $data->payment) }}
@endif
)
@endif
@endif
|
| @t('People') | @if (isset($edit) && $edit) {!! Form::number( 'data[Order][people]', (isset($data->Order->people) ? $data->Order->people : null), [ 'class' => 'form-control text-right', 'step' => '1', 'min' => '1' ] ) !!} @else @if (isset($data->people)) {{ $data->people }} @if ($data->actual->actual_people) ({{ $data->actual->actual_people }} Actual) @endif @endif @endif |
| @t('Assigned Slots') | {{ (isset($data->LinesOrder) ? count($data->LinesOrder) : 0) }} |
| @t('Gender') | @if (isset($data->extra->gender)) {{ $data->extra->gender }} @endif |
| @t('Created') | @timestamp($data->created) |
| @t('Modified') | @timestamp($data->modified) |
| @t('Processed') | @timestamp($data->processing) |
| @t('Collection') |
@if (isset($edit) && $edit)
{!! Form::select(
'data[Order][no_tickets]',
[
t('E-Tickets'),
t('Collection in person')
],
(isset($data->no_tickets) ? $data->no_tickets : null)
) !!}
@else
@if ($data->no_tickets == 1)
@t('Collection in person')
@else
@t('E-Tickets')
@endif
@endif
|
| @t('Has contract?') |
@if (isset($edit) && $edit)
{!! Form::select(
'data[Order][contract]',
[
0 => t('No'),
1 => t('Yes')
],
(isset($data->contract) ? $data->contract : null)
) !!}
@else
{{ ($data->contract ? __('Yes') : __('No')) }}
@endif
|
| @t('Tags') | @include( 'Plugins/Payment/Views/Elements/Tag/tags', [ 'tags' => isset($data->Tag) ? $data->Tag : [], 'id' => $data->id, 'venue_id' => $data->venue_id, 'action' => 'Payment/OrdersTagsController@secure_delete' ]) @include('Plugins/Payment/Views/Elements/Tag/add_entry', ['action' => 'Payment/OrdersTagsController@secure_add.hson']) |
| @t('Enquiry') | @t('View Enquiry') |
| @t('Staff member') | @if (isset($edit) && $edit) {!! Form::select( 'data[Order][staff_id]', $admins, $data->staff_id, ['required', 'empty' => true] ) !!} @else |