{{-- resources/views/reports/tax-report.blade.php --}} @extends('layouts.master') @section('title', 'Tax Report') @section('content')
Date: {{ date('F j, Y') }}
Account: 0000
Currency: {{ $currnames }}
From: {{ $from }} To: {{ $to }}
| Date | Name | Inv No | Inv Amount(USD) | Tax% | Tax Amount(USD) | Total(incl) |
|---|---|---|---|---|---|---|
| {{ $transaction->invoice_date }} | {{ $transaction->customer->full_name ?? 'N/A' }} | {{ $transaction->invoice_number }} | {{ number_format($invoiceAmount, 2) }} | {{ $transaction->tax_rate }} | {{ number_format($taxAmount, 2) }} | {{ number_format($amountIncl, 2) }} |
| No output tax transactions found | ||||||
| Total Output Tax | {{ number_format($outputTotals['invoice'], 2) }} | {{ number_format($outputTotals['tax'], 2) }} | {{ number_format($outputTotals['incl'], 2) }} | |||
| Date | Name | Inv No | Inv Amount(USD) | Tax% | Tax Amount(USD) | Total(incl) |
|---|---|---|---|---|---|---|
| {{ $transaction->invoice_date }} | {{ $transaction->supplier->supplier_account ?? 'N/A' }} | {{ $transaction->invoice_number }} | {{ number_format($invoiceAmount, 2) }} | {{ $transaction->tax_rate }} | {{ number_format($taxAmount, 2) }} | {{ number_format($amountIncl, 2) }} |
| No input tax transactions found | ||||||
| Net Tax | {{ number_format($outputTotals['invoice'] - $inputTotals['invoice'], 2) }} | {{ number_format($outputTotals['tax'] - $inputTotals['tax'], 2) }} | {{ number_format($outputTotals['incl'] - $inputTotals['incl'], 2) }} | |||
| Total Input Tax | {{ number_format($inputTotals['invoice'], 2) }} | {{ number_format($inputTotals['tax'], 2) }} | {{ number_format($inputTotals['incl'], 2) }} | |||