Commit Graph

47 Commits

Author SHA1 Message Date
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 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 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 6d413ffdfc Unset the "password" and "salt" parameter when getting a user or a provider 2022-10-03 17:06:01 +03:00
Alex Tselegidis cb410f739d Merge unset statements wherever possible 2022-03-25 12:46:49 +01:00
Alex Tselegidis ccc503e618 Touch the new timestamp fields on insert/update. 2022-01-24 23:42:13 +01:00
Alex Tselegidis 2c203ae1aa Add support for soft appointment, service, customer and provider removals (#1115). 2022-01-24 23:32:42 +01:00
Alex Tselegidis 2f41c28786 Add a new "is_private" flag to services and providers so that they do not appear in the booking page (#378). 2022-01-24 20:50:14 +01:00
Alex Tselegidis a762a37d7b Fix working plan save and delete methods. 2022-01-18 15:50:38 +01:00
Alex Tselegidis 54e4c208a3 Update the project subtitle. 2022-01-18 13:05:42 +01:00
Alex Tselegidis a090b2eba9 Updated the file banner info 2021-12-18 17:44:07 +01:00
Alex Tselegidis 54e86795d5 Minor comment changes for consistency 2021-11-06 16:21:27 +01:00
Alex Tselegidis c68565e2c3 Renamed the attached method to load for all models 2021-11-06 15:40:55 +01:00
Alex Tselegidis b4f903e724 Various fixes and additions to the model classes 2021-11-06 15:02:40 +01:00
Alex Tselegidis ba77658551 Ported the api parser encode and decode into the model classes 2021-11-05 09:37:14 +01:00
Alex Tselegidis 3c5be0d12b The set setting method could also get a NULL value 2021-11-05 08:28:59 +01:00
Alex Tselegidis e0dbdeccfc Type casting for the Providers_model.php 2021-10-29 12:39:02 +02:00
Alex Tselegidis 0aaff2eae1 Removed manual helper loading 2021-10-27 12:05:28 +02:00
Alex Tselegidis 4bec35d70c Removed the : void return typehint 2021-10-27 10:49:42 +02:00
Alex Tselegidis beeb821f8a Updated the providers model class. 2021-10-27 10:04:21 +02:00
Alex Tselegidis 2dc5439b5d The password must be provided when creating a new user (#954) 2020-12-11 21:18:33 +02:00
Alex Tselegidis 0631dbadf9 Fixed the validate_username model method. 2020-12-08 11:00:31 +02:00
Alex Tselegidis 843a476d0b The get_value method check the existence of a property with array_key_exists 2020-12-05 11:43:38 +02:00
Alex Tselegidis 9c3d253456 Code enhancements in the model classes 2020-12-05 11:38:57 +02:00
Alex Tselegidis 6f8e971673 Ensure working plan exceptions will not be NULL before being used (#926). 2020-11-16 10:43:25 +02:00
Alex Tselegidis a48324be08 Minor changes to the model classes 2020-11-16 10:41:04 +02:00
Alex Tselegidis 75a5addbc2 Grouped the property tag into parent core classes so that it does not need to be repeated. 2020-11-16 10:29:36 +02:00
Alex Tselegidis 6e66eb4fd8 Consistent module naming throughout the app 2020-11-16 10:16:00 +02:00
Alex Tselegidis 39c8ec9068 Groupped load commands in model constructor methods 2020-11-12 14:51:10 +02:00
Alex Tselegidis 0e6fdebe0f Completed the working plan exceptions feature. 2020-10-20 16:05:00 +03:00
Alex Tselegidis 532548d64d Proper use of the property phpdoc tag 2020-09-23 13:16:37 +03:00
Alex Tselegidis 30eb95461a Improvements and fixes on the custom availability feature 2020-09-23 12:24:42 +03:00
Alex Tselegidis 6c1af6dc71 Removed data structure comment from models. 2020-09-07 13:35:28 +03:00
Alex Tselegidis 6578b32dc8 Removed hardcoded use of the database prefix. 2020-05-02 12:51:06 +02:00
Alex Tselegidis 8b34d8086e Make use of the dbprefix configuration option so that query builder calls do not need to explicitly use the database prefix. 2020-04-23 20:48:20 +02:00
Alex Tselegidis 39956c6b37 Major refactoring and improvements to the application API code. 2020-04-22 21:48:56 +02:00
Alex Tselegidis 560398c882 Corrected model batch querying. 2020-04-08 10:31:01 +02:00
Alex Tselegidis 653007604f Added pagination in backend pages for faster result loading (#496). 2020-04-06 20:34:32 +02:00
Alex Tselegidis 12f6833ca5 Providers and services are ordered alphabetically (#568). 2020-03-27 11:11:51 +01:00
Alex Tselegidis e1e9a60085 Moved source files to the root directory. 2020-03-11 10:24:25 +01:00
Renamed from src/application/models/Providers_model.php (Browse further)