Commit faa6fe36 authored by d.arizona's avatar d.arizona

update

parent 0e7f1ac9
......@@ -516,8 +516,9 @@ export default class BudgetTahunan extends Component {
"periode": this.state.periode.periode,
"is_approver": this.state.permissionhandle? this.state.permissionhandle : this.state.isApprover
}
console.log(payload)
api.create().getSubmission(payload).then(response => {
// console.log(response)
console.log(response)
if (response.data) {
if (response.data.status === "success") {
this.setState({
......@@ -1902,11 +1903,11 @@ export default class BudgetTahunan extends Component {
"min_periode": moment(this.state.minDateRevision).format('YYYY-MM-DD'),
"max_periode": moment(this.state.maxDateRevision).format('YYYY-MM-DD')
}
// // // console.log(payload)
console.log(payload)
// // console.log(this.props.location);
// // console.log(body)
console.log(body)
api.create().approvalSubmission(body).then((res) => {
// // // console.log(res)
console.log(res)
// this.setState({ loading: false }, () => {
// })
if (type == 'revision') {
......
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