<?php

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// List of pages and metadata
define("PAGES", [
    "home" => [
        "title" => "home",
        "navbar" => false,
        "icon" => "fas fa-home"
    ],
    "pos" => [
        "title" => "point of sale",
        "navbar" => true,
        "icon" => "fas fa-store-alt",
        "styles" => [
            "static/css/tempusdominus-bootstrap-4.min.css",
            "static/css/pos.css",
        ],
        "scripts" => [
            "static/js/input_type_money.js",
            "static/js/bsalert.js",
            "static/js/bsnumpad.js",
            "static/js/bsmoneypad.js",
            "static/js/moment.min.js",
            "static/js/tempusdominus-bootstrap-4.min.js",
            "static/js/pos_items.js",
            "static/js/pos_customer.js",
            "static/js/pos_gridview.js",
            "static/js/pos_payment.js",
            "static/js/pos_finish.js",
            "static/js/pos_management.js",
            "static/js/pos.js",
        ]
    ],
    "customers" => [
        "title" => "customers",
        "navbar" => true,
        "icon" => "fas fa-users",
        "styles" => [
            "static/css/datatables.min.css",
            "static/css/tables.css"
        ],
        "scripts" => [
            "static/js/datatables.min.js",
            "static/js/customers.js"
        ],
    ],
    "editcustomer" => [
        "title" => "edit customer",
        "navbar" => false,
        "styles" => [
            "static/css/datatables.min.css",
            "static/css/tables.css"
        ],
        "scripts" => [
            "static/js/input_type_money.js",
            "static/js/bsalert.js",
            "static/js/datatables.min.js",
            "static/js/editcustomer.js"
        ]
    ],
    "registers" => [
        "title" => "registers",
        "navbar" => true,
        "icon" => "far fa-money-bill-alt",
        "styles" => [
            "static/css/datatables.min.css",
            "static/css/tables.css"
        ],
        "scripts" => [
            "static/js/bsalert.js",
            "static/js/datatables.min.js",
            "static/js/registers.js"
        ],
    ],
    "editregister" => [
        "title" => "edit register",
        "navbar" => false,
        "styles" => [
            "static/css/editregister.css",
        ],
        "scripts" => [
            "static/js/editregister.js"
        ]
    ],
    "certificates" => [
        "title" => "gift cards",
        "navbar" => true,
        "icon" => "fas fa-gift",
        "styles" => [
            "static/css/datatables.min.css",
            "static/css/tables.css"
        ],
        "scripts" => [
            "static/js/bsalert.js",
            "static/js/datatables.min.js",
            "static/js/certificates.js"
        ],
    ],
    "editcertificate" => [
        "title" => "edit certificate",
        "navbar" => false,
        "scripts" => [
            "static/js/input_type_money.js",
            "static/js/editcertificate.js"
        ]
    ],
    "reports" => [
        "title" => "reports",
        "navbar" => true,
        "icon" => "fas fa-download",
        "styles" => [
            "static/css/tempusdominus-bootstrap-4.min.css",
            "static/css/easy-autocomplete.min.css"
        ],
        "scripts" => [
            "static/js/moment.min.js",
            "static/js/tempusdominus-bootstrap-4.min.js",
            "static/js/jquery.easy-autocomplete.min.js",
            "static/js/reports.js"
        ]
    ],
    "404" => [
        "title" => "404 error"
    ]
]);
