{{ $bussinessData->businessname }}

Email:{{ $bussinessData->email }} Mobile:{{ $bussinessData->mobile }}, {{ $bussinessData->mobile_secondary }}
Address:{{ $bussinessData->address }}, {{ $bussinessData->city }}, {{ $bussinessData->state }}, {{ $bussinessData->pincodede }}
@if ($bussinessData->pic && file_exists(public_path('assets/uploads/' . $bussinessData->getRawOriginal('pic')))) @else @endif

@if ($startDate) @endif

Expenses Report

Date : From {{ $startDate ? date('d-M-Y', strtotime($startDate)) : '' }} To {{ $startDate ? date('d-M-Y', strtotime($endDate)) : '' }}

@php $totalAmount = 0; @endphp
@foreach ($reportData as $category) @php $totalAmount += $category['amount']; @endphp
Category Name: ₹ {{ number_format($category['amount'], 2) }}
@foreach ($category['details'] as $index => $detail) @endforeach
S No Date Item Name Quantity Rate Amount Payment Type
{{ $index + 1 }} {{ $detail['date'] }} {{ $detail['item_name'] }} {{ $detail['quantity'] }} {{ $detail['rate'] }} ₹ {{ number_format($detail['amount'], 2) }} {{ $detail['payment_type'] }}
@endforeach

Total Amount ₹ {{ number_format($totalAmount, 2) }}