@extends('layouts.client') @section('content')

Invoice {{ $invoice->number }}

Status: {{ $invoice->status }}
Back
Items
@foreach($invoice->items as $item) @endforeach
Description Qty Unit Total
{{ $item->description }} {{ $item->qty }} {{ $invoice->currency }} {{ number_format((float)$item->unit_price, 2) }} {{ $invoice->currency }} {{ number_format((float)$item->total, 2) }}
Subtotal {{ $invoice->currency }} {{ number_format((float)$invoice->subtotal, 2) }}
Tax {{ $invoice->currency }} {{ number_format((float)$invoice->tax, 2) }}
Total {{ $invoice->currency }} {{ number_format((float)$invoice->total, 2) }}
Transactions
@forelse($invoice->transactions()->latest()->get() as $txn) @empty @endforelse
Gateway Ref Status Amount Date
{{ $txn->gateway }} {{ $txn->txn_ref ?? '-' }} {{ $txn->status }} {{ $txn->currency }} {{ number_format((float)$txn->amount, 2) }} {{ $txn->created_at }}
No transactions yet.
Payment
@if($invoice->status === 'paid')
This invoice is already paid.
@elseif(empty($gateways))
No payment gateways are configured. Please contact support.
@else
@csrf
@foreach($gateways as $idx => $gw)
@endforeach
@foreach($gateways as $gw) @php $fields = $gw->checkoutFields(); @endphp @endforeach
If payment fails, you can retry here without creating a new order.
@endif
Support PIN
{{ auth()->user()->support_pin }}
Share this PIN in live chat for fast verification.
@endsection