- Mär 27, 2025
-
-
verfasst von Henning Leutz
fix: ensure runtime currency code is a string See merge request !59
-
verfasst von Henning Leutz
Previously in QUI/ERP/Currency/EventHandler.php, the script output for window.RUNTIME_CURRENCY was not quoted, which could cause failures if the currency code was not a valid JavaScript variable name. This change wraps the call to Handler::getRuntimeCurrency()->getCode() in quotes to ensure it is interpreted as a string.
-
verfasst von Henning Leutz
fix: runtime currency - session closed See merge request !57
-
- Mär 26, 2025
-
-
verfasst von Henning Leutz
This commit changes the retrieval of Runtime Currency in the front-end of the application inside the Handler class. Previously, the User's Currency was directly assigned to the Runtime Currency. However, there was no null check to ensure the User's Currency was valid before assignment. This commit adds a check, ensuring the Runtime Currency is only updated if the User's Currency is not null.
-
verfasst von Henning Leutz
feat: runtime currency See merge request !55
-
verfasst von Henning Leutz
This commit includes minor improvements in the EventHandler and Handler classes under ERP/Currency. Changes mainly involve adjustment of code indentation and removal of an unused import (is_array). This ensures that the code remains clean and efficient.
-
verfasst von Henning Leutz
In this commit, we have made several changes to improve the handling of currencies within the application. - Added runtime currency support to the 'Handler' class in 'src/QUI/ERP/Currency/Handler.php'. This method provides the ability to get and set the currency during runtime. - Refactored the 'setUserCurrency' function in 'ajax/setUserCurrency.php'. Removed the use of namespace on every call to 'getAllowedCurrencies' and made it less complex. - Added a script to extend the header in 'src/QUI/ERP/Currency/EventHandler.php'. The script retrieves the default and runtime currencies. - Updated 'bin/controls/Switch.js'. Commented out the previous code and added a window location reload call after changing the currency. These changes ensure that the active user has the correct currency displayed throughout their session.
-
- Mär 24, 2025
-
-
verfasst von Henning Leutz
feat(Currency.js): get default currency See merge request !53
-
verfasst von Henning Leutz
- Updated the version of phive to ^2.0.4 in the phars.xml file - Refactored the ERP Currency Handler in the following ways: - Rearranged the argument order and types in createCurrency function - Removed unused languageData in createCurrency function - Updated createCurrency, deleteCurrency, updateCurrency to return void - Updated getDefaultCurrency to return Currency|null - Fixed getCurrency to handle `isset($currency['code'])` - Updated getCurrencies to handle `null | QUI\\Locale` - Standardized exception catch statements to `QUI\\Exception` without variable - Minor cleanups and formatting for increased readability
-
verfasst von Henning Leutz
In this commit, we've made minor changes to various PHP files in the project in order to improve code readability. We've standardized the formatting for type declarations (bool, float, int, string, array) to be separated by a whitespace character on either side of the `|` symbol where more than one type is possible. No functionality has changed in this commit - this is purely for ease of reading and maintaining the code base.
-
verfasst von Henning Leutz
Changed the formatting in several scripts related to handling currency, specifically in Currency.js, Select.js, SelectItem.js, Search.js, Window.js, AccountingCurrencyDiffers.js, AllowedCurrencies.js, CurrencyList.js, CurrencyWindow.js, and Import.js. This ensures improved readability and consistency in the code structure. These changes involved adjustments to the spacing and indentation used.
-
verfasst von Henning Leutz
This commit introduces several changes in bin/Currency.js to make the code more readable and consistent: 1. Improved function declaration style: Rather than using `function(arg1, arg2) { .. }`, we now use `function (arg1, arg2) { .. }` for better style consistency. 2. Cleaned up unnecessary whitespace: Removed redundant lines to make the code cleaner and more readable. 3. Added a new function: Introduced a new function `getDefaultCurrency()` for fetching the default system currency. This asynchronous function returns a Promise that resolves to the code of the default currency.
-
- Feb 05, 2025
-
-
verfasst von Henning Leutz
fix(phpstan): update function parameter data types See merge request !51
-
verfasst von Henning Leutz
Added a condition to check if the class 'QUI\\ERP\\Money\\Price' exists before executing the rest of the code in the convertWithSign.php file in the ajax directory. This fix prevents potential errors and improves code stability. Related: #9
-
verfasst von Henning Leutz
This commit changes the data type of the function parameters across various files. The modifications are made in the 'phpstan-baseline.neon', 'AbstractCurrency.php', 'CurrencyInterface.php', and 'Handler.php' files. Certain function parameters which could have been null are now specifically marked as available for null input. Improving the type hinting of these functions enhances code readability, allows for better static analysis and reduces the scope for bugs in the future. Related: #9
-
- Aug 05, 2024
-
-
verfasst von Jan Wennrich
Add QUIQQER Tooling See merge request !48
-
- Aug 01, 2024
-
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
- Jul 30, 2024
-
-
verfasst von Jan Wennrich
fix: log warning on missing default currency instead of error See merge request !50
-
verfasst von Jan Wennrich
fix: log warning on missing default currency instead of error See merge request !49
-
- Jul 23, 2024
-
-
verfasst von Jan Wennrich
As the problem can be handled, it is not worth an error.
-
- Mai 08, 2024
-
-
verfasst von Henning Leutz
Next See merge request !47
-
verfasst von Henning Leutz
fix: quiqqer/quiqqer locale and paths adapted to quiqqer/core See merge request !46
-
- Mai 07, 2024
-
-
verfasst von Henning Leutz
-
- Mai 06, 2024
-
-
verfasst von Henning Leutz
feat!: quiqqer v2 See merge request !45
-
verfasst von Henning Leutz
feat!: quiqqer v2 See merge request !44
-
verfasst von Henning Leutz
feat!: quiqqer v2 See merge request !43
-
verfasst von Henning Leutz
-
- Mai 01, 2024
-
-
verfasst von Henning Leutz
-
- Apr 29, 2024
-
-
verfasst von Henning Leutz
BREAKING CHANGE: quiqqer v2 has been renamed to quiqqer/core. a new major version will be created here so that we can still develop for both versions.
-
- Apr 18, 2024
-
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
-