Generated on: {{ $report_date }}
Period: {{ $date_range['from'] }} to {{ $date_range['to'] }}
| User | Total Activities | Stock Movements | Purchase Orders | % of Total |
|---|---|---|---|---|
| {{ $user['user'] }} | {{ number_format($user['activity_count']) }} | {{ number_format($user['stock_movements']) }} | {{ number_format($user['purchase_orders']) }} | {{ $summary['total_activities'] > 0 ? round(($user['activity_count'] / $summary['total_activities']) * 100, 1) : 0 }}% |
| Action Type | Count | Total Quantity | % of Activities |
|---|---|---|---|
| {{ $action['action'] }} | {{ number_format($action['count']) }} | {{ number_format($action['total_quantity']) }} | {{ $summary['total_activities'] > 0 ? round(($action['count'] / $summary['total_activities']) * 100, 1) : 0 }}% |
| Date | Total Activities | Stock Movements | Purchase Orders | Unique Users |
|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($day['date'])->format('D, M d, Y') }} | {{ number_format($day['total_activities']) }} | {{ number_format($day['stock_movements']) }} | {{ number_format($day['purchase_orders']) }} | {{ number_format($day['unique_users']) }} |
| Timestamp | Type | Action | Product ID | Warehouse | Location | Qty Change | Before | After | User | Reference | Notes |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $activity['timestamp'] }} | {{ $activity['type'] }} | {{ $activity['action'] }} | {{ $activity['product_id'] }} | {{ $activity['warehouse'] }} | {{ $activity['location'] }} | {{ $activity['quantity_change'] >= 0 ? '+' : '' }}{{ number_format($activity['quantity_change']) }} | {{ $activity['quantity_before'] !== null ? number_format($activity['quantity_before']) : '-' }} | {{ $activity['quantity_after'] !== null ? number_format($activity['quantity_after']) : '-' }} | {{ $activity['user'] }} | {{ $activity['reference'] }} | {{ $activity['notes'] ?? '' }} |
No activities found for the selected period and filters.