Skip to content

Releases: Fresh-Advance/Invoice

v5.0.2

21 Dec 22:41
e7d9d85

Choose a tag to compare

Added

  • Added additional migration instructions that could help during the update process

Fixed

  • Removed not supported <invoiceNumber> placeholder from the help button text of filename format settings

v5.0.1

07 Dec 17:14
90d919f

Choose a tag to compare

Fixed

  • Improve readme and license files
  • Fix the official website url and email

v5.0.0

12 Oct 21:43
90613a9

Choose a tag to compare

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.

v4.1.0

12 May 18:36
806f244

Choose a tag to compare

Added

  • Show Sales Tax ID in the invoice buyer column if configured

Changed

  • Updated quality tools - phpunit 10->11, phpstan 1.8->2.1, codeception 5.0->5.1

Fixed

  • Small coding style issues
  • Shop version conflicts in composer.json
  • Cleanup unused smarty template pointers in metadata.php

v4.0.0

18 Feb 22:31
329cb28

Choose a tag to compare

Added

  • New settings for configuring the invoice filename format in the order confirmation email for both owner and customer cases.
  • New settings for turning on the invoice attachment for customer and owner cases.
  • Support netto prices with separate VATs for delivery and payment costs, respecting the shop's configuration.
  • Help box for Invoice number format setting

Changed

  • Change filename prefix for admin panel invoice download to be format with some possible placeholders instead
  • Do not show zero value Payment charge costs in the invoice
  • Moved new FilenameCalculator class to Document domain, as they are used not only for emails now
  • InvoiceConfigurationRepositoryInterface::getByOrderId doesnt return null anymore
  • Moved classes to better fitting domains:
    • FreshAdvance\Invoice\Transition\Model\OrderArticle to FreshAdvance\Invoice\Document\Model\OrderArticleExtension
    • FreshAdvance\Invoice\Transition\Core\Email to FreshAdvance\Invoice\Email\Core\EmailExtension
    • FreshAdvance\Invoice\Service\OrderServiceInterface to FreshAdvance\Invoice\Order\Service\OrderServiceInterface
    • FreshAdvance\Invoice\Repository\OrderRepositoryInterface to FreshAdvance\Invoice\Order\Repository\OrderRepositoryInterface
  • Email configuration settings moved to the FreshAdvance\Invoice\Email\Settings\EmailSettingsInterface

Removed

  • Not used methods leftovers from ModuleSettings
  • PHP 8.0 support

Fixed

  • Updated the phpunit and other testing tools to fit 7.1 shop dependencies

v3.1.0

06 Oct 09:43
c11373b

Choose a tag to compare

Added

  • New setting for configuring the filename of the invoice document in the order confirmation email

v3.0.1

28 Sep 14:32
be5a2c8

Choose a tag to compare

Fixed

Fix the issue with the invoice filename in the email - now its "invoice.pdf" instead of "example.pdf"

v3.0.0

26 Sep 19:04
2a325bf

Choose a tag to compare

Added

  • Logo updated
  • Layout settings for invoice document - Document margins are adjustable
  • Possibility to add document Header (and there was a footer already, but to be handled through @page css)
  • Possibility to automatically increase the Invoice number for the Order on invoice generation
  • Possibility to set a template for Invoice number and use invoice number from the Order
  • Blocks in body.html.twig for customizing the template by your needs
  • Possibility to automatically calculate the current date by specific format from the settings
  • Double-check question for Regeneration of the document
  • New block for showing if document already generated with Download button

Changed

  • Invoice document footer setting moved to Layout settings group
  • Improve quality tools configurations
  • In admin controller there is no separate Save action anymore, it saves And generates the new document at once

Fixed

  • Add signer line in the invoice document only if value is not empty

Removed

  • Smarty support

v2.1.0

08 Nov 01:15
3495dc0

Choose a tag to compare

Added

  • Show total amount in words in the invoice

Changed

  • Language functionality have been moved to separate (Language) namespace
  • Cleanup too much visibility on autowired utility interfaces that should not be exposed

v2.0.0

07 Oct 14:10
e047119

Choose a tag to compare

Added

  • Php 8.1 and Mysql 8.0 supported
  • Possibility to generate PDFA format invoice documents

Changed

  • BC Break: Inverted dependencies on most of the classes to extracted interfaces
  • BC Break: Heavily refactored most of the classes

Fixed

  • Use Symfony filesystem utility in place of Webmozart
  • Do not use shop namespaces for module services
  • Invoice generation if invoice language does not exist on admin side