@push('header') @endpush
{{-- Supplier --}}
{{-- Type --}}
{{-- SKU / Products --}}

Leave empty to show all SKUs

{{-- Start Date --}}
{{-- End Date --}}

Moon Traders
SKU-WISE FMR VS AMR REPORT
@if($selectedSupplier) SUPPLIER: {{ $selectedSupplier->supplier_name }}
@endif Period: {{ \Carbon\Carbon::parse($startDate)->format('d.m.Y') }} — {{ \Carbon\Carbon::parse($endDate)->format('d.m.Y') }} @if($typeFilter !== 'all') | Type: {{ ucfirst($typeFilter) }} @endif @if(!empty($selectedProductIds)) | Filtered SKUs: {{ count($selectedProductIds) }} @endif
Printed by: {{ auth()->user()->name }} | {{ now()->format('d-M-Y h:i A') }}

@if($reportData->isEmpty())

No SKUs found for the selected supplier and filters.

@else @foreach ($reportData as $index => $row) @endforeach
Sr# Product Type FMR
(from GRN)
AMR Liquid
(Settlement)
AMR Powder
(Settlement)
Total AMR Net Benefit/(Cost)
{{ $index + 1 }} {{ $row->product_name }} {{ $row->type_label }} {{ number_format($row->fmr_amount, 2) }} {{ number_format($row->amr_liquid_amount, 2) }} {{ number_format($row->amr_powder_amount, 2) }} {{ number_format($row->total_amr, 2) }} {{ number_format($row->difference, 2) }}
Total: {{ number_format($grandTotals->fmr_amount, 2) }} {{ number_format($grandTotals->amr_liquid_amount, 2) }} {{ number_format($grandTotals->amr_powder_amount, 2) }} {{ number_format($grandTotals->total_amr, 2) }} {{ number_format($grandTotals->difference, 2) }}
@endif
@push('scripts') @endpush