Update table columns and grouping settings
This commit is contained in:
@ -678,11 +678,6 @@ export const queries = {
|
||||
persen_selesai
|
||||
total_inproses
|
||||
persen_inproses
|
||||
avg_durasi_dispatch
|
||||
min_durasi_dispatch
|
||||
max_durasi_dispatch
|
||||
total_dibawah_sla_dispatch
|
||||
total_diatas_sla_dispatch
|
||||
total_durasi_response
|
||||
avg_durasi_response
|
||||
min_durasi_response
|
||||
@ -2248,6 +2243,13 @@ export const queries = {
|
||||
bulan: $bulan
|
||||
tahun: $tahun
|
||||
) {
|
||||
id
|
||||
nama_regional
|
||||
id_uid
|
||||
nama_uid
|
||||
id_up3
|
||||
nama_up3
|
||||
id_ulp
|
||||
nama_ulp
|
||||
mom_bulan_ini
|
||||
mom_bulan_kemarin
|
||||
@ -2275,6 +2277,13 @@ export const queries = {
|
||||
bulan: $bulan
|
||||
tahun: $tahun
|
||||
) {
|
||||
id
|
||||
nama_regional
|
||||
id_uid
|
||||
nama_uid
|
||||
id_up3
|
||||
nama_up3
|
||||
id_ulp
|
||||
nama_ulp
|
||||
mom_bulan_ini
|
||||
mom_bulan_kemarin
|
||||
|
@ -60,7 +60,11 @@ const getMonthNumber = (monthName: string) => {
|
||||
'November',
|
||||
'Desember'
|
||||
]
|
||||
return months.indexOf(monthName) + 1
|
||||
if (months.filter((month) => month.toLowerCase() === monthName.toLowerCase()).length > 0) {
|
||||
return months.indexOf(monthName) + 1
|
||||
} else {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
const reformatDate = (inputDate: string, originalFormat: string, targetFormat: string): string => {
|
||||
|
Reference in New Issue
Block a user