@extends('layouts.layoutapp') @section('content')
@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 Action
{{$detail['invoice_id']}} {{\Carbon\Carbon::parse($detail['invoice_date'])->format('d-m-Y')}} ₹ {{ number_format($detail['total_selling_price'], 2) }} ₹ {{ number_format($detail['total_margin_price'], 2) }} ₹ {{ number_format($detail['total_profit'], 2) }} ₹ {{ number_format($detail['tax_amount'], 2) }}
Page Total: ₹ 0.00 ₹ 0.00 ₹ 0.00
@foreach ($profitDetails as $index => $detail) @endforeach
@endsection @push('scripts') @endpush