mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-14 08:44:06 +00:00
Adding Flat Tax support with fixed amount (#253)
* Possibility to set a fixed amount on tax types settings * Pint and manage flat taxes on items * Fix display errors and handle global taxes * Tests * Pint with PHP 8.2 cause with PHP 8.3 version it cause workflow error * Merging percent and fixed amount into one column * Now display the currency on SelectTaxPopup on fixed taxes
This commit is contained in:
@@ -19,6 +19,7 @@ class TaxType extends Model
|
||||
{
|
||||
return [
|
||||
'percent' => 'float',
|
||||
'fixed_amount' => 'integer',
|
||||
'compound_tax' => 'boolean',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user