Commit 112054bc authored by d.arizona's avatar d.arizona

update

parent 79678089
......@@ -534,10 +534,10 @@ export default class BudgetTahunan extends Component {
// // console.log(this.state.btnApprove)
this.historyApproval()
this.getLatestPeriodSubmit()
if (type != undefined) {
// if (type != undefined) {
this.getCashFlow(type)
this.getPL(type)
}
// }
// this.getFR(type)
api.create().checkApprover().then(response => {
// // console.log(this.state.btncreate);
......@@ -1587,6 +1587,7 @@ export default class BudgetTahunan extends Component {
console.log(JSON.stringify(payload))
api.create().createReportPLMB(payload).then((res) => {
console.log(res)
this.setState({loading: false})
// if (response.data) {
// if (response.data.status === "success") {
// this.props.saveToMonthlyReport()
......
......@@ -1808,6 +1808,7 @@ export default class MonthlyReport extends Component {
}
api.create().createReportPLMR(payload).then((res) => {
console.log(res)
this.setState({loading: false})
// if (response.data) {
// if (response.data.status === "success") {
// this.props.saveToMonthlyReport()
......
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