@extends('adminlte::page') @section('title', 'Invoice') @section('content')
Official Invoice
{{ config('school.address', 'Kisarawe, Pwani') }} | {{ config('school.phone', '+255 000 000 000') }}| Department | {{ $invoice->budget->department->name ?? 'N/A' }} |
|---|---|
| Month / Year | {{ $invoice->budget->month }} / {{ $invoice->budget->year }} |
| Status | {{ ucfirst(str_replace('_', ' ', $invoice->status)) }} |
| Note | {{ $invoice->budget->note ?? '-' }} |
| Amount | TZS {{ number_format($invoice->amount, 2) }} |
|---|---|
| Approved By | {{ $invoice->approvedBy->name ?? '-' }} |
| Paid By | {{ $invoice->paidBy->name ?? '-' }} |
| Payment Date | {{ $invoice->payment_date ? $invoice->payment_date->format('d M, Y H:i') : '-' }} |
| Note | {{ $invoice->note ?? '-' }} |
| # | Item | Description | Amount (TZS) | Status | Approved By | Note / Comment |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item->item }} | {{ $item->description ?? '-' }} | {{ number_format($item->price, 2) }} | {{ ucfirst(str_replace('_', ' ', $item->status)) }} | {{ $item->approvedBy->name ?? '-' }} | {{ $item->note ?? '-' }} |
| Total Amount (TZS) | {{ number_format($totalAmount, 2) }} |
|---|---|
| Paid (TZS) | {{ number_format($paidAmount, 2) }} |
| Remaining (TZS) | {{ number_format($remainingAmount, 2) }} |
__________________________
Approved By (DO)
__________________________
Paid By (Finance)
__________________________
Received By