| @lang('modules.order.qty') | @lang('modules.menu.itemName') | @lang('modules.order.price') ({{ restaurant()->currency->currency_code }}) | @lang('modules.order.amount') ({{ restaurant()->currency->currency_code }}) |
|---|---|---|---|
| {{ $item->quantity }} |
{{ $item->menuItem->item_name }}
@if (isset($item->menuItemVariation))
({{ $item->menuItemVariation->variation }}) @endif @foreach ($item->modifierOptions as $modifier) • {{ $modifier->name }}
@if($modifier->price > 0)
(+{{ currency_format($modifier->price, restaurant()->currency_id, false, true) }})
@endif
@endforeach
@if($item->note)
@lang('modules.order.note'): {{ $item->note }}
@endif
|
{{ currency_format($item->price, restaurant()->currency_id, false, false) }} | {{ currency_format($item->amount, restaurant()->currency_id, false, false) }} |
| @lang('modules.order.subTotal'): | {{ currency_format($order->sub_total, restaurant()->currency_id, false, true) }} |
| @lang('modules.order.discount') @if ($order->discount_type == 'percent') ({{ rtrim(rtrim($order->discount_value, '0'), '.') }}%) @endif: | -{{ currency_format($order->discount_amount, restaurant()->currency_id, false, true) }} |
| {{ $item->charge->charge_name }} @if ($item->charge->charge_type == 'percent') ({{ $item->charge->charge_value }}%) @endif: | {{ currency_format(($item->charge->getAmount($order->sub_total - ($order->discount_amount ?? 0))), restaurant()->currency_id, true, true) }} |
| @lang('modules.order.tip'): | {{ currency_format($order->tip_amount, restaurant()->currency_id, false, true) }} |
| @lang('modules.delivery.deliveryFee'): | @if($order->delivery_fee > 0) {{ currency_format($order->delivery_fee, restaurant()->currency_id, false, true) }} @else @lang('modules.delivery.freeDelivery') @endif |
| {{ $item->tax->tax_name }} ({{ $item->tax->tax_percent }}%): | {{ currency_format(($item->tax->tax_percent / 100) * ($order->sub_total - ($order->discount_amount ?? 0)), restaurant()->currency_id, false, true) }} |
| {{ $taxName }} ({{ $taxInfo['percent'] }}%) | {{ currency_format($taxInfo['amount'], restaurant()->currency_id, false, true) }} |
| @lang('modules.order.totalTax'): | {{ currency_format($totalTax, restaurant()->currency_id, false, true) }} |
| @lang('modules.order.balanceReturn'): | {{ currency_format($payment->balance, restaurant()->currency_id, false, true) }} |
| @lang('modules.order.total'): | {{ currency_format($order->total, restaurant()->currency_id, false, true) }} |
| @lang('paymentStatus'): | @if($order->status === 'paid') @lang('modules.order.paid') @else @lang('modules.order.unpaid') @endif |
| @lang('modules.order.amount') | @lang('modules.order.paymentMethod') | @lang('app.dateTime') |
|---|---|---|
| {{ currency_format($payment->amount, restaurant()->currency_id, false, true) }} | @lang('modules.order.' . $payment->payment_method) | @if($payment->payment_method != 'due') {{ $payment->created_at->timezone(timezone())->translatedFormat('d M Y H:i') }} @endif |