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