@extends('layouts.app') @section('title', __('Low Stock Reorder')) @section('content')
{{ __('Draft purchase orders generated from low-stock products, pending approval.') }}
{{ __('Based on average daily sales velocity and days of cover.') }}
| {{ __('Product') }} | {{ __('On hand') }} | {{ __('Avg/day') }} | {{ __('Days cover') }} | {{ __('Suggested qty') }} | {{ __('Confidence') }} |
|---|---|---|---|---|---|
| {{ $row['name'] }}{{ $row['supplier'] ?? __('Unassigned') }} | {{ $row['on_hand'] }} | {{ $row['avg_daily_sales'] }} | @if ($row['days_cover'] !== null) {{ $row['days_cover'] }}d @else — @endif | {{ $row['suggested_quantity'] }} |
{{ $row['confidence'] }}%
|
| {{ __('Reference') }} | {{ __('Supplier') }} | {{ __('Items') }} | {{ __('Estimated total') }} | {{ __('Status') }} | |
|---|---|---|---|---|---|
| {{ $order->reference }} | {{ $order->supplier?->name ?? __('Unassigned') }} | {{ $order->items->count() }} | {{ money($order->estimated_total) }} | {{ __(ucfirst(str_replace('_',' ', $order->status))) }} | |
| {{ __('No reorder drafts.') }} | |||||