2017-04-24 17:13:08 -06:00
|
|
|
<?php
|
|
|
|
|
2018-04-09 19:18:19 -06:00
|
|
|
/* 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/. */
|
|
|
|
|
2017-04-24 17:13:08 -06:00
|
|
|
// List of pages and metadata
|
|
|
|
define("PAGES", [
|
|
|
|
"home" => [
|
2017-04-25 18:22:27 -06:00
|
|
|
"title" => "home",
|
2018-05-23 11:41:28 -06:00
|
|
|
"navbar" => false,
|
2018-01-27 19:18:38 -07:00
|
|
|
"icon" => "fas fa-home"
|
2017-04-24 17:13:08 -06:00
|
|
|
],
|
2018-04-12 01:43:26 -06:00
|
|
|
"pos" => [
|
|
|
|
"title" => "point of sale",
|
|
|
|
"navbar" => true,
|
2018-05-30 18:39:48 -06:00
|
|
|
"icon" => "fas fa-store-alt",
|
2018-05-23 18:52:15 -06:00
|
|
|
"styles" => [
|
|
|
|
"static/css/pos.css",
|
|
|
|
],
|
2018-04-12 01:43:26 -06:00
|
|
|
"scripts" => [
|
2018-05-25 21:36:04 -06:00
|
|
|
"static/js/input_type_money.js",
|
2018-04-14 00:09:52 -06:00
|
|
|
"static/js/bsalert.js",
|
2018-05-23 18:52:15 -06:00
|
|
|
"static/js/pos_items.js",
|
2018-05-25 19:27:00 -06:00
|
|
|
"static/js/pos_customer.js",
|
2018-06-01 15:28:28 -06:00
|
|
|
"static/js/pos_gridview.js",
|
2018-05-23 18:52:15 -06:00
|
|
|
"static/js/pos_payment.js",
|
|
|
|
"static/js/pos_finish.js",
|
2018-06-02 19:07:37 -06:00
|
|
|
"static/js/pos_management.js",
|
2018-04-12 01:43:26 -06:00
|
|
|
"static/js/pos.js",
|
|
|
|
]
|
|
|
|
],
|
2018-05-25 20:05:15 -06:00
|
|
|
"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"
|
|
|
|
],
|
|
|
|
],
|
2018-05-25 20:28:07 -06:00
|
|
|
"editcustomer" => [
|
|
|
|
"title" => "edit customer",
|
|
|
|
"navbar" => false,
|
2018-05-25 21:36:04 -06:00
|
|
|
"styles" => [
|
|
|
|
"static/css/datatables.min.css",
|
|
|
|
"static/css/tables.css"
|
|
|
|
],
|
2018-05-25 20:28:07 -06:00
|
|
|
"scripts" => [
|
2018-05-25 21:36:04 -06:00
|
|
|
"static/js/input_type_money.js",
|
|
|
|
"static/js/bsalert.js",
|
|
|
|
"static/js/datatables.min.js",
|
2018-05-25 20:28:07 -06:00
|
|
|
"static/js/editcustomer.js"
|
|
|
|
]
|
|
|
|
],
|
2018-05-30 18:39:48 -06:00
|
|
|
"registers" => [
|
|
|
|
"title" => "registers",
|
|
|
|
"navbar" => true,
|
|
|
|
"icon" => "far fa-money-bill-alt",
|
|
|
|
"styles" => [
|
|
|
|
"static/css/datatables.min.css",
|
|
|
|
"static/css/tables.css"
|
|
|
|
],
|
|
|
|
"scripts" => [
|
2018-05-30 18:49:26 -06:00
|
|
|
"static/js/bsalert.js",
|
2018-05-30 18:39:48 -06:00
|
|
|
"static/js/datatables.min.js",
|
|
|
|
"static/js/registers.js"
|
|
|
|
],
|
|
|
|
],
|
2018-06-01 20:42:59 -06:00
|
|
|
"editregister" => [
|
|
|
|
"title" => "edit register",
|
|
|
|
"navbar" => false,
|
2018-06-02 21:17:09 -06:00
|
|
|
"styles" => [
|
|
|
|
"static/css/editregister.css",
|
|
|
|
],
|
2018-06-01 20:42:59 -06:00
|
|
|
"scripts" => [
|
|
|
|
"static/js/editregister.js"
|
|
|
|
]
|
|
|
|
],
|
2018-05-31 16:25:10 -06:00
|
|
|
"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"
|
|
|
|
]
|
|
|
|
],
|
2017-04-24 17:13:08 -06:00
|
|
|
"404" => [
|
|
|
|
"title" => "404 error"
|
|
|
|
]
|
2018-05-25 20:05:15 -06:00
|
|
|
]);
|