fix estimate & invoice tax issue

This commit is contained in:
raishvaria
2019-12-14 18:29:46 +05:30
parent f55dfe0b46
commit d9e9a5a540
3 changed files with 13 additions and 14 deletions

View File

@ -49,9 +49,11 @@ class Estimate extends Model
];
protected $casts = [
'total' => 'float',
'tax' => 'float',
'sub_total' => 'float'
'total' => 'integer',
'tax' => 'integer',
'sub_total' => 'integer',
'discount' => 'float',
'discount_val' => 'integer',
];
public static function getNextEstimateNumber($value)