@extends('layouts.app') @section('title', 'VAT Report') @section('page-title', 'Reports') @section('content')
{{-- Date filter --}}| Invoice # | Client | Subtotal | VAT ({{ config('invotrack.default_vat_rate') }}%) | Total | Paid On |
|---|---|---|---|---|---|
| {{ $inv->invoice_number }} | {{ $inv->client->display_name }} | ₦{{ number_format($inv->subtotal, 2) }} | ₦{{ number_format($inv->vat_amount, 2) }} | ₦{{ number_format($inv->total, 2) }} | {{ $inv->paid_at?->format('d/m/Y') }} |
| No paid invoices in this date range. | |||||
| Totals | ₦{{ number_format($invoices->sum('subtotal'), 2) }} | ₦{{ number_format($totalVat, 2) }} | ₦{{ number_format($invoices->sum('total'), 2) }} | ||