Please select a supplier and date range, then click Search to generate the report.
@else
Moon Traders
FMR vs AMR Comparison Report
Source: {{ $selectedSourceLabel }} | Supplier:
{{ $selectedSupplierName }}
For the period {{ \Carbon\Carbon::parse($startDate)->format('d-M-Y') }} to
{{ \Carbon\Carbon::parse($endDate)->format('d-M-Y') }}
Printed by: {{ auth()->user()->name }} | {{ now()->format('d-M-Y h:i A') }}
| # | Date | Invoice # (GRN) |
FMR Liquid (4210) |
FMR Powder (4220) |
AMR Liquid (5262) |
AMR Powder (5252) |
Net Benefit/(Cost) |
|---|---|---|---|---|---|---|---|
| {{ $counter++ }} | {{ $row->date }} | @if($row->grn_id) {{ $row->invoice_number }} @else {{ $row->invoice_number }} @endif | {{ is_null($row->fmr_liquid_total) ? '-' : number_format($row->fmr_liquid_total, 2) }} | {{ is_null($row->fmr_powder_total) ? '-' : number_format($row->fmr_powder_total, 2) }} | {{ is_null($row->amr_liquid_total) ? '-' : number_format($row->amr_liquid_total, 2) }} | {{ is_null($row->amr_powder_total) ? '-' : number_format($row->amr_powder_total, 2) }} | {{ is_null($row->difference) ? '-' : number_format($row->difference, 2) }} |
| Grand Total | {{ number_format($grandTotals->fmr_liquid_total, 2) }} | {{ number_format($grandTotals->fmr_powder_total, 2) }} | {{ number_format($grandTotals->amr_liquid_total, 2) }} | {{ number_format($grandTotals->amr_powder_total, 2) }} | {{ number_format($grandTotals->difference, 2) }} | ||