Fixed wrong conversion to integer for line item quantity.
This commit is contained in:
@@ -22,7 +22,7 @@ class LineItem extends Model
|
|||||||
|
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'is_section' => 'boolean',
|
'is_section' => 'boolean',
|
||||||
'quantity' => 'integer',
|
'quantity' => 'float',
|
||||||
'price' => 'decimal:2',
|
'price' => 'decimal:2',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user