@if ($data->event_id)
@t('Event') |
@if ($data->Event->name)
{{ $data->Event->name }}
@else
@t('No Event Name')
@endif
|
@endif
@include('Plugins/Payment/Views/Elements/Order/dates')
@t('Status') |
{{ $data->status }}
@if (
(!isset($edit) || !$edit) &&
$data->status == 'pending'
)
|
@t('activate')
@endif
@if (
(!isset($edit) || !$edit) &&
$data->status == 'active'
)
|
@t('cancel')
@endif
@if ($data->type == 'automatic')
@t('refunded')
@else
@t('cancelled')
@endif
|
@t('Amount Paid') |
@if ($currency->id != $order_currency->id)
@t('%s (%s)', [
amount($data->paid_amount, [
'to' => $order_currency->id
]),
amount($data->paid_amount)
])
@else
{{ amount($data->paid_amount) }}
@endif
@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
|
@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) }}
@endif
|
@t('LaneEngine Fee') |
@if ($currency->id != $order_currency->id)
{{
amount(($data->paid_amount - $data->net_amount), [
'to' => $order_currency->id
])
}}
@else
{{ amount(($data->paid_amount - $data->net_amount)) }}
@endif
|
@endif
@t('Total Amount') |
@if ($currency->id != $order_currency->id)
@t('%s (%s)', [
amount($data->total, [
'to' => $order_currency->id
]),
amount(($data->total))
])
@else
{{ amount(($data->total)) }}
@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)
])
@else
{{ amount($data->remaining_payment) }}
@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)) }}
@endif
|
@t('Initial Payment Type') |
{{ $data->type }}
@if ($data->payment)
( {{ $data->payment }} )
@endif
|
@if ($data->people)
@t('People') |
@if (isset($data->people))
{{ $data->people }}
@endif
|
@endif
@if ($data->Venue->type == 'Bowling')
@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') |
@datetime($data->created) |