Commit Graph

39 Commits

Author SHA1 Message Date
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 e6b3ffd66b Add support for custom fields on customers (#1133) 2023-12-11 09:54:29 +01: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
Vadim Serdunich 249e67ef91 Customers_model: api_encode: add timezone field 2023-09-15 16:40:02 +03:00
Alex Tselegidis 5bea235ec8 Cast the result value to int 2023-07-17 14:17:37 +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 2b552c4535 Resolve various PHP inspection issues 2023-03-13 09:06:18 +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
Alex Tselegidis 5431d25f0b Use variables by reference in the foreach loops of the models 2022-10-16 18:08:33 +03:00
Alex Tselegidis 353a13fa38 Soft-Delete customer appointments when deleting a customer. 2022-05-10 14:40:19 +02:00
Alex Tselegidis 6b738a1ea5 Check only in the non-deleted customers, when validating the email address (#1246) 2022-05-10 14:28:56 +02: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 54e4c208a3 Update the project subtitle. 2022-01-18 13:05:42 +01:00
Alex Tselegidis bd9b5f196a Customer model will honor the display/require settings 2021-12-20 09:38:51 +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 9338ec4445 Type casting for the Customers_model.php 2021-10-29 12:38:56 +02:00
Alex Tselegidis 4671055a52 Corrected typo on get customer role ID method 2021-10-28 13:26:31 +02:00
Alex Tselegidis 4bec35d70c Removed the : void return typehint 2021-10-27 10:49:42 +02:00
Alex Tselegidis 024479e5c6 Updated the customers model class. 2021-10-27 10:04:15 +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 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 532548d64d Proper use of the property phpdoc tag 2020-09-23 13:16:37 +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 7279b1911e Can replace customer notes with empty notes (#541). 2020-03-29 19:00:37 +02:00
Alex Tselegidis e1e9a60085 Moved source files to the root directory. 2020-03-11 10:24:25 +01:00
Renamed from src/application/models/Customers_model.php (Browse further)