relationship update
This commit is contained in:
@ -20,6 +20,6 @@ class PaymentMethods extends Model
|
||||
|
||||
public function checkout()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Checkout', 'payment_method', 'pm_id');
|
||||
return $this->belongsTo(Checkout::class, 'payment_method', 'pm_id');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user