Fixing Format tgl Surat

This commit is contained in:
KhatamNugraha
2024-07-03 11:56:23 +07:00
parent 851763355e
commit c02fe9654c
3 changed files with 22 additions and 10 deletions

View File

@ -544,8 +544,8 @@ class KonfirmasiBankController extends Controller
$signer = Signer::where('id', $request['signerId'])->where('status', 1)->get();
$batchDate = Carbon::parse($request['startDate2']);
$currentDate = Carbon::now();
$tanggalIndonesia = strtoupper($batchDate->locale('id')->isoFormat('D MMMM YYYY')); // Mengubah seluruh string menjadi huruf besar
$today = strtoupper($currentDate->locale('id')->isoFormat('D MMMM YYYY'));
$tanggalIndonesia = strtoupper($batchDate->locale('id')->isoFormat('DD MMMM YYYY')); // Mengubah seluruh string menjadi huruf besar
$today = strtoupper($currentDate->locale('id')->isoFormat('DD MMMM YYYY'));
$letter = new Letters();
$infoSuratNew = $letter->where('no_cif', $request['cusNo'])->orderBy('id', 'DESC')->first();
@ -853,4 +853,4 @@ class KonfirmasiBankController extends Controller
}
}
}