{{ \Carbon\Carbon::parse($start_date)->format('d/m/Y') }} | {{ \Carbon\Carbon::parse($end_date)->format('d/m/Y') }} |
Date | Expense Amount | Towards/Category | Tax % | Tax Amount | Payment Method | Branch |
---|---|---|---|---|---|---|
{{$item->date->format('d/m/Y')}} | {{getFormattedCurrency($item->amount)}} | {{$item->head->name}} | @php $unitprice = $item->amount * (100 / (100 + $item->tax_percentage ?? 15)); $taxamount = $item->amount - $unitprice; if($item->tax_included == 0) { $taxamount = 0; } $totaltax += $taxamount; @endphp@if($item->tax_included != 0) {{$item->tax_percentage}}% @else - @endif | {{getFormattedCurrency($taxamount)}} | {{getPaymentMode($item->payment_mode)}} | {{$item->createdBy->name ?? ''}} |
Total Expense: {{$expenses->sum('amount')}} | Total Tax: {{getFormattedCurrency($totaltax)}} |