fix(sp-letters): nomor surat jadi huruf besar 'SP-2/001/08/2026' (generasi baru + data lama di-update)
This commit is contained in:
@@ -105,7 +105,7 @@ class ViolationService
|
|||||||
'sp_threshold_id' => $threshold->id,
|
'sp_threshold_id' => $threshold->id,
|
||||||
'generated_by' => $userId,
|
'generated_by' => $userId,
|
||||||
'letter_number' => sprintf('%s/%s/%s/%s',
|
'letter_number' => sprintf('%s/%s/%s/%s',
|
||||||
$threshold->slug,
|
strtoupper($threshold->slug),
|
||||||
str_pad((string) $letterCount, 3, '0', STR_PAD_LEFT),
|
str_pad((string) $letterCount, 3, '0', STR_PAD_LEFT),
|
||||||
date('m'),
|
date('m'),
|
||||||
date('Y')
|
date('Y')
|
||||||
|
|||||||
Reference in New Issue
Block a user