Membuat Fitur Menu KJPP part 1

This commit is contained in:
2024-09-24 11:51:53 +07:00
parent 8e73269f76
commit 8b4dd34b51
6 changed files with 575 additions and 85 deletions

View File

@@ -16,7 +16,31 @@ class KJPP extends Model
/**
* The attributes that are mass assignable.
*/
protected $guarded = ['id'];
protected $fillable = [
'code',
'name',
'jenis_kantor',
'nomor_ijin_usaha',
'province_code',
'city_code',
'district_code',
'village_code',
'address',
'postal_code',
'nomor_telepon_kantor',
'email_kantor',
'nama_pimpinan',
'nomor_hp_pimpinan',
'nama_pic_reviewer',
'nomor_hp_pic_reviewer',
'nama_pic_admin',
'nomor_hp_pic_admin',
'nama_pic_marketing',
'nomor_hp_pic_marketing',
'ijin_usaha_id',
'jenis_aset_id',
'attachment'
];
// relasi ke branch
public function branch()