<?php

return [
    'title' => 'PURCHASE ORDER',

    'prefixes' => [
        'default' => 'PO',
    ],

    'statuses' => [
        'draft' => ['label' => 'Draft', 'color' => 'secondary'],
        'open' => ['label' => 'Open', 'color' => 'primary'],
        'closed' => ['label' => 'Closed', 'color' => 'success'],
        'void' => ['label' => 'Void', 'color' => 'danger'],
    ],

    'ref_labels' => [
        'ref_number' => 'Ref Number',
        'enquiry_number' => 'Enquiry Number',
    ],

    'default_valid_days' => 15,

    'features' => [
        'Create purchase orders for vendors with GST line items and validity dates.',
        'Track open POs, share PDF links, and convert to purchase bills when goods are received.',
        'Export and filter by vendor, date, amount, and status.',
    ],

    'document_settings' => [
        'options' => [
            'show_shipping_address' => ['label' => 'Show Ship To Address', 'default' => true],
            'show_amount_due' => ['label' => 'Show Amount Due', 'default' => true],
            'show_terms' => ['label' => 'Show Terms & Conditions', 'default' => true],
            'show_total_in_words' => ['label' => 'Show Total in Words', 'default' => true],
            'show_contact_person_vendor' => ['label' => 'Show Contact Person in Vendor section', 'default' => true],
            'show_primary_signature' => ['label' => 'Show Primary Signature', 'default' => true],
            'show_secondary_signature' => ['label' => 'Show Secondary Signature', 'default' => false],
            'show_total_tax_amount' => ['label' => 'Show Total Tax Amount', 'default' => false],
        ],
        'labels' => [
            'title_purchase_order' => ['label' => 'Purchase Order Title', 'default' => 'PURCHASE ORDER'],
            'bill_to' => ['label' => 'Vendor', 'default' => 'Vendor'],
            'ship_to' => ['label' => 'Ship To', 'default' => 'Ship To'],
            'issue_date' => ['label' => 'Issue Date', 'default' => 'Issue Date'],
            'valid_until' => ['label' => 'Valid Until', 'default' => 'Valid Until'],
            'ref_number' => ['label' => 'Ref Number', 'default' => 'Ref Number'],
            'terms' => ['label' => 'Terms', 'default' => 'Terms & Conditions'],
            'col_item' => ['label' => 'Item (column)', 'default' => 'Item Description'],
            'col_description' => ['label' => 'Description (column)', 'default' => 'Description'],
            'col_hsn' => ['label' => 'HSN/SAC (column)', 'default' => 'HSN/SAC'],
            'col_quantity' => ['label' => 'Qty (column)', 'default' => 'Qty'],
            'col_unit' => ['label' => 'UoM (column)', 'default' => 'UoM'],
            'col_unit_price' => ['label' => 'Price (column)', 'default' => 'Price (₹)'],
            'col_tax' => ['label' => 'Tax (column)', 'default' => 'Tax'],
            'col_discount' => ['label' => 'Discount (column)', 'default' => 'Discount'],
            'col_total' => ['label' => 'Total (column)', 'default' => 'Amount (₹)'],
        ],
    ],
];
