@extends('layouts.app') @section('page-title', __('Payment Details')) @section('page-heading', __('Payment Details for ' . $user->first_name . ' ' . $user->last_name)) @section('styles') @endsection @section('content')
Back to List
User Information
Name
{{ $user->first_name }} {{ $user->last_name }}
Email
{{ $user->email }}
County
{{ $user->county->name ?? 'N/A' }}
Phone
{{ $user->phone ?? 'N/A' }}
ID Number
{{ $user->id_number ?? 'N/A' }}
Payment Processing
{{ $user->approved_for_payment ? 'Approved for Payment' : 'Not Approved' }}
Total Amount KES {{ number_format($totals->total_amount ?? 0, 2) }}
Total Tax KES {{ number_format($totals->total_tax ?? 0, 2) }}
Total Net KES {{ number_format($totals->total_net ?? 0, 2) }}
Invoices {{ $totals->total_invoices }}/{{ $totals->total_payments }}
@if(request()->has('status')) @endif
@forelse($payments as $payment) @empty @endforelse
Date Payment Cycle Amount Tax Net Payable Status Invoice Actions
{{ $payment->created_at->format('M d, Y') }} {{ $payment->paymentCycle->description ?? 'N/A' }} {{ number_format($payment->amount_payable, 2) }} {{ number_format($payment->tax, 2) }} {{ number_format($payment->net_payable, 2) }} {{ $payment->status }} @if($payment->invoice_file || $payment->new_invoice_file) View @else No Invoice @endif
@csrf @method('PATCH')
No payments found
{{ $payments->links() }}
@endsection @push('scripts') @endpush