Skip to content
Code-Schnipsel Gruppen Projekte
  1. Feb 22, 2025
    • Henning Leutz's avatar
      fix(phpstan): optimize attribute checks and method calls in erp classes · 9233e394
      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
      9233e394
  2. Feb 04, 2025
  3. Aug 12, 2024
  4. Jul 31, 2024
  5. Jun 28, 2024
  6. Jun 26, 2024
  7. Jun 25, 2024
  8. Jun 20, 2024
  9. Jun 19, 2024
  10. Apr 23, 2024
  11. Apr 05, 2024
  12. Apr 03, 2024
  13. Mär 20, 2024
    • Henning Leutz's avatar
      feat!: change of ErpEntityInterface · 8d961a64
      verfasst von Henning Leutz
      The ErpEntityInterface interface has been expanded to include customer files and the reversal method.
      ErpEntityInterface can also be "deleted". However, these cannot be deleted correctly in 90% of cases, hence reversal.
      
      BREAKING CHANGE: ErpEntityInterface extended
      Bestätigt
      8d961a64
  14. Mär 19, 2024
  15. Feb 08, 2024
  16. Feb 07, 2024
  17. Feb 05, 2024
  18. Feb 01, 2024
  19. Jan 31, 2024
  20. Jan 26, 2024
  21. Mär 16, 2022
  22. Mär 28, 2019
  23. Sep 17, 2018
  24. Sep 14, 2018
Lade