Commit graph

690 commits

Author SHA1 Message Date
Alex Tselegidis
bd9b5f196a Customer model will honor the display/require settings 2021-12-20 09:38:51 +01:00
Alex Tselegidis
afad7920eb The booking page will render based on the selected displayed/required fields. 2021-12-20 09:38:37 +01:00
Alex Tselegidis
4eec5fbe46 Refactored the booking settings page functionality and structure 2021-12-20 09:16:44 +01:00
Alex Tselegidis
7799f08da6 The privileges variable is not needed by the account.php template 2021-12-20 09:16:05 +01:00
Alex Tselegidis
37c46c7286 Removed unnecessary validation from general settings 2021-12-20 09:15:05 +01:00
Alex Tselegidis
29423647b6 Added migration for displayed/required booking fields 2021-12-20 08:07:57 +01:00
Alex Tselegidis
745a2f7c67 Corrected field name in the downgrade method of a migration class 2021-12-20 07:09:23 +01:00
Alex Tselegidis
6017abea45 Refactored the business settings page functionality and structure 2021-12-18 21:36:25 +01:00
Alex Tselegidis
34fbd2060d Fixes on the general settings page 2021-12-18 21:06:24 +01:00
Alex Tselegidis
2342e0d3d0 Fixes on the general settings page 2021-12-18 21:04:59 +01:00
Alex Tselegidis
42ff670928 Refactored the general settings page functionality and structure 2021-12-18 20:53:59 +01:00
Alex Tselegidis
84df2423c2 Improved the footer display for mobile and desktop viewports 2021-12-18 19:32:26 +01:00
Alex Tselegidis
8ea5b1c4eb Removed the release label config form the app 2021-12-18 19:20:46 +01:00
Alex Tselegidis
3f35658643 HTML structure changes to the account page 2021-12-18 19:16:22 +01:00
Alex Tselegidis
a3282febc9 Added new callback to the account controller to validate usernames 2021-12-18 18:55:58 +01:00
Alex Tselegidis
f58d3b142b The user model can validate usernames 2021-12-18 18:55:42 +01:00
Alex Tselegidis
f0992fd4f6 Changed the account page attributes and added the validation script 2021-12-18 18:55:27 +01:00
Alex Tselegidis
c53cd000d8 Refactored the account page functionality and structure 2021-12-18 18:25:03 +01:00
Alex Tselegidis
a090b2eba9 Updated the file banner info 2021-12-18 17:44:07 +01:00
Alex Tselegidis
72bc5efe34 Removed obsolete permissions prop 2021-12-18 17:37:00 +01:00
Alex Tselegidis
526df6e4d7 Replaced the "show_error" with the "abort" equivalent 2021-12-18 17:32:05 +01:00
Alex Tselegidis
0ff19b050d Use the html_vars and script_vars for assigning the page variables 2021-12-18 17:22:40 +01:00
Alex Tselegidis
2cc3123a2f Added var tags in the template comments 2021-12-17 10:59:07 +01:00
Alex Tselegidis
5420ef1389 Updated the booking page so that it works with the new html_vars and script_vars helper functions. 2021-12-17 10:55:37 +01:00
Alex Tselegidis
74c48e8a9a Renamed and updated the js_lang_script and js_vars_script components 2021-12-17 10:55:10 +01:00
Alex Tselegidis
16cea9e6a9 Updated Login to use the script_vars helper function 2021-12-17 10:53:22 +01:00
Alex Tselegidis
a40bd3f6c6 Updated EA_Controller to use the script_vars helper function 2021-12-17 10:53:08 +01:00
Alex Tselegidis
238ca6c820 Renamed config helper methods to script_vars and html_vars for consistency 2021-12-17 10:52:46 +01:00
Alex Tselegidis
bd363d0725 Rename is_route helper functiont to is_callback 2021-12-17 10:36:47 +01:00
Alex Tselegidis
6c4a15b429 Treat undefined keys as NULL 2021-12-17 10:36:22 +01:00
Alex Tselegidis
5916ad47d1 Added support for the new "calendar/reschedule" callback 2021-12-17 09:20:54 +01:00
Alex Tselegidis
7b919e2c39 Changed reschedule links for both customer and provider 2021-12-17 09:19:31 +01:00
Alex Tselegidis
dbba0865e8 Removed caching from the settings helper as it may lead to unexpected behavior (if for example values get updated in another way). 2021-12-17 09:01:12 +01:00
Alex Tselegidis
bfe6664d58 Added new "page_vars" function that will handle the rendered page variables. 2021-12-17 08:46:47 +01:00
Alex Tselegidis
bfef58672c Added new "is_route" helper method 2021-12-17 08:45:28 +01:00
Alex Tselegidis
775d385e09 Added caching to the settings helper so that we avoid unnecessary queries to the database. 2021-12-17 08:44:38 +01:00
Alex Tselegidis
e071ec46dc Common CSRF token generation correctly 2021-12-16 08:45:55 +01:00
Alex Tselegidis
c49f141bbb Moved the booking confirmation and cancellation code out of the booking controller 2021-12-16 08:37:55 +01:00
Alex Tselegidis
bb3665272d Renamed language_script.php to js_language_script.php for clarity 2021-12-16 08:21:29 +01:00
Alex Tselegidis
c9d9153594 Renamed config_script.php to js_config_script.php for clarity 2021-12-16 08:20:10 +01:00
Alex Tselegidis
4ef2c0a9bb Changed cancellation frame view file name 2021-12-16 08:19:08 +01:00
Alex Tselegidis
1a0ed47fe3 Changed the names of the booking step components 2021-12-16 08:18:37 +01:00
Alex Tselegidis
3dee36d4c1 Moved booking sections into the components directory 2021-12-16 08:13:27 +01:00
Alex Tselegidis
dc8d6ad140 Update has its own controller class 2021-12-16 08:10:01 +01:00
Alex Tselegidis
ff03b71060 Replaced resource names with constants for "cannot" checks 2021-12-15 08:05:08 +01:00
Alex Tselegidis
568ff9be2e Renamed the service category resource to just category 2021-12-15 08:00:48 +01:00
Alex Tselegidis
41635413a1 Moved scripts to the script slot 2021-12-15 07:59:54 +01:00
Alex Tselegidis
16863bcf5b Renamed the id_service_categories field of services to id_categories 2021-12-15 07:45:41 +01:00
Alex Tselegidis
777dcb0d9e Reverted invalid migration changes 2021-12-15 07:41:05 +01:00
Alex Tselegidis
5d8a35f120 Renamed service categories table to categories 2021-12-15 07:31:42 +01:00