Releases: DavidPetrasek/OrderInvoiceBundle
Releases · DavidPetrasek/OrderInvoiceBundle
v1.6.0
Added
- Default invoice style for mPDF twig template
- MpdfGenerator can specify CSS file to use (
useCss) - methods:
isPaid,setPaid - If at least a single advance invoice was marked as paid, order's state is automatically set to
PARTIALLY_PAID - If final or regular invoice was marked as paid, order's state is automatically set to
PAID - If the total amount due is equal to zero, after deducting advance invoice payments, the final invoice is automatically marked as paid.
Removed
- Order: paid_at
Changed
- docs
- New order's state is set to
UNPAIDby default, so any->setState(State::UNPAID)can be removed - Creation date and time is automatically set to now so any
->setCreatedAt(new \DateTimeImmutable())can be removed - Twig template
Fixed
- Final invoice can be marked as paid
- setUniquePaymentReference
- Show exception when final is issued and order has no payment mode or currency set
- Styler
v1.5.0
Removed
- Invoice wrapper entity
Changed
- invoice_buyer to buyer
- invoice_seller to seller
- docs
Fixed
- Proforma and regular invoice has its own items.
- Each invoice type has its own payment reference.
- Proforma and regular invoice has its own payment settings and currency.
- Proforma payable logic.
- Twig template
- docs
v1.4.6
Added
- Missing types for storage path: advance, regular
- Autowiring support:
InvoiceAdvanceRepository,InvoiceFinalRepository,InvoiceProformaRepository,InvoiceRegularRepository,InvoiceRepository
Changed
- Due date is not mandatory anymore
v1.4.2
Added
- Twig filter
invoices_advance_totals - Proforma invoice: payable
Changed
- docs
Fixed
- Twig template
v1.4.0
Added
- Invoice types: Regular, Advance
- Order:
State::PARTIALLY_PAID - Final invoice: due date
- docs: Invoice types, Creating a new invoice
- Invoice restrictions upon creation/edition
- tests
Changed
- Order:
State::NEWtoState::UNPAID - OrderManager:
processAndSaveNewOrdertosave - Entity:
OrderItemtoItem - Invoice:
variable_symboltopayment_reference
Fixed
- Install command
v1.3.3
Fixed
Prevent deletion of parent entity.
- Run:
symfony console make:migration-->symfony console doctrine:migrations:migrate
1.3.1
Added
- Invoice styler
Fixed
- Docs
- Config formatting
1.3.0
Added
- Default File entity (new table: oi_file)
- File persister/deleler: Persisting/deleting invoice to/from disk is super easy now
- mPDF generator: Add custom backgroud/overlay graphics
- UPGRADING.md
- docs
Changed
symfony console oib:configuretosymfony console oib:install- README.md
1.2.2
Added
Commands and makers for easy configuration and usage:
symfony console oib:configuresymfony console make:oib:categorysymfony console make:oib:cron_controller
Changed
Fixed
v1.2.0
Added
Changed
MpdfExporterwas replaced by improvedMpdfGeneratorconfig/packages/psys_order_invoice.yamlis no longer required and should be removed