Releases: ElegantEngineeringTech/laravel-invoices
Releases · ElegantEngineeringTech/laravel-invoices
v4.1.2
replace phone_number with phone in config
v4.1.1
fix invoice width
v4.1.0
Breaking change
Invoice
attributestype
andstate
are not cast anymore toInvoiceType
andInvoiceState
. This allow you to define your own type and state without being limited by these enums
You can still cast type
and state
back to their enum values like this:
/**
* @property InvoiceType $type
* @property InvoiceState $state
*/
class Invoice extends \Elegantly\Invoices\Models\Invoice
{
protected function casts(): array
{
return [
...parent::casts(),
'type' => InvoiceType::class,
'state' => InvoiceState::class,
];
}
}
v4.0.3
retro support for data
v4.0.2
update config
v4.0.1
use address instead of billin_address
v4.0.0
Upgrade Guide
- Replace
Finller\Invoice
namespace withElegantly\Invoices
. A Search+Replace should do the job
PdfInvoice
- The
name
parameter have been replaced bytype
accepting aElegantly\Invoices\Enums\InvoiceType
. state
now acceptsElegantly\Invoices\Enums\InvoiceState
.buyer_information
now acceptsElegantly\Invoices\Support\Buyer
.buyer_information
now acceptsElegantly\Invoices\Support\Seller
.
Updates
- The default template now supports a shipping address
- The default template better supports page break and includes a footer
v3.5.5
up
v3.5.4
clean regex
v3.5.3
Merge pull request #29 from teodino93/patch-1 Fix special characters in parsing serial numbers