testemich Promotion

This commit is contained in:
Kevin Adametz 2022-04-14 13:21:17 +02:00
parent 38e7fd504a
commit a0f4eda6ea
83 changed files with 1690 additions and 504 deletions

View file

@ -56,6 +56,18 @@ class ShoppingOrderItem extends Model
use SoftDeletes;
protected $dates = ['deleted_at'];
protected $casts = [
'shopping_order_id' => 'int',
'product_id' => 'int',
'comp' => 'int',
'free_product_id' => 'int',
'qty' => 'int',
'price' => 'float',
'price_net' => 'float',
'tax_rate' => 'float',
'handle' => 'bool',
];
protected $fillable = [
'shopping_order_id',
'row_id',
@ -67,6 +79,7 @@ class ShoppingOrderItem extends Model
'price_net',
'tax_rate',
'slug',
'handle',
];