penambahan form assign so

This commit is contained in:
majid
2024-09-18 17:40:24 +07:00
parent 53ccf7de11
commit eb92e1b8f7
9 changed files with 366 additions and 690 deletions

View File

@@ -17,7 +17,7 @@ class Penilaian extends Model
*/
protected $table = 'penilaian';
protected $fillable = [
'jenis_penilaian_id', 'team_id', 'user_id', 'tanggal_kunjungan', 'keterangan',
'jenis_penilaian_id', 'teams_id', 'user_id', 'tanggal_kunjungan', 'keterangan','permohonan_id',
'status', 'authorized_status', 'authorized_at', 'authorized_by', 'created_at',
'created_by', 'updated_at', 'updated_by', 'deleted_at', 'deleted_by'
];
@@ -27,7 +27,7 @@ class Penilaian extends Model
}
public function teams(){
return $this->belongsTo(Teams::class, 'team_id', 'id');
return $this->belongsTo(Teams::class, 'teams_id', 'id');
}
public function users(){