Erweiterungen / Korrekturen Beraterbestellungen
This commit is contained in:
parent
ecc71c616f
commit
c4ed6b39db
36 changed files with 1104 additions and 617 deletions
|
|
@ -43,4 +43,9 @@ class ShippingCountry extends Model
|
|||
return $this->belongsTo('App\Models\Country', 'country_id');
|
||||
}
|
||||
|
||||
public function shopping_orders()
|
||||
{
|
||||
return $this->hasMany('App\Models\ShoppingOrder', 'country_id');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ class ShippingPrice extends Model
|
|||
protected $table = 'shipping_prices';
|
||||
|
||||
protected $fillable = [
|
||||
'shipping_id', 'price', 'price_comp', 'tax_rate', 'factor', 'total_from', 'total_to', 'weight_from', 'weight_to',
|
||||
'shipping_id', 'price', 'price_comp', 'num_comp', 'tax_rate', 'factor', 'total_from', 'total_to', 'weight_from', 'weight_to',
|
||||
];
|
||||
|
||||
public function shipping()
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ class ShoppingOrderItem extends Model
|
|||
'shopping_order_id',
|
||||
'row_id',
|
||||
'product_id',
|
||||
'comp',
|
||||
'qty',
|
||||
'price',
|
||||
'price_net',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue