Commit 1194f7c4 authored by Riri Novita's avatar Riri Novita

Merge branch 'dev/riri' into 'ENV-DEV'

Update Approval All Report

See merge request !1834
parents 22fdf53b 40f49e1c
...@@ -2153,7 +2153,8 @@ export default class BudgetTahunan extends Component { ...@@ -2153,7 +2153,8 @@ export default class BudgetTahunan extends Component {
"approval_id": this.state.approverID, "approval_id": this.state.approverID,
"status": type, "status": type,
"detail": this.state.detailRevisiCheck, "detail": this.state.detailRevisiCheck,
"is_superadmin": this.state.isAdmin "is_superadmin": this.state.isAdmin,
"currency_id": this.state.defaultCurrency.id,
} }
let payload = { let payload = {
"company_id": this.state.company.company_id, "company_id": this.state.company.company_id,
......
...@@ -1165,7 +1165,8 @@ export default class MonthlyReport extends Component { ...@@ -1165,7 +1165,8 @@ export default class MonthlyReport extends Component {
"status": type, "status": type,
"months": this.state.month.month_id, "months": this.state.month.month_id,
"detail": this.state.detailRevisiCheck, "detail": this.state.detailRevisiCheck,
"is_superadmin": this.state.isAdmin "is_superadmin": this.state.isAdmin,
"currency_id": this.state.defaultCurrency.id
} }
let payload = { let payload = {
"company_id": this.state.company.company_id, "company_id": this.state.company.company_id,
......
...@@ -707,7 +707,8 @@ export default class OutlookPA extends Component { ...@@ -707,7 +707,8 @@ export default class OutlookPA extends Component {
"approval_id": this.props.location.state == undefined ? this.state.approverID : this.state.rawData.approval_id, "approval_id": this.props.location.state == undefined ? this.state.approverID : this.state.rawData.approval_id,
"status": type, "status": type,
"detail": this.state.detailRevisiCheck, "detail": this.state.detailRevisiCheck,
"is_superadmin": this.state.isAdmin "is_superadmin": this.state.isAdmin,
"currency_id": this.state.defaultCurrency.id,
} }
let payload = { let payload = {
"company_id": this.state.company.company_id, "company_id": this.state.company.company_id,
......
...@@ -751,6 +751,7 @@ export default class RollingOutlook extends Component { ...@@ -751,6 +751,7 @@ export default class RollingOutlook extends Component {
"min_periode": moment(this.state.minDateRevision).format('YYYY-MM-DD'), "min_periode": moment(this.state.minDateRevision).format('YYYY-MM-DD'),
"periode": this.state.periode.periode, "periode": this.state.periode.periode,
"max_periode": moment(this.state.maxDateRevision).format('YYYY-MM-DD'), "max_periode": moment(this.state.maxDateRevision).format('YYYY-MM-DD'),
"currency_id": this.state.defaultCurrency.id,
"quartal": this.state.quarter.value "quartal": this.state.quarter.value
} }
console.log(payload) console.log(payload)
......
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