LaravelDaily / laravel-invoices

Laravel package to generate PDF invoices from various customizable parameters
GNU General Public License v3.0
1.39k stars 303 forks source link

Is there a way to set gross price and not net price? #94

Closed dominikager closed 3 years ago

dominikager commented 3 years ago

currently you have to set the net price in a invoice item but i want to set the gross price, to prevent a round error. Thx

mc0de commented 3 years ago

you can use subTotalPrice(float) on invoice item to override gross price

actually it was designed for that purpose if you want to apply different rounding conditions