@if($invoices->count() > 0) @foreach($invoices as $key=>$data)
#{{ $data->number }}
@if($data->getInvoiceTotalRefundedAmount()>0) Refunded @endif @if($data->paid_status == 2) Paid @elseif($data->paid_status == 1) PAYMENT IN PROCESS @else UNPAID @endif
Order Total : ${{ $data->getInvoiceTotal() }}
@endforeach @else
No purchase here!
@endif