@php $invoice_details = @$step_verified_data['invoice_details']; $invoices = $invoice_details['invoice_data']; $display_bank_instruction = 1; @endphp

Pay The Program Fees

@if(!empty($invoices)) @foreach($invoices as $invoice) @if (in_array($invoice['accounting_invoice_status'], array(4))) @if($display_bank_instruction == 1)

Kindly complete the payment for your Program Fees. You can pay via Debit or Credit Card, or via Bank Wire. You can download the payment instructions here:

@php $display_bank_instruction = 0; @endphp @endif

Your Invoice Number is #{{ $invoice['invoice_number'] }}. You can download your Invoice from here:

Please proceed with your payment:

@elseif (in_array($invoice['accounting_invoice_status'],array(7)) && $invoice['last_invoice_transaction_total_amount'] > 0 && $invoice['void'] != 1) @if($loop->first)

Kindly complete the payment for your Program Fees. You can pay via Debit or Credit Card, or via Bank Wire. You can download the payment instructions here:

@endif

We have received successful payment of ${{ $invoice['last_invoice_transaction_total_amount'] }} for your {{ $invoice['invoice_type_name'] }} with Invoice Number #{{ $invoice['invoice_number'] }} for your program.

Thank you for your partial payment, Click here to complete your pending payment process.

@elseif (in_array($invoice['accounting_invoice_status'],array(9)) && $invoice['last_invoice_transaction_total_amount'] > 0 && $invoice['void'] != 1)

Thank you! Your payment for Invoice #{{ $invoice['invoice_number'] }} has been confirmed.

You can download your Invoice and Payment Receipt here:

@elseif (!empty($invoice['refund_data']))

Refunded your payment of ${{ number_format($invoice['refund_data'][0]['refund_amount'], 2) }} for your {{ $invoice['invoice_type_name'] }} with Invoice Number #{{ $invoice['invoice_number'] }} for your program.

You can download your Invoice and Payment Receipt here:

@elseif (in_array($invoice['accounting_invoice_status'],array(5,10,12)) && $invoice['last_invoice_transaction_total_amount'] > 0 && $invoice['void'] != 1)
@if ($invoice['accounting_invoice_status'] == 12)
Thank you, your bank wire payment has been successfully submitted and is pending verification by the admin.
@else

Thank you! Your {{ $invoice['invoice_type_name'] }} payment for Invoice #{{ $invoice['invoice_number'] }} has been confirmed.

You can download your Invoice and Payment Receipt here:

@endif
@if($loop->last)
@endif
@elseif($invoice['void'] == 1)

Sorry! This invoice is not active anymore. Please contact ITN representative accounting@itnusa.com for more information.

@endif @endforeach @else

Your invoice details will be available shortly.....

@endif