@error('start_date')
{{ $message }}
@enderror
@error('end_date')
{{ $message }}
@enderror
@foreach ($profitDetails as $index => $detail) @endforeach {{-- --}}
Invoice Id Invoice Date Total Selling Price Total Margin Price Total Profit Tax Amount Discount Action
{{$detail['invoice_id']}} {{\Carbon\Carbon::parse($detail['invoice_date'])->format('d-m-Y')}} ₹ {{ number_format(max($detail['total_selling_price'], 0), 2) }} ₹ {{ number_format(max($detail['total_margin_price'], 0), 2) }} ₹ {{ number_format(max($detail['total_profit'], 0), 2) }} ₹ {{ number_format(max($detail['tax_amount'], 0), 2) }} ₹ {{ number_format(max($detail['discount'], 0), 2) }}
Page Total: ₹ 0.00 ₹ 0.00 ₹ 0.00₹ 0.00
@foreach ($profitDetails as $index => $detail) @endforeach