| Date | Ref | Warehouse | Status | Grand Total | Paid | Due | Payment Status |
|---|---|---|---|---|---|---|---|
| {{ $s->date }} | {{ $s->Ref }} | {{ optional($s->warehouse)->name }} | {{ $s->statut }} | {{ number_format($s->GrandTotal, 2) }} | {{ number_format($s->paid_amount, 2) }} | {{ number_format(($s->GrandTotal - $s->paid_amount), 2) }} | {{ $s->payment_statut }} |
| No sales found. | |||||||
| Totals | {{ number_format($salesGrandSum, 2) }} | {{ number_format($salesPaidSum, 2) }} | {{ number_format($salesDueSum, 2) }} | ||||
| Date | Payment Ref | Sale Ref | Method | Amount |
|---|---|---|---|---|
| {{ $p->date }} | {{ $p->Ref }} | {{ $p->Sale_Ref }} | {{ $p->payment_method }} | {{ number_format($p->montant, 2) }} |
| No payments found. | ||||
| Total Payments | {{ number_format($paymentsSum, 2) }} | |||
| Date | Ref | Status | Warehouse | Grand Total |
|---|---|---|---|---|
| {{ $q->date }} | {{ $q->Ref }} | {{ $q->statut }} | {{ optional($q->warehouse)->name }} | {{ number_format($q->GrandTotal, 2) }} |
| No quotations found. | ||||
| Total Quotations | {{ number_format($quotesGrand, 2) }} | |||
| Ref | Status | Sale Ref | Warehouse | Grand Total | Paid | Due | Payment Status |
|---|---|---|---|---|---|---|---|
| {{ $r->Ref }} | {{ $r->statut }} | {{ optional($r->sale)->Ref ?? '---' }} | {{ optional($r->warehouse)->name }} | {{ number_format($r->GrandTotal, 2) }} | {{ number_format($r->paid_amount, 2) }} | {{ number_format(($r->GrandTotal - $r->paid_amount), 2) }} | {{ $r->payment_statut }} |
| No returns found. | |||||||
| Totals | {{ number_format($retGrandSum, 2) }} | {{ number_format($retPaidSum, 2) }} | {{ number_format($retDueSum, 2) }} | ||||