@extends('layout.base') @section('layout.base.head') @endsection @section('layout.base.header')
{{ __( 'Order' ) }}
{{ $bill['code'] ?? __('No Bill Code') }}
{{ __( 'Total Amount' ) }}
{{ ns()->currency->define( $bill['totals']['total'] ?? 0 ) }}
{{ __( 'Paid' ) }}
{{ ns()->currency->define( $bill['totals']['tendered'] ?? 0 ) }}
{{ __( 'Remaining' ) }}: {{ ns()->currency->define( ($bill['totals']['total'] ?? 0) - ($bill['totals']['tendered'] ?? 0) ) }}
@if( ($bill['payment_status'] ?? '') === 'partially_paid' ) {{ __( 'Remaining Balance' ) }} @else {{ __( 'Amount to Pay' ) }} @endif
{{ ns()->currency->define( ($bill['payment_status'] ?? '') === 'partially_paid' ? (($bill['totals']['total'] ?? 0) - ($bill['totals']['tendered'] ?? 0)) : ($bill['totals']['total'] ?? 0) ) }}
{{ __( 'Payment Complete' ) }}
{{ __( 'Thank you for your payment!' ) }}
{{ __( 'This table currently has no pending bills.' ) }}
{{ __( 'Refresh' ) }}