Commit cb3567b3 authored by Deni Rinaldi's avatar Deni Rinaldi

report kebalik

parent c9c1a05f
...@@ -463,7 +463,7 @@ export default class SubHolding extends Component { ...@@ -463,7 +463,7 @@ export default class SubHolding extends Component {
let url = window.URL.createObjectURL(res); let url = window.URL.createObjectURL(res);
let a = document.createElement('a'); let a = document.createElement('a');
a.href = url; a.href = url;
a.download = 'Report DB Balance Sheet.xlsx'; a.download = 'Report DB Profit & Loss Detail.xlsx';
a.click(); a.click();
} }
} else if (this.state.report.value === 2) { } else if (this.state.report.value === 2) {
...@@ -479,7 +479,7 @@ export default class SubHolding extends Component { ...@@ -479,7 +479,7 @@ export default class SubHolding extends Component {
let url = window.URL.createObjectURL(res); let url = window.URL.createObjectURL(res);
let a = document.createElement('a'); let a = document.createElement('a');
a.href = url; a.href = url;
a.download = 'Report DB Profit & Loss Detail.xlsx'; a.download = 'Report DB Balance Sheet.xlsx';
a.click(); a.click();
} }
} else if (this.state.report.value === 3) { } else if (this.state.report.value === 3) {
......
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