<?php

return [
    'menu' => [
        'gst' => [
            'label' => 'GST',
            'items' => [
                'gstr1' => [
                    'label' => 'GSTR1',
                    'icon' => 'ri-government-line',
                    'route' => 'admin.reports.gstr1',
                    'active' => 'admin.reports.gstr1*',
                ],
                'gstr3b' => [
                    'label' => 'GSTR3B',
                    'icon' => 'ri-file-chart-line',
                    'route' => 'admin.reports.gstr3b',
                    'active' => 'admin.reports.gstr3b*',
                ],
                'tds_tcs' => [
                    'label' => 'TDS/TCS',
                    'icon' => 'ri-percent-line',
                    'route' => 'admin.reports.tds-tcs',
                    'active' => 'admin.reports.tds-tcs*',
                    'coming_soon' => true,
                ],
            ],
        ],
        'inventory' => [
            'label' => 'INVENTORY',
            'items' => [
                'sales_by_product' => [
                    'label' => 'Sales by product',
                    'route' => 'admin.reports.inventory',
                    'route_params' => ['report' => 'sales_by_product'],
                    'active' => 'admin.reports.inventory*sales_by_product*',
                ],
                'sales_by_service' => [
                    'label' => 'Sales by service',
                    'route' => 'admin.reports.inventory',
                    'route_params' => ['report' => 'sales_by_service'],
                    'active' => 'admin.reports.inventory*sales_by_service*',
                ],
                'sales_inventory' => [
                    'label' => 'Sales Inventory',
                    'icon' => 'ri-store-2-line',
                    'route' => 'admin.reports.inventory',
                    'route_params' => ['report' => 'sales_inventory'],
                    'active' => 'admin.reports.inventory*sales_inventory*',
                ],
                'sales_by_client' => [
                    'label' => 'Sales by client',
                    'icon' => 'ri-user-line',
                    'route' => 'admin.reports.inventory',
                    'route_params' => ['report' => 'sales_by_client'],
                    'active' => 'admin.reports.inventory*sales_by_client*',
                ],
                'sales_by_user' => [
                    'label' => 'Sales by user',
                    'icon' => 'ri-group-line',
                    'route' => 'admin.reports.inventory',
                    'route_params' => ['report' => 'sales_by_user'],
                    'active' => 'admin.reports.inventory*sales_by_user*',
                ],
                'in_out_inventory' => [
                    'label' => 'In and Out Inventory',
                    'icon' => 'ri-arrow-left-right-line',
                    'route' => 'admin.reports.inventory',
                    'route_params' => ['report' => 'in_out_inventory'],
                    'active' => 'admin.reports.inventory*in_out_inventory*',
                ],
                'invoice_tax_breakdown' => [
                    'label' => 'Invoice with Tax Breakdown',
                    'route' => 'admin.reports.inventory',
                    'route_params' => ['report' => 'invoice_tax_breakdown'],
                    'active' => 'admin.reports.inventory*invoice_tax_breakdown*',
                ],
                'e_document' => [
                    'label' => 'E Document Report',
                    'icon' => 'ri-file-paper-2-line',
                    'route' => 'admin.reports.inventory',
                    'route_params' => ['report' => 'e_document'],
                    'active' => 'admin.reports.inventory*e_document*',
                ],
            ],
        ],
    ],

    'gstr1' => [
        'capabilities' => [
            'Download your GSTR1 report as per the government format.',
            'You can upload this report to the offline government reporting tool.',
            'Shipping charges are added as line items for each invoice as per government recommendation.',
        ],
        'b2b_columns' => [
            'GSTIN/UIN of Recipient',
            'Receiver Name',
            'Invoice Number',
            'Invoice date',
            'Invoice Value',
            'Place Of Supply',
            'Reverse Charge',
            'Invoice Type',
            'Rate',
            'Taxable Value',
            'Cess Amount',
        ],
        'b2cs_columns' => [
            'Type',
            'Place Of Supply',
            'Rate',
            'Taxable Value',
            'Cess Amount',
            'E-Commerce GSTIN',
        ],
        'cdnr_columns' => [
            'GSTIN/UIN of Recipient',
            'Receiver Name',
            'Note Number',
            'Note Date',
            'Note Type',
            'Place Of Supply',
            'Reverse Charge',
            'Note Supply Type',
            'Rate',
            'Taxable Value',
            'Cess Amount',
        ],
        'hsn_columns' => [
            'HSN',
            'Description',
            'UQC',
            'Total Quantity',
            'Total Value',
            'Taxable Value',
            'Integrated Tax',
            'Central Tax',
            'State/UT Tax',
            'Cess',
        ],
    ],

    'gstr3b' => [
        'filing_steps' => [
            'Log in to <a href="https://www.gst.gov.in" target="_blank" rel="noopener">www.gst.gov.in</a> and go to Services → Returns → Returns Dashboard → select GSTR-3B. <strong>Note:</strong> As of now, GSTN may not allow GSTR-3B filing directly from third-party apps. Copy values from the GSTR-3B export or upload via the offline tool where supported.',
            'We recommend you double-check the values in the GSTR-3B summary before uploading them on the GST portal.',
            '<strong>Suggestion:</strong> While filing GSTR-3B, you can use available ITC to offset tax payable under table 6.1. You will know your GST payable upon submission of the return.',
            'Make the required payment through the GST portal.',
        ],
        'table_31_rows' => [
            'a' => '(a) Outward taxable supplies (other than zero rated, nil rated and exempted)',
            'b' => '(b) Outward taxable supplies (zero rated)',
            'c' => '(c) Other outward supplies (nil rated, exempted)',
            'd' => '(d) Inward supplies (liable to reverse charge)',
            'e' => '(e) Non-GST outward supplies',
        ],
        'table_311_rows' => [
            'i' => '(i) Taxable supplies on which e-commerce operator pays tax u/s 9(5)',
            'ii' => '(ii) Taxable supplies made by registered person through e-commerce operator',
        ],
        'table_32_rows' => [
            'unregistered' => 'Supplies made to Unregistered Persons',
            'composition' => 'Supplies made to Composition Taxable Persons',
            'uin' => 'Supplies made to UIN holders',
        ],
        'table_4_rows' => [
            'a1' => 'A(1) Import of goods',
            'a2' => 'A(2) Import of services',
            'a3' => 'A(3) Inward supplies from ISD',
            'a4' => 'A(4) Inward supplies liable to reverse charge (other than 1 & 2)',
            'a5' => 'A(5) All other ITC',
            'b1' => 'B(1) As per rules 42 & 43 of CGST Rules',
            'b2' => 'B(2) Others',
            'net' => 'C) Net ITC Available (A) − (B)',
        ],
        'table_5_rows' => [
            'composition' => 'From a supplier under composition scheme',
            'exempt' => 'Exempt',
            'nil' => 'Nil Rated',
            'non_gst' => 'Non-GST',
        ],
        'table_61_rows' => [
            'igst' => 'Integrated Tax',
            'cgst' => 'Central Tax',
            'sgst' => 'State/UT Tax',
            'cess' => 'Cess',
        ],
    ],

    'inventory' => [
        'sales_by_product' => [
            'title' => 'Sales by product Report',
            'date_label' => 'Sold between',
            'filename_prefix' => 'Inventory__SalesByProductExport',
            'help_heading' => 'What does Sales by product Report do?',
            'description' => [
                'Check your product sales with quantity sold, cost of goods sold, and gross margin for the selected period.',
            ],
        ],
        'sales_by_service' => [
            'title' => 'Sales by service Report',
            'date_label' => 'Sold between',
            'filename_prefix' => 'Inventory__SalesByServiceExport',
            'help_heading' => 'What does Sales by service Report do?',
            'description' => [
                'Get a better understanding of your service profits with quantity sold and sales amounts.',
            ],
        ],
        'sales_inventory' => [
            'title' => 'Sales Inventory Report',
            'date_label' => 'Sold between',
            'filename_prefix' => 'Inventory__SalesExport',
            'help_heading' => 'What does Sales Inventory Report do?',
            'description' => [
                'Generate a report on sales by item for tracked inventory, split by account, with name, quantity and price of items sold.',
            ],
        ],
        'sales_by_client' => [
            'title' => 'Sales by client Report',
            'date_label' => 'Sold between',
            'filename_prefix' => 'Inventory__SalesByClientExport',
            'help_heading' => 'What does Sales by client Report do?',
            'description' => [
                'Generate a report of invoices for each client with total invoiced, taxable amount, tax breakdown and status.',
            ],
        ],
        'sales_by_user' => [
            'title' => 'Sales by user Report',
            'date_label' => 'Sold between',
            'filename_prefix' => 'Inventory__SalesByUserExport',
            'help_heading' => 'What does Sales by user Report do?',
            'description' => [
                'Generate a report of invoices issued by each user with total amount, taxable amount, tax values, balance and status.',
            ],
        ],
        'in_out_inventory' => [
            'title' => 'In and Out Inventory Report',
            'date_label' => 'Sold between',
            'filename_prefix' => 'Inventory__IOExport',
            'include_services_option' => true,
            'help_heading' => 'What does In and Out Inventory Report do?',
            'description' => [
                'Track inventory based on purchases (in) and sales (out) with price, quantity and amount, ordered by date and party.',
            ],
        ],
        'invoice_tax_breakdown' => [
            'title' => 'Invoices Export with Tax Breakdown',
            'date_label' => 'Sold between',
            'filename_prefix' => 'InvoicesWithTaxBreakdownExport',
            'help_heading' => 'What does Invoice Export with Tax Breakdown Report do?',
            'description' => [
                'Generate a detailed XLS report with all tax values and general data for each invoice.',
                'A separate column is created for each tax rate used, plus CGST, SGST and IGST totals per invoice.',
            ],
        ],
        'e_document' => [
            'title' => 'E Document Report',
            'date_label' => 'e-document between',
            'filename_prefix' => 'EDocumentReportExport',
            'help_heading' => 'E Document Report',
            'description' => [
                'Lists invoices in the period that have an e-Invoice IRN and/or e-Way bill number recorded.',
            ],
        ],
    ],
];
