Commit 515ecd0b authored by idlanirined's avatar idlanirined

komen cashflow

parent 971ecd12
......@@ -441,7 +441,7 @@ export default class BudgetTahunan extends Component {
api.create().approvalSubmission(body).then((res) => {
// console.log(res)
// this.setState({ loading: false }, () => {
this.getSubmission()
this.getSubmission()
// })
if (type == 'revision') {
api.create().createPeriodeRevision(payload).then((res))
......@@ -625,12 +625,12 @@ export default class BudgetTahunan extends Component {
let array = []
let canSubmit = true
this.state.dataTable.map(item => {
if (item[1] !== 'Cash Flow') {
if (item[3] !== "submitted" && item[3] !== 'approved') {
canSubmit = false
array.push(item[3])
}
// if (item[1] !== 'Cash Flow') {
if (item[3] !== "submitted" && item[3] !== 'approved') {
canSubmit = false
array.push(item[3])
}
// }
// if (item[3].includes("not-yet") || item[3].includes("draft")) {
// array.push(item[3])
// } else {
......
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