<?php

return [
    'title' => 'CREDIT NOTE',

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

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

    'reasons' => [
        'sales_return' => 'Sales Return',
        'post_sale_discount' => 'Post Sale Discount',
        'deficiency_in_services' => 'Deficiency in services',
        'correction_in_invoice' => 'Correction in Invoice',
        'change_in_pos' => 'Change in POS',
        'provisional_assessment' => 'Finalization of Provisional assessment',
        'others' => 'Others',
    ],

    'features' => [
        'Create credit notes for returns, discounts, or invoice corrections.',
        'Link each note to an original invoice and track open credits.',
        'GST-compliant line items with PDF, print, and share links.',
    ],

    'document_settings' => [
        'options' => [
            'show_credits_available' => ['label' => 'Show Credits Available', 'default' => true],
            'show_terms' => ['label' => 'Show Notes', 'default' => true],
            'show_total_in_words' => ['label' => 'Show Total in Words', 'default' => true],
            'show_contact_person' => ['label' => 'Show Contact Person in Bill To', 'default' => true],
            'show_primary_signature' => ['label' => 'Show Primary Signature', 'default' => true],
            'show_secondary_signature' => ['label' => 'Show Secondary Signature', 'default' => false],
        ],
        'labels' => [
            'title_credit_note' => ['label' => 'Credit Note Title', 'default' => 'CREDIT NOTE'],
            'bill_to' => ['label' => 'Bill To', 'default' => 'Bill To'],
            'invoice_number' => ['label' => 'Invoice Number', 'default' => 'Invoice no'],
            'invoice_date' => ['label' => 'Invoice Date', 'default' => 'Invoice date'],
            'terms' => ['label' => 'Notes', 'default' => 'Notes'],
            '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'],
        ],
    ],
];
