Commit bd3abf09 authored by Deni Rinaldi's avatar Deni Rinaldi

cekaplotbs

parent cee18aa7
...@@ -318,7 +318,7 @@ export default class BalanceSheetMR extends Component { ...@@ -318,7 +318,7 @@ export default class BalanceSheetMR extends Component {
item.mtd_vs_mb === "" ? "" : item.mtd_vs_mb, item.mtd_vs_mb === "" ? "" : item.mtd_vs_mb,
item.mtd_vs_rb === "" ? "" : item.mtd_vs_rb === null ? 0 : item.mtd_vs_rb, item.mtd_vs_rb === "" ? "" : item.mtd_vs_rb === null ? 0 : item.mtd_vs_rb,
item.actual_formula, item.actual_formula,
item.orders, item.order,
item.error item.error
] ]
}) })
...@@ -2018,7 +2018,7 @@ export default class BalanceSheetMR extends Component { ...@@ -2018,7 +2018,7 @@ export default class BalanceSheetMR extends Component {
this.setState({ uploadStatus: 'idle', percentage: '0' }) this.setState({ uploadStatus: 'idle', percentage: '0' })
}} }}
onUpload={() => { onUpload={() => {
this.state.judul === "MONTHLY REPORT - BALANCE SHEET" ? String(this.state.judul).includes("MONTHLY REPORT - BALANCE SHEET") ?
this.checkUpload() : this.checkUpload() :
this.setState({ alert: true, messageAlert: "Invalid Template", tipeAlert: 'warning' }) this.setState({ alert: true, messageAlert: "Invalid Template", tipeAlert: 'warning' })
}} }}
......
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