Fix status pembayaran by cawangan operasi and akaun
This commit is contained in:
@@ -73,4 +73,9 @@ class User extends Authenticatable
|
||||
return $this->hasOne(Cawangan::class, 'caw_code' , 'kodcaw');
|
||||
}
|
||||
|
||||
public function payment()
|
||||
{
|
||||
return $this->hasMany(Payment::class, 'user_id', 'id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user