Refactor code: Update posko value based on condition, remove console.log, and add setMonth function
This commit is contained in:
@ -550,7 +550,7 @@ const getDetail = () => {
|
||||
dateTo: dateValue[1]
|
||||
? dateValue[1].split('-').reverse().join('-')
|
||||
: new Date().toISOString().slice(0, 10),
|
||||
posko: ref.id_posko,
|
||||
posko: ref.posko_in != ref.posko_out ? ref.posko_out : ref.posko_in,
|
||||
idUid: ref.id_uid,
|
||||
idUp3: ref.id_up3
|
||||
}
|
||||
|
Reference in New Issue
Block a user