relation updates
This commit is contained in:
@ -25,11 +25,11 @@ class Checkout extends Model
|
||||
|
||||
public function bidders()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Bidders', 'bidder_num', 'idbidders');
|
||||
return $this->belongsTo(Bidders::class, 'idbidders');
|
||||
}
|
||||
|
||||
public function paymentMethod()
|
||||
{
|
||||
return $this->hasMany('App\Models\PaymentMethods', 'payment_method', 'pm_id');
|
||||
return $this->hasMany(PaymentMethods::class, 'payment_method', 'pm_id');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user