Commit 3204b12e authored by faisalhamdi's avatar faisalhamdi

Merge branch 'master' of http://103.44.149.204/d.arizona/tia-dev into faisal

parents e3cf98f1 c52a7d7a
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
...@@ -53,7 +53,7 @@ export default class ListOfCreditFacilities extends Component { ...@@ -53,7 +53,7 @@ export default class ListOfCreditFacilities extends Component {
"monthly_report_id": this.props.monthlyReportId, "monthly_report_id": this.props.monthlyReportId,
"month": this.props.month.month_id "month": this.props.month.month_id
} }
api.create().getHierarkiMontlyReport(payload).then(response => { api.create().getHierarkiMontlyReportBS(payload).then(response => {
console.log(response); console.log(response);
let dataTable = [] let dataTable = []
if (response.data) { if (response.data) {
......
...@@ -142,7 +142,7 @@ export default class OperatingIndicatorMR extends Component { ...@@ -142,7 +142,7 @@ export default class OperatingIndicatorMR extends Component {
} }
}) })
} }
render() { render() {
let columns = [ let columns = [
{ {
...@@ -209,8 +209,27 @@ export default class OperatingIndicatorMR extends Component { ...@@ -209,8 +209,27 @@ export default class OperatingIndicatorMR extends Component {
) )
} }
} }
}, }, {
{ name: "UOM",
options: {
customHeadRender: (columnMeta) => (
<TableCell style={{ ...style2, top: 0, zIndex: 99, backgroundColor: '#07a7d0', width: 96, borderLeft: '1px #fff solid', borderRight: '1px #fff solid' }}>
<Typography style={{ color: 'white', fontSize: 12, fontWeight: 'bold', textAlign: 'center' }}>{columnMeta.name}</Typography>
</TableCell>
),
setCellProps: () => ({ style2 }),
customBodyRender: (val, tableMeta, updateValue) => {
return (
<div style={{ textAlign: 'right', width: 90 }}>
{tableMeta.rowData[0] === 4 ?
null :
val
}
</div>
)
}
}
}, {
name: "Rolling Outlook (FY2021)", name: "Rolling Outlook (FY2021)",
options: { options: {
customHeadRender: (columnMeta) => ( customHeadRender: (columnMeta) => (
......
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