An easy point of sale system with automatic inventory tracking. https://netsyms.biz/apps/nickelbox/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pages.php 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?php
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. // List of pages and metadata
  6. define("PAGES", [
  7. "home" => [
  8. "title" => "home",
  9. "navbar" => false,
  10. "icon" => "fas fa-home"
  11. ],
  12. "pos" => [
  13. "title" => "point of sale",
  14. "navbar" => true,
  15. "icon" => "fas fa-store-alt",
  16. "styles" => [
  17. "static/css/tempusdominus-bootstrap-4.min.css",
  18. "static/css/pos.css",
  19. ],
  20. "scripts" => [
  21. "static/js/input_type_money.js",
  22. "static/js/bsalert.js",
  23. "static/js/bsnumpad.js",
  24. "static/js/bsmoneypad.js",
  25. "static/js/moment.min.js",
  26. "static/js/tempusdominus-bootstrap-4.min.js",
  27. "static/js/pos_items.js",
  28. "static/js/pos_customer.js",
  29. "static/js/pos_gridview.js",
  30. "static/js/pos_payment.js",
  31. "static/js/pos_finish.js",
  32. "static/js/pos_management.js",
  33. "static/js/pos.js",
  34. ]
  35. ],
  36. "onlinesales" => [
  37. "title" => "Online Sales",
  38. "navbar" => true,
  39. "icon" => "fas fa-box",
  40. "styles" => [
  41. "static/css/datatables.min.css",
  42. "static/css/tables.css"
  43. ],
  44. "scripts" => [
  45. "static/js/datatables.min.js",
  46. "static/js/onlinesales.js"
  47. ],
  48. ],
  49. "customers" => [
  50. "title" => "customers",
  51. "navbar" => true,
  52. "icon" => "fas fa-users",
  53. "styles" => [
  54. "static/css/datatables.min.css",
  55. "static/css/tables.css"
  56. ],
  57. "scripts" => [
  58. "static/js/datatables.min.js",
  59. "static/js/customers.js"
  60. ],
  61. ],
  62. "editcustomer" => [
  63. "title" => "edit customer",
  64. "navbar" => false,
  65. "styles" => [
  66. "static/css/datatables.min.css",
  67. "static/css/tables.css"
  68. ],
  69. "scripts" => [
  70. "static/js/input_type_money.js",
  71. "static/js/bsalert.js",
  72. "static/js/datatables.min.js",
  73. "static/js/editcustomer.js"
  74. ]
  75. ],
  76. "registers" => [
  77. "title" => "registers",
  78. "navbar" => true,
  79. "icon" => "far fa-money-bill-alt",
  80. "styles" => [
  81. "static/css/datatables.min.css",
  82. "static/css/tables.css"
  83. ],
  84. "scripts" => [
  85. "static/js/bsalert.js",
  86. "static/js/datatables.min.js",
  87. "static/js/registers.js"
  88. ],
  89. ],
  90. "editregister" => [
  91. "title" => "edit register",
  92. "navbar" => false,
  93. "styles" => [
  94. "static/css/editregister.css",
  95. ],
  96. "scripts" => [
  97. "static/js/editregister.js"
  98. ]
  99. ],
  100. "certificates" => [
  101. "title" => "gift cards",
  102. "navbar" => true,
  103. "icon" => "fas fa-gift",
  104. "styles" => [
  105. "static/css/datatables.min.css",
  106. "static/css/tables.css"
  107. ],
  108. "scripts" => [
  109. "static/js/bsalert.js",
  110. "static/js/datatables.min.js",
  111. "static/js/certificates.js"
  112. ],
  113. ],
  114. "editcertificate" => [
  115. "title" => "edit certificate",
  116. "navbar" => false,
  117. "scripts" => [
  118. "static/js/input_type_money.js",
  119. "static/js/editcertificate.js"
  120. ]
  121. ],
  122. "reports" => [
  123. "title" => "reports",
  124. "navbar" => true,
  125. "icon" => "fas fa-download",
  126. "styles" => [
  127. "static/css/tempusdominus-bootstrap-4.min.css",
  128. "static/css/easy-autocomplete.min.css"
  129. ],
  130. "scripts" => [
  131. "static/js/moment.min.js",
  132. "static/js/tempusdominus-bootstrap-4.min.js",
  133. "static/js/jquery.easy-autocomplete.min.js",
  134. "static/js/reports.js"
  135. ]
  136. ],
  137. "404" => [
  138. "title" => "404 error"
  139. ]
  140. ]);