Jquery – How To Get Unique Value From Foreach
I Want to Send My Query Result to ApexCharts, but the results is not what i am intended this is my query $queryPengadaanNonTender = DB::table('siapel_dokumen') ->where([['id_jenis_dokumen', '=','1'],['progres','=','100']]) ->join('siapel_pengadaan', 'siapel_dokumen.id_jenis_pengadaan', '=', 'siapel_pengadaan.id') ->select( DB::raw('COUNT(DISTINCT nama_paket) AS jml'), DB::raw('jenis_pengadaan as pengadaan'), DB::raw('tahun…