|
|
|
@ -122,9 +122,9 @@ export const getUserPoints = async () => {
|
|
|
|
|
feature.properties = { |
|
|
|
|
"user_id": n.user_id, |
|
|
|
|
"Name": n.name ? n.name : '-', |
|
|
|
|
"Clock in time": n.clock_in ? moment(n.clock_in).format('YYYY-MM-DD HH:mm:ss') : '-', |
|
|
|
|
"Clock in time": n.clock_in ? moment(n.clock_in).format('DD-MM-YYYY HH:mm:ss') : '-', |
|
|
|
|
"Clock in location": n.clock_in_loc ? n.clock_in_loc : '-', |
|
|
|
|
"Clock out time": n.clock_out ? moment(n.clock_out).format('YYYY-MM-DD HH:mm:ss') : '-', |
|
|
|
|
"Clock out time": n.clock_out ? moment(n.clock_out).format('DD-MM-YYYY HH:mm:ss') : '-', |
|
|
|
|
"Clock out location": n.clock_out_loc ? n.clock_out_loc : '-', |
|
|
|
|
"image": n.image_selfie ? n.image_selfie : '', |
|
|
|
|
"Projects": n.projects ? n.projects : null, |
|
|
|
|