checkout, register, payment,

checkout correction,
register wizard,
payment packege,
This commit is contained in:
Kevin Adametz 2019-03-02 00:08:11 +01:00
parent 6e3adac4d7
commit 446bc4561b
48 changed files with 2580 additions and 1493 deletions

View file

@ -10,7 +10,7 @@ class ShoppingInstance extends Model
protected $fillable = [
'identifier', 'user_shop_id', 'subdomain', 'country_id'
'identifier', 'user_shop_id', 'auth_user_id', 'subdomain', 'country_id'
];
public function user_shop()
@ -23,4 +23,11 @@ class ShoppingInstance extends Model
return $this->belongsTo('App\Models\Country', 'country_id');
}
//can null
public function auth_user()
{
return $this->belongsTo('App\User','auth_user_id');
}
}