@extends('layouts.business.master') @section('title') {{ __('Sale Reports') }} @endsection @section('main_content')

{{ __('Tax Report List') }}

@include('business::print.header')

{{ __('Tax Report List') }}

@foreach ($vats as $vat) @endforeach @foreach ($sales as $sale) @foreach ($vats as $vat) @endforeach @endforeach
{{ __('Date') }} {{ __('Invoice') }} {{ __('Customer') }} {{ __('Total Amount') }} {{ __('Payment Method') }} {{ __('Discount') }}{{ $vat->name }}
{{ formatted_date($sale->created_at) }} {{ $sale->invoiceNumber }} {{ $sale->party->name ?? '' }} {{ currency_format($sale->totalAmount, currency: business_currency()) }} {{ $sale->payment_type->name ?? '' }} {{ currency_format($sale->discountAmount, currency: business_currency()) }} {{ $sale->vat_id == $vat->id ? currency_format($sale->vat_amount, currency: business_currency()) : '0' }}
@foreach ($vats as $vat) @endforeach @foreach ($purchases as $purchase) @foreach ($vats as $vat) @endforeach @endforeach
{{ __('Date') }} {{ __('Invoice') }} {{ __('Supplier') }} {{ __('Total Amount') }} {{ __('Payment Method') }} {{ __('Discount') }}{{ $vat->name }}
{{ formatted_date($purchase->created_at) }} {{ $purchase->invoiceNumber }} {{ $purchase->party->name ?? '' }} {{ currency_format($purchase->totalAmount, currency: business_currency()) }} {{ $purchase->payment_type->name ?? '' }} {{ currency_format($purchase->discountAmount, currency: business_currency()) }} {{ $purchase->vat_id == $vat->id ? currency_format($purchase->vat_amount, currency: business_currency()) : '0' }}
@endsection