|
|
@ -446,15 +446,15 @@ class index extends Component { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<tr key={n.id}> |
|
|
|
<tr key={n.id}> |
|
|
|
<td>{n.join_first_name ? n.join_first_name : "-"}</td> |
|
|
|
<td>{n.join_first_name ? n.join_first_name : "-"}</td> |
|
|
|
<td>{n.report_date ? moment(n.report_date).format("DD-MM-YYYY HH:mm:ss") : "-"}</td> |
|
|
|
<td>{n.report_date ? moment(n.report_date).format("DD-MM-YYYY") : "-"}</td> |
|
|
|
<td>{n.k3_checked.length ? n.k3_checked.join() : "-"}</td> |
|
|
|
<td>{n.k3_checked.length ? n.k3_checked.join() : "-"}</td> |
|
|
|
<td>{n.k3_not_checked.length ? n.k3_not_checked.join() : "-"}</td> |
|
|
|
<td>{n.k3_not_checked.length ? n.k3_not_checked.join() : "-"}</td> |
|
|
|
<td>{n.description ? n.description : "-"}</td> |
|
|
|
<td>{n.description ? n.description : "-"}</td> |
|
|
|
<td> {n.image ? <Tooltip title={this.props.t('image')}><i onClick={() => this.lihatFoto(n.image)} className='fa fa-image'></i></Tooltip> : ""}</td> |
|
|
|
<td> {n.image ? <Tooltip title="Lihat Foto"><i onClick={() => this.lihatFoto(n.image)} className='fa fa-image'></i></Tooltip> : ""}</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
) |
|
|
|
) |
|
|
|
}) : <tr> |
|
|
|
}) : <tr> |
|
|
|
<td colSpan="9" align="center">{this.props.t('noData')}</td> |
|
|
|
<td colSpan="9" align="center">No Data Available</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
} |
|
|
|
} |
|
|
|
</tbody> |
|
|
|
</tbody> |
|
|
|