Server 103 Commit
This commit is contained in:
4
app/Models/OLDLMS/Healthcare.php
Normal file → Executable file
4
app/Models/OLDLMS/Healthcare.php
Normal file → Executable file
@@ -20,6 +20,10 @@ class Healthcare extends Model
|
||||
|
||||
protected $primaryKey = 'nID';
|
||||
|
||||
public $fillable = [
|
||||
'sStatus'
|
||||
];
|
||||
|
||||
public function commission()
|
||||
{
|
||||
return $this->hasOne(HealthcareCommission::class, 'nIDHealthcare', 'nID')->where('sStatus', 1);
|
||||
|
||||
Reference in New Issue
Block a user