{{ trans('whatsapp-gateway.table.no') }} {{ trans('whatsapp-gateway.invoice.table.product') }} {{ trans('whatsapp-gateway.invoice.table.subscription-plan') }} {{ trans('whatsapp-gateway.invoice.table.total-amount') }} {{ trans('whatsapp-gateway.invoice.table.expired-date') }} {{ trans('whatsapp-gateway.table.status') }} {{ trans('whatsapp-gateway.table.action') }} @forelse ($invoices as $key => $invoice) {{ $invoice['invoice_number'] }} {{ $invoice['product'] }} {{ $invoice['subscription_plan'] }} @moneyIDR($invoice['total_amount']) {{ $invoice['expired_date']}} @if($invoice['status_payment'] == 'Paid') {{ \Carbon\Carbon::parse($invoice['paid_at'])->format('d M Y, H:i:s') }} @else {{ $invoice['status_payment'] === 'Process' ? 'Waiting Payment' : Str::apa($invoice['status_payment']) }} @endif @if($invoice['status_payment'] == 'Paid') Lunas @else @if ($invoice['status_payment'] == 'Process') Pay / Cancel @else Pay @endif @endif @empty
{{ trans('Anda belum memiliki tagihan') }}
@endforelse
@if ($invoices->hasPages())
{{ $invoices->links() }}
@endif