@php $displayCompany = $reportData['company_name'] ?? config('app.name', 'Prolex'); $displayGeneratedOn = $reportData['generated_on'] ?? now()->format('F d, Y'); $displayPreparedBy = $reportData['prepared_by'] ?? (auth()->user()->name ?? 'Finance Department'); $displayCurrency = $reportData ? (($reportData['currency_name'] ?? '') . ' · ' . ($reportData['currency_code'] ?? '')) : '—'; $summaryCount = $reportData ? count($reportData['summary_by_tax'] ?? []) : count($taxes ?? []); @endphp
Tax & Fiscal Compliance Division | Registered Tax Practitioner
| Tax Name | Rate | Tax Type | Taxable Amount | Tax Amount |
|---|---|---|---|---|
| Generate a report to view tax totals for the selected period. | ||||
| {{ $row['tax_name'] }} | {{ number_format((float)$row['tax_rate'], 2) }}% | {{ $row['tax_type'] }} | {{ $reportData['currency_code'] }} {{ number_format((float)$row['taxable_amount'], 2) }} | {{ $reportData['currency_code'] }} {{ number_format((float)$row['tax_amount'], 2) }} |
| No tax data found for the selected period. | ||||
| Totals | {{ $reportData['currency_code'] }} {{ number_format((float)($reportData['totals']['taxable_amount'] ?? 0), 2) }} | {{ $reportData['currency_code'] }} {{ number_format((float)($reportData['totals']['tax_amount'] ?? 0), 2) }} | ||
| Generate a report to view detailed transactions. |
| {{ $row['tax_name'] }} ({{ number_format((float)$row['tax_rate'], 2) }}%) | |||||
|---|---|---|---|---|---|
| Date | Transaction Ref | Description | Status | Taxable Amount | Tax Amount |
| {{ $detail['date'] }} | {{ $detail['reference'] }} | {{ $detail['description'] }} | {{ $detail['status'] }} | {{ $reportData['currency_code'] }} {{ number_format((float)$detail['taxable_amount'], 2) }} | {{ $reportData['currency_code'] }} {{ number_format((float)$detail['tax_amount'], 2) }} |
| No transactions recorded for this tax type during this period. | |||||
| Subtotal | {{ $reportData['currency_code'] }} {{ number_format((float) collect($details)->sum('taxable_amount'), 2) }} | {{ $reportData['currency_code'] }} {{ number_format((float) collect($details)->sum('tax_amount'), 2) }} | |||
| Month | Taxable Amount | Tax Amount |
|---|---|---|
| Generate a report to view monthly totals. | ||
| {{ $monthRow['month'] }} | {{ $reportData['currency_code'] }} {{ number_format((float)$monthRow['taxable_amount'], 2) }} | {{ $reportData['currency_code'] }} {{ number_format((float)$monthRow['tax_amount'], 2) }} |
| No monthly data available for this period. | ||
| Total | {{ $reportData['currency_code'] }} {{ number_format((float)($reportData['totals']['taxable_amount'] ?? 0), 2) }} | {{ $reportData['currency_code'] }} {{ number_format((float)($reportData['totals']['tax_amount'] ?? 0), 2) }} |
| Tax Name | Rate | Transactions Count | Total Tax |
|---|---|---|---|
| Generate a report to view tax rate summary. | |||
| {{ $row['tax_name'] }} | {{ number_format((float)$row['tax_rate'], 2) }}% | {{ (int)($row['transactions_count'] ?? 0) }} | {{ $reportData['currency_code'] }} {{ number_format((float)$row['tax_amount'], 2) }} |
| No tax rate data found. | |||