{{ __('Receipts') }}
@if(isset($message))
× {{ $message }}
@else
× {{ $receipts->total() }} receipts found
@endif
{{ $receipts->withQueryString()->links() }} @if ($totalPrice > 0)
Total Payments: @moneyIDR($totalPrice)
@endif @if($receipts->isNotEmpty()) @foreach ($receipts as $key => $data) @endforeach
{{ __('billing.table.no') }} {{ __('billing.table.customer-name') }} {{ __('billing.table.customer_id') }} {{ __('billing.table.address') }} {{ __('billing.table.periode') }} {{ __('billing.table.bill') }} {{ __('billing.table.payment-methode') }} {{ __('customer.table.action') }}
{{ ++$i }} {{$data->customer_name ?? 'no name'}} {{$data->customer->customer_id ?? 'no customer ID'}} {{ $data->customer_address ?? 'no address' }} {{ Carbon\Carbon::parse($data->periode)->translatedFormat('M Y') ?? 'no periode' }} @if ($data->paket_price === 0) {{ __('Free') }} @else @moneyIDR($data->paket_price) @endif @if ($data->payment_methode === 'cash') {{ __('Cash') }} @elseif ($data->payment_methode === 'transfer') {{'Transfer '}} @else {{ __('No Payment Methode') }} @endif on {{ Carbon\Carbon::parse($data->payment_time)->translatedFormat('d M Y') }} @can('billing-edit') Cetak PDF @endcan
@else
No receipt found!
@endif {{ $receipts->withQueryString()->links() }}