Skip to content
Code-Schnipsel Gruppen Projekte
  1. Mär 07, 2025
    • Henning Leutz's avatar
      Merge branch 'next-2.x' into 'main' · 3a60a588
      verfasst von Henning Leutz
      fix: enhance invoice download and electronic invoice processing
      
      See merge request !95
      2.4.8
      3a60a588
    • Henning Leutz's avatar
      fix: enhance invoice download and electronic invoice processing · bdd10914
      verfasst von Henning Leutz
      - Introduced a new JS script block in `download.php` which gets triggered when user session is not
      valid or on missing parameters `invoice` or `type`.
      - `Dialog.js` has been modified to change how invoices are downloaded. Instead of creating an
      invisible iframe, now it leverages fetch API and download.js to get the invoice and proceed
      downloading.
      - Corrected indentation of the text and button image in the dialog box of the invoice download.
      - `Invoice.php` updated to include a new check for net value invoices. Adds articles to the
      `ZugferdDocumentBuilder` and calculates VAT based on the detected invoice type (net or gross). This
      ensures accurate electronic invoices.
      bdd10914
    • Henning Leutz's avatar
      Merge branch 'next-2.x' into 'main' · 9de04a5f
      verfasst von Henning Leutz
      fix: improve invoice handling for the electronic invoice
      
      See merge request !93
      2.4.7
      9de04a5f
    • Henning Leutz's avatar
      fix: improve invoice handling for the electronic invoice · f39943e2
      verfasst von Henning Leutz
      This commit offers a more detailed pricing calculation, including Net and Gross pricing for the
      electronic invoice export. It adds essential support for VAT calculation for invoice articles. It
      also includes the quantity into the gross price calculation which was previously based only on the
      net price. This could help in maintaining proper financial records. We also replaced the implicit
      variable declaration with explicit variable assignment for better code readability.
      f39943e2
  2. Feb 16, 2025
  3. Feb 14, 2025
    • Henning Leutz's avatar
      refactor(phpstan): phpstan errors across multiple files · a545b5c8
      verfasst von Henning Leutz
      This commit addresses numerous PHPStan errors and warnings throughout different files in the
      application. The changes include correcting faulty type expectations, reorganizing code sections
      for readability and better functionality, and making sure function parameters satisfy required type
      constraints. This enhances the overall code quality, readability, and maintainability.
      a545b5c8
    • Henning Leutz's avatar
      chore: correct class reference case in phpstan-baseline.neon · 1948bd97
      verfasst von Henning Leutz
      Resolves an issue where QUI\\\\Database\\\\Exception was incorrectly referenced as
      QUI\\\\DataBase\\\\Exception in phpstan-baseline.neon. It also removes the affected code for
      cleaner modification.
      1948bd97
    • Henning Leutz's avatar
      fix(phpstan): correct typo in exception namespace · 40206500
      verfasst von Henning Leutz
      Changed 'QUI\\DataBase\\Exception' to 'QUI\\Database\\Exception' in
      src/QUI/ERP/Accounting/Invoice/Invoice.php to fix a typo in the namespace, which was causing a
      failure in setting processing status.
      40206500
    • Henning Leutz's avatar
      refactor(phpstan): update usage of types for better clarity · a36ca14b
      verfasst von Henning Leutz
      Updated several files to make use of the pipe operator for better type declaration readability and
      clarity. This includes specifying types in functions parameters and class property declarations.
      a36ca14b
  4. Feb 13, 2025
  5. Feb 03, 2025
    • Henning Leutz's avatar
      Merge branch 'next-2.x' into 'main' · ec17bd3c
      verfasst von Henning Leutz
      fix: load user data for editing Invoice and TemporaryInvoice panels
      
      See merge request !90
      2.4.5
      ec17bd3c
    • Henning Leutz's avatar
      fix: delay increase and element destruction in Dialogs.js · 9c93a365
      verfasst von Henning Leutz
      The commit uncomments the element destruction line and increases the delay from 1 second to 10
      seconds in the Dialogs.js file. This is expected to improve the user-interface responsiveness and
      reduce potential crashes.
      9c93a365
    • Henning Leutz's avatar
      refactor: improve invoice download dialog UI/UX · 582b6caa
      verfasst von Henning Leutz
      - Modified 'Dialogs.css' to replace the button-based UI with a dropdown select for invoice download
      options.
      - Refactored the relevant methods in 'Dialogs.js' accordingly, removing button event listeners and
      implementing new logic for select-based UI.
      - Replaced 'QUIPopup' with 'QUIConfirm' to incorporate an 'OK' button for confirmation.
      - Changed hardcoded button options to select options in the DOM structure.
      - Altered event listeners in 'Dialogs.js' to suit the new 'select' element and handle submission of
      invoice download requests differently.
      - Preserved the behavior of injecting an iframe for actual downloads, with necessary changes in
      parameters and references now pointing to the select value instead of button value.
      
      Related: quiqqer/invoice#157
      582b6caa
    • Henning Leutz's avatar
      fix: load user data for editing Invoice and TemporaryInvoice panels · 06a34ad6
      verfasst von Henning Leutz
      - Loaded user lock information to enhance usability in Invoice and TemporaryInvoice panels.
      - Ensured more meaningful user data for lock notification messages.
      - Renamed functions and aligned code for better readability.
      - Refined dependency loading in unlock panel function to increase stability.
      - Added 'Users' dependency for user information retrieval.
      
      Related: pcsg/buero#488
      06a34ad6
  6. Jan 08, 2025
  7. Dez 30, 2024
  8. Dez 28, 2024
  9. Dez 27, 2024
  10. Dez 14, 2024
  11. Dez 06, 2024
  12. Dez 05, 2024
  13. Sep 10, 2024