Commit graph

3141 commits

Author SHA1 Message Date
Alex Tselegidis
8dad2d9624 Replace the global App.Lang with the "lang" helper method, which is more appropriate due to the dynamic load of script translation strings. 2022-01-18 08:22:25 +01:00
Alex Tselegidis
e93565500d Replace the global App.Vars with the "vars" helper method, which is more appropriate due to the dynamic load of script vars. 2022-01-18 08:18:22 +01:00
Alex Tselegidis
ca4e58313a Pull the available languages from the App.Vars.* object. 2022-01-18 07:20:04 +01:00
Alex Tselegidis
380ce3784a Perform various post-refactoring fixes to the calendar page views (default/table). 2022-01-17 21:33:04 +01:00
Alex Tselegidis
0cf99d9538 Parse the working plan start and end value correctly, depending on the current time format setting. 2022-01-17 21:32:44 +01:00
Alex Tselegidis
2feb0d5c99 Add missing selector const and convert remaining functions to arrow functions 2022-01-17 21:32:17 +01:00
Alex Tselegidis
3ca5fa6de6 Proper mark selected row when clicking on a result list item. 2022-01-17 21:31:53 +01:00
Alex Tselegidis
f4f494e4b4 Minor business settings module improvements. 2022-01-17 21:20:29 +01:00
Alex Tselegidis
79c9566257 Hide the appointments modal after a successful appointment store method. 2022-01-17 21:20:06 +01:00
Alex Tselegidis
398b85363f Update the request params (now using snake_case). 2022-01-17 21:19:46 +01:00
Alex Tselegidis
777d15423c Backend notification functionality and styling. 2022-01-17 21:19:17 +01:00
Alex Tselegidis
6589e4e5c8 The scripts section must be at the bottom of the file. 2022-01-17 21:18:59 +01:00
Alex Tselegidis
7ca93f5eeb Pass the calendar view to both the html and script vars 2022-01-17 21:18:43 +01:00
Alex Tselegidis
0da73ab43e Remove the "ajax_" prefix from all new AJAX endpoints. 2022-01-17 19:44:44 +01:00
Alex Tselegidis
c154280026 Create new Google HTTP client. 2022-01-17 19:44:21 +01:00
Alex Tselegidis
8d93f283f8 Redirect to the login page if the user is not logged in or display the no permissions message when the permissions are insufficient. 2022-01-17 18:24:02 +01:00
Alex Tselegidis
3c0f925596 Login works again using the new login HTTP client. 2022-01-17 18:23:11 +01:00
Alex Tselegidis
af464bd83c Create new login HTTP client JS module. 2022-01-17 18:22:23 +01:00
Alex Tselegidis
0051a30673 Correct upperCaseFirstLetter call namespace 2022-01-17 18:22:05 +01:00
Alex Tselegidis
4580d095ee Automatically load the common utility modules directly inside layout view files. 2022-01-17 18:21:44 +01:00
Alex Tselegidis
a8b5062bd3 Correct login href value based on logged-in state. 2022-01-17 18:06:31 +01:00
Alex Tselegidis
2b0eb8d18b Remove remanining GlobalVariables occurrences. 2022-01-17 18:02:50 +01:00
Alex Tselegidis
adf7943297 Replace GeneralFunctions upperCaseFirstLetter with the string utility module. 2022-01-17 18:01:09 +01:00
Alex Tselegidis
7a9aa3d91d Replace GlobalVariables use with App.Vars.* values. 2022-01-17 18:00:25 +01:00
Alex Tselegidis
46f0a27998 The layout modules will initialize the language selection on their own. 2022-01-17 17:54:30 +01:00
Alex Tselegidis
1986438357 Port escapeHtml method to string utility module. 2022-01-17 17:49:29 +01:00
Alex Tselegidis
d333869952 Port the change language callback to the Account controller. 2022-01-17 17:42:47 +01:00
Alex Tselegidis
cd6ec7400c Create new lang utility. 2022-01-17 17:42:12 +01:00
Alex Tselegidis
89c91fbf8b Code refactoring and improvements for the working plan utilities page. 2022-01-17 15:31:04 +01:00
Alex Tselegidis
b13fb1c574 Add jsdoc block to http utility functions 2022-01-17 15:22:12 +01:00
Alex Tselegidis
6a89e11d39 Code refactoring and improvements for the calendar related utilities page. 2022-01-17 15:21:59 +01:00
Alex Tselegidis
c9f4a8303a Code refactoring and improvements for the services page. 2022-01-17 15:03:50 +01:00
Alex Tselegidis
f004807014 Code refactoring and improvements for the secretaries page. 2022-01-17 14:56:08 +01:00
Alex Tselegidis
390d66f8d2 Code refactoring and improvements for the recovery page. 2022-01-17 14:45:20 +01:00
Alex Tselegidis
2451d4d5b7 Code refactoring and improvements for the providers page. 2022-01-17 14:37:21 +01:00
Alex Tselegidis
a513ee895e Rename $adminId selector variable to $id. 2022-01-17 14:27:46 +01:00
Alex Tselegidis
7481ebca65 Code refactoring and improvements for the login page. 2022-01-17 14:27:10 +01:00
Alex Tselegidis
ce853c99ef Code refactoring and improvements for the customers page. 2022-01-17 14:25:45 +01:00
Alex Tselegidis
8b74297fb3 Code refactoring and improvements for the categories page. 2022-01-17 06:40:48 +01:00
Alex Tselegidis
0a7f40a65e Code refactoring and improvements for the calendar page. 2022-01-17 06:31:27 +01:00
Alex Tselegidis
5c5498670c Code refactoring and improvements for the booking confirmation page. 2022-01-17 06:26:07 +01:00
Alex Tselegidis
1829b4d941 Remove unused scss file 2022-01-17 05:59:30 +01:00
Alex Tselegidis
5f4ec0264e Code refactoring and improvements for the booking page. 2022-01-17 05:57:52 +01:00
Alex Tselegidis
ea6b13f1d2 Code refactoring and improvements for the admins page. 2022-01-17 05:39:12 +01:00
Alex Tselegidis
22439eb60a Replace all backend layout occurrences. 2022-01-17 05:26:57 +01:00
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