Merged in izzati-hotfix-uum (pull request #388)
update nopelanggan dalam task uum
This commit is contained in:
@@ -191,7 +191,7 @@ public function getSummaryLaporanPelangganAktif(Request $request)
|
||||
// 1️⃣ Ambil semua pelanggan tahun ini
|
||||
$pelanggan = Customer::whereYear('tarikhdaftar', $year)
|
||||
->select('id','nama','kpbaru','kplama','t_lahir','jantina',
|
||||
'kodkerja','poskod','kodcaw','tarikhdaftar','tujuangadai')
|
||||
'kodkerja','poskod','kodcaw','tarikhdaftar','tujuangadai','nopelanggan')
|
||||
->get();
|
||||
|
||||
$connections = $this->getActiveCawanganConnections();
|
||||
@@ -320,6 +320,7 @@ public function getSummaryLaporanPelangganAktif(Request $request)
|
||||
return [
|
||||
'cawangan' => $row->kodcaw ?? '-',
|
||||
'nama' => $row->nama,
|
||||
'nopelanggan' => $row->nopelanggan,
|
||||
'nokp' => $nokp ?? '-',
|
||||
'tarikhdaftar' => Carbon::parse($row->tarikhdaftar)->format('d-m-Y'),
|
||||
'umur' => $umur,
|
||||
|
||||
Reference in New Issue
Block a user