| # | المنتج | عدد الحركات | إضافات | خصومات | الصافي |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $product['product_name'] }} | {{ number_format($product['total_movements']) }} | +{{ number_format($product['total_in']) }} | -{{ number_format($product['total_out']) }} | {{ number_format($product['total_in'] - $product['total_out']) }} |
| التاريخ | المنتج | النوع | الكمية | الرصيد بعد | السبب | المستخدم |
|---|---|---|---|---|---|---|
| {{ $movement->created_at->format('Y-m-d H:i') }} | {{ $movement->product->name ?? 'غير معروف' }} | @if($movement->type === 'in') إضافة @else خصم @endif | {{ $movement->type === 'in' ? '+' : '-' }}{{ number_format($movement->quantity) }} | {{ number_format($movement->balance_after) }} | {{ $movement->reason ?? '-' }} | {{ $movement->user->name ?? '-' }} |