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.

messages.php 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. define("MESSAGES", [
  6. "invalid_parameters" => [
  7. "string" => "invalid parameters",
  8. "type" => "danger"
  9. ],
  10. "account_state_error" => [
  11. "string" => "account state error",
  12. "type" => "danger"
  13. ],
  14. "404_error" => [
  15. "string" => "page not found",
  16. "type" => "info"
  17. ],
  18. "customer_saved" => [
  19. "string" => "customer saved",
  20. "type" => "success"
  21. ],
  22. "invalid_customerid" => [
  23. "string" => "invalid customer id",
  24. "type" => "danger"
  25. ],
  26. "cash_not_open" => [
  27. "string" => "cash not open",
  28. "type" => "danger"
  29. ],
  30. "cash_already_open" => [
  31. "string" => "cash already open",
  32. "type" => "danger"
  33. ],
  34. "register_set" => [
  35. "string" => "register set",
  36. "type" => "success"
  37. ],
  38. "cash_opened" => [
  39. "string" => "cash opened",
  40. "type" => "success"
  41. ],
  42. "register_saved" => [
  43. "string" => "register saved",
  44. "type" => "success"
  45. ],
  46. "register_name_taken" => [
  47. "string" => "register name taken",
  48. "type" => "danger"
  49. ],
  50. "return_transaction_no_edit" => [
  51. "string" => "cannot edit return transaction",
  52. "type" => "danger"
  53. ],
  54. "card_x_added" => [
  55. "string" => "card x added",
  56. "type" => "success"
  57. ],
  58. "card_x_saved" => [
  59. "string" => "card x saved",
  60. "type" => "success"
  61. ],
  62. ]);