@if ($order)
@if($order->tip_amount > 0)
{{ __('modules.order.total') }}
{{ currency_format($order->total - $order->tip_amount, restaurant()->currency_id) }}
{{ __('modules.order.tipAmount') }}
+ {{ currency_format($order->tip_amount, restaurant()->currency_id) }}
{{ __('modules.order.grandTotal') }}
{{ currency_format($order->total, restaurant()->currency_id) }}
@else
{{ __('modules.order.total') }}
{{ currency_format($order->total, restaurant()->currency_id) }}
@endif
@if($paidAmount > 0)
{{ __('modules.order.amountPaid') }}
- {{ currency_format($paidAmount, restaurant()->currency_id) }}
@endif
{{ __('modules.order.payableAmount') }}
{{ currency_format(($order->total - $paidAmount), restaurant()->currency_id) }}
@if($returnAmount > 0)
{{ __('modules.order.returnAmount') }}
{{ currency_format($returnAmount, restaurant()->currency_id) }}
@else
{{ __('modules.order.dueAmount') }}
{{ currency_format($balanceAmount, restaurant()->currency_id) }}
@endif