<?php

return [
    'speed' => [
        'bulk' => [
            'toolbar_hint' => 'Select rows for bulk actions. Confirm once per batch.',
            'none_selected' => 'Select at least one row.',
        ],
        'keyboard_hints' => "Keyboard: press ? for this help. After selecting rows, use bulk actions. Forms with data-operational-confirm still require confirmation.",
        'toast_summary' => ':label — :ok ok, :fail failed.',
    ],
    'link' => [
        'sales_return' => 'Sales return',
        'stock_transfer' => 'Stock transfer',
    ],
    'detail' => [
        'next_step' => 'Next step',
        'audit' => 'Audit footprint',
    ],
    'document' => [
        'related_returns' => 'Returns for this order',
    ],
    'timeline' => [
        'meta' => [
            'pending' => 'Awaiting action',
            'rejected' => 'Rejected',
        ],
        'po' => [
            'approval' => 'Purchase approval',
            'receiving' => 'Receiving',
            'closure' => 'Closure',
        ],
        'gr' => [
            'validation' => 'Validation',
            'posting' => 'Posting',
        ],
        'so' => [
            'confirmation' => 'Order confirmation',
            'allocation' => 'Allocation',
            'fulfillment' => 'Fulfillment',
        ],
        'sr' => [
            'approval' => 'Return approval',
            'receive' => 'Receive goods',
            'processing' => 'Stock processing',
        ],
        'xfer' => [
            'approval' => 'Transfer approval',
            'movement' => 'Stock movement',
            'completion' => 'Completion',
        ],
    ],
    'next' => [
        'po_approve_title' => 'Approve this purchase order',
        'po_approve_body' => 'Use the approval action when sourcing and pricing are confirmed.',
        'po_receive_title' => 'Record receipts',
        'po_receive_body' => 'Create goods receipts against open lines until fully received.',
        'po_partial_title' => 'Partial receipt in progress',
        'po_partial_body' => 'Continue receiving or adjust the PO if quantities change.',
        'po_received_title' => 'Receiving complete',
        'po_received_body' => 'Close the PO when no further receipts are expected.',
        'gr_validate_title' => 'Validate receipt lines',
        'gr_validate_body' => 'Confirm quantities and integrity before posting to stock.',
        'gr_post_title' => 'Post to inventory',
        'gr_post_body' => 'Posting is irreversible; confirm idempotency key and wording.',
        'gr_retry_title' => 'Posting failed',
        'gr_retry_body' => 'Review operational errors, correct lines, then retry posting from a validated state.',
        'so_confirm_title' => 'Confirm the order',
        'so_confirm_body' => 'Move the order forward so allocation can reserve stock.',
        'so_allocate_title' => 'Allocate stock',
        'so_allocate_body' => 'Reserve quantities per warehouse when stock is available.',
        'so_fulfill_title' => 'Fulfill shipments',
        'so_fulfill_body' => 'Consume reservations and record fulfilled quantities.',
        'sr_approve_title' => 'Approve the return',
        'sr_approve_body' => 'Gate the return before physical receipt.',
        'sr_receive_title' => 'Receive returned goods',
        'sr_receive_body' => 'Confirm receipt before processing stock compensation.',
        'sr_process_title' => 'Process the return',
        'sr_process_body' => 'Run processing to adjust fulfillment and stock once received.',
        'xfer_approve_title' => 'Approve the transfer',
        'xfer_approve_body' => 'Approval authorizes execution of paired warehouse movements.',
        'xfer_execute_title' => 'Execute transfer',
        'xfer_execute_body' => 'Complete the transfer when movement is ready to post.',
    ],
    'blocked' => [
        'po_cancelled_title' => 'Purchase order cancelled',
        'po_cancelled_body' => 'No further receipts or approvals apply to this document.',
        'gr_failed_title' => 'Posting blocked',
        'gr_failed_body' => 'Correct data or quarantine issues before retrying post.',
        'gr_quarantine_title' => 'Quarantine active',
        'gr_quarantine_body' => ':count line(s) are quarantined; resolve before posting.',
        'so_cancelled_title' => 'Order cancelled',
        'so_cancelled_body' => 'Allocation and fulfillment actions are closed for this order.',
        'sr_rejected_title' => 'Return rejected',
        'sr_rejected_body' => 'This return will not proceed to receipt or processing.',
        'xfer_cancelled_title' => 'Transfer cancelled',
        'xfer_cancelled_body' => 'No stock movement will be executed for this transfer.',
    ],
    'audit' => [
        'record_id' => 'Record',
        'po_number' => 'PO number',
        'order_number' => 'Order number',
        'correlation' => 'Correlation',
        'created_at' => 'Created',
        'updated_at' => 'Updated',
        'posted_at' => 'Posted',
        'processed_at' => 'Processed',
        'completed_at' => 'Completed',
    ],
    'xfer' => [
        'quantity' => 'Quantity',
        'source' => 'Source warehouse',
        'destination' => 'Destination warehouse',
    ],
    'workflow_inbox' => [
        'section_procurement' => 'Procurement & receipts',
        'section_sales' => 'Sales drafts',
        'aging_label' => 'Aging',
        'priority_high' => 'High',
        'priority_normal' => 'Normal',
        'escalation_note' => 'Items exceed stale thresholds from operations configuration.',
        'pending_po' => 'POs awaiting approval',
        'stale_validated' => 'Validated receipts not posted',
        'empty_procurement' => 'No procurement workflow items for your view.',
        'empty_sales' => 'No draft sales orders in the recent window.',
    ],
];
