@t('Event') |
@if (isset($data->Event))
@if ($data->Event->name)
{{ $data->Event->name }}
@else
@t('No Event Name')
@endif
@else
@t('No Event Name')
@endif
|
@include('Plugins/Payment/Views/Elements/Order/dates')
@t('Status') |
{{ $data->status }}
|
@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 ($data->net_amount > 0)
@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
|
@if (isset($settings->content->hide_owned_fee) && !$settings->content->hide_owned_fee)
@if (isset($data->paid_owned_fee) && $data->paid_owned_fee > 0)
@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
|
@endif
@endif
@if (isset($settings->content->hide_card_fee) && !$settings->content->hide_card_fee)
@if (isset($data->paid_card_fee) && $data->paid_card_fee != 0)
@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
|
@endif
@endif
@if (isset($data->fee_vat) && $data->fee_vat > 0)
@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
|
@endif
@if (isset($data->paid_service_charge) && count(oa($data->paid_service_charge)) > 0)
@foreach (oa($data->paid_service_charge) as $key => $value)
@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
|
@endforeach
@endif
@if (isset($data->paid_tax_charge) && $data->paid_tax_charge > 0)
@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
|
@endif
@if ($data->tip > 0)
@t('Gratuity fee') |
@if ($currency->id != $order_currency->id)
{{
amount($data->tip, ['to' => $order_currency->id])
}}
@else
{{ amount(
$data->tip,
[
'to' => $currency->id
]
) }}
@endif
|
@endif
@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 }}
@endif
@endif
|
@if (isset($data->LinesOrder) && $data->LinesOrder)
@t('Assigned Slots')
|
{{ (isset($data->LinesOrder) ? count($data->LinesOrder) : 0) }}
|
@endif
@if (isset($data->extra->gender) && $data->extra->gender)
@t('Gender') |
@if (isset($data->extra->gender))
{{ $data->extra->gender }}
@endif
|
@endif
@t('Created') |
@timestamp($data->created) |
@if (User::isAdmin())
@t('Modified') |
@timestamp($data->modified) |
@endif
@t('Processed') |
@timestamp($data->processing) |
@if (
isset($settings->content->no_tickets) && $settings->content->no_tickets
&& isset($data->Ticket) && count($data->Ticket) > 0
)
@t('Collection') |
@if ($data->no_tickets == 1)
@t('Collection in person')
@else
@t('E-Tickets')
@endif
|
@endif