<?php

return [
    // Generic
    'landed_cost_module'      => 'Landed Cost',
    'save'                    => 'Save',
    'cancel'                  => 'Cancel',
    'close'                   => 'Close',
    'edit'                    => 'Edit',
    'delete'                  => 'Delete',
    'product'                 => 'Product',
    'order_qty'               => 'Order Qty',
    'total'                   => 'Total',
    'currency'                => 'Currency',
    'notes'                   => 'Notes',
    'amount'                  => 'Amount',
    'equivalent'              => 'Equivalent',
    'allocated'               => 'Allocated',

    // Permission label
    'manage_landed_cost'      => 'Manage Purchase Landed Cost / Expenses',

    // Expenses / Landed Cost
    'landed_cost'             => 'Landed Cost',
    'additional_expenses'     => 'Additional Expenses',
    'expenses'                => 'Expenses',
    'add_expense'             => 'Add Expense',
    'edit_expense'            => 'Edit Expense',
    'expense_name'            => 'Expense Name',
    'expense_type'            => 'Expense Type',
    'eg_sea_freight'          => 'e.g. Sea Freight',
    'type_shipping'           => 'Shipping',
    'type_customs'            => 'Customs',
    'type_insurance'          => 'Insurance',
    'type_handling'           => 'Handling',
    'type_freight'            => 'Freight',
    'type_other'              => 'Other',
    'rate_to_base'            => 'Rate to Base Currency',
    'distribution_method'     => 'Distribution Method',
    'method_equal_value'      => 'By Line Value',
    'method_equal_value_hint' => 'High-value products absorb more of the expense',
    'method_equal_qty'        => 'By Quantity',
    'method_equal_qty_hint'   => 'Each unit bears the same expense per unit',
    'method_equal_lines'      => 'Equal per Line',
    'method_equal_lines_hint' => 'Each product line gets an identical total share',
    'method_custom'           => 'Custom %',
    'method_custom_hint'      => 'Set percentages manually — must sum to 100%',
    'distribution_preview'    => 'Distribution Preview',
    'refresh_preview'         => 'Refresh Preview',
    'distribution_ratio'      => 'Ratio',
    'base_price'              => 'Base Price',
    'landed_unit_cost'        => 'Landed Unit Cost',
    'landed_cost_per_product' => 'Landed Cost per Product',
    'landed_cost_hint'        => 'Base price + allocated expenses per unit',
    'total_expenses'          => 'Total Expenses',
    'ratios_must_sum_100'     => 'Custom ratios must sum to 100%.',
    'expense_saved'           => 'Expense saved and costs recalculated.',
    'expense_updated'         => 'Expense updated and costs recalculated.',
    'expense_deleted'         => 'Expense deleted and costs recalculated.',
    'confirm_delete_expense'  => 'Delete expense',
    'no_expenses_yet'         => 'No expenses added yet.',
    'no_lines_found'          => 'No product lines found for this purchase.',
    'error_loading'           => 'Error loading data. Please try again.',
    'select_distribution_method' => 'Please select a distribution method.',

    // Apply to real cost / roll back
    'applied'                 => 'Applied to purchase cost',
    'apply_to_cost'           => 'Apply to purchase cost',
    'roll_back'               => 'Roll back',
    'apply_hint'              => 'Applying writes the landed unit cost into the purchase line cost and the product cost (used by stock valuation & COGS). The supplier total is unchanged. You can roll back any time.',
    'apply_confirm'           => 'Apply the landed cost to the real purchase cost and product cost? You can roll back later.',
    'apply_confirm_sold'      => 'Some items from this purchase have already been sold — applying will change their cost of goods sold. Continue?',
    'rollback_confirm'        => 'Roll back and restore the original purchase and product costs?',
    'landed_cost_applied_msg'    => 'Landed cost applied to the purchase and product cost.',
    'landed_cost_rolled_back_msg'=> 'Landed cost rolled back — original costs restored.',
];
