sandervanhooft / laravel-invoicable

Easy invoice creation for Laravel
https://www.sandervanhooft.com/blog/laravel/stop-creating-your-laravel-invoices-manually/
MIT License
146 stars 40 forks source link

Storing the target items of the invoice #12

Closed brunobg closed 5 years ago

brunobg commented 5 years ago

Isn't there some way to store the target items (id and type) of the items added to the cart?

sandervanhooft commented 5 years ago

No, because these kind of features are very business case / app specific.

Also, note that ordered items (to be invoiced) are usually stored on an Order model with references to the Product catalog.