Releases: Fresh-Advance/Invoice
Releases · Fresh-Advance/Invoice
v5.0.2
v5.0.1
v5.0.0
Added
- New blocks for extending in the
invoice.html.twigPR-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/InvoiceDataInterfacetoInvoiceData/DataType/DataType/InvoiceConfigurationInterfacetoInvoiceData/InvoiceConfiguration/DataType/Exception/InvoiceConfigurationNotFoundtoInvoiceData/InvoiceConfiguration/Exception/Service/InvoiceServiceInterfacetoInvoiceData/Service/Repository/InvoiceConfigurationRepositoryInterfacetoInvoiceData/InvoiceConfiguration/Repository/Traits/ServiceContainertoEmail/Traits/- To be used for Email extension only, as it is not extending the Base class with getService method.
Transition/Controller/Admin/InvoiceControllertoInvoiceData/Controller/Admin/Service/InvoicetoInvoiceData/Service/Transput/RequestinterfacetoInvoiceData/TransputSettingsdirectory moved toInvoiceDataModuleSettingsInterfacetoFormatSettingsInterface
- Classes/Interfaces renamed
InvoiceServiceInterfacetoInvoiceFileServiceInterfaceInvoiceservice toInvoiceDataServiceand interface extracted asInvoiceDataServiceInterfaceUtilsInterfacetoResponseInterface
Invoice::getInvoiceFileNamemethod moved toInvoiceFileServiceInterface- Use
InvoiceConfigurationRepositoryInterfacedirectly for saving, instead of Invoice service as a proxy - Extract
FormatSettingsInterface::isForArchivetoPdfSettingsInterface::isForArchive - Renamed the
Documentnamespace toPdf
Removed
OrderArticle::faGetTranslatedTitlemethod and its usages- Methods removed:
InvoiceConfigurationInterface::getFormattedNumberOrderRepositoryInterface::getInvoiceNumberByOrderId
- Not used
RequestParameterMissingexception Eventsclass 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
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
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\OrderArticletoFreshAdvance\Invoice\Document\Model\OrderArticleExtensionFreshAdvance\Invoice\Transition\Core\EmailtoFreshAdvance\Invoice\Email\Core\EmailExtensionFreshAdvance\Invoice\Service\OrderServiceInterfacetoFreshAdvance\Invoice\Order\Service\OrderServiceInterfaceFreshAdvance\Invoice\Repository\OrderRepositoryInterfacetoFreshAdvance\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
v3.0.1
v3.0.0
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
v2.0.0
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