@if($order)
{{ __('modules.order.payment') }}
{{ __('modules.order.orderHash') }}{{ $order->order_number }}
{{ currency_format($order->total) }}
@endif
@if($order)
{{ __('modules.order.fullPayment') }}
{{ __('modules.order.splitBill') }}
$canAddTip, 'grid-cols-4' => !$canAddTip])>
@lang('modules.order.cash')
@lang('modules.order.card')
@lang('modules.order.upi')
@lang('modules.order.due')
@if($canAddTip)
@if($order && $order->tip_amount > 0)
@lang('modules.order.tipAdded')
{{ currency_format($order->tip_amount) }}
@else
@lang('modules.order.addTip')
@endif
@endif
{{ __('modules.order.amount') }}
{{ __('modules.order.returnAmount') }}
{{ currency_format($returnAmount, restaurant()->currency_id) }}
@if ($order)
@if($order->tip_amount > 0)
{{ __('modules.order.total') }}
{{ currency_format($order->total - $order->tip_amount) }}
{{ __('modules.order.tipAmount') }}
+ {{ currency_format($order->tip_amount) }}
@endif
{{ __('modules.order.totalBill') }}
{{ currency_format($order->total) }}
{{ __('modules.order.amountPaid') }}
{{ currency_format($paidAmount) }}
@if($returnAmount > 0)
{{ __('modules.order.returnAmount') }}
{{ currency_format($returnAmount) }}
@else
{{ __('modules.order.dueAmount') }}
{{ currency_format($balanceAmount) }}
@endif
@endif
@foreach([50, 100, 500, 1000] as $amount)
{{ currency_format($amount) }}
@endforeach
@foreach(range(1, 9) as $number)
{{ $number }}
@endforeach
.
0
{{ __('modules.order.splitBill') }}
({{ __('modules.order.changeMethod') }})
{{ __('modules.order.equalSplit') }}
{{ __('modules.order.splitEqually') }}
{{ __('modules.order.customSplit') }}
{{ __('modules.order.splitByAmount') }}
{{ __('modules.order.splitByItems') }}
{{ __('modules.order.splitByDishes') }}
@for($i = 1; $i <= $numberOfSplits; $i++)
Split {{ $i }}
@if($numberOfSplits > 2)
@endif
@endfor
+ New Split
@for($i = 1; $i <= $numberOfSplits; $i++)
Split {{ $i }}
{{ __('modules.order.cash') }}
{{ __('modules.order.card') }}
{{ __('modules.order.upi') }}
{{ __('modules.order.due') }}
@endfor
@foreach($customSplits as $splitNumber)
Split {{ $splitNumber }}
@if(count($customSplits) > 2)
@endif
@endforeach
+ New Split
@foreach($customSplits as $splitNumber)
Split {{ $splitNumber }}
{{ __('modules.order.cash') }}
{{ __('modules.order.card') }}
{{ __('modules.order.upi') }}
{{ __('modules.order.due') }}
@endforeach
@foreach($splits as $splitId => $split)
Split {{ $splitId }}
@if(count($splits) > 1 && $splitId !== 1)
@endif
@endforeach
+ {{ __('modules.order.newSplit') }}
{{ __('modules.order.availableItems') }}
{{ __('modules.order.clickToAdd') }}
@foreach($availableItems as $index => $item) @if($item['remaining'] > 0)
{{ $item['name'] }}
{{ $item['quantity'] }}
x (
{{ __('modules.order.base') }}: {{ currency_format($item['base_price']) }}
@if($item['discount'] > 0)
- {{ __('modules.order.discount') }}: {{ currency_format($item['discount']) }}
@endif @if($item['tax_amount'] > 0)
+ {{ __('modules.order.tax') }}: {{ currency_format($item['tax_amount']) }}
@endif @if($item['extra_charges'] > 0)
+ {{ __('modules.order.extraCharges') }}: {{ currency_format($item['extra_charges']) }}
@endif @if($item['tip'] > 0)
+ {{ __('modules.order.tipAmount') }}: {{ currency_format($item['tip']) }}
@endif )
{{ currency_format($item['price'] * $item['quantity']) }}
+
{{ $item['remaining'] }}
All
@endif @endforeach
{{ __('modules.order.itemsInSplit', ['split' => $activeSplitId]) }}
{{ __('modules.order.total') }}: {{ currency_format(($splits[$activeSplitId]['total'] ?? 0)) }}
{{ __('modules.order.cash') }}
{{ __('modules.order.card') }}
{{ __('modules.order.upi') }}
{{ __('modules.order.due') }}
@if(empty($splits[$activeSplitId]['items']))
{{ __('modules.order.noItemsInSplit') }}
@else @foreach($splits[$activeSplitId]['items'] as $index => $item)
{{ $item['name'] }}
{{ currency_format($item['price'] * $item['quantity']) }}
{{ $item['quantity'] }}
x (
{{ __('modules.order.base') }}: {{ currency_format($item['base_price']) }}
@if($item['discount'] > 0)
- {{ __('modules.order.discount') }}: {{ currency_format($item['discount']) }}
@endif @if($item['tax_amount'] > 0)
+ {{ __('modules.order.tax') }}: {{ currency_format($item['tax_amount']) }}
@endif @if($item['extra_charges'] > 0)
+ {{ __('modules.order.extraCharges') }}: {{ currency_format($item['extra_charges']) }}
@endif @if($item['tip'] > 0)
+ {{ __('modules.order.tipAmount') }}: {{ currency_format($item['tip']) }}
@endif )
{{ __('modules.order.remove') }}
@endforeach @endif
@if ($order)
{{ __('modules.order.totalBill') }}
{{ currency_format($order->total) }}
{{ __('modules.order.splitAmount') }}
{{ currency_format(collect($splits)->sum('total')) }}
@if(($balanceAmount > 0 || $returnAmount > 0) && $splitType === 'custom')
$balanceAmount > 0, 'text-green-600' => $returnAmount > 0 ])>
{{ $balanceAmount > 0 ? __('modules.order.dueAmount') : __('modules.order.returnAmount') }}
{{ currency_format($balanceAmount > 0 ? $balanceAmount : $returnAmount) }}
@endif
@endif
@endif
@if($order)
{{ __('app.cancel') }}
{{ __('modules.order.completePayment') }}
@endif
@lang('modules.order.addTip')
@if ($order)
%
{{ currency() }}
@foreach([5, 10, 15, 20] as $value)
@if($tipMode === 'percentage') {{ $value }}% @else {{ currency_format($value) }} @endif
@if($tipMode === 'percentage') {{ currency_format($order->total * $value / 100) }} @else ≈ {{ number_format(($value / $order->total) * 100, 1) }}% @endif
@endforeach
{{ currency() }}
@lang('modules.order.tipNote')
(@lang('app.optional'))
@lang('modules.order.currentTotal')
{{ currency_format($order->total - $order->tip_amount) }}
@lang('modules.order.tipAmount')
+ {{ currency_format($tipAmount ?? 0) }}
@lang('modules.order.newTotal')
{{ currency_format(($order->total - $order->tip_amount + ($tipAmount ?: 0))) }}
@endif
@lang('app.cancel')
@lang('app.save')