- Mär 18, 2025
-
-
verfasst von Henning Leutz
fix: adjust uuid usage See merge request !177
-
verfasst von Henning Leutz
Multiple changes were made to improve code quality and functionality. Here's a summary of the changes: - Debug log statements were removed from `ArticleList.js` and `ArticleSummary.js` for calculation enabling and disabling methods. This helps to keep the console clean and focussed on critical issues. - Changed a misused property name from `hash` to `uuid` in `CopyErpEntityDialog.js`. This ensures correct usage of identifiers. - Multiple formatting changes for function declarations in `ERPEntities.js`, functions now follow the format `function () {}` for unnamed functions. - A `#id` field is newly included in `openPanelByUUID` function of `ERPEntities.js`. These changes are expected to augment the performance of ERP modules, and improve the overall readability of the code.
-
- Mär 07, 2025
-
-
verfasst von Henning Leutz
feat: article and article list -> new flag, not calculations See merge request !175
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
The calculation of the article can be deactivated and the calculation values can be transferred directly. Is required for the electronic invoice.
-
verfasst von Henning Leutz
The calculation of the article can be deactivated and the calculation values can be transferred directly. Is required for the electronic invoice.
-
- Mär 06, 2025
-
-
verfasst von Henning Leutz
-
- Feb 26, 2025
-
-
verfasst von Henning Leutz
fix: allow null user type in setuser methods and improve type hinting See merge request !173
-
verfasst von Henning Leutz
This commit includes changes made to both the Article.php and ArticleList.php classes in the QUI\ERP\Accounting directory. The setUser methods now accept a null type for the 'User' parameter, giving more flexibility when calculating user details. Type hinting was also improved in the ArticleList class. The variable type indicators were changed from 'int|float' to 'int | float', and from 'Factor|QUI\\ERP\\Products\\Utils\\PriceFactor' to 'Factor | QUI\\ERP\\Products\\Utils\\PriceFactor', improving readability and clarity of code. Lastly, the 'template' and 'articleTemplate' parameters in the 'toHTMLWithCSS' method now support both 'bool' and 'string' types, adding flexibility to template usage.
-
- Feb 25, 2025
-
-
verfasst von Henning Leutz
refactor: remove unnecessary comments in user conversion See merge request !171
-
verfasst von Henning Leutz
Removed some superfluous comments and exception declaration in the `convertUserToErpUser` function within the `User.php` class. These comments were not adding any useful information, and the exception mentioned was not being thrown, hence their removal.
-
verfasst von Henning Leutz
-
- Feb 22, 2025
-
-
verfasst von Henning Leutz
fix(phpstan): added exception handling for missing html2pdf module in OutputTemplate See merge request !169
-
verfasst von Henning Leutz
This commit addresses the issue of PHPStan not recognizing certain classes for type validation within our PHP codebase. This is done by adding these classes to the PHPStan configuration as ignored errors. This ensures accuracy in our static analysis for errors and warnings. Key classes such as QUI\\ERP\\Process, QUI\\ERP\\Accounting\\Calc and QUI\\ERP\\Accounting\\ArticleList have been catered to.
-
verfasst von Henning Leutz
Updated calcArticleList method in Calc.php to ignore PHPStan warnings using the `@phpstan-ignore-line` and `@phpstan-ignore-next-line` directives. Also, added a TODO comment regarding net calculations.
-
verfasst von Henning Leutz
In this commit, several changes have been made to streamline the Manufacturer and Process classes within the ERP module: - Replaced the non-empty check for 'firstname' and 'lastname' attributes in the User class with an `empty()` function, resulting in cleaner code without changing the functionality. - Replaced the argument in `User->activate()` from `false` to `''` for consistency. - Removed unnecessary annotations and some unused `protected` properties from the Process class. - Altered the procedure to retrieve `salesOrder` from the Entity in the Process class. Now, the method first tries to retrieve it via `getPaymentDataEntry()`, and if unavailable, it attempts to fetch it using `getCustomDataEntry()`. This ensures a more robust and reliable retrieval of the 'salesOrder' property. - Added `@phpstan-ignore-next-line` in the Processes class to prevent phpstan from throwing unwarranted warnings regarding the following code line in specific scenarios. Related: #103
-
verfasst von Henning Leutz
In this commit, several enhancements are made in the ajax price calculation PHP files including more verbose error logging and minor refactoring of the calculation itself. Instead of adding an error message in QUI, we now add detailed error handling using QUI\System\Log. Additionally, we have improved file handling in `ajax/output/sendMail.php` by ensuring the file is an instance of `QUI\Projects\Media\File` or `QUI\Projects\Media\Image` before attaching it. Lastly, we added an option for parsing in method getCustomerFiles of the ErpEntityInterface. This commit will make the scripts more efficient and robust against errors.
-
verfasst von Henning Leutz
Related: #103
-
- Feb 19, 2025
-
-
verfasst von Henning Leutz
Changed the constants 'TYPE_INVOICE_REVERSAL' and 'TYPE_INVOICE_CANCEL' to 'PAYMENT_STATUS_ERROR' and 'PAYMENT_STATUS_CANCELED' respectively. This will ensure that the payment status are correctly identified and processed.
-
- Feb 10, 2025
-
-
verfasst von Henning Leutz
In OutputTemplate.php, a check has been added to ensure the existence of the 'QUI\\HtmlToPdf\\Document' class before using it. If the class does not exist, an error message is logged, and an exception is thrown indicating that the html2pdf module is missing. This fix is aimed at avoiding potential errors that may occur due to the absence of the required module.
-
verfasst von Henning Leutz
fix: argument must be of type OutputProviderInterface See merge request !167
-
verfasst von Henning Leutz
Changed the variable name `$OutputProvider` to `$outputProvider` to adhere to camelCase naming standards. Also moved the instantiation of `$outputProvider` inside an if block to prevent unnecessary instantiation when `$outputProvider` is empty. Related: pcsg/kunden/libellio/b2c/core#196
-
- Feb 04, 2025
-
-
verfasst von Henning Leutz
fix(Process): getGroupedRelatedTransactionEntities checks invoices correctly See merge request !166
-
verfasst von Henning Leutz
Related: pcsg/buero#491
-
- Jan 15, 2025
-
-
verfasst von Henning Leutz
fix(ArticleListUnique): no longer format already formatted totals See merge request !165
-
verfasst von Henning Leutz
-
- Dez 30, 2024
-
-
verfasst von Henning Leutz
fix: html to pdf document -> has erp entity See merge request !164
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
fix: check const defined at pdf download See merge request !163
-
verfasst von Henning Leutz
-
- Dez 28, 2024
-
-
verfasst von Henning Leutz
Next 3.x See merge request !162
-
verfasst von Henning Leutz
-
- Nov 28, 2024
-
-
verfasst von Henning Leutz
-
- Nov 26, 2024
-
-
verfasst von Henning Leutz
fix: check vat -> wrong quantity calc check See merge request !161
-
verfasst von Henning Leutz
-
- Nov 19, 2024
-
-
verfasst von Henning Leutz
fix: declaration of ArticleList::toHTMLWithCSS must be compatible with... See merge request !160
-
verfasst von Henning Leutz
fix: declaration of ArticleList::toHTMLWithCSS must be compatible with ArticleListUnique::toHTMLWithCSS
-
verfasst von Henning Leutz
feat(ArticleListUnique): toHTML() can be passed to template engine and thus... See merge request !159
-
verfasst von Henning Leutz
feat(ArticleListUnique): toHTML() can be passed to template engine and thus settings / variables can be passed on Related: order-simple-checkout#12
-
- Nov 18, 2024
-
-
verfasst von Henning Leutz
fix: erp pdf view - all pages See merge request !158
-