Commit 569eab65 authored by Riri Novita's avatar Riri Novita

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

update download

See merge request !2074
parents 7dadcc8a b6d9f5bc
...@@ -2520,7 +2520,8 @@ export default class BudgetTahunan extends Component { ...@@ -2520,7 +2520,8 @@ export default class BudgetTahunan extends Component {
"report_id": selectReport, "report_id": selectReport,
"month": "", "month": "",
"quartal": "", "quartal": "",
"type_report_name": "Master Budget" "type_report_name": "Master Budget",
"currency_id" : defaultCurrency.id
} }
// console.log(payload); // console.log(payload);
api.create().createDownloadFile(payload).then((response) => { api.create().createDownloadFile(payload).then((response) => {
......
...@@ -2311,7 +2311,8 @@ export default class MonthlyReport extends Component { ...@@ -2311,7 +2311,8 @@ export default class MonthlyReport extends Component {
"report_id": selectReport, "report_id": selectReport,
"month": month ? String(month.month_id).toString() : "", "month": month ? String(month.month_id).toString() : "",
"quartal": "", "quartal": "",
"type_report_name": "Monthly Report" "type_report_name": "Monthly Report",
"currency_id" : defaultCurrency.id
} }
console.log(payload); console.log(payload);
api.create().createDownloadFile(payload).then((response) => { api.create().createDownloadFile(payload).then((response) => {
......
...@@ -658,7 +658,8 @@ export default class OperatingIndicator extends Component { ...@@ -658,7 +658,8 @@ export default class OperatingIndicator extends Component {
"report_id": selectReport, "report_id": selectReport,
"month": "", "month": "",
"quartal": "", "quartal": "",
"type_report_name": "Operating Indicator" "type_report_name": "Operating Indicator",
"currency_id" : defaultCurrency.id
} }
console.log(payload); console.log(payload);
api.create().createDownloadFile(payload).then((response) => { api.create().createDownloadFile(payload).then((response) => {
......
...@@ -1545,7 +1545,8 @@ export default class OutlookPA extends Component { ...@@ -1545,7 +1545,8 @@ export default class OutlookPA extends Component {
"report_id": selectReport, "report_id": selectReport,
"month": "", "month": "",
"quartal": "", "quartal": "",
"type_report_name": "Outlook PA" "type_report_name": "Outlook PA",
"currency_id" : defaultCurrency.id
} }
console.log(payload); console.log(payload);
api.create().createDownloadFile(payload).then((response) => { api.create().createDownloadFile(payload).then((response) => {
......
...@@ -1560,7 +1560,8 @@ export default class RollingOutlook extends Component { ...@@ -1560,7 +1560,8 @@ export default class RollingOutlook extends Component {
"report_id": selectReport, "report_id": selectReport,
"month": "", "month": "",
"quartal": quarter ? quarter.value : "", "quartal": quarter ? quarter.value : "",
"type_report_name": "Rolling Outlook" "type_report_name": "Rolling Outlook",
"currency_id" : defaultCurrency.id
} }
console.log(payload); console.log(payload);
api.create().createDownloadFile(payload).then((response) => { api.create().createDownloadFile(payload).then((response) => {
......
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