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

Invoice {{ $invoice->number }}

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 Response Date
{{ $txn->gateway }} {{ $txn->txn_ref ?? '-' }} {{ $txn->status }} {{ $txn->currency }} {{ number_format((float)$txn->amount, 2) }} {{ $txn->response_code ?? '-' }} {{ $txn->created_at }}
No transactions.
Status
Current: {{ $invoice->status }}
@if($invoice->status !== 'paid')
@csrf
@else
Paid at: {{ $invoice->paid_at ?? $invoice->updated_at }}
@endif
Client Support PIN
{{ $invoice->user->support_pin }}
Use this for live chat verification.
@endsection