Skip to content
Code-Schnipsel Gruppen Projekte
  1. Mär 26, 2025
    • Henning Leutz's avatar
      Merge branch 'next-2.x' into 'main' · 9452bd9b
      verfasst von Henning Leutz
      feat: update currency handling
      
      See merge request !28
      2.2.0
      9452bd9b
    • Henning Leutz's avatar
      feat: update currency handling · b12cc837
      verfasst von Henning Leutz
      Updated the way how we handle the currency in the system. Now instead of directly getting the
      user's currency or the default one, we use the getRuntimeCurrency() method. This method is likely
      to return the correct currency even if the user did not set it or if there is no default currency
      set in the system. This change is applied in several files including `index.php`,
      `CurrencySwitch.php`, and `LangCurrencySwitch.php`. Additionally, updated `composer.json` to use
      version 2.2 of `quiqqer/currency`. Removed unused code.
      b12cc837
  2. Mär 06, 2025
  3. Mär 05, 2025
  4. Feb 27, 2025
  5. Feb 26, 2025
  6. Feb 24, 2025
  7. Feb 12, 2025
  8. Feb 11, 2025
  9. Feb 10, 2025
    • Henning Leutz's avatar
      fix(phpstan): remove unnecessary newline in utils.php · 40cf4b1f
      verfasst von Henning Leutz
      This commit removes an unnecessary newline in the 'src/QUI/TemplateCologne/Utils.php' file to
      maintain code cleanliness and readability. It also includes a minor change to spacing for
      formatting consistency.
      40cf4b1f
    • Henning Leutz's avatar
      refactor(phpstan): update type declaration format and add reflection for Shipping class · 942e123c
      verfasst von Henning Leutz
      - Modified format for return types in declaration of functions `getAvatar`, `getConfig`, and
      `getSetting` for increased readability.
      - Added `ReflectionClass` usage to check for constant in `QUI\ERP\Shipping\Shipping` in
      `getShippingTimeFrontendView` function, enhancing maintainability and robustness of the code.
      - Adjusted the fail-safe condition inside `getShippingTimeFrontendView` to check for the existence
      of the class 'Shipping' before checking for defined constant, reducing chance of errors.
      - Imported `ReflectionClass` at the top of the file.
      942e123c
    • Henning Leutz's avatar
      fix(phpstan): add checks for undefined constant in utils.php · 704e4892
      verfasst von Henning Leutz
      A fix has been applied in the src/QUI/TemplateCologne/Utils.php file. A condition has been added to
      check whether the PRODUCT_FIELD_SHIPPING_TIME constant is defined. If not, the function will return
      false to prevent any potential errors.
      704e4892
    • Henning Leutz's avatar
      fix(phpstan): resolve method and class checks · 8773c99f
      verfasst von Henning Leutz
      Several changes have been made, primarily around checking the existence of methods and classes and
      removing unnecessary comments.
      
      - Method checks have been introduced to ensure the `getCachePath()` method exists before calling it.
      - Removed invalid phpDocs, e.g., @var $Site Site and @var $Project Project
      - Fixed typing to align return types and updated a factory method to check class existence.
      - Added variable definition comments in the settings.css.php file for clarity.
      
      Related: #114
      8773c99f
  10. Nov 04, 2024
  11. Okt 24, 2024
  12. Okt 17, 2024
  13. Okt 16, 2024
  14. Sep 19, 2024
  15. Aug 11, 2024
  16. Aug 10, 2024
  17. Aug 09, 2024
  18. Aug 06, 2024
  19. Aug 02, 2024