Skip to content
Code-Schnipsel Gruppen Projekte

feat: runtime currency

Zusammengeführt Henning Leutz requested to merge next-2.x into main

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.

Merge Request-Berichte

Pipeline #16590 bestanden

Pipeline bestanden für 2da3b38e auf next-2.x

Genehmigung ist optional

Merged von Henning LeutzHenning Leutz 2 weeks ago (März 26, 2025 7:24Vormittags UTC)

Details des Merges

  • Änderungen zusammengeführt in next mit 1ae31f35.
  • Hat den Quellbranch nicht gelöscht.

Pipeline #16591 bestanden

Pipeline bestanden für 1ae31f35 auf main

Aktivität

Aktivitäten filtern
  • Zustimmungen
  • Beauftragte & Prüfer(innen)
  • Kommentare (von Bots)
  • Kommentare (von Benutzerinnen und Benutzern)
  • Commits & Branches
  • Bearbeitungen
  • Labels
  • Sperrstatus
  • Erwähnungen
  • Merge Request-Status
  • Nachverfolgung
Bitte registriere oder melde dich an um zu antworten
Lade