mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
add estimate & invoice item qty cast, build 201
This commit is contained in:
@ -24,6 +24,7 @@ class EstimateItem extends Model
|
|||||||
'price' => 'integer',
|
'price' => 'integer',
|
||||||
'total' => 'integer',
|
'total' => 'integer',
|
||||||
'discount' => 'float',
|
'discount' => 'float',
|
||||||
|
'quantity' => 'float',
|
||||||
'discount_val' => 'integer',
|
'discount_val' => 'integer',
|
||||||
'tax' => 'integer'
|
'tax' => 'integer'
|
||||||
];
|
];
|
||||||
|
|||||||
@ -30,6 +30,7 @@ class InvoiceItem extends Model
|
|||||||
'price' => 'integer',
|
'price' => 'integer',
|
||||||
'total' => 'integer',
|
'total' => 'integer',
|
||||||
'discount' => 'float',
|
'discount' => 'float',
|
||||||
|
'quantity' => 'float',
|
||||||
'discount_val' => 'integer',
|
'discount_val' => 'integer',
|
||||||
'tax' => 'integer'
|
'tax' => 'integer'
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user