Merge remote-tracking branch 'origin/staging' into feature/senior-officer
# Conflicts: # app/Http/Controllers/PermohonanController.php # routes/breadcrumbs.php # routes/web.php
This commit is contained in:
@@ -56,4 +56,8 @@
|
||||
return $this->belongsTo(Village::class, 'village_code', 'code');
|
||||
}
|
||||
|
||||
public function documents(){
|
||||
return $this->hasMany(DokumenJaminan::class);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -17,10 +17,14 @@ class Permohonan extends Base
|
||||
'branch_id',
|
||||
'tujuan_penilaian_id',
|
||||
'debiture_id',
|
||||
'keterangan',
|
||||
'jenis_fasilitas_kredit_id',
|
||||
'nilai_plafond_id',
|
||||
'status',
|
||||
'authorized_at',
|
||||
'authorized_status',
|
||||
'authorized_by',
|
||||
|
||||
];
|
||||
|
||||
public function user(){
|
||||
@@ -42,4 +46,12 @@ class Permohonan extends Base
|
||||
public function documents(){
|
||||
return $this->hasMany(DokumenJaminan::class);
|
||||
}
|
||||
|
||||
public function nilaiPlafond(){
|
||||
return $this->belongsTo(NilaiPlafond::class);
|
||||
}
|
||||
|
||||
public function jenisFasilitasKredit(){
|
||||
return $this->belongsTo(JenisFasilitasKredit::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user