From e3703cbe5ff4c6ee9394c1fbc21d679c00d06c3b Mon Sep 17 00:00:00 2001 From: KhatamNugraha Date: Fri, 26 Apr 2024 13:29:07 +0700 Subject: [PATCH] format bulan upercase --- Http/Controllers/KonfirmasiBankController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Http/Controllers/KonfirmasiBankController.php b/Http/Controllers/KonfirmasiBankController.php index 7f5dcc9..6454210 100644 --- a/Http/Controllers/KonfirmasiBankController.php +++ b/Http/Controllers/KonfirmasiBankController.php @@ -448,7 +448,8 @@ // dd($fasilitas); $signer = Signer::where('id', $request['signerId'])->where('status',1)->get(); $currentDate = Carbon::parse($request['startDate2']); - $tanggalIndonesia = $currentDate->locale('id')->isoFormat('D MMMM YYYY'); + $tanggalIndonesia = $currentDate->locale('id')->isoFormat('D MMMM YYYY'); + $tanggalIndonesia = strtoupper($tanggalIndonesia); // Mengubah seluruh string menjadi huruf besar $today = $currentDate->format("d-m-Y"); $letter = new Letters; $infoSuratNew = $letter->where('no_cif',$request['cusNo'])->orderBy('id','DESC')->first();