From fb558bdce9579e95f710ff9668e5f0b2ae9e6931 Mon Sep 17 00:00:00 2001 From: Novy San87 Date: Fri, 7 Aug 2026 15:00:47 +0700 Subject: [PATCH] fix(sp-letters): nomor surat jadi huruf besar 'SP-2/001/08/2026' (generasi baru + data lama di-update) --- app/Services/ViolationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/ViolationService.php b/app/Services/ViolationService.php index 7975f0f..3223145 100644 --- a/app/Services/ViolationService.php +++ b/app/Services/ViolationService.php @@ -105,7 +105,7 @@ class ViolationService 'sp_threshold_id' => $threshold->id, 'generated_by' => $userId, 'letter_number' => sprintf('%s/%s/%s/%s', - $threshold->slug, + strtoupper($threshold->slug), str_pad((string) $letterCount, 3, '0', STR_PAD_LEFT), date('m'), date('Y')