Update pampasan module with enhanced agreement tracking and semporna processing

- Add agreement_printed_at timestamp to pampasan table for tracking printed agreements
- Update jenis handling for semporna v2 processing logic
- Refactor barangkes controller eager loading for improved performance
- Remove obsolete jenis migration files and consolidate schema changes
- Update related models and controllers for semporna v2 compatibility
This commit is contained in:
Afiq Hamzah
2025-09-22 13:00:08 +08:00
parent 38dd97c4f2
commit f5874b956d
10 changed files with 174 additions and 279 deletions
+5 -1
View File
@@ -31,7 +31,6 @@ class Palsu extends Model
'untungonepercent',
'untungcajlain',
'pembiayaan',
'jenis',
'status',
];
@@ -95,4 +94,9 @@ class Palsu extends Model
{
return $this->hasOne(Tebus::class, 'norujukan', 'norujukan');
}
public function gadai(): HasOne
{
return $this->hasOne(Gadai::class, 'norujukan', 'norujukan');
}
}