@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

{{ $displayCompany }}

Tax & Fiscal Compliance Division | Registered Tax Practitioner

Tax Summary Report · ZIMRA Compliant
Generated: {{ $displayGeneratedOn }} | Prepared by: {{ $displayPreparedBy }}
@csrf
@if($reportData) @endif
@if($reportData)
@csrf
@endif
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Period Covered: {{ $reportData['period_from'] ?? $dateFrom }} - {{ $reportData['period_to'] ?? $dateTo }}
Currency: {{ $displayCurrency }}
Reporting Standard: IFRS for SMEs
Total Taxable Amount
{{ $reportData ? ($reportData['currency_code'].' '.number_format($reportData['totals']['taxable_amount'] ?? 0, 2)) : '—' }}
Across all tax types
Total Tax Amount
{{ $reportData ? ($reportData['currency_code'].' '.number_format($reportData['totals']['tax_amount'] ?? 0, 2)) : '—' }}
Including levies & duties
Net Tax Outstanding
{{ $reportData ? ($reportData['currency_code'].' '.number_format($reportData['net_tax_outstanding'] ?? 0, 2)) : '—' }}
Due to tax authority
Active Tax Types
{{ $summaryCount }}
VAT, WHT, Levy & Duties
Tax Collected (Paid Invoices)
Taxable Amount{{ $reportData ? ($reportData['currency_code'].' '.number_format($reportData['collected_vs_outstanding']['collected_taxable'] ?? 0, 2)) : '—' }}
Tax Amount{{ $reportData ? ($reportData['currency_code'].' '.number_format($reportData['collected_vs_outstanding']['collected_tax'] ?? 0, 2)) : '—' }}
Tax Yet To Be Collected
Unpaid/Sent/Overdue/Draft{{ $reportData ? ($reportData['currency_code'].' '.number_format($reportData['collected_vs_outstanding']['outstanding_taxable'] ?? 0, 2)) : '—' }}
Tax Amount{{ $reportData ? ($reportData['currency_code'].' '.number_format($reportData['collected_vs_outstanding']['outstanding_tax'] ?? 0, 2)) : '—' }}
Net Tax Outstanding {{ $reportData ? ($reportData['currency_code'].' '.number_format($reportData['net_tax_outstanding'] ?? 0, 2)) : '—' }}
@if(!$reportData) @else @forelse($reportData['summary_by_tax'] as $row) @empty @endforelse @endif @if($reportData) @endif
Tax NameRateTax TypeTaxable AmountTax 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) }}
@if(!$reportData)
Generate a report to view detailed transactions.
@else @foreach($reportData['summary_by_tax'] as $row) @php $details = $reportData['detail_by_tax'][$row['tax_id']] ?? []; @endphp
@forelse($details as $detail) @empty @endforelse
{{ $row['tax_name'] }} ({{ number_format((float)$row['tax_rate'], 2) }}%)
DateTransaction RefDescriptionStatusTaxable AmountTax 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) }}
@endforeach @endif
@if(!$reportData) @else @forelse($reportData['monthly_breakdown'] as $monthRow) @empty @endforelse @endif @if($reportData) @endif
MonthTaxable AmountTax 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) }}
@if(!$reportData) @else @forelse($reportData['summary_by_tax'] as $row) @empty @endforelse @endif
Tax NameRateTransactions CountTotal 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.
This tax summary is generated for compliance with ZIMRA FDMS regulations. For disputes contact tax@lexbridge.co.zw