Commit graph

612 commits

Author SHA1 Message Date
Alex Tselegidis
80435bd522 Fallback value 2024-03-19 07:11:16 +00:00
Alex Tselegidis
d4be65e4a4 Automatically set the appointment color based on the service selection 2024-03-18 17:31:43 +00:00
Alex Tselegidis
609dc93e1e Add logic for navigating back to the previously available date 2024-02-18 10:59:24 +01:00
Alex Tselegidis
6fecbc7cd7 Correct unavailable date handling in booking page 2024-02-16 17:08:51 +01:00
Alex Tselegidis
4f2927fb67 Store and process the custom field value in the booking page 2024-02-07 10:45:04 +01:00
Alex Tselegidis
b58cbc90d0 Null check 2024-01-26 09:59:40 +01:00
Alex Tselegidis
a02a6118b6 Perform styling changes to the public booking page 2024-01-06 12:32:36 +01:00
Alex Tselegidis
acafb0da48 Improve the way the service description renders in the booking page 2024-01-06 11:32:42 +01:00
Alex Tselegidis
cd768bda85 Use the helper methods to set and get date time picker values 2024-01-06 11:06:48 +01:00
Alex Tselegidis
02162ee232 Rename ui.js methods 2024-01-06 10:46:57 +01:00
Alex Tselegidis
2878d1299a Reformat entire codebase for trailing comma that will make line duplication easier 2023-12-22 11:35:41 +01:00
Alex Tselegidis
1ee373a544 Make the settings serialization more dynamic 2023-12-22 11:22:16 +01:00
Alex Tselegidis
65aacce924 No calendars are being displayed in the calendar table view while being logged in as a secretary (#1418) 2023-12-12 11:58:07 +01:00
Alex Tselegidis
e6b3ffd66b Add support for custom fields on customers (#1133) 2023-12-11 09:54:29 +01:00
Alex Tselegidis
08908e5ad6 Fix working plan exception breaks handling 2023-12-04 18:26:36 +01:00
Alex Tselegidis
0cc51ed33c Display the blocked periods to the calendar page (#432) 2023-11-17 09:42:57 +01:00
Alex Tselegidis
f5360d2f2d Rename the block period description field to notes for compatibility with the other unavailability events 2023-11-17 09:37:38 +01:00
Alex Tselegidis
602afb50b9 Display the blocked periods in the calendar (#432) 2023-11-17 08:40:29 +01:00
Alex Tselegidis
64ce83922d Add date validation to blocked periods (#432) 2023-11-17 08:10:03 +01:00
Alex Tselegidis
1c3ae956aa Update the blocked period CRUD (#432) 2023-11-17 08:04:27 +01:00
Alex Tselegidis
fbcd35f197 Add blocked period CRUD operations to the app (#432) 2023-11-03 18:25:23 +01:00
Alex Tselegidis
38f872d857 Various minor service and service category fixes 2023-11-03 18:24:49 +01:00
Alex Tselegidis
4b18b78e69 Rename the "create" method of controllers to "store" 2023-10-26 08:11:49 +02:00
Alex Tselegidis
c37757e969 Translation changes 2023-10-26 08:11:48 +02:00
Alex Tselegidis
e9842a40bc Revert renaming the service-categories to categories (for clarity) 2023-10-26 08:11:31 +02:00
Alex Tselegidis
b7e7b54947 Fix the event drop functionality for the table view (#1417) 2023-10-23 11:13:48 +02:00
Alex Tselegidis
216a07327f Fix the event drop functionality for the table view 2023-10-23 11:05:00 +02:00
Alex Tselegidis
49dcf21c10 Ensure the color selection widget is not disabled when adding a new service (#1427) 2023-10-16 11:08:03 +02:00
Alex Tselegidis
482b0077cd Do not save the unavailability if no provider was selected 2023-10-09 16:50:23 +02:00
Alex Tselegidis
571b169756 Remove unnecessary flag 2023-09-12 19:10:40 +03:00
popod
fa55a4832b
fix display of long unavailability notes 2023-07-28 16:41:25 +02:00
Alex Tselegidis
0fdb1ffdae Correct the date parsing on Safari based browsers, while changing the month in the booking page 2023-07-24 09:48:27 +02:00
Alex Tselegidis
0bb02ae2bf Set the right locale to the fullcalendar instances 2023-07-17 07:50:55 +02:00
Alex Tselegidis
ebe087553e Automatically select the next available date in the booking page or display a message if this month is unavailable (#1075) (#1204) 2023-07-11 08:11:41 +02:00
Alex Tselegidis
07ff42c1a4 Correct the displayed calendar height 2023-07-11 08:02:56 +02:00
Alex Tselegidis
792e0545e8 Do not allow users to enable the Google Sync if "all" is selected 2023-07-11 07:44:25 +02:00
Alex Tselegidis
5473544258 Allow working plan exceptions to be defined as non-working days (#1383). 2023-07-10 08:22:55 +02:00
Alex Tselegidis
9a3c2e4036 Do not show the day numbers in the month view 2023-07-05 17:39:49 +02:00
Alex Tselegidis
4d58075ef7 Preselect the date with a query parameter (#1376) 2023-07-03 10:05:20 +02:00
Alex Tselegidis
afe06721f7 Keep the same provider while changing services (if possible). 2023-06-20 19:02:32 +03:00
Alex Tselegidis
359c458404 Correct the default status value. 2023-06-19 13:16:58 +03:00
Alex Tselegidis
2f69be2bd0 Update the equivalent appointment removal action of the calendar table view. 2023-06-01 14:30:08 +02:00
Alex Tselegidis
8e37e54bdb Refactor the calendar page appointment removal so that it also uses a request parameter called "cancellation_reason", just like the public booking page does. 2023-06-01 14:25:02 +02:00
Alex Tselegidis
64edc3e450 Remove the unnecessary switch case of the calendar page. 2023-06-01 14:19:14 +02:00
Alex Tselegidis
121571f517 Display the any-provider option only if there are more than one providers available for selection 2023-05-04 17:56:43 +02:00
Alex Tselegidis
243a0467b0 Display the error message in the message modal correctly. 2023-05-04 17:51:06 +02:00
Alex Tselegidis
82b25b50ad Import the window moment object 2023-05-04 17:48:58 +02:00
Alex Tselegidis
230f052b9a Correct the min date of the booking datepicker so that it accepts the current date as a selection 2023-05-04 17:48:48 +02:00
Alex Tselegidis
0fbc3b906d Automatically store and remember the last selected filter item in the calendar page. 2023-05-04 12:00:17 +02:00
Alex Tselegidis
bf3f2d7131 Unselect the selected time of the calendar right after it is detected. 2023-05-04 11:57:02 +02:00
Alex Tselegidis
d3c96efac5 Enhance the booking info field display. 2023-05-04 11:52:54 +02:00
Alex Tselegidis
f285414391 Add an additional message parameter to define if a message is dismissible. 2023-05-04 11:36:49 +02:00
Alex Tselegidis
9bcc67ac89 Enable the nowIndicator in fullcalendar modules 2023-05-03 07:32:02 +02:00
Alex Tselegidis
f67097932f Do not display empty customer information in the booking confirmation step. 2023-05-03 07:25:31 +02:00
Alex Tselegidis
46a865300e Escape the legal settings, service and category name in the booking page 2023-04-15 14:14:42 +02:00
Alex Tselegidis
2255c84778 Escape the popover title for special HTML characters. 2023-04-05 15:38:17 +02:00
Alex Tselegidis
55b64d42ae Perform various styling changes to the fullcalendar widget 2023-03-20 08:56:02 +01:00
Alex Tselegidis
b3a82bf5f4 Make the notification button sm 2023-03-17 07:49:00 +01:00
Alex Tselegidis
8ea1567036 Correct the cookie notice condition check 2023-03-17 07:06:41 +01:00
Alex Tselegidis
5827a36d7a Remove unused method 2023-03-01 08:22:30 +01:00
Alex Tselegidis
f58016ba9d Fine tune the calendar selection callback 2023-03-01 08:22:15 +01:00
Alex Tselegidis
6226e0f86c Toggle the first booking step 2023-02-21 08:32:30 +01:00
Alex Tselegidis
01d03f50a6 Correct the display of the cancellation message box 2023-02-21 08:08:09 +01:00
Alex Tselegidis
6245d389b2 Comment updates 2023-02-21 08:06:36 +01:00
Alex Tselegidis
2999dcda87 Define local variables for UMD libraries 2023-02-21 08:05:55 +01:00
Alex Tselegidis
93fdbd875a Correct the message modal handling methods 2023-02-20 08:24:49 +01:00
Alex Tselegidis
efb9fda649 Correct flatpickr positioning issue on modals 2023-02-20 08:09:03 +01:00
Alex Tselegidis
0d52732489 Replace selector with variable 2023-02-20 08:06:12 +01:00
Alex Tselegidis
9ec281640e Fix working plan handling and refactor to arrow functions 2023-02-20 08:01:27 +01:00
Alex Tselegidis
c891985c1b Remove old jQuery UI timepicker call 2023-02-20 07:42:13 +01:00
Alex Tselegidis
c8bfb623e2 Apply the future booking limit to the booking page 2023-02-13 09:36:08 +01:00
Alex Tselegidis
7f534e51c7 Correct datepicker navigation issue in booking page 2023-02-13 09:13:36 +01:00
Alex Tselegidis
122759b531 Grey out the unavailable dates of the booking flatpickr instance 2023-02-10 13:38:00 +01:00
Alex Tselegidis
7b6565fe32 Replace the jQuery UI 'fade' easing with the jQuery fadeIn and fadeOut methods 2023-02-10 13:22:38 +01:00
Alex Tselegidis
dd3697c018 Change null default value with undefined 2023-02-07 09:29:12 +01:00
Alex Tselegidis
6deeee0812 Replace the datepicker of the booking page 2023-02-07 07:39:44 +01:00
Alex Tselegidis
5f8f5f5eb2 Replace the old date picker in the table view 2023-02-07 07:34:53 +01:00
Alex Tselegidis
0b444cc8ed Replace the old time pickers in the working plan handling 2023-02-07 07:31:12 +01:00
Alex Tselegidis
153ed1174b Correct initialize timepicker method use 2023-02-07 07:14:35 +01:00
Alex Tselegidis
0e0194c927 Replace the date time pickers in the backend section 2023-02-02 08:54:47 +01:00
Alex Tselegidis
5c1a6975f4 Replace the central date-time picker methods 2023-02-02 08:54:24 +01:00
Alex Tselegidis
99c7fe1403 Add the modal centered and scrollable to the message utility 2023-02-02 08:48:13 +01:00
Alex Tselegidis
280c9d0ebb Replace the toast function with a bootstrap equivalent 2023-01-27 15:54:59 +01:00
Alex Tselegidis
229a2aec90 Replace the show message function with a bootstrap equivalent (no jquery ui used any more) 2023-01-27 15:54:45 +01:00
Alex Tselegidis
59170af997 Adjust manage mode handling in booking page 2023-01-14 10:15:06 +01:00
Alex Tselegidis
8879fa7889
Merge pull request #1326 from eerojaaskelainen/RelFrontFixes
Fixes for frontend problems running in release mode
2023-01-14 10:15:01 +01:00
Alex Tselegidis
4446f26399 Make the backend footer sticky and remove the "placeFooterToBottom" function 2023-01-14 09:40:18 +01:00
Alex Tselegidis
d19e8a3f84 Remove footer position adjustments (not needed any more) 2022-12-21 19:18:35 +01:00
Alex Tselegidis
d84e19b39f Correct the variable reference 2022-12-21 18:58:46 +01:00
Eero Jääskeläinen
e2fe600b94 CalendarTableView: Added missing declaration on unavailabilityPeriod 2022-11-17 12:53:44 +02:00
Alex Tselegidis
6eef401b5c Remove the initialize method of components from the list of the exposed module methods 2022-10-16 22:24:50 +03:00
Alex Tselegidis
e2c3137262 Improve the content of the calendar event popover widget 2022-10-16 22:03:29 +03:00
Alex Tselegidis
b2015052d8 Do not add a dash in the event title if there are no customer first and last name provided 2022-10-16 21:58:50 +03:00
Alex Tselegidis
bbf63001da Return null if the provided argument is empty 2022-10-16 21:55:59 +03:00
Alex Tselegidis
0f6df76667 Allow the users to define their own status and assign them to appointments (#244). 2022-10-16 21:54:26 +03:00
Alex Tselegidis
8449fd3d28 Fix the rescheduling functionality in the booking page 2022-10-16 18:07:45 +03:00
Alex Tselegidis
1fe33fb672 Correct the working_plan.js comment 2022-10-16 18:05:23 +03:00
Alex Tselegidis
37b165f8a2 Make sure the browser timezone is listed before preselecting it (otherwise use UTC) 2022-10-05 12:09:57 +03:00
Alex Tselegidis
436c49319c Fix the popover behavior in the calendar page 2022-10-03 17:06:01 +03:00
Alex Tselegidis
cc05380f2d Use a default value in case the timezone could not be detected 2022-10-03 17:06:01 +03:00