leads, sales lists, m_data, orders
This commit is contained in:
parent
1a43060996
commit
7ef7a507c7
26 changed files with 860 additions and 178 deletions
|
|
@ -112,9 +112,14 @@ class ShoppingUser extends Model
|
|||
return $this->belongsTo('App\Models\Country','shipping_country_id');
|
||||
}
|
||||
|
||||
public function Shopping_orders()
|
||||
public function shopping_orders()
|
||||
{
|
||||
return $this->hasMany('App\Models\ShoppingOrder','shopping_user_id');
|
||||
}
|
||||
|
||||
public function shopping_order()
|
||||
{
|
||||
return $this->hasOne('App\Models\ShoppingOrder','shopping_user_id');
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue