@extends('appshell::layouts.private') @section('title') {{ __('Tax Report') }} @stop @section('content') @forelse($report as $year => $data)
{{ $year }} {{ __('Summary') }}
{{ __('YEAR') }} {{ __('Q1') }} {{ __('Q2') }} {{ __('Q3') }} {{ __('Q4') }} {{ __('TOTAL') }}
{{ $year }} ${{ number_format($data['summary']['Q1'], 2) }} ${{ number_format($data['summary']['Q2'], 2) }} ${{ number_format($data['summary']['Q3'], 2) }} ${{ number_format($data['summary']['Q4'], 2) }} ${{ number_format($data['summary']['TOTAL'], 2) }}
{{ __('Breakdown by Province and Tax Rate') }}
@foreach($data['breakdown'] as $label => $amount) @endforeach
{{ __('Province/Tax Name') }} {{ __('Amount Collected') }}
{{ $label }} ${{ number_format($amount, 2) }}
@empty

{{ __('No tax collected yet.') }}

@endforelse @stop