@php use Carbon\Carbon; @endphp
| Report Summary |
| Start Date | : | @if(isset($data->response->startDate)) {{$Controller::dateFormatter($data->response->startDate)}} @endif | End Date | : | @if(isset($data->response->endDate)) {{$Controller::dateFormatter($data->response->endDate)}} @endif |
| Total Collecting Amount | : | @if(isset($data->response->collectionAmountSum)) {{number_format($data->response->collectionAmountSum, 2)}} @endif |
| Total Refund Amount | : | @if(isset($data->response->refundAmountSum)) {{number_format((-1 * $data->response->refundAmountSum), 2)}} @endif |
| Total Discount Amount | : | @if(isset($data->response->discountAmountSum)) {{number_format($data->response->discountAmountSum, 2)}} @endif |
| Total Net Amount | : | @if(isset($data->response->netAmountSum)) {{number_format($data->response->netAmountSum, 2)}} @endif |
| Daily Sales Report | {{-- ({{$Controller::dateFormatter($data->fromDate)}} to {{$Controller::dateFormatter($data->toDate)}})--}}
| SL | Date | Sales By | Collection Amount | Refund Amount | Discount Amount | Net Amount |
|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $keyDate->date }} | @endif{{ $detail->salesBy }} | {{ number_format($detail->collectionAmount, 2) }} | {{ number_format(abs($detail->refundAmount), 2) }} | {{ number_format($detail->discountAmount, 2) }} | {{ number_format($detail->netAmount, 2) }} |
| Total = | {{number_format($data->response->collectionAmountSum, 2), 2}} | {{number_format($data->response->refundAmountSum, 2), 2}} | {{number_format($data->response->discountAmountSum, 2), 2}} | {{number_format($data->response->netAmountSum, 2), 2}} | ||