Commit graph

372 commits

Author SHA1 Message Date
Alex Tselegidis
949a73ad58 Make the search method order_by and offset use the provided values 2024-05-11 19:29:08 +02:00
Thomas Ingles
9ebeb89cb0 Fix controller Booking : typo default phone_number 2024-05-11 19:28:53 +02:00
Alex Tselegidis
a8ac22fe00 Include the unavailabilities to the "all" display in the calendar 2024-05-11 19:26:08 +02:00
Alex Tselegidis
6e8778919e Unset foreach variable 2024-05-11 19:26:08 +02:00
Alex Tselegidis
5d823985de Add return types to all class methods 2024-05-11 19:26:08 +02:00
Alex Tselegidis
840286899a Various fixes in the Calendar controller 2024-05-11 19:26:08 +02:00
Alex Tselegidis
bbf8869d3b Automatically redirect logged in users to the calendar page 2024-05-11 19:26:08 +02:00
tm8544
f47ce7a194
Update Calendar.php
add script_vars for default values
2024-03-30 22:12:04 +02:00
tm8544
f84eecf7e8 add default settings for language and timezone 2024-03-27 17:09:15 +02:00
Alex Tselegidis
105e522973 Add default working plan exceptions value 2024-03-08 09:36:44 +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
cd6280b97d Make sure the API returns 404 on show if the ID was not found 2024-01-05 19:20:00 +01:00
Alex Tselegidis
aee7bb80c0 Add return types 2024-01-05 19:12:25 +01:00
Alex Tselegidis
aeadbfbe98 Block the public booking operations if the booking page is disabled 2023-12-22 12:48:06 +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
054c4fe36d Remove unnecessary "find" method parameter 2023-12-13 12:22:16 +01:00
Alex Tselegidis
e6b3ffd66b Add support for custom fields on customers (#1133) 2023-12-11 09:54:29 +01:00
Alex Tselegidis
c8a9e2c24b Enable prettier for php and reformat the entire application directory 2023-11-29 10:24:09 +01:00
Alex Tselegidis
1b22f90b6a Replace occurrences to the non-used id_categories field 2023-11-17 12:23:07 +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
f3d7b78b15 Add the blocked periods to the webhooks page (#432) 2023-11-17 08:06:34 +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
bcf03a4b90 Load the api library before using it in Unavailabilities_api_v1.php 2023-10-27 09:01:00 +02:00
Alex Tselegidis
29940e2cd1 Correct session value 2023-10-26 08:11:49 +02:00
Alex Tselegidis
4b18b78e69 Rename the "create" method of controllers to "store" 2023-10-26 08:11:49 +02:00
Alex Tselegidis
7eb048e1d2 Rename webhook related constant 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
ae76ad7385 Do not allow a customer to book the same hours multiple times
(#1420)
2023-10-23 11:46:41 +02:00
Alex Tselegidis
e987aedf75 Various fixed on the Google Sync process 2023-10-23 11:34:39 +02:00
Alex Tselegidis
0ba5015147 Comment 2023-10-23 11:21:30 +02:00
Alex Tselegidis
b88952497c Cast the provider ID to avoid errors 2023-10-09 16:48:35 +02:00
Alex Tselegidis
5bd328ee4f Correct the variable type check value 2023-10-09 12:18:24 +02:00
Alex Tselegidis
072ff2862e Fallback value for arg 2023-09-12 17:00:30 +03:00
Alex Tselegidis
c226d188c9 Use the unavailabilities model instead of the appointments model 2023-07-18 07:54:47 +02:00
Alex Tselegidis
b37b460195 Only allow authorized users to manage appointments from the calendar page (#1387) 2023-07-17 08:14:15 +02:00
Alex Tselegidis
e7ddad5641 Make sure there are no duplicate unavailability entries (#1388) 2023-07-17 07:59:56 +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
87e27d4070 Use the unavailabilities model to save the sync events (#1363) 2023-07-11 07:46:28 +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
674d7c4eeb Correct the array key access in Google.php (#1362) 2023-07-03 10:21:46 +02:00
Alex Tselegidis
d055d10610 Add "notes" to the whitelisted field list 2023-06-21 09:50:52 +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
890e3ac4d9 Order the records by update datetime to avoid them missing in the UI 2023-05-04 17:55:29 +02:00
Alex Tselegidis
fb7b2af812 Re-enable the captcha image distortion. 2023-05-03 07:26:39 +02:00
Alex Tselegidis
1655b0df2d Correct the captcha builer php issues. 2023-05-03 07:21:20 +02:00