Hidupkan CRUD level-user: store/show/update/destroy + inline form + cegah hapus level terpakai

This commit is contained in:
2026-10-14 11:35:28 +07:00
parent f3818f03f5
commit ff8fc51500
3 changed files with 120 additions and 92 deletions
+2
View File
@@ -10,6 +10,8 @@ class LevelPegawai extends Model
use HasFactory;
protected $table = 'level_user';
protected $primaryKey = 'level_id';
public $timestamps = false; // pakai create_date / update_date manual
protected $fillable = [
'level_code', 'level_name','create_by','create_date','update_date','update_by'