@extends('layouts.platform') @section('title', 'Invoice '.$invoice->invoice_ref) @section('header', 'Invoice '.$invoice->invoice_ref) @section('content') @if (session('success'))
Subscription period: {{ $invoice->period_start->format('d M Y') }} → {{ $invoice->period_end->format('d M Y') }}
Plan: {{ $invoice->subscription?->plan?->name ?? '—' }} ({{ $invoice->subscription?->plan?->billing_period ?? '—' }})
Pishon accounting snapshot
Base ₦{{ number_format((float) $invoice->base_amount, 2) }} · Service charge ₦{{ number_format((float) $invoice->service_charge, 2) }} · Estimated gateway processing fee ₦{{ number_format((float) $invoice->gateway_fee, 2) }}
| Reference | Provider | Amount | Status | Ledger postings |
|---|---|---|---|---|
| {{ $tx->reference }} | {{ $tx->provider }} | ₦{{ number_format((float) $tx->amount, 2) }} | {{ ucfirst($tx->status) }} | {{ $tx->ledger_entries->count() }} entries |