{{ __('inventory::modules.reports.turnover.title') }}

{{ __('inventory::modules.reports.turnover.description') }}

{{ __('inventory::modules.reports.purchase_orders.stats.total_amount') }}

{{ currency_format($stats['total_amount'], restaurant()->currency_id) }}

{{ trans('inventory::modules.purchaseOrder.total_orders') }}: {{ $stats['order_count'] }}

{{ __('inventory::modules.reports.purchase_orders.stats.paid_amount') }}

{{ currency_format($stats['paid_amount'], restaurant()->currency_id) }}

{{ __('inventory::modules.reports.purchase_orders.stats.due_amount') }}

{{ currency_format($stats['due_amount'], restaurant()->currency_id) }}

{{ __('inventory::modules.reports.purchase_orders.stats.progress') }}

{{ $stats['average_progress'] }}%

@foreach($suppliers as $supplier) @endforeach
@foreach($orderStatuses as $value => $label) @endforeach
@foreach($paymentStatusOptions as $value => $label) @endforeach
{{ __('inventory::modules.reports.purchase_orders.filters.clear') }}
@forelse($purchaseOrders as $order) @php $paidAmount = (float) $order->paid_amount; $dueAmount = max($order->total_amount - $paidAmount, 0); $progress = $order->total_amount > 0 ? min(($paidAmount / $order->total_amount) * 100, 100) : 0; @endphp @empty @endforelse
{{ __('inventory::modules.reports.purchase_orders.table.po_number') }} {{ __('inventory::modules.reports.purchase_orders.table.supplier') }} {{ __('inventory::modules.reports.purchase_orders.table.order_date') }} {{ __('inventory::modules.reports.purchase_orders.table.status') }} {{ __('inventory::modules.reports.purchase_orders.table.total') }} {{ __('inventory::modules.reports.purchase_orders.table.paid') }} {{ __('inventory::modules.reports.purchase_orders.table.due') }} {{ __('inventory::modules.reports.purchase_orders.table.progress') }}
{{ $order->po_number }} {{ $order->supplier?->name }} {{ $order->order_date?->translatedFormat('M d, Y') }} {{ $orderStatuses[$order->status] ?? ucfirst($order->status) }} {{ currency_format($order->total_amount, restaurant()->currency_id) }} {{ currency_format($paidAmount, restaurant()->currency_id) }} {{ currency_format($dueAmount, restaurant()->currency_id) }}
{{ number_format($progress, 0) }}%
{{ __('inventory::modules.reports.purchase_orders.empty') }}
{{ $purchaseOrders->links() }}