Commit graph

2490 commits

Author SHA1 Message Date
Alex Tselegidis
4ee715e308 Port functionality from old backend file to the new backend layout module. 2022-01-17 05:26:26 +01:00
Alex Tselegidis
63c81dc09c Code refactoring and improvements for the booking HTTP client. 2022-01-17 05:14:36 +01:00
Alex Tselegidis
04ec3adaa0 Code refactoring and improvements for the default calendar view utility. 2022-01-17 05:10:26 +01:00
Alex Tselegidis
7f1302087a Code refactoring and improvements for the calendar page module. 2022-01-17 05:10:14 +01:00
Alex Tselegidis
1ebc50893e Code refactoring and improvements for the unavailabilities modal component. 2022-01-17 04:46:18 +01:00
Alex Tselegidis
fe7d6de462 The format method access a date object as well. 2022-01-17 04:45:58 +01:00
Alex Tselegidis
9467113ad9 The initialize method will be called by the DOMContentLoaded event automatically. 2022-01-17 04:44:22 +01:00
Alex Tselegidis
8438f647f0 Code refactoring and improvements for the appointments modal component. 2022-01-17 04:33:31 +01:00
Alex Tselegidis
32b6052546 Update the js doc content of the javascript files. 2022-01-14 09:26:44 +01:00
Alex Tselegidis
f2c40a58b2 Rename the manage-unavailable-modal to unavailabilities-modal 2022-01-14 08:43:53 +01:00
Alex Tselegidis
7126d75988 Rename the manage-appointment-modal to appointments-modal 2022-01-14 08:39:11 +01:00
Alex Tselegidis
2a11f6045e Use the App.Vars instead of GlobalVariables in login.js. 2022-01-14 08:34:46 +01:00
Alex Tselegidis
778edf0b21 Redirect to "calendar" route instead of "backend" after a successful log in. 2022-01-14 08:34:28 +01:00
Alex Tselegidis
a89a6d8faf Rename "init" methods to "initialize". 2022-01-14 08:31:12 +01:00
Alex Tselegidis
f327fd5221 Refactor the booking confirmation related JS files so that they become standalone modules. 2022-01-13 11:33:46 +01:00
Alex Tselegidis
43ad017d7a Refactor the booking related JS files so that they become standalone modules. 2022-01-13 11:33:40 +01:00
Alex Tselegidis
795eccb165 The booking footer "backend" link must point to the new calendar controller. 2022-01-13 11:33:19 +01:00
Alex Tselegidis
745f70848a Refactor the calendar related JS files so that they become standalone modules. 2022-01-12 11:22:54 +01:00
Alex Tselegidis
ddd252303e Port calendar event popover methods from GeneralFunctions to the new CalendarEventPopover utility module. 2022-01-12 11:22:22 +01:00
Alex Tselegidis
90b1d4671c Use the App.Utils.Message.show instead of the GeneralFunctions for displaying messages in business_nesttings.js 2022-01-12 11:21:59 +01:00
Alex Tselegidis
ce0b5b0747 Perform further refactoring for the installation.js so that it better matches the new JS structure. 2022-01-12 11:21:25 +01:00
Alex Tselegidis
588db71497 Use the App.Utils.Message.show instead of the GeneralFunctions for displaying messages in frontend_book.js 2022-01-12 11:20:41 +01:00
Alex Tselegidis
44b438440b Add missing phpdoc template variable. 2022-01-12 11:20:07 +01:00
Alex Tselegidis
3827641d72 Update occurrences of the getWeekdayId method. 2022-01-12 11:19:48 +01:00
Alex Tselegidis
64eecc5895 Add missing utils to installations.php template. 2022-01-12 11:18:57 +01:00
Alex Tselegidis
79c0f2c356 Renamed module function name (spelling weekday as one word) 2022-01-12 11:18:35 +01:00
Alex Tselegidis
098a475442 Add better email validation regex. 2022-01-11 16:25:14 +01:00
Alex Tselegidis
464b1125b6 Remove unused backend_secretaries.js file. 2022-01-11 10:55:00 +01:00
Alex Tselegidis
21be3e7b50 Refactor the providers helper JS file so that it becomes a standalone module. 2022-01-11 10:54:46 +01:00
Alex Tselegidis
5e59c3b5a3 Add missing utulity scripts to business_settings.php. 2022-01-11 10:54:14 +01:00
Alex Tselegidis
fd121672d6 Remove unused backend_calendar_working_plan_exceptions_modal.js file. 2022-01-11 10:53:51 +01:00
Alex Tselegidis
eeb0a8445d Update the business setting page module according to the new working plan utility changes 2022-01-11 10:53:32 +01:00
Alex Tselegidis
7b7698f689 Refactor the working plan util code (it now uses other utils and helpers). 2022-01-11 10:52:58 +01:00
Alex Tselegidis
355f49f706 Update working plan exceptions modal references of the calendar page. 2022-01-11 10:52:02 +01:00
Alex Tselegidis
7704fc1223 Move general functions methods to the date util. 2022-01-11 10:51:29 +01:00
Alex Tselegidis
a6971d6c84 Create new string util script. 2022-01-11 10:51:10 +01:00
Alex Tselegidis
d1bf0ec89d Convert the working plan exceptions modal to a component script. 2022-01-11 10:50:24 +01:00
Alex Tselegidis
c5a1c2a8c0 Add support for nested layout sections 2022-01-11 10:26:49 +01:00
Alex Tselegidis
0a005d570b Support multiple additions of the same section content 2022-01-11 10:11:09 +01:00
Alex Tselegidis
cd2fe86aa3 The working_plan_exceptions_modal.php will load its own script automatically 2022-01-10 09:38:06 +01:00
Alex Tselegidis
d574a3b981 Make sure the user ID and role slug are available on all backend pages. 2022-01-10 09:36:11 +01:00
Alex Tselegidis
e2bffc5e95 Refactor the categories helper JS file so that it becomes a standalone module. 2022-01-10 09:26:28 +01:00
Alex Tselegidis
195680e8b3 Refactor the services helper JS file so that it becomes a standalone module. 2022-01-10 09:16:28 +01:00
Alex Tselegidis
7409b17a03 Export common admin page module functions. 2022-01-10 09:07:48 +01:00
Alex Tselegidis
41f25026de Convert the secretaries page to the new js module structure. 2022-01-07 09:44:51 +01:00
Alex Tselegidis
30418468e8 Convert the admins page to the new js module structure. 2022-01-07 09:29:04 +01:00
Alex Tselegidis
e0c66cd066 Rename the "display" filter parameter to "show" for consistency. 2022-01-07 09:07:07 +01:00
Alex Tselegidis
bd3b55c2f9 Replace var with const/let in customers module 2022-01-07 09:02:30 +01:00
Alex Tselegidis
62357dfc36 Update customers module comment 2022-01-07 08:59:03 +01:00
Alex Tselegidis
547e681a22 Remove unused users-page scripts 2022-01-07 08:57:20 +01:00