- Feb 23, 2025
-
-
verfasst von Henning Leutz
Changes include: - Modified code formatting to improve readability and conform to best coding practices. - Updated type declarations using pipe (|) operator to indicate variable can hold multiple types. - Adjusted the spacing around the pipe operator in type declarations for improved readability.
-
verfasst von Henning Leutz
This commit fixes several areas: 1. It changes class type in BasketOrder from QUI\\Users\\User to QUI\\Interfaces\\Users\\User. 2. It refactors Order to better handle if statements and moves verification of class existence up to the beginning. Fix involves assuming that function getInvoiceAddress and getDeliveryAddress always return a non-null value. It also updates on how we check class exists for Shipping data. 3. In OrderInProcess, now we check if method 'toArticle' exists on the Product object before calling it and applies similar class checking like in Order for Shipping data. 4. Corrects and standardizes the casing for exception catching in OrderProcess. In summary, these changes lead to a safer and cleaner code base by addressing potential Null Pointer Exceptions and ensuring the existence of classes before they are being called. Related: #172
-
verfasst von Henning Leutz
This commit improves the way processing status id is handled across different methods in the ProcessingStatus module. Now, we consistently cast processing status id as string before passing it to the config setter methods, eliminating any potential issues that might occur due to variable type inconsistencies. Changes are applied to the Factory and Handler classes alike. Related: #172
-
verfasst von Henning Leutz
Updated AbstractOrder.php to return null instead of false in getShippingStatus() when the shipping status is not set. This makes the method's behaviour more consistent. Updated Search.php to add a condition check for class existence before retrieving shipping status. This ensures that the code will not fail if the class is not defined. Modified DataLayer.php to add a condition check for class existence before retrieving shipping. Added @phpstan-ignore-next-line in Utils.php to silence phpstan for the next line of code. Related: #172
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
Updated the version of `phpstan` from `1.11.8` to `1.*` and set the installed version as `1.12.13` in .phive/phars.xml. This should ensure we're always using the latest version of `phpstan` that matches the specified range.
-
- Feb 22, 2025
-
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
Updated the `getCustomerFiles` method signature in `AbstractOrder.php` to accept an optional boolean parameter `$parsing`. Method can now be customized to return parsed file information or raw data.
-
- Feb 19, 2025
-
-
verfasst von Patrick Müller
-
- Feb 10, 2025
-
-
verfasst von Henning Leutz
-
- Feb 07, 2025
-
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
In the ajax/frontend/basket/toOrderInProcess.php: - The QUI\ERP\Order\Factory class was imported. - In the event of an exception, a new order in process is created instead of just logging the error. This change should improve the user experience by preventing any disruption in the order process due to unexpected errors.
-
- Feb 06, 2025
-
-
verfasst von Henning Leutz
Improve readability and interpretability of code by explicitly stating null in union types. This change has been applied across multiple files and functions. PHP8.4 compatibility
-
verfasst von Henning Leutz
Added a conditional check in src/QUI/ERP/Order/Basket/Basket.php to convert basketId to actual id from user's session if it is a boolean value. This fixes potential issues that may arise with non-integer basketIds. Also, introduced a safeguard check before saving to ensure there is a valid User. If not, the save function is exited early to prevent potential errors or undesired actions.
-
- Feb 04, 2025
-
-
verfasst von Henning Leutz
Changed the default value of paymentId status in the paymentChangeable list from 1 to 0 to ensure accurate payment status representation. Related: #176
-
verfasst von Henning Leutz
-
- Jan 20, 2025
-
-
verfasst von Michael Danielczok
-
- Dez 02, 2024
-
-
verfasst von Henning Leutz
-
- Nov 28, 2024
-
-
verfasst von Michael Danielczok
-
- Nov 25, 2024
-
-
verfasst von Henning Leutz
-
- Okt 23, 2024
-
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
-
- Okt 22, 2024
-
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
-
- Okt 17, 2024
-
-
verfasst von Henning Leutz
-
- Okt 16, 2024
-
-
verfasst von Michael Danielczok
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
Related: #174
-
- Okt 10, 2024
-
-
verfasst von Henning Leutz
-
- Okt 09, 2024
-
-
verfasst von Henning Leutz
-
- Okt 08, 2024
-
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
-
- Sep 24, 2024
-
-
verfasst von Michael Danielczok
Related: order-guestorder#6
-
- Sep 23, 2024
-
-
verfasst von Michael Danielczok
-
verfasst von Michael Danielczok
Related: order-guestorder#6
-
- Sep 19, 2024
-
-
verfasst von Michael Danielczok
-
verfasst von Henning Leutz
-
- Sep 18, 2024
-
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
For orders this is not needed. the internal instance cache causes more problems due to the mix between uuid and id cache. the internal cache on uuid / id was therefore removed. Orders have the data freshly fetched from the db anyway. therefore unnecessary. In addition, a wrong order object was repeatedly retrieved when sending mail.
-