|
|
@ -219,7 +219,7 @@ class index extends Component { |
|
|
|
let dataExport = []; |
|
|
|
let dataExport = []; |
|
|
|
dataExcel.map((val) => { |
|
|
|
dataExcel.map((val) => { |
|
|
|
let row = { |
|
|
|
let row = { |
|
|
|
"Tanggal": moment(val.created_date).format("DD-MM-YYYY HH:MM:SS"), |
|
|
|
"Tanggal": moment(val.created_at).format("DD-MM-YYYY HH:MM:SS"), |
|
|
|
"Nama Karyawan": val.join_first_name, |
|
|
|
"Nama Karyawan": val.join_first_name, |
|
|
|
"Latitude": val.lat, |
|
|
|
"Latitude": val.lat, |
|
|
|
"Longitude": val.lon, |
|
|
|
"Longitude": val.lon, |
|
|
@ -275,7 +275,7 @@ class index extends Component { |
|
|
|
<i id="tooltipMap" className="fa fa-map" style={{ color: 'black', cursor: "pointer" }} onClick={() => this.handleMap(n)}></i> |
|
|
|
<i id="tooltipMap" className="fa fa-map" style={{ color: 'black', cursor: "pointer" }} onClick={() => this.handleMap(n)}></i> |
|
|
|
</Tooltip> |
|
|
|
</Tooltip> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td>{n.created_date !== null ? moment(n.created_at).format("DD-MM-YYYY HH:mm:ss") : "-"}</td> |
|
|
|
<td>{n.created_at !== null ? moment(n.created_at).format("DD-MM-YYYY HH:mm:ss") : "-"}</td> |
|
|
|
<td>{n.join_first_name !== null ? n.join_first_name : "-"}</td> |
|
|
|
<td>{n.join_first_name !== null ? n.join_first_name : "-"}</td> |
|
|
|
<td>{n.status_response !== null ? n.status_response : "-"}</td> |
|
|
|
<td>{n.status_response !== null ? n.status_response : "-"}</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|