@vite([ 'resources/scss/line-awesome/1.3.0/scss/line-awesome.scss', 'resources/scss/grid.scss', 'resources/scss/fonts.scss', 'resources/scss/animations.scss', 'resources/scss/typography.scss', 'resources/scss/app.scss', 'resources/scss/light.scss' ])

{{ __('Table Bills') }}

{{ __('Table') }}: {{ $table_number }}

{{ __('Current active bills for this table') }}

@if(count($bills) > 0) @foreach($bills as $index => $bill)

{{ __('Bill') }} #{{ $bill['code'] }}

@if($bill['title'])

{{ $bill['title'] }}

@endif
{{ ucfirst(str_replace('_', ' ', $bill['payment_status'])) }}
{{ \Carbon\Carbon::parse($bill['created_at'])->format('M d, Y g:i A') }}
{{ ns()->currency->define($bill['totals']['total']) }} {{ __('Total Amount') }}
@if($bill['totals']['tendered'] > 0)
{{ ns()->currency->define($bill['totals']['tendered']) }} {{ __('Paid Amount') }}
@endif @if($bill['remaining_amount'] > 0)
{{ ns()->currency->define($bill['remaining_amount']) }} {{ __('Remaining') }}
@endif
{{ count($bill['products']) }} {{ __('Items') }}

{{ __('Items Summary') }}

@foreach($bill['products'] as $product) @endforeach
{{ __('Product') }} {{ __('Qty') }} {{ __('Price') }} {{ __('Total') }}
{{ $product['name'] }} {{ $product['quantity'] }} {{ ns()->currency->define($product['unit_price']) }} {{ ns()->currency->define($product['total_price']) }}
@if($bill['customer'])

{{ __('Customer Information') }}

{{ __('Name') }}: {{ $bill['customer']['name'] }}

@if($bill['customer']['phone'])

{{ __('Phone') }}: {{ $bill['customer']['phone'] }}

@endif
@endif
@if($bill['can_pay'] && $bill['remaining_amount'] > 0)

{{ __('To make a payment, you need to use the secure link') }}

{{ __('Request Payment Link') }}
@elseif($bill['payment_status'] == 'paid')

{{ __('Fully Paid') }}

@endif
@endforeach

{{ __('Need to make a payment?') }}

{{ __('Ask your server for a secure payment link to complete your transaction safely.') }}

@else

{{ __('No Active Bills') }}

{{ __('There are currently no active bills for this table.') }}

{{ __('Bills will appear here once orders are placed.') }}

@endif

{{ __('Thank you for dining with us!') }}

{{ config('app.name') }}