DONE: request online modal from pc to operasi, operasi can edit amount; WIP: customer detail confirmation form, retest pembiayaan online, notification if required

This commit is contained in:
ISMAIL MASSERAN
2026-08-24 10:59:20 +08:00
committed by ISMAIL MASSERAN
parent ac96050ed0
commit adab98701f
21 changed files with 3325 additions and 57 deletions
+11
View File
@@ -11,6 +11,17 @@ class Cawangan extends Model
public $timestamps = false;
/**
* Display name from master table (`details_caw`).
* Keep this as the single mapping so callers do not guess nama/namacaw.
*/
public function getNamaCawanganAttribute()
{
$nama = trim((string) ($this->attributes['details_caw'] ?? ''));
return $nama !== '' ? $nama : (string) ($this->attributes['kodcaw'] ?? '');
}
/**
* The attributes that are mass assignable.
*