Cement Sales Report

From: {{ $startDate->format('d M Y') }}
To: {{ $endDate->format('d M Y') }}
Generated At: {{ now()->format('d M Y H:i') }}
@foreach($sales as $s) @endforeach
Date Payment Mode Qty Buying Selling Revenue Profit
{{ $s->created_at->format('d M Y') }} {{ ucfirst($s->payment_mode) }} {{ number_format($s->quantity_num) }} {{ number_format($s->buying_num, 2) }} {{ number_format($s->selling_num, 2) }} {{ number_format($s->revenue_num, 2) }} {{ number_format($s->profit_num, 2) }}

Profit & Loss Summary

Total Quantity {{ number_format($pl['qty']) }}
Total Cost {{ number_format($pl['cost'], 2) }}
Total Revenue {{ number_format($pl['revenue'], 2) }}
Net Profit {{ number_format($pl['profit'], 2) }}
Cash Sales {{ number_format($pl['cash'], 2) }}
Loan Sales {{ number_format($pl['loan'], 2) }}
Creditor Sales {{ number_format($pl['creditor'], 2) }}