Commit graph

154 commits

Author SHA1 Message Date
Alex Tselegidis
1fbe17aade Define get/set methods for related model resources (provider, secretary, admin users) 2024-05-11 17:03:54 +02:00
Alex Tselegidis
0706d3fdab The webhook actions are optional 2024-05-11 16:12:14 +02:00
Alex Tselegidis
86cd5f2285 Add return types to all class methods 2024-04-26 16:36:21 +02:00
Alex Tselegidis
a61701e2ad Various minor fixes in the appointment and provider models 2024-04-26 16:23:45 +02:00
Alex Tselegidis
da6d017ff1 Fix Validation 2024-03-18 11:54:08 +00:00
Alex Tselegidis
e527d13899 Correct validation 2024-03-18 11:38:09 +00:00
Alex Tselegidis
492a49f2b3 Decode the status prop 2024-03-08 14:10:37 +01:00
Alex Tselegidis
edb5458f54 Ensure user records always have salt value 2024-01-12 13:07:43 +01:00
Alex Tselegidis
fa6f685e13 Fix "categories" table not found error 2024-01-06 11:22:12 +01:00
Alex Tselegidis
e0a1282338 Add missing API methods 2024-01-05 17:06:55 +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
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
c8a9e2c24b Enable prettier for php and reformat the entire application directory 2023-11-29 10:24:09 +01:00
Alex Tselegidis
f040404332 Apply the blocked periods to the booking page availability (#432) 2023-11-17 11:38:17 +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
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
ee2fd4ea5a Rename some variables in Service_categories_model.php 2023-10-26 08:11:49 +02:00
Alex Tselegidis
e9842a40bc Revert renaming the service-categories to categories (for clarity) 2023-10-26 08:11:31 +02:00
Alex Tselegidis
cf19a90311 Drop support for soft deletes in order to reduce the code complexity and data usage 2023-10-19 16:25:45 +02:00
Alex Tselegidis
784cb0c877
Merge pull request #1410 from laravel-vesuvius/develop
Fix search Appointments_model
2023-10-09 15:49:07 +02:00
Vadim Serdunich
249e67ef91 Customers_model: api_encode: add timezone field 2023-09-15 16:40:02 +03:00
Vadim Serdunich
193205bfc0 Fix search Appointments_model: appointments id field 2023-09-14 19:39:52 +03:00
Vadim Serdunich
a05551ba74 Fix search Appointments_model 2023-09-13 17:27:19 +03:00
Alex Tselegidis
c3eb4d1632 Only the IP and type are required fields 2023-09-12 17:17:12 +03:00
Alex Tselegidis
5bea235ec8 Cast the result value to int 2023-07-17 14:17:37 +02:00
Alex Tselegidis
90c5c0282d Update the working plan exception checks in Availability.php for non-working days 2023-07-17 07:56:51 +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
66dfd36d6d Fix the booking settings require-notes setting application, as it should check on the appointment notes and not the customer ones 2023-06-30 19:04:35 +02:00
Alex Tselegidis
6050e6eb71 Add missing API fields 2023-05-04 11:32:40 +02:00
Alex Tselegidis
c7a304c197 Add a method to quickly check if a provider is assigned to a secretary. 2023-04-15 14:34:42 +02:00
Alex Tselegidis
f540192570 Add helper methods to quickly check if a service is assigned to a provider 2023-04-15 14:34:23 +02:00
Alex Tselegidis
2b552c4535 Resolve various PHP inspection issues 2023-03-13 09:06:18 +01:00
Alex Tselegidis
c7371090ba Add missing API fields to Unavailabilities_model.php (#1323) 2023-01-23 07:50:24 +01:00
Alex Tselegidis
eb863ea044 Add missing API fields to Appointments_model.php 2023-01-23 07:50:13 +01:00
Alex Tselegidis
cfe88f8901 Fix the condition check of the "get_setting" method of providers, secretaries and admins (#1327) 2023-01-14 10:15:06 +01:00
Alex Tselegidis
b62e458258 Change the "value" method signature 2023-01-14 09:39:14 +01:00
Alex Tselegidis
0ee1f5cb0a Allow the user to filter by the entire user name 2022-12-12 09:19:14 +01:00
popod
e53683863d
Fix working_plan_exceptions inconsistency when empty 2022-12-03 17:17:40 +01:00
Alex Tselegidis
30c55a4666 Correct the validate username method 2022-11-30 11:53:45 +01:00
Alex Tselegidis
8c91c86508 Do not take deleted records into concern 2022-11-30 11:22:48 +01: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
5431d25f0b Use variables by reference in the foreach loops of the models 2022-10-16 18:08:33 +03:00
Alex Tselegidis
6d413ffdfc Unset the "password" and "salt" parameter when getting a user or a provider 2022-10-03 17:06:01 +03:00
Alex Tselegidis
7b5f4d014a Group conditions in order to avoid querying removed records accidentally. 2022-07-07 15:27:18 +02:00
Alex Tselegidis
658ac78d8f Replace the default exception classes with more specific ones 2022-06-20 12:31:11 +03:00
Alex Tselegidis
0d5e60cdb7 Add support for dynamic webhook definition in the settings page (#581) 2022-06-20 12:12:36 +03:00