Commit 5af487c5 authored by Riri Novita's avatar Riri Novita

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

download repot

See merge request !1723
parents a91238a1 7b42938f
......@@ -866,7 +866,8 @@ const create = (type = "") => {
createZipReport,
createDownloadFile,
getListDownload,
downloadZipReport
downloadZipReport,
sendEmail
}
}
......
......@@ -2407,6 +2407,8 @@ export default class BudgetTahunan extends Component {
"company_id": company.company_id,
"year": periode.periode,
"report_id": selectReport,
"month": "",
"quartal": "",
"type_report_name": "Master Budget"
}
console.log(payload);
......
......@@ -714,11 +714,11 @@ export default class CashFlow extends Component {
// }
if (tableMeta.rowData[5] == "Cash at the end of the period" && column == 7) {
console.log(splitFormula)
console.log(baru)
console.log(anjay)
console.log(anjay2)
console.log(total)
// console.log(splitFormula)
// console.log(baru)
// console.log(anjay)
// console.log(anjay2)
// console.log(total)
// let testttt = dataTable2[tableMeta.rowIndex - 1][8].value
// console.log(testttt)
// total = testttt
......
......@@ -2225,6 +2225,8 @@ export default class MonthlyReport extends Component {
"company_id": company.company_id,
"year": periode.periode,
"report_id": selectReport,
"month": month ? String(month.month_id).toString() : "",
"quartal": "",
"type_report_name": "Monthly Report"
}
console.log(payload);
......
......@@ -537,6 +537,8 @@ export default class OperatingIndicator extends Component {
"company_id": company.company_id,
"year": periode.periode,
"report_id": selectReport,
"month": "",
"quartal": "",
"type_report_name": "Operating Indicator"
}
console.log(payload);
......@@ -602,6 +604,7 @@ export default class OperatingIndicator extends Component {
if (String(report[1]).toLocaleLowerCase().includes('master budget')) {
let url = `${process.env.REACT_APP_URL_MAIN_BE}/public/transaction/operating_indicator/master_budget/export_master_budget?operating_indicator_id=${operatingIndID == null ? "" : operatingIndID}&&report_id=${report[3]}&&company_id=${company.company_id}&&year=${periode.periode}&&download_file_report_id=${downloadedFileReportId}`
console.log(url);
let res = await fetch(
`${process.env.REACT_APP_URL_MAIN_BE}/public/transaction/operating_indicator/master_budget/export_master_budget?operating_indicator_id=${operatingIndID == null ? "" : operatingIndID}&&report_id=${report[3]}&&company_id=${company.company_id}&&year=${periode.periode}&&download_file_report_id=${downloadedFileReportId}`
)
......
......@@ -1453,6 +1453,8 @@ export default class OutlookPA extends Component {
"company_id": company.company_id,
"year": periode.periode,
"report_id": selectReport,
"month": "",
"quartal": "",
"type_report_name": "Outlook PA"
}
console.log(payload);
......
......@@ -1487,11 +1487,13 @@ export default class RollingOutlook extends Component {
}
handleDownloadReport(tableMeta) {
let { selectReport, company, periode, month } = this.state
let { selectReport, company, periode, quarter } = this.state
let payload = {
"company_id": company.company_id,
"year": periode.periode,
"report_id": selectReport,
"month": "",
"quartal": quarter ? quarter.value : "",
"type_report_name": "Rolling Outlook"
}
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