You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 rivejä
2.5 KiB
PHP

<?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/pos.css",
],
"scripts" => [
"static/js/input_type_money.js",
"static/js/bsalert.js",
"static/js/pos_items.js",
"static/js/pos_customer.js",
"static/js/pos_payment.js",
"static/js/pos_finish.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"
],
],
"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"
]
]);