Skip to content

Releases: ElegantEngineeringTech/laravel-invoices

v4.1.2

18 May 18:32
Compare
Choose a tag to compare
replace phone_number with phone in config

v4.1.1

19 Mar 14:38
Compare
Choose a tag to compare
fix invoice width

v4.1.0

09 Mar 20:48
Compare
Choose a tag to compare

Breaking change

  • Invoice attributes type and state are not cast anymore to InvoiceType and InvoiceState. 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

06 Mar 17:38
Compare
Choose a tag to compare
retro support for data

v4.0.2

06 Mar 17:35
Compare
Choose a tag to compare
update config

v4.0.1

06 Mar 17:19
Compare
Choose a tag to compare
use address instead of billin_address

v4.0.0

06 Mar 16:43
Compare
Choose a tag to compare

Upgrade Guide

  • Replace Finller\Invoice namespace with Elegantly\Invoices. A Search+Replace should do the job

PdfInvoice

  • The name parameter have been replaced by type accepting a Elegantly\Invoices\Enums\InvoiceType.
  • state now accepts Elegantly\Invoices\Enums\InvoiceState.
  • buyer_information now accepts Elegantly\Invoices\Support\Buyer.
  • buyer_information now accepts Elegantly\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

03 Mar 16:58
Compare
Choose a tag to compare
up

v3.5.4

14 Feb 17:03
Compare
Choose a tag to compare
clean regex

v3.5.3

14 Feb 15:06
6ed877f
Compare
Choose a tag to compare
Merge pull request #29 from teodino93/patch-1

Fix special characters in parsing serial numbers