Commit 22c03ac0 authored by faisalhamdi's avatar faisalhamdi

Merge branch 'master' of http://103.44.149.204/d.arizona/tia-dev into faisal

parents 8c2d63a0 1ecbe43f
...@@ -359,6 +359,8 @@ const create = (type = "") => { ...@@ -359,6 +359,8 @@ const create = (type = "") => {
const approvalSubmissionOLPA = (body) => api.post('transaction/outlook_pa/approval_outlook', body) const approvalSubmissionOLPA = (body) => api.post('transaction/outlook_pa/approval_outlook', body)
const checkApproverOLPA = () => api.get('transaction/outlook_pa/is_approver') const checkApproverOLPA = () => api.get('transaction/outlook_pa/is_approver')
const createPeriodeRevisionOLPA = (body) => api.post('transaction/outlook_pa/create_periode_revision', body) const createPeriodeRevisionOLPA = (body) => api.post('transaction/outlook_pa/create_periode_revision', body)
const getHierarkiCFOLPA = (body) => api.post('transaction/cash_flow/outlook_pa/get_report_hierarki', body)
const createCFOLPA = (body) => api.post ('transaction/cash_flow/outlook_pa/create_outlook_report', body)
// Monthly // Monthly
const getMonthlyReport = (body) => api.post('transaction/monthly_report/get_all_report', body) const getMonthlyReport = (body) => api.post('transaction/monthly_report/get_all_report', body)
...@@ -788,7 +790,9 @@ const create = (type = "") => { ...@@ -788,7 +790,9 @@ const create = (type = "") => {
createPeriodeRevisionRO, createPeriodeRevisionRO,
historyApprovalRO, historyApprovalRO,
getRollingOutlookCF, getRollingOutlookCF,
createRollingOutlookCF createRollingOutlookCF,
getHierarkiCFOLPA,
createCFOLPA
} }
} }
......
...@@ -545,18 +545,29 @@ export default class SubHolding extends Component { ...@@ -545,18 +545,29 @@ export default class SubHolding extends Component {
item.profit_loss.ol_q3_october, item.profit_loss.ol_q3_october,
item.profit_loss.ol_q3_november, item.profit_loss.ol_q3_november,
item.profit_loss.ol_q3_december, item.profit_loss.ol_q3_december,
// item.profit_loss.ol_pa_january, item.profit_loss.ol_pa_january,
// item.profit_loss.ol_pa_february, item.profit_loss.ol_pa_february,
// item.profit_loss.ol_pa_march, item.profit_loss.ol_pa_march,
// item.profit_loss.ol_pa_april, item.profit_loss.ol_pa_april,
// item.profit_loss.ol_pa_may, item.profit_loss.ol_pa_may,
// item.profit_loss.ol_pa_june, item.profit_loss.ol_pa_june,
// item.profit_loss.ol_pa_july, item.profit_loss.ol_pa_july,
// item.profit_loss.ol_pa_august, item.profit_loss.ol_pa_august,
// item.profit_loss.ol_pa_september, item.profit_loss.ol_pa_september,
// item.profit_loss.ol_pa_october, item.profit_loss.ol_pa_october,
// item.profit_loss.ol_pa_november, item.profit_loss.ol_pa_november,
// item.profit_loss.ol_pa_december, item.profit_loss.ol_pa_december,
item.profit_loss.historialLast10YearList
// item.profit_loss.historialLast10YearList[0].value === null ? "0" : item.profit_loss.historialLast10YearList[0].value,
// item.profit_loss.historialLast10YearList[1].value === null ? "0" : item.profit_loss.historialLast10YearList[1].value,
// item.profit_loss.historialLast10YearList[2].value === null ? "0" : item.profit_loss.historialLast10YearList[2].value,
// item.profit_loss.historialLast10YearList[3].value === null ? "0" : item.profit_loss.historialLast10YearList[3].value,
// item.profit_loss.historialLast10YearList[4].value === null ? "0" : item.profit_loss.historialLast10YearList[4].value,
// item.profit_loss.historialLast10YearList[5].value === null ? "0" : item.profit_loss.historialLast10YearList[5].value,
// item.profit_loss.historialLast10YearList[6].value === null ? "0" : item.profit_loss.historialLast10YearList[6].value,
// item.profit_loss.historialLast10YearList[7].value === null ? "0" : item.profit_loss.historialLast10YearList[7].value,
// item.profit_loss.historialLast10YearList[8].value === null ? "0" : item.profit_loss.historialLast10YearList[8].value,
// item.profit_loss.historialLast10YearList[9].value === null ? "0" : item.profit_loss.historialLast10YearList[9].value
]) ])
} }
...@@ -666,18 +677,29 @@ export default class SubHolding extends Component { ...@@ -666,18 +677,29 @@ export default class SubHolding extends Component {
item.profit_loss.ol_q3_october, item.profit_loss.ol_q3_october,
item.profit_loss.ol_q3_november, item.profit_loss.ol_q3_november,
item.profit_loss.ol_q3_december, item.profit_loss.ol_q3_december,
// item.profit_loss.ol_pa_january, item.profit_loss.ol_pa_january,
// item.profit_loss.ol_pa_february, item.profit_loss.ol_pa_february,
// item.profit_loss.ol_pa_march, item.profit_loss.ol_pa_march,
// item.profit_loss.ol_pa_april, item.profit_loss.ol_pa_april,
// item.profit_loss.ol_pa_may, item.profit_loss.ol_pa_may,
// item.profit_loss.ol_pa_june, item.profit_loss.ol_pa_june,
// item.profit_loss.ol_pa_july, item.profit_loss.ol_pa_july,
// item.profit_loss.ol_pa_august, item.profit_loss.ol_pa_august,
// item.profit_loss.ol_pa_september, item.profit_loss.ol_pa_september,
// item.profit_loss.ol_pa_october, item.profit_loss.ol_pa_october,
// item.profit_loss.ol_pa_november, item.profit_loss.ol_pa_november,
// item.profit_loss.ol_pa_december, item.profit_loss.ol_pa_december,
item.profit_loss.historialLast10YearList
// item.profit_loss.historialLast10YearList[0].value === null ? "0" : item.profit_loss.historialLast10YearList[0].value,
// item.profit_loss.historialLast10YearList[1].value === null ? "0" : item.profit_loss.historialLast10YearList[1].value,
// item.profit_loss.historialLast10YearList[2].value === null ? "0" : item.profit_loss.historialLast10YearList[2].value,
// item.profit_loss.historialLast10YearList[3].value === null ? "0" : item.profit_loss.historialLast10YearList[3].value,
// item.profit_loss.historialLast10YearList[4].value === null ? "0" : item.profit_loss.historialLast10YearList[4].value,
// item.profit_loss.historialLast10YearList[5].value === null ? "0" : item.profit_loss.historialLast10YearList[5].value,
// item.profit_loss.historialLast10YearList[6].value === null ? "0" : item.profit_loss.historialLast10YearList[6].value,
// item.profit_loss.historialLast10YearList[7].value === null ? "0" : item.profit_loss.historialLast10YearList[7].value,
// item.profit_loss.historialLast10YearList[8].value === null ? "0" : item.profit_loss.historialLast10YearList[8].value,
// item.profit_loss.historialLast10YearList[9].value === null ? "0" : item.profit_loss.historialLast10YearList[9].value
]) ])
if (item.children !== null) { if (item.children !== null) {
if (item.children.length > 0) { if (item.children.length > 0) {
......
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
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