change format date

This commit is contained in:
KhatamNugraha
2024-04-26 11:30:27 +07:00
parent 7d4a16dac0
commit cc9ed4fcef
2 changed files with 6 additions and 6 deletions

View File

@ -447,7 +447,7 @@
// dd($fasilitas); // dd($fasilitas);
$signer = Signer::where('id', $request['signerId'])->where('status',1)->get(); $signer = Signer::where('id', $request['signerId'])->where('status',1)->get();
$currentDate = Carbon::now(); $currentDate = Carbon::parse($request['startDate2']);
$tanggalIndonesia = $currentDate->locale('id')->isoFormat('D MMMM YYYY'); $tanggalIndonesia = $currentDate->locale('id')->isoFormat('D MMMM YYYY');
$today = $currentDate->format("d-m-Y"); $today = $currentDate->format("d-m-Y");
$letter = new Letters; $letter = new Letters;
@ -462,7 +462,7 @@
$data['DataCustomer'] = $GetCustomer ?? ''; $data['DataCustomer'] = $GetCustomer ?? '';
$data['localDate'] = $tanggalIndonesia; $data['localDate'] = $tanggalIndonesia;
$data['today'] = $today; $data['today'] = $today;
$data['batchDate'] = $request['startDate2']; // $data['batchDate'] = $request['startDate2'];
$data['dataAADepo'] = $dataAADepo; $data['dataAADepo'] = $dataAADepo;
$data['infoSuratNew'] = $infoSuratNew; $data['infoSuratNew'] = $infoSuratNew;

View File

@ -116,7 +116,7 @@
</ul><br> </ul><br>
<ul class="no-bullets"> <ul class="no-bullets">
<li>SIMPANAN NASABAH YANG BERSANGKUTAN PADA BANK</li> <li>SIMPANAN NASABAH YANG BERSANGKUTAN PADA BANK</li>
<li>POSISI : {{ $data['batchDate'] }} </li> <li>POSISI : {{ $data['localDate'] }} </li>
</ul> </ul>
<table style="width:100%;" class="space1" > <table style="width:100%;" class="space1" >
@ -181,7 +181,7 @@
<ul class="no-bullets"> <ul class="no-bullets">
<li>PINJAMAN YANG DIBERIKAN OLEH BANK KEPADA NASABAH</li> <li>PINJAMAN YANG DIBERIKAN OLEH BANK KEPADA NASABAH</li>
<li>POSISI : {{ $data['batchDate'] }} </li> <li>POSISI : {{ $data['localDate'] }} </li>
</ul> </ul>
<table class="space1" style="width:100%;page-break-inside: avoid;"> <table class="space1" style="width:100%;page-break-inside: avoid;">
<thead style="background-color: dimgrey"> <thead style="background-color: dimgrey">
@ -251,7 +251,7 @@
</table><br> </table><br>
<ul class="no-bullets" style="page-break-inside: avoid;"> <ul class="no-bullets" style="page-break-inside: avoid;">
<li>FASILITAS LAIN YANG DITERIMA OLEH NASABAH</li> <li>FASILITAS LAIN YANG DITERIMA OLEH NASABAH</li>
<li>POSISI : {{ $data['batchDate'] }} </li> <li>POSISI : {{ $data['localDate'] }} </li>
</ul> </ul>
<table class="space1" style="width:100%;"> <table class="space1" style="width:100%;">
<thead style="background-color: dimgrey"> <thead style="background-color: dimgrey">