Commit f96275d2 authored by r.kurnia's avatar r.kurnia

notes lastupdate

parent 743ba1e8
......@@ -49,6 +49,7 @@ export default class TaxPlanningMR extends Component {
editable: false,
judulColumn: null,
updateBy: '-',
notesUpdate: '-',
buttonDraft: true,
handleTekTekTek: 0,
saveDraft: true,
......@@ -92,10 +93,12 @@ export default class TaxPlanningMR extends Component {
"months": this.props.month.month_id
}
api.create().getLastestUpdateMR(payload).then(response => {
console.log(response)
if (response.data) {
if (response.data.status === "success") {
this.setState({
updateBy: response.data.data.latest_update === null ? '-' : response.data.data.latest_update
updateBy: response.data.data.latest_update === null ? '-' : response.data.data.latest_update,
notesUpdate: response.data.data.notes_update === null ? '-' : response.data.data.notes_update
})
}
}
......@@ -1525,6 +1528,7 @@ export default class TaxPlanningMR extends Component {
{/* )} */}
</div>
<Typography style={{ fontSize: '11px', color: '#4b4b4b', marginTop: 20, marginLeft: 20 }}>Last Updated by : {this.state.updateBy}</Typography>
<Typography style={{ fontSize: '11px', color: '#4b4b4b', marginTop: 5, marginLeft: 20 }}>Notes : {this.state.notesUpdate}</Typography>
</div>
<div className="grid grid-2x" style={{ marginTop: 20 }}>
<div className="col-1">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment