<?php

return [
    'breadcrumb_root' => 'Inventory',
    'warehouses' => [
        'title' => 'Warehouses',
        'subtitle' => 'Locations, lifecycle, and sections for stock operations.',
        'show_subtitle' => 'Operational detail and audit context.',
        'fields' => [
            'code' => 'Code',
            'name' => 'Name',
            'lifecycle' => 'Lifecycle',
            'active' => 'Operational active',
            'sections' => 'Sections',
            'audit' => 'Audit',
            'updated_by' => 'Last updated by',
            'deactivated_at' => 'Deactivated at',
        ],
        'sections_title' => 'Warehouse sections',
        'audit_hint' => 'Catalog changes are stamped for traceability; stock movements carry their own journal.',
        'deactivate' => [
            'title' => 'Deactivate warehouse',
            'help' => 'Deactivation prevents new operational use. Existing posted stock history is preserved.',
            'confirm_label' => 'Type DEACTIVATE to confirm',
            'submit' => 'Deactivate',
        ],
        'create_title' => 'Add warehouse',
        'placeholders' => [
            'code' => 'e.g. WH-MAIN',
            'name' => 'Main warehouse',
        ],
        'actions' => [
            'add' => 'Add warehouse',
            'create' => 'Create warehouse',
            'back_to_list' => 'Back to list',
        ],
        'flash' => [
            'created' => 'Warehouse created.',
            'deactivated' => 'Warehouse marked inactive.',
        ],
    ],
    'items' => [
        'title' => 'Item catalog',
        'subtitle' => 'Hierarchy, attributes, and pricing (read-first operational view).',
        'create_title' => 'Add item',
        'fields' => [
            'sku' => 'SKU',
            'name' => 'Name',
            'category' => 'Category',
            'barcode' => 'Barcode',
            'description' => 'Description',
        ],
        'placeholders' => [
            'sku' => 'e.g. SKU-1001',
            'name' => 'Product name',
            'barcode' => 'Optional barcode',
            'description' => 'Optional description',
        ],
        'actions' => [
            'add' => 'Add item',
            'create' => 'Create item',
            'back_to_list' => 'Back to list',
        ],
        'flash' => [
            'created' => 'Item created.',
        ],
        'filter_category' => 'Category',
        'all_categories' => 'All categories',
        'inactive_warning' => 'This item is inactive or not in an active lifecycle — verify before operational use.',
        'hierarchy' => 'Hierarchy',
        'parent' => 'Parent',
        'variants' => 'Variants',
        'attributes' => 'Dynamic attributes',
        'pricing' => 'Pricing',
        'no_variants' => 'No variants recorded.',
        'no_attributes' => 'No attribute values.',
        'no_prices' => 'No price rows.',
    ],
    'categories' => [
        'title' => 'Categories',
        'subtitle' => 'Classification tree for catalog filtering.',
        'create_title' => 'Add category',
        'no_parent' => 'No parent (root)',
        'fields' => [
            'code' => 'Code',
            'name' => 'Name',
            'parent' => 'Parent category',
            'sort_order' => 'Sort order',
        ],
        'placeholders' => [
            'code' => 'e.g. CAT-01',
            'name' => 'Category name',
        ],
        'columns' => [
            'code' => 'Code',
            'name' => 'Name',
            'parent' => 'Parent',
        ],
        'actions' => [
            'add' => 'Add category',
            'create' => 'Create category',
            'back_to_list' => 'Back to list',
        ],
        'flash' => [
            'created' => 'Category created.',
        ],
    ],
    'attributes' => [
        'title' => 'Attributes',
        'subtitle' => 'Definitions used on items (type-aware).',
        'create_title' => 'Add attribute',
        'options_hint' => 'Required for Select and Multi-select types. Leave value key and label empty to skip a row.',
        'fields' => [
            'code' => 'Code',
            'name' => 'Name',
            'type' => 'Type',
            'option_key' => 'Value key',
            'option_label' => 'Label',
        ],
        'placeholders' => [
            'code' => 'e.g. COLOR',
            'name' => 'Attribute name',
            'option_key' => 'e.g. red',
            'option_label' => 'e.g. Red',
        ],
        'columns' => [
            'code' => 'Code',
            'name' => 'Name',
            'type' => 'Type',
            'options' => 'Options',
        ],
        'types' => [
            'text' => 'Text',
            'textarea' => 'Textarea',
            'number' => 'Number',
            'boolean' => 'Boolean',
            'select' => 'Select',
            'multi_select' => 'Multi-select',
            'date' => 'Date',
        ],
        'actions' => [
            'add' => 'Add attribute',
            'create' => 'Create attribute',
            'back_to_list' => 'Back to list',
        ],
        'flash' => [
            'created' => 'Attribute created.',
        ],
        'validation' => [
            'options_required' => 'Add at least one option for select types.',
        ],
    ],
    'visibility' => [
        'title' => 'Inventory visibility',
        'subtitle' => 'Projected balances from movements and reservations — not editable here.',
        'notice' => 'Quantities are ledger-derived. Adjust only through controlled stock movements.',
        'columns' => [
            'warehouse' => 'Warehouse',
            'item' => 'Item',
            'on_hand' => 'On hand',
            'reserved' => 'Reserved',
            'available' => 'Available',
        ],
    ],
    'operations' => [
        'immutable_posted' => 'Posted — immutable',
        'integrity_alert' => 'Integrity',
        'quarantine' => 'Quarantine',
        'failed_posting' => 'Posting failed',
        'over_receive' => 'Over-receive risk',
    ],
];
