<?php

return [
    // Module
    'pr_module' => 'PR Module',
    'purchase_requisition' => 'Purchase Requisition',
    'purchase_requisitions' => 'Purchase Requisitions',
    'generate_purchase_requisition' => 'Generate Purchase Requisition',
    'approve_purchase_requisition' => 'Approve Purchase Requisition',
    'purchase_requisition_settings' => 'Purchase Requisition Settings',

    // Permissions
    'access_purchase_requisition_module' => 'Access Purchase Requisition Module',
    'create_purchase_requisition' => 'Create Purchase Requisition',
    'view_all_purchase_requisitions' => 'View All Purchase Requisitions',
    'view_own_purchase_requisitions' => 'View Own Purchase Requisitions',
    'edit_purchase_requisition' => 'Edit Purchase Requisition',
    'delete_purchase_requisition' => 'Delete Purchase Requisition',
    'approve_purchase_requisition' => 'Approve Purchase Requisition',
    'share_purchase_requisition_with_suppliers' => 'Share Purchase Requisition with Suppliers',
    'make_purchase_from_requisition' => 'Make Purchase from Requisition',
    'access_purchase_requisition_settings' => 'Access Purchase Requisition Settings',

    // Settings
    'selling_interval_days' => 'Selling Interval (Days)',
    'stock_cover_interval_days' => 'Stock to Cover (Days)',
    'margin_ratio_percentage' => 'Margin Ratio (%)',
    'default_365_days' => 'Default: 365 days',
    'default_180_days' => 'Default: 180 days',
    'default_20_percent' => 'Default: 20%',
    'calculation_options' => 'Calculation Options',
    'avg_cost_period' => 'Avg Unit Cost Calculation Period',
    'avg_cost_all_time' => 'All Previous Transactions',
    'avg_cost_year_ago' => 'Last 365 Days Only',
    'avg_cost_period_help' => 'Choose whether to calculate average unit cost based on all previous purchase transactions or only the last 365 days.',

    'background_colors' => 'Background Colors',
    'no_previous_purchase' => 'No Previous Purchase',
    'no_previous_purchase_no_stock' => 'No Previous Purchase & No Opening Stock',
    'zero_quantity' => 'Zero Quantity',
    'low_margin' => 'Low Margin',

    // Currencies
    'currencies' => 'Currencies',
    'add_currency' => 'Add Currency',
    'currency_code' => 'Currency Code',
    'currency_name' => 'Currency Name',
    'currency_symbol' => 'Currency Symbol',
    'conversion_rate_to_egp' => 'Conversion Rate to EGP',

    // Generation Page
    'filters' => 'Filters',
    'auto_generate' => 'Auto Generate',
    'add_products' => 'Add Products',
    'current_stock' => 'Current Stock',
    'covered_qty' => 'Covered Qty',
    'pending_purchase_qty' => 'Pending Purchase',
    'required_quantity' => 'Required Quantity',
    'avg_unit_cost' => 'Avg Unit Cost',
    'last_purchase_price' => 'Last Purchase Price',
    'last_purchased_qty' => 'Last Purchased Qty',
    'last_purchased_adjusted_qty' => 'Last Purchased Adjusted Qty',
    'year_ago_sold_qty' => 'Year Ago Sold Qty',
    'product_notes' => 'Product Notes',
    'general_notes' => 'General Notes',
    'generate_new_requisition' => 'Generate New Requisition',
    'select_products' => 'Select Products',
    'insert_selected' => 'Insert Selected',
    'please_select_brand_or_category' => 'Please select at least one brand or category',
    'products_loaded_successfully' => 'Products loaded successfully',
    'no_products_found' => 'No products found matching your criteria',
    'please_select_products' => 'Please select at least one product',
    'products_added' => 'products added',
    'products_exported' => 'Products exported successfully',
    'please_add_products' => 'Please add at least one product',
    'no_products_with_quantity' => 'No products with quantity greater than zero',
    'pr_created_successfully' => 'Purchase Requisition created successfully',
    'pr_updated_successfully' => 'Purchase Requisition updated successfully',
    'pr_submitted_successfully' => 'Purchase Requisition submitted successfully',
    'generating' => 'Generating',
    'saving' => 'Saving...',
    'submitting' => 'Submitting...',
    'products' => 'Products',
    'purchase_requisition_module' => 'Purchase Requisition Module',
    'select_category_first' => 'Select category first',
    'filters' => 'Filters',
    'actions' => 'Actions',

    // Index Page
    'reference_no' => 'Reference No',
    'date_range' => 'Date Range',
    'supplier_responses' => 'Supplier Responses',
    'share_with_suppliers' => 'Share with Suppliers',
    'share_link' => 'Share Link',
    'share_links' => 'Share Links',
    'generate_links' => 'Generate Links',
    'make_purchase' => 'Make Purchase',
    'create_purchase' => 'Create Purchase',
    'export_as_csv' => 'Export as CSV',
    'purchase_requisition_details' => 'Purchase Requisition Details',
    'pending_supplier' => 'Pending Supplier',
    'pending_approval' => 'Pending Approval',
    'approved_requests' => 'Approved Requests',
    'supplier_ref_no' => 'Supplier Ref No',
    'pr_ref_no' => 'PR Ref No',
    'no_approved_requests_for_supplier' => 'No approved requests found for this supplier.',
    'please_select_at_least_one_request' => 'Please select at least one request.',
    'return_to_supplier' => 'Return to Supplier',
    'select_supplier_responses_to_return' => 'Select supplier responses to return:',
    'return_to_supplier_confirm' => 'Are you sure you want to return selected responses to supplier?',
    'returned_to_supplier_successfully' => 'Returned to supplier successfully',
    'no_submitted_responses' => 'No submitted responses found.',
    'please_select_at_least_one_response' => 'Please select at least one response.',

    // Supplier Response
    'supplier_response' => 'Supplier Response',
    'purchase_requisition_response' => 'Purchase Requisition Response',
    'required_qty' => 'Required Qty',
    'available_qty' => 'Available Qty',
    'supplier_notes' => 'Supplier Notes',
    'once_submitted_cannot_edit' => 'Once submitted, you cannot edit your response again!',
    'available_qty_cannot_exceed_required' => 'Available quantity cannot exceed required quantity',
    'response_submitted' => 'Response Submitted',
    'response_submitted_successfully' => 'Response Submitted Successfully',
    'your_response_has_been_submitted' => 'Your response has been submitted successfully. The administrator will review and approve your submission.',
    'you_cannot_edit_this_response' => 'You cannot edit this response anymore.',
    'submitted_at' => 'Submitted At',

    // Approval Page
    'supplier_price' => 'Supplier Price',
    'conversion_rate' => 'Conversion Rate',
    'converted_price_egp' => 'Converted Price (EGP)',
    'margin' => 'Margin',
    'margin_threshold' => 'Margin Threshold',
    'approve_selected' => 'Approve Selected',
    'rows_highlighted_have_low_margin' => 'Rows highlighted in red have margins below the threshold.',
    'please_select_at_least_one_product' => 'Please select at least one product to approve.',
    'approve_selected_products' => 'Are you sure you want to approve the selected products?',
    'approval_successful' => 'Requisition approved successfully',
    'avg_cost' => 'Avg Cost',
    'order_qty' => 'Order Qty',
    'order_qty_exceeds_available' => 'Order quantity cannot exceed available quantity',
    'order_qty_must_be_greater_than_zero' => 'Order quantity must be greater than zero',

    // User Permissions
    'user_permissions' => 'User Permissions',
    'module_access' => 'Module Access',
    'user_access_info' => 'Toggle the checkbox to enable or disable access to the Purchase Requisition module for each user.',

    // Common
    'list_all' => 'List All',
    'generate' => 'Generate',
    'approve' => 'Approve',
    'full_name' => 'Full Name',
    'code' => 'Code',
    'name' => 'Name',
    'symbol' => 'Symbol',
    'active' => 'Active',
    'inactive' => 'Inactive',
    'draft' => 'Draft',
    'approved' => 'Approved',
    'completed' => 'Completed',
    'link_copied' => 'Link copied to clipboard',
    'please_select_location' => 'Please select a location',
    'please_select_suppliers' => 'Please select at least one supplier',
    'filter' => 'Filter',
    'settings' => 'Settings',
    'purchase_created_successfully' => 'Purchase order created successfully',
    'created_by' => 'Created By',
    'image' => 'Image',
    'actions' => 'Actions',
    'date' => 'Date',
    'extra_part_number' => 'Extra Part Number',
    'click_to_view_full_content' => 'Click on truncated text to view full content',
    'sku' => 'SKU',
    'currency' => 'Currency',
    'notes' => 'Notes',
    'price' => 'Price',
    'submit' => 'Submit',
    'are_you_sure' => 'Are you sure?',
    'pending' => 'Pending',
    'submitted' => 'Submitted',
    'rejected' => 'Rejected',
    'default_values' => 'Default Values',
    'status' => 'Status',
    'all' => 'All',
    'updated_success' => 'Updated successfully',
    'added_success' => 'Added successfully',
    'deleted_success' => 'Deleted successfully',
    'success' => 'Success',
    'back' => 'Back',
    'selling_unit_price' => 'Selling Unit Price',
    'select_currency' => 'Select Currency',
    'please_select_currency' => 'Please select a currency to continue',
    'confirm' => 'Confirm',
    'product' => 'Product',
    'save' => 'Save',
    'close' => 'Close',
    'select_language' => 'Language',

    // Supplier submit - zero qty/price notices
    'zero_qty_auto_removed_notice' => 'Note: Products with 0 available quantity will be automatically excluded after submitting, as they are not available in your stock.',
    'zero_price_products_found' => 'Some products have a price of 0',
    'zero_price_leave_them' => 'Leave them (submit with 0 price)',
    'zero_price_remove_them' => 'Remove them (set available qty to 0)',

    // Compare & Approve / Totals
    'compare_and_approve' => 'Compare & Approve',
    'total' => 'Total',

    // Purchase Orders page
    'purchase_orders'           => 'Purchase Orders',
    'purchase_order'            => 'Purchase Order',
    'pr_refs'                   => 'PR Ref(s)',
    'line_total_egp'            => 'Line Total (EGP)',
    'purchase_read_only_notice' => 'This is a read-only view of the purchase order.',

    // Notes, images, change requests
    'row_note'               => 'Row Note',
    'order_note'             => 'Order Note',
    'upload_images'          => 'Upload Images',
    'save_notes'             => 'Save Notes',
    'request_change'         => 'Request Change Qty or Price',
    'change_request_warning' => 'This change requires admin approval before taking effect.',
    'change_history'         => 'Change History',
    'original_qty'           => 'Original Qty',
    'original_price'         => 'Original Price',
    'requested_qty'          => 'Requested Qty',
    'requested_price'        => 'Requested Price',
    'review_changes'         => 'Review Changes',
    'reject'                 => 'Reject',
    'delete_line'            => 'Delete Line',
    'admin_override'         => 'Admin Override',
    'notes_saved'            => 'Notes saved successfully',
    'change_submitted'       => 'Change request submitted. Pending admin approval.',
    'change_approved'        => 'Change approved',
    'change_rejected'        => 'Change rejected',
    'line_deleted'           => 'Product line deleted',
    'no_pending_changes'     => 'No pending changes',
    'attached_images'        => 'Attached Images',
    'new_qty'                => 'New Qty',
    'new_price'              => 'New Price',
    'cancel'                 => 'Cancel',
    'submit_change'          => 'Submit Change Request',
    'no_changes'             => 'No Changes',
    'pending_changes'        => 'Pending Changes',
    'actions'                => 'Actions',
    'admin_qty'              => 'Admin Qty',
    'admin_price'            => 'Admin Price',
    'admin_note_label'       => 'Admin Note',
    'field'                  => 'Field',
    'before'                 => 'Before',
    'after'                  => 'After',

    // Payments
    'payment'                => 'Payment',
    'payments'               => 'Payments',
    'record_payment'         => 'Record Payment',
    'paid_amount'            => 'Paid Amount',
    'paid_currency'          => 'Paid Currency',
    'rate_to_egp'            => 'Rate to EGP',
    'rate_to_order_currency' => 'Rate to Order Currency',
    'payment_totals_preview' => 'Equivalent Totals',
    'payment_history'        => 'Payment History',
    'payment_recorded'       => 'Payment recorded successfully',
    'received'               => 'Received',
    'received_note'          => 'Received Note',
    'received_updated'       => 'Received status updated',
    'paid_by'                => 'Paid By',
    'no_payments'            => 'No payments recorded yet',
    'order_total'            => 'Order Total',
    'paid_label'             => 'paid',
    'select'                 => 'Select',
    'document'               => 'Document',
    'image_only'             => 'Images only',
    'invalid_image_file'     => 'The uploaded file is not a valid image.',
    'payment_updated'        => 'Payment updated successfully',
    'edit_payment'           => 'Edit Payment',

    // Permissions
    'manage_purchase_expenses' => 'Manage Purchase Order Expenses (Landed Cost)',

    // Expenses / 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',
    '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 %',
    'allocated_egp'                 => 'Allocated (EGP)',
    'base_price'                    => 'Base Price',
    'landed_cost'                   => 'Landed Cost',
    'landed_unit_cost'              => 'Landed Unit Cost',
    'landed_cost_per_product'       => 'Landed Cost per Product',
    'landed_cost_hint'              => 'Supplier price + allocated expenses per unit',
    'total_expenses'                => 'Total Expenses',
    'total_expenses_egp'            => 'Total Expenses (EGP)',
    'products_total'                => 'Products Total',
    'egp_equivalent'                => 'EGP Equivalent',
    'equivalent'                    => 'Equivalent',
    '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.',
    'amount'                        => 'Amount',
];

