@if(!$invoices->isEmpty()) @php($i = 1) @foreach($invoices as $invoice) @php($i++) @endforeach @endif
No No. Invoice Coload Tanggal Dibuat Total Tagihan Status
{{ $i }} {{ $invoice->no_invoice }} {{ @$invoice->coload->nama }} {{ date('d/m/Y H:i', strtotime($invoice->created_at)) }} {{ ribuan($invoice->total_tagihan) }} {{-- {{$i%2 == 0 ? 'Active' : 'Pending'}} --}} {{ config('custom.status_invoice.'.$invoice->status) }}