added forms country & vehicle running cost (kurang fitur pendukung)
This commit is contained in:
@@ -14,4 +14,14 @@ class UserHasCabang extends Model
|
||||
'user_id',
|
||||
'cabang_id',
|
||||
];
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Admin');
|
||||
}
|
||||
|
||||
public function cabang()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Cabang');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user