Skip to content

v5.0.0

Choose a tag to compare

@Sieg Sieg released this 12 Oct 21:43
· 10 commits to b-7.1.x since this release
90613a9

Added

  • New blocks for extending in the invoice.html.twig PR-27
  • Improved information about some settings
  • Testing for service availability and decorations, for better stability

Changed

  • The title of the item is taken from the OrderArticle instead of the original item title, to respect the moment of the order.
  • Invoice number format now supports Order fields placeholders, like other formats.
    • The default setting value is changed, please update your settings if you have the module already installed.
  • Interfaces with implementations moved to more fitting locations
    • DataType/InvoiceDataInterface to InvoiceData/DataType/
    • DataType/InvoiceConfigurationInterface to InvoiceData/InvoiceConfiguration/DataType/
    • Exception/InvoiceConfigurationNotFound to InvoiceData/InvoiceConfiguration/Exception/
    • Service/InvoiceServiceInterface to InvoiceData/Service/
    • Repository/InvoiceConfigurationRepositoryInterface to InvoiceData/InvoiceConfiguration/Repository/
    • Traits/ServiceContainer to Email/Traits/
      • To be used for Email extension only, as it is not extending the Base class with getService method.
    • Transition/Controller/Admin/InvoiceController to InvoiceData/Controller/Admin/
    • Service/Invoice to InvoiceData/Service/
    • Transput/Requestinterface to InvoiceData/Transput
    • Settings directory moved to InvoiceData
    • ModuleSettingsInterface to FormatSettingsInterface
  • Classes/Interfaces renamed
    • InvoiceServiceInterface to InvoiceFileServiceInterface
    • Invoice service to InvoiceDataService and interface extracted as InvoiceDataServiceInterface
    • UtilsInterface to ResponseInterface
  • Invoice::getInvoiceFileName method moved to InvoiceFileServiceInterface
  • Use InvoiceConfigurationRepositoryInterface directly for saving, instead of Invoice service as a proxy
  • Extract FormatSettingsInterface::isForArchive to PdfSettingsInterface::isForArchive
  • Renamed the Document namespace to Pdf

Removed

  • OrderArticle::faGetTranslatedTitle method and its usages
  • Methods removed:
    • InvoiceConfigurationInterface::getFormattedNumber
    • OrderRepositoryInterface::getInvoiceNumberByOrderId
  • Not used RequestParameterMissing exception
  • Events class removed
    • It was used to run migrations automatically, but its a very bad practice, that leads to problems, so this is removed now.