Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
50477d52
Commit
50477d52
authored
Dec 15, 2022
by
ardiansyah
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev/ardi' into 'ENV-DEPLOYMENT'
Update OL PA Tax Planning See merge request
!1647
parents
6d832893
f8e5bb32
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
741 additions
and
720 deletions
+741
-720
TaxPlanningOLPA.js
src/container/OutlookPA/TaxPlanningOLPA.js
+741
-720
No files found.
src/container/OutlookPA/TaxPlanningOLPA.js
View file @
50477d52
...
@@ -52,7 +52,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -52,7 +52,7 @@ export default class TaxPlanningOLPA extends Component {
buttonDraft
:
true
,
buttonDraft
:
true
,
handleDoubleClick
:
0
,
handleDoubleClick
:
0
,
get_for
:
"view"
,
get_for
:
"view"
,
viewOnly
:
true
viewOnly
:
true
}
}
this
.
handleValue
=
this
.
handleValue
.
bind
(
this
)
this
.
handleValue
=
this
.
handleValue
.
bind
(
this
)
...
@@ -97,12 +97,12 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -97,12 +97,12 @@ export default class TaxPlanningOLPA extends Component {
checkStatus
=
false
checkStatus
=
false
}
}
this
.
setState
({
viewOnly
:
!
checkApprover
&&
checkLastStatus
&&
checkStatus
&&
checkPrevRev
})
this
.
setState
({
viewOnly
:
!
checkApprover
&&
checkLastStatus
&&
checkStatus
&&
checkPrevRev
})
}
}
handleGetFor
(
type
)
{
handleGetFor
(
type
)
{
console
.
log
(
type
)
console
.
log
(
type
)
this
.
setState
({
get_for
:
type
},
()
=>
{
this
.
setState
({
get_for
:
type
},
()
=>
{
this
.
getSettingControl
()
this
.
getSettingControl
()
this
.
lastUpdate
()
this
.
lastUpdate
()
})
})
...
@@ -141,7 +141,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -141,7 +141,7 @@ export default class TaxPlanningOLPA extends Component {
})
})
}
}
lastUpdate
(){
lastUpdate
()
{
let
payload
=
{
let
payload
=
{
"outlook_pa_id"
:
this
.
props
.
outlook_pa_id
,
"outlook_pa_id"
:
this
.
props
.
outlook_pa_id
,
"report_id"
:
this
.
props
.
report_id
,
"report_id"
:
this
.
props
.
report_id
,
...
@@ -206,54 +206,54 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -206,54 +206,54 @@ export default class TaxPlanningOLPA extends Component {
// { tbc: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.tbc).toFixed(1) : item.type_report_tax.value_tbc.type_report_id == 5 || item.type_report_tax.value_tbc.type_report_id == 6 || item.type_report_tax.value_tbc.type_report_id == 7 ? { value: item.tax_planning.november.tbc, formula: item.tax_planning.november_formula } : item.tax_planning.november.tbc, fcp: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.fcp).toFixed(1) : item.type_report_tax.value_fc.type_report_id == 5 || item.type_report_tax.value_fc.type_report_id == 6 || item.type_report_tax.value_fc.type_report_id == 7 ? { value: item.tax_planning.november.fcp, formula: item.tax_planning.november_formula } : item.tax_planning.november.fcp, tbf: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.tbf).toFixed(1) : item.type_report_tax.value_tbf.type_report_id == 5 || item.type_report_tax.value_tbf.type_report_id == 6 || item.type_report_tax.value_tbf.type_report_id == 7 ? { value: item.tax_planning.november.tbf, formula: item.tax_planning.november_formula } : item.tax_planning.november.tbf },
// { tbc: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.tbc).toFixed(1) : item.type_report_tax.value_tbc.type_report_id == 5 || item.type_report_tax.value_tbc.type_report_id == 6 || item.type_report_tax.value_tbc.type_report_id == 7 ? { value: item.tax_planning.november.tbc, formula: item.tax_planning.november_formula } : item.tax_planning.november.tbc, fcp: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.fcp).toFixed(1) : item.type_report_tax.value_fc.type_report_id == 5 || item.type_report_tax.value_fc.type_report_id == 6 || item.type_report_tax.value_fc.type_report_id == 7 ? { value: item.tax_planning.november.fcp, formula: item.tax_planning.november_formula } : item.tax_planning.november.fcp, tbf: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.tbf).toFixed(1) : item.type_report_tax.value_tbf.type_report_id == 5 || item.type_report_tax.value_tbf.type_report_id == 6 || item.type_report_tax.value_tbf.type_report_id == 7 ? { value: item.tax_planning.november.tbf, formula: item.tax_planning.november_formula } : item.tax_planning.november.tbf },
// { tbc: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.tbc).toFixed(1) : item.type_report_tax.value_tbc.type_report_id == 5 || item.type_report_tax.value_tbc.type_report_id == 6 || item.type_report_tax.value_tbc.type_report_id == 7 ? { value: item.tax_planning.december.tbc, formula: item.tax_planning.december_formula } : item.tax_planning.december.tbc, fcp: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.fcp).toFixed(1) : item.type_report_tax.value_fc.type_report_id == 5 || item.type_report_tax.value_fc.type_report_id == 6 || item.type_report_tax.value_fc.type_report_id == 7 ? { value: item.tax_planning.december.fcp, formula: item.tax_planning.december_formula } : item.tax_planning.december.fcp, tbf: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.tbf).toFixed(1) : item.type_report_tax.value_tbf.type_report_id == 5 || item.type_report_tax.value_tbf.type_report_id == 6 || item.type_report_tax.value_tbf.type_report_id == 7 ? { value: item.tax_planning.december.tbf, formula: item.tax_planning.december_formula } : item.tax_planning.december.tbf },
// { tbc: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.tbc).toFixed(1) : item.type_report_tax.value_tbc.type_report_id == 5 || item.type_report_tax.value_tbc.type_report_id == 6 || item.type_report_tax.value_tbc.type_report_id == 7 ? { value: item.tax_planning.december.tbc, formula: item.tax_planning.december_formula } : item.tax_planning.december.tbc, fcp: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.fcp).toFixed(1) : item.type_report_tax.value_fc.type_report_id == 5 || item.type_report_tax.value_fc.type_report_id == 6 || item.type_report_tax.value_fc.type_report_id == 7 ? { value: item.tax_planning.december.fcp, formula: item.tax_planning.december_formula } : item.tax_planning.december.fcp, tbf: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.tbf).toFixed(1) : item.type_report_tax.value_tbf.type_report_id == 5 || item.type_report_tax.value_tbf.type_report_id == 6 || item.type_report_tax.value_tbf.type_report_id == 7 ? { value: item.tax_planning.december.tbf, formula: item.tax_planning.december_formula } : item.tax_planning.december.tbf },
{
{
tbc
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
tbc
!==
null
?
item
.
tax_planning
.
january
.
tbc
!==
""
?
item
.
tax_planning
.
january
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
tbc
!==
null
?
item
.
tax_planning
.
january
.
tbc
!==
""
?
item
.
tax_planning
.
january
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
fcp
!==
null
?
item
.
tax_planning
.
january
.
fcp
!==
""
?
item
.
tax_planning
.
january
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
fcp
!==
null
?
item
.
tax_planning
.
january
.
fcp
!==
""
?
item
.
tax_planning
.
january
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
tbf
!==
null
?
item
.
tax_planning
.
january
.
tbf
!==
""
?
item
.
tax_planning
.
january
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
tbf
!==
null
?
item
.
tax_planning
.
january
.
tbf
!==
""
?
item
.
tax_planning
.
january
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
tbc
!==
null
?
item
.
tax_planning
.
february
.
tbc
!==
""
?
item
.
tax_planning
.
february
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
tbc
!==
null
?
item
.
tax_planning
.
february
.
tbc
!==
""
?
item
.
tax_planning
.
february
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
fcp
!==
null
?
item
.
tax_planning
.
february
.
fcp
!==
""
?
item
.
tax_planning
.
february
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
fcp
!==
null
?
item
.
tax_planning
.
february
.
fcp
!==
""
?
item
.
tax_planning
.
february
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
tbf
!==
null
?
item
.
tax_planning
.
february
.
tbf
!==
""
?
item
.
tax_planning
.
february
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
tbf
!==
null
?
item
.
tax_planning
.
february
.
tbf
!==
""
?
item
.
tax_planning
.
february
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
tbc
!==
null
?
item
.
tax_planning
.
march
.
tbc
!==
""
?
item
.
tax_planning
.
march
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
tbc
!==
null
?
item
.
tax_planning
.
march
.
tbc
!==
""
?
item
.
tax_planning
.
march
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
fcp
!==
null
?
item
.
tax_planning
.
march
.
fcp
!==
""
?
item
.
tax_planning
.
march
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
fcp
!==
null
?
item
.
tax_planning
.
march
.
fcp
!==
""
?
item
.
tax_planning
.
march
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
tbf
!==
null
?
item
.
tax_planning
.
march
.
tbf
!==
""
?
item
.
tax_planning
.
march
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
tbf
!==
null
?
item
.
tax_planning
.
march
.
tbf
!==
""
?
item
.
tax_planning
.
march
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
tbc
!==
null
?
item
.
tax_planning
.
april
.
tbc
!==
""
?
item
.
tax_planning
.
april
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
tbc
!==
null
?
item
.
tax_planning
.
april
.
tbc
!==
""
?
item
.
tax_planning
.
april
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
fcp
!==
null
?
item
.
tax_planning
.
april
.
fcp
!==
""
?
item
.
tax_planning
.
april
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
fcp
!==
null
?
item
.
tax_planning
.
april
.
fcp
!==
""
?
item
.
tax_planning
.
april
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
tbf
!==
null
?
item
.
tax_planning
.
april
.
tbf
!==
""
?
item
.
tax_planning
.
april
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
tbf
!==
null
?
item
.
tax_planning
.
april
.
tbf
!==
""
?
item
.
tax_planning
.
april
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
tbc
!==
null
?
item
.
tax_planning
.
may
.
tbc
!==
""
?
item
.
tax_planning
.
may
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
tbc
!==
null
?
item
.
tax_planning
.
may
.
tbc
!==
""
?
item
.
tax_planning
.
may
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
fcp
!==
null
?
item
.
tax_planning
.
may
.
fcp
!==
""
?
item
.
tax_planning
.
may
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
fcp
!==
null
?
item
.
tax_planning
.
may
.
fcp
!==
""
?
item
.
tax_planning
.
may
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
tbf
!==
null
?
item
.
tax_planning
.
may
.
tbf
!==
""
?
item
.
tax_planning
.
may
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
tbf
!==
null
?
item
.
tax_planning
.
may
.
tbf
!==
""
?
item
.
tax_planning
.
may
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
tbc
!==
null
?
item
.
tax_planning
.
june
.
tbc
!==
""
?
item
.
tax_planning
.
june
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
tbc
!==
null
?
item
.
tax_planning
.
june
.
tbc
!==
""
?
item
.
tax_planning
.
june
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
fcp
!==
null
?
item
.
tax_planning
.
june
.
fcp
!==
""
?
item
.
tax_planning
.
june
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
fcp
!==
null
?
item
.
tax_planning
.
june
.
fcp
!==
""
?
item
.
tax_planning
.
june
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
tbf
!==
null
?
item
.
tax_planning
.
june
.
tbf
!==
""
?
item
.
tax_planning
.
june
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
tbf
!==
null
?
item
.
tax_planning
.
june
.
tbf
!==
""
?
item
.
tax_planning
.
june
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
tbc
!==
null
?
item
.
tax_planning
.
july
.
tbc
!==
""
?
item
.
tax_planning
.
july
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
tbc
!==
null
?
item
.
tax_planning
.
july
.
tbc
!==
""
?
item
.
tax_planning
.
july
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
fcp
!==
null
?
item
.
tax_planning
.
july
.
fcp
!==
""
?
item
.
tax_planning
.
july
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
fcp
!==
null
?
item
.
tax_planning
.
july
.
fcp
!==
""
?
item
.
tax_planning
.
july
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
tbf
!==
null
?
item
.
tax_planning
.
july
.
tbf
!==
""
?
item
.
tax_planning
.
july
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
tbf
!==
null
?
item
.
tax_planning
.
july
.
tbf
!==
""
?
item
.
tax_planning
.
july
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
tbc
!==
null
?
item
.
tax_planning
.
august
.
tbc
!==
""
?
item
.
tax_planning
.
august
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
tbc
!==
null
?
item
.
tax_planning
.
august
.
tbc
!==
""
?
item
.
tax_planning
.
august
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
fcp
!==
null
?
item
.
tax_planning
.
august
.
fcp
!==
""
?
item
.
tax_planning
.
august
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
fcp
!==
null
?
item
.
tax_planning
.
august
.
fcp
!==
""
?
item
.
tax_planning
.
august
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
tbf
!==
null
?
item
.
tax_planning
.
august
.
tbf
!==
""
?
item
.
tax_planning
.
august
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
tbf
!==
null
?
item
.
tax_planning
.
august
.
tbf
!==
""
?
item
.
tax_planning
.
august
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
tbc
!==
null
?
item
.
tax_planning
.
september
.
tbc
!==
""
?
item
.
tax_planning
.
september
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
tbc
!==
null
?
item
.
tax_planning
.
september
.
tbc
!==
""
?
item
.
tax_planning
.
september
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
fcp
!==
null
?
item
.
tax_planning
.
september
.
fcp
!==
""
?
item
.
tax_planning
.
september
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
fcp
!==
null
?
item
.
tax_planning
.
september
.
fcp
!==
""
?
item
.
tax_planning
.
september
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
tbf
!==
null
?
item
.
tax_planning
.
september
.
tbf
!==
""
?
item
.
tax_planning
.
september
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
tbf
!==
null
?
item
.
tax_planning
.
september
.
tbf
!==
""
?
item
.
tax_planning
.
september
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
tbc
!==
null
?
item
.
tax_planning
.
october
.
tbc
!==
""
?
item
.
tax_planning
.
october
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
tbc
!==
null
?
item
.
tax_planning
.
october
.
tbc
!==
""
?
item
.
tax_planning
.
october
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
fcp
!==
null
?
item
.
tax_planning
.
october
.
fcp
!==
""
?
item
.
tax_planning
.
october
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
fcp
!==
null
?
item
.
tax_planning
.
october
.
fcp
!==
""
?
item
.
tax_planning
.
october
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
tbf
!==
null
?
item
.
tax_planning
.
october
.
tbf
!==
""
?
item
.
tax_planning
.
october
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
tbf
!==
null
?
item
.
tax_planning
.
october
.
tbf
!==
""
?
item
.
tax_planning
.
october
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
this
.
props
.
status
===
'CLOSED'
?
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
:
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
5
||
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
6
||
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
7
?
{
value
:
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
,
formula
:
item
.
tax_planning
.
november_formula
}
:
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
this
.
props
.
status
===
'CLOSED'
?
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
:
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
5
||
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
6
||
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
7
?
{
value
:
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
,
formula
:
item
.
tax_planning
.
november_formula
}
:
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
,
...
@@ -307,54 +307,54 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -307,54 +307,54 @@ export default class TaxPlanningOLPA extends Component {
// { tbc: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.tbc).toFixed(1) : item.type_report_tax.value_tbc.type_report_id == 5 || item.type_report_tax.value_tbc.type_report_id == 6 || item.type_report_tax.value_tbc.type_report_id == 7 ? { value: item.tax_planning.november.tbc, formula: item.tax_planning.november_formula } : item.tax_planning.november.tbc, fcp: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.fcp).toFixed(1) : item.type_report_tax.value_fc.type_report_id == 5 || item.type_report_tax.value_fc.type_report_id == 6 || item.type_report_tax.value_fc.type_report_id == 7 ? { value: item.tax_planning.november.fcp, formula: item.tax_planning.november_formula } : item.tax_planning.november.fcp, tbf: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.tbf).toFixed(1) : item.type_report_tax.value_tbf.type_report_id == 5 || item.type_report_tax.value_tbf.type_report_id == 6 || item.type_report_tax.value_tbf.type_report_id == 7 ? { value: item.tax_planning.november.tbf, formula: item.tax_planning.november_formula } : item.tax_planning.november.tbf },
// { tbc: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.tbc).toFixed(1) : item.type_report_tax.value_tbc.type_report_id == 5 || item.type_report_tax.value_tbc.type_report_id == 6 || item.type_report_tax.value_tbc.type_report_id == 7 ? { value: item.tax_planning.november.tbc, formula: item.tax_planning.november_formula } : item.tax_planning.november.tbc, fcp: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.fcp).toFixed(1) : item.type_report_tax.value_fc.type_report_id == 5 || item.type_report_tax.value_fc.type_report_id == 6 || item.type_report_tax.value_fc.type_report_id == 7 ? { value: item.tax_planning.november.fcp, formula: item.tax_planning.november_formula } : item.tax_planning.november.fcp, tbf: this.props.status === 'CLOSED' ? Number(item.tax_planning.november.tbf).toFixed(1) : item.type_report_tax.value_tbf.type_report_id == 5 || item.type_report_tax.value_tbf.type_report_id == 6 || item.type_report_tax.value_tbf.type_report_id == 7 ? { value: item.tax_planning.november.tbf, formula: item.tax_planning.november_formula } : item.tax_planning.november.tbf },
// { tbc: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.tbc).toFixed(1) : item.type_report_tax.value_tbc.type_report_id == 5 || item.type_report_tax.value_tbc.type_report_id == 6 || item.type_report_tax.value_tbc.type_report_id == 7 ? { value: item.tax_planning.december.tbc, formula: item.tax_planning.december_formula } : item.tax_planning.december.tbc, fcp: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.fcp).toFixed(1) : item.type_report_tax.value_fc.type_report_id == 5 || item.type_report_tax.value_fc.type_report_id == 6 || item.type_report_tax.value_fc.type_report_id == 7 ? { value: item.tax_planning.december.fcp, formula: item.tax_planning.december_formula } : item.tax_planning.december.fcp, tbf: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.tbf).toFixed(1) : item.type_report_tax.value_tbf.type_report_id == 5 || item.type_report_tax.value_tbf.type_report_id == 6 || item.type_report_tax.value_tbf.type_report_id == 7 ? { value: item.tax_planning.december.tbf, formula: item.tax_planning.december_formula } : item.tax_planning.december.tbf },
// { tbc: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.tbc).toFixed(1) : item.type_report_tax.value_tbc.type_report_id == 5 || item.type_report_tax.value_tbc.type_report_id == 6 || item.type_report_tax.value_tbc.type_report_id == 7 ? { value: item.tax_planning.december.tbc, formula: item.tax_planning.december_formula } : item.tax_planning.december.tbc, fcp: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.fcp).toFixed(1) : item.type_report_tax.value_fc.type_report_id == 5 || item.type_report_tax.value_fc.type_report_id == 6 || item.type_report_tax.value_fc.type_report_id == 7 ? { value: item.tax_planning.december.fcp, formula: item.tax_planning.december_formula } : item.tax_planning.december.fcp, tbf: this.props.status === 'CLOSED' ? Number(item.tax_planning.december.tbf).toFixed(1) : item.type_report_tax.value_tbf.type_report_id == 5 || item.type_report_tax.value_tbf.type_report_id == 6 || item.type_report_tax.value_tbf.type_report_id == 7 ? { value: item.tax_planning.december.tbf, formula: item.tax_planning.december_formula } : item.tax_planning.december.tbf },
{
{
tbc
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
tbc
!==
null
?
item
.
tax_planning
.
january
.
tbc
!==
""
?
item
.
tax_planning
.
january
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
tbc
!==
null
?
item
.
tax_planning
.
january
.
tbc
!==
""
?
item
.
tax_planning
.
january
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
fcp
!==
null
?
item
.
tax_planning
.
january
.
fcp
!==
""
?
item
.
tax_planning
.
january
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
fcp
!==
null
?
item
.
tax_planning
.
january
.
fcp
!==
""
?
item
.
tax_planning
.
january
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
tbf
!==
null
?
item
.
tax_planning
.
january
.
tbf
!==
""
?
item
.
tax_planning
.
january
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
january
!==
null
?
item
.
tax_planning
.
january
!==
""
?
item
.
tax_planning
.
january
.
tbf
!==
null
?
item
.
tax_planning
.
january
.
tbf
!==
""
?
item
.
tax_planning
.
january
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
tbc
!==
null
?
item
.
tax_planning
.
february
.
tbc
!==
""
?
item
.
tax_planning
.
february
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
tbc
!==
null
?
item
.
tax_planning
.
february
.
tbc
!==
""
?
item
.
tax_planning
.
february
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
fcp
!==
null
?
item
.
tax_planning
.
february
.
fcp
!==
""
?
item
.
tax_planning
.
february
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
fcp
!==
null
?
item
.
tax_planning
.
february
.
fcp
!==
""
?
item
.
tax_planning
.
february
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
tbf
!==
null
?
item
.
tax_planning
.
february
.
tbf
!==
""
?
item
.
tax_planning
.
february
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
february
!==
null
?
item
.
tax_planning
.
february
!==
""
?
item
.
tax_planning
.
february
.
tbf
!==
null
?
item
.
tax_planning
.
february
.
tbf
!==
""
?
item
.
tax_planning
.
february
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
tbc
!==
null
?
item
.
tax_planning
.
march
.
tbc
!==
""
?
item
.
tax_planning
.
march
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
tbc
!==
null
?
item
.
tax_planning
.
march
.
tbc
!==
""
?
item
.
tax_planning
.
march
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
fcp
!==
null
?
item
.
tax_planning
.
march
.
fcp
!==
""
?
item
.
tax_planning
.
march
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
fcp
!==
null
?
item
.
tax_planning
.
march
.
fcp
!==
""
?
item
.
tax_planning
.
march
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
tbf
!==
null
?
item
.
tax_planning
.
march
.
tbf
!==
""
?
item
.
tax_planning
.
march
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
march
!==
null
?
item
.
tax_planning
.
march
!==
""
?
item
.
tax_planning
.
march
.
tbf
!==
null
?
item
.
tax_planning
.
march
.
tbf
!==
""
?
item
.
tax_planning
.
march
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
tbc
!==
null
?
item
.
tax_planning
.
april
.
tbc
!==
""
?
item
.
tax_planning
.
april
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
tbc
!==
null
?
item
.
tax_planning
.
april
.
tbc
!==
""
?
item
.
tax_planning
.
april
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
fcp
!==
null
?
item
.
tax_planning
.
april
.
fcp
!==
""
?
item
.
tax_planning
.
april
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
fcp
!==
null
?
item
.
tax_planning
.
april
.
fcp
!==
""
?
item
.
tax_planning
.
april
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
tbf
!==
null
?
item
.
tax_planning
.
april
.
tbf
!==
""
?
item
.
tax_planning
.
april
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
april
!==
null
?
item
.
tax_planning
.
april
!==
""
?
item
.
tax_planning
.
april
.
tbf
!==
null
?
item
.
tax_planning
.
april
.
tbf
!==
""
?
item
.
tax_planning
.
april
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
tbc
!==
null
?
item
.
tax_planning
.
may
.
tbc
!==
""
?
item
.
tax_planning
.
may
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
tbc
!==
null
?
item
.
tax_planning
.
may
.
tbc
!==
""
?
item
.
tax_planning
.
may
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
fcp
!==
null
?
item
.
tax_planning
.
may
.
fcp
!==
""
?
item
.
tax_planning
.
may
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
fcp
!==
null
?
item
.
tax_planning
.
may
.
fcp
!==
""
?
item
.
tax_planning
.
may
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
tbf
!==
null
?
item
.
tax_planning
.
may
.
tbf
!==
""
?
item
.
tax_planning
.
may
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
may
!==
null
?
item
.
tax_planning
.
may
!==
""
?
item
.
tax_planning
.
may
.
tbf
!==
null
?
item
.
tax_planning
.
may
.
tbf
!==
""
?
item
.
tax_planning
.
may
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
tbc
!==
null
?
item
.
tax_planning
.
june
.
tbc
!==
""
?
item
.
tax_planning
.
june
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
tbc
!==
null
?
item
.
tax_planning
.
june
.
tbc
!==
""
?
item
.
tax_planning
.
june
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
fcp
!==
null
?
item
.
tax_planning
.
june
.
fcp
!==
""
?
item
.
tax_planning
.
june
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
fcp
!==
null
?
item
.
tax_planning
.
june
.
fcp
!==
""
?
item
.
tax_planning
.
june
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
tbf
!==
null
?
item
.
tax_planning
.
june
.
tbf
!==
""
?
item
.
tax_planning
.
june
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
june
!==
null
?
item
.
tax_planning
.
june
!==
""
?
item
.
tax_planning
.
june
.
tbf
!==
null
?
item
.
tax_planning
.
june
.
tbf
!==
""
?
item
.
tax_planning
.
june
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
tbc
!==
null
?
item
.
tax_planning
.
july
.
tbc
!==
""
?
item
.
tax_planning
.
july
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
tbc
!==
null
?
item
.
tax_planning
.
july
.
tbc
!==
""
?
item
.
tax_planning
.
july
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
fcp
!==
null
?
item
.
tax_planning
.
july
.
fcp
!==
""
?
item
.
tax_planning
.
july
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
fcp
!==
null
?
item
.
tax_planning
.
july
.
fcp
!==
""
?
item
.
tax_planning
.
july
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
tbf
!==
null
?
item
.
tax_planning
.
july
.
tbf
!==
""
?
item
.
tax_planning
.
july
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
july
!==
null
?
item
.
tax_planning
.
july
!==
""
?
item
.
tax_planning
.
july
.
tbf
!==
null
?
item
.
tax_planning
.
july
.
tbf
!==
""
?
item
.
tax_planning
.
july
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
tbc
!==
null
?
item
.
tax_planning
.
august
.
tbc
!==
""
?
item
.
tax_planning
.
august
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
tbc
!==
null
?
item
.
tax_planning
.
august
.
tbc
!==
""
?
item
.
tax_planning
.
august
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
fcp
!==
null
?
item
.
tax_planning
.
august
.
fcp
!==
""
?
item
.
tax_planning
.
august
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
fcp
!==
null
?
item
.
tax_planning
.
august
.
fcp
!==
""
?
item
.
tax_planning
.
august
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
tbf
!==
null
?
item
.
tax_planning
.
august
.
tbf
!==
""
?
item
.
tax_planning
.
august
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
august
!==
null
?
item
.
tax_planning
.
august
!==
""
?
item
.
tax_planning
.
august
.
tbf
!==
null
?
item
.
tax_planning
.
august
.
tbf
!==
""
?
item
.
tax_planning
.
august
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
tbc
!==
null
?
item
.
tax_planning
.
september
.
tbc
!==
""
?
item
.
tax_planning
.
september
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
tbc
!==
null
?
item
.
tax_planning
.
september
.
tbc
!==
""
?
item
.
tax_planning
.
september
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
fcp
!==
null
?
item
.
tax_planning
.
september
.
fcp
!==
""
?
item
.
tax_planning
.
september
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
fcp
!==
null
?
item
.
tax_planning
.
september
.
fcp
!==
""
?
item
.
tax_planning
.
september
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
tbf
!==
null
?
item
.
tax_planning
.
september
.
tbf
!==
""
?
item
.
tax_planning
.
september
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
september
!==
null
?
item
.
tax_planning
.
september
!==
""
?
item
.
tax_planning
.
september
.
tbf
!==
null
?
item
.
tax_planning
.
september
.
tbf
!==
""
?
item
.
tax_planning
.
september
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
tbc
!==
null
?
item
.
tax_planning
.
october
.
tbc
!==
""
?
item
.
tax_planning
.
october
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
tbc
!==
null
?
item
.
tax_planning
.
october
.
tbc
!==
""
?
item
.
tax_planning
.
october
.
tbc
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
fcp
!==
null
?
item
.
tax_planning
.
october
.
fcp
!==
""
?
item
.
tax_planning
.
october
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
fcp
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
fcp
!==
null
?
item
.
tax_planning
.
october
.
fcp
!==
""
?
item
.
tax_planning
.
october
.
fcp
:
"0"
:
"0"
:
"0"
:
"0"
,
tbf
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
tbf
!==
null
?
item
.
tax_planning
.
october
.
tbf
!==
""
?
item
.
tax_planning
.
october
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
tbf
:
item
.
tax_planning
.
october
!==
null
?
item
.
tax_planning
.
october
!==
""
?
item
.
tax_planning
.
october
.
tbf
!==
null
?
item
.
tax_planning
.
october
.
tbf
!==
""
?
item
.
tax_planning
.
october
.
tbf
:
"0"
:
"0"
:
"0"
:
"0"
},
},
{
{
tbc
:
this
.
props
.
status
===
'CLOSED'
?
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
:
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
5
||
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
6
||
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
7
?
{
value
:
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
,
formula
:
item
.
tax_planning
.
november_formula
}
:
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
,
tbc
:
this
.
props
.
status
===
'CLOSED'
?
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
:
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
5
||
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
6
||
item
.
type_report_tax
.
value_tbc
.
type_report_id
==
7
?
{
value
:
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
,
formula
:
item
.
tax_planning
.
november_formula
}
:
item
.
tax_planning
.
november
!==
null
?
item
.
tax_planning
.
november
!==
""
?
item
.
tax_planning
.
november
.
tbc
!==
null
?
item
.
tax_planning
.
november
.
tbc
!==
""
?
Number
(
item
.
tax_planning
.
november
.
tbc
).
toFixed
(
1
)
:
"0"
:
"0"
:
"0"
:
"0"
,
...
@@ -638,51 +638,63 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -638,51 +638,63 @@ export default class TaxPlanningOLPA extends Component {
// {tbc: item.formula.tbc, fcp: item.formula.fcp, tbf: item.formula.tbf},
// {tbc: item.formula.tbc, fcp: item.formula.fcp, tbf: item.formula.tbf},
item
.
level
,
item
.
level
,
item
.
item_report
,
item
.
item_report
,
{
tbc
:
0
,
{
tbc
:
0
,
fcp
:
0
,
fcp
:
0
,
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
january
.
tbf
===
""
?
"0"
:
item
.
january
.
tbf
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
january
.
tbf
===
""
?
"0"
:
item
.
january
.
tbf
},
},
{
tbc
:
0
,
{
tbc
:
0
,
fcp
:
0
,
fcp
:
0
,
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
february
.
tbf
===
""
?
"0"
:
item
.
february
.
tbf
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
february
.
tbf
===
""
?
"0"
:
item
.
february
.
tbf
},
},
{
tbc
:
0
,
{
tbc
:
0
,
fcp
:
0
,
fcp
:
0
,
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
march
.
tbf
===
""
?
"0"
:
item
.
march
.
tbf
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
march
.
tbf
===
""
?
"0"
:
item
.
march
.
tbf
},
},
{
tbc
:
0
,
{
tbc
:
0
,
fcp
:
0
,
fcp
:
0
,
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
april
.
tbf
===
""
?
"0"
:
item
.
april
.
tbf
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
april
.
tbf
===
""
?
"0"
:
item
.
april
.
tbf
},
},
{
tbc
:
0
,
{
tbc
:
0
,
fcp
:
0
,
fcp
:
0
,
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
may
.
tbf
===
""
?
"0"
:
item
.
may
.
tbf
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
may
.
tbf
===
""
?
"0"
:
item
.
may
.
tbf
},
},
{
tbc
:
0
,
{
tbc
:
0
,
fcp
:
0
,
fcp
:
0
,
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
june
.
tbf
===
""
?
"0"
:
item
.
june
.
tbf
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
june
.
tbf
===
""
?
"0"
:
item
.
june
.
tbf
},
},
{
tbc
:
0
,
{
tbc
:
0
,
fcp
:
0
,
fcp
:
0
,
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
july
.
tbf
===
""
?
"0"
:
item
.
july
.
tbf
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
july
.
tbf
===
""
?
"0"
:
item
.
july
.
tbf
},
},
{
tbc
:
0
,
{
tbc
:
0
,
fcp
:
0
,
fcp
:
0
,
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
august
.
tbf
===
""
?
"0"
:
item
.
august
.
tbf
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
august
.
tbf
===
""
?
"0"
:
item
.
august
.
tbf
},
},
{
tbc
:
0
,
{
tbc
:
0
,
fcp
:
0
,
fcp
:
0
,
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
september
.
tbf
===
""
?
"0"
:
item
.
september
.
tbf
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
september
.
tbf
===
""
?
"0"
:
item
.
september
.
tbf
},
},
{
tbc
:
0
,
{
tbc
:
0
,
fcp
:
0
,
fcp
:
0
,
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
october
.
tbf
===
""
?
"0"
:
item
.
october
.
tbf
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
october
.
tbf
===
""
?
"0"
:
item
.
october
.
tbf
},
},
{
tbc
:
Number
(
item
.
type_report_id
.
tbc
)
===
3
&&
item
.
november
.
tbc
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
tbc
)
===
5
||
Number
(
item
.
type_report_id
.
tbc
)
===
6
||
Number
(
item
.
type_report_id
.
tbc
)
===
7
?
{
value
:
item
.
november
.
tbc
,
formula
:
item
.
november_formula
}
:
item
.
november
.
tbc
),
{
tbc
:
Number
(
item
.
type_report_id
.
tbc
)
===
3
&&
item
.
november
.
tbc
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
tbc
)
===
5
||
Number
(
item
.
type_report_id
.
tbc
)
===
6
||
Number
(
item
.
type_report_id
.
tbc
)
===
7
?
{
value
:
item
.
november
.
tbc
,
formula
:
item
.
november_formula
}
:
item
.
november
.
tbc
),
fcp
:
Number
(
item
.
type_report_id
.
fcp
)
===
3
&&
item
.
november
.
fcp
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
fcp
)
===
5
||
Number
(
item
.
type_report_id
.
fcp
)
===
6
||
Number
(
item
.
type_report_id
.
fcp
)
===
7
?
{
value
:
item
.
november
.
fcp
,
formula
:
item
.
november_formula
}
:
item
.
november
.
fcp
),
fcp
:
Number
(
item
.
type_report_id
.
fcp
)
===
3
&&
item
.
november
.
fcp
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
fcp
)
===
5
||
Number
(
item
.
type_report_id
.
fcp
)
===
6
||
Number
(
item
.
type_report_id
.
fcp
)
===
7
?
{
value
:
item
.
november
.
fcp
,
formula
:
item
.
november_formula
}
:
item
.
november
.
fcp
),
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
november
.
tbf
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
tbf
)
===
5
||
Number
(
item
.
type_report_id
.
tbf
)
===
6
||
Number
(
item
.
type_report_id
.
tbf
)
===
7
?
{
value
:
item
.
november
.
tbf
,
formula
:
item
.
november_formula
}
:
item
.
november
.
tbf
)
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
november
.
tbf
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
tbf
)
===
5
||
Number
(
item
.
type_report_id
.
tbf
)
===
6
||
Number
(
item
.
type_report_id
.
tbf
)
===
7
?
{
value
:
item
.
november
.
tbf
,
formula
:
item
.
november_formula
}
:
item
.
november
.
tbf
)
},
},
{
tbc
:
Number
(
item
.
type_report_id
.
tbc
)
===
3
&&
item
.
december
.
tbc
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
tbc
)
===
5
||
Number
(
item
.
type_report_id
.
tbc
)
===
6
||
Number
(
item
.
type_report_id
.
tbc
)
===
7
?
{
value
:
item
.
december
.
tbc
,
formula
:
item
.
december_formula
}
:
item
.
december
.
tbc
),
{
tbc
:
Number
(
item
.
type_report_id
.
tbc
)
===
3
&&
item
.
december
.
tbc
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
tbc
)
===
5
||
Number
(
item
.
type_report_id
.
tbc
)
===
6
||
Number
(
item
.
type_report_id
.
tbc
)
===
7
?
{
value
:
item
.
december
.
tbc
,
formula
:
item
.
december_formula
}
:
item
.
december
.
tbc
),
fcp
:
Number
(
item
.
type_report_id
.
fcp
)
===
3
&&
item
.
december
.
fcp
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
fcp
)
===
5
||
Number
(
item
.
type_report_id
.
fcp
)
===
6
||
Number
(
item
.
type_report_id
.
fcp
)
===
7
?
{
value
:
item
.
december
.
fcp
,
formula
:
item
.
december_formula
}
:
item
.
december
.
fcp
),
fcp
:
Number
(
item
.
type_report_id
.
fcp
)
===
3
&&
item
.
december
.
fcp
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
fcp
)
===
5
||
Number
(
item
.
type_report_id
.
fcp
)
===
6
||
Number
(
item
.
type_report_id
.
fcp
)
===
7
?
{
value
:
item
.
december
.
fcp
,
formula
:
item
.
december_formula
}
:
item
.
december
.
fcp
),
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
december
.
tbf
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
tbf
)
===
5
||
Number
(
item
.
type_report_id
.
tbf
)
===
6
||
Number
(
item
.
type_report_id
.
tbf
)
===
7
?
{
value
:
item
.
december
.
tbf
,
formula
:
item
.
december_formula
}
:
item
.
december
.
tbf
)
tbf
:
Number
(
item
.
type_report_id
.
tbf
)
===
3
&&
item
.
december
.
tbf
===
""
?
"0"
:
(
Number
(
item
.
type_report_id
.
tbf
)
===
5
||
Number
(
item
.
type_report_id
.
tbf
)
===
6
||
Number
(
item
.
type_report_id
.
tbf
)
===
7
?
{
value
:
item
.
december
.
tbf
,
formula
:
item
.
december_formula
}
:
item
.
december
.
tbf
)
},
},
...
@@ -926,7 +938,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -926,7 +938,7 @@ export default class TaxPlanningOLPA extends Component {
// if (response.data) {
// if (response.data) {
// if (response.data.status === "success") {
// if (response.data.status === "success") {
// if (response.data.data.result && errorContrl === false && editAble === false ) {
// if (response.data.data.result && errorContrl === false && editAble === false ) {
if
(
errorContrl
===
false
&&
editAble
===
false
)
{
if
(
errorContrl
===
false
&&
editAble
===
false
)
{
this
.
setState
({
loading
:
false
,
buttonError
:
false
,
editable
:
false
,
saveDraft
:
false
})
this
.
setState
({
loading
:
false
,
buttonError
:
false
,
editable
:
false
,
saveDraft
:
false
})
}
else
{
}
else
{
this
.
setState
({
loading
:
false
,
buttonError
:
true
,
editable
:
true
,
saveDraft
:
false
})
this
.
setState
({
loading
:
false
,
buttonError
:
true
,
editable
:
true
,
saveDraft
:
false
})
...
@@ -1416,10 +1428,10 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1416,10 +1428,10 @@ export default class TaxPlanningOLPA extends Component {
<
div
className
=
"content-center"
>
<
div
className
=
"content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -1485,10 +1497,10 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1485,10 +1497,10 @@ export default class TaxPlanningOLPA extends Component {
<
div
className
=
"content-center"
>
<
div
className
=
"content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -1554,10 +1566,10 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1554,10 +1566,10 @@ export default class TaxPlanningOLPA extends Component {
<
div
className
=
"content-center"
>
<
div
className
=
"content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -1602,7 +1614,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1602,7 +1614,7 @@ export default class TaxPlanningOLPA extends Component {
)
)
}
}
}
}
},{
},
{
name
:
`Apr
${
this
.
props
.
periode
}
`
,
name
:
`Apr
${
this
.
props
.
periode
}
`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
...
@@ -1623,10 +1635,10 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1623,10 +1635,10 @@ export default class TaxPlanningOLPA extends Component {
<
div
className
=
"content-center"
>
<
div
className
=
"content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -1671,7 +1683,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1671,7 +1683,7 @@ export default class TaxPlanningOLPA extends Component {
)
)
}
}
}
}
},{
},
{
name
:
`May
${
this
.
props
.
periode
}
`
,
name
:
`May
${
this
.
props
.
periode
}
`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
...
@@ -1692,10 +1704,10 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1692,10 +1704,10 @@ export default class TaxPlanningOLPA extends Component {
<
div
className
=
"content-center"
>
<
div
className
=
"content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -1740,7 +1752,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1740,7 +1752,7 @@ export default class TaxPlanningOLPA extends Component {
)
)
}
}
}
}
},{
},
{
name
:
`Jun
${
this
.
props
.
periode
}
`
,
name
:
`Jun
${
this
.
props
.
periode
}
`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
...
@@ -1761,10 +1773,10 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1761,10 +1773,10 @@ export default class TaxPlanningOLPA extends Component {
<
div
className
=
"content-center"
>
<
div
className
=
"content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -1809,7 +1821,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1809,7 +1821,7 @@ export default class TaxPlanningOLPA extends Component {
)
)
}
}
}
}
},{
},
{
name
:
`Jul
${
this
.
props
.
periode
}
`
,
name
:
`Jul
${
this
.
props
.
periode
}
`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
...
@@ -1830,10 +1842,10 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1830,10 +1842,10 @@ export default class TaxPlanningOLPA extends Component {
<
div
className
=
"content-center"
>
<
div
className
=
"content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -1878,7 +1890,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1878,7 +1890,7 @@ export default class TaxPlanningOLPA extends Component {
)
)
}
}
}
}
},{
},
{
name
:
`Aug
${
this
.
props
.
periode
}
`
,
name
:
`Aug
${
this
.
props
.
periode
}
`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
...
@@ -1899,10 +1911,10 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1899,10 +1911,10 @@ export default class TaxPlanningOLPA extends Component {
<
div
className
=
"content-center"
>
<
div
className
=
"content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -1947,7 +1959,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1947,7 +1959,7 @@ export default class TaxPlanningOLPA extends Component {
)
)
}
}
}
}
},{
},
{
name
:
`Sep
${
this
.
props
.
periode
}
`
,
name
:
`Sep
${
this
.
props
.
periode
}
`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
...
@@ -1968,10 +1980,10 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -1968,10 +1980,10 @@ export default class TaxPlanningOLPA extends Component {
<
div
className
=
"content-center"
>
<
div
className
=
"content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -2016,7 +2028,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -2016,7 +2028,7 @@ export default class TaxPlanningOLPA extends Component {
)
)
}
}
}
}
},{
},
{
name
:
`Oct
${
this
.
props
.
periode
}
`
,
name
:
`Oct
${
this
.
props
.
periode
}
`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
...
@@ -2037,10 +2049,10 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -2037,10 +2049,10 @@ export default class TaxPlanningOLPA extends Component {
<
div
className
=
"content-center"
>
<
div
className
=
"content-center"
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -2085,7 +2097,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -2085,7 +2097,7 @@ export default class TaxPlanningOLPA extends Component {
)
)
}
}
}
}
},{
},
{
name
:
`Nov
${
this
.
props
.
periode
}
`
,
name
:
`Nov
${
this
.
props
.
periode
}
`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
...
@@ -2118,7 +2130,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -2118,7 +2130,7 @@ export default class TaxPlanningOLPA extends Component {
{
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
{
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
tableMeta
.
rowData
[
1
]
===
5
||
tableMeta
.
rowData
[
1
]
===
6
||
tableMeta
.
rowData
[
1
]
===
7
?
tableMeta
.
rowData
[
1
]
===
5
||
tableMeta
.
rowData
[
1
]
===
6
||
tableMeta
.
rowData
[
1
]
===
7
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
...
@@ -2255,7 +2267,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -2255,7 +2267,7 @@ export default class TaxPlanningOLPA extends Component {
{
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
{
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
tableMeta
.
rowData
[
2
]
===
5
||
tableMeta
.
rowData
[
2
]
===
6
||
tableMeta
.
rowData
[
2
]
===
7
?
tableMeta
.
rowData
[
2
]
===
5
||
tableMeta
.
rowData
[
2
]
===
6
||
tableMeta
.
rowData
[
2
]
===
7
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
...
@@ -2390,7 +2402,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -2390,7 +2402,7 @@ export default class TaxPlanningOLPA extends Component {
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
tableMeta
.
rowData
[
3
]
===
5
||
tableMeta
.
rowData
[
3
]
===
6
||
tableMeta
.
rowData
[
3
]
===
7
?
tableMeta
.
rowData
[
3
]
===
5
||
tableMeta
.
rowData
[
3
]
===
6
||
tableMeta
.
rowData
[
3
]
===
7
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
...
@@ -2526,7 +2538,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -2526,7 +2538,7 @@ export default class TaxPlanningOLPA extends Component {
)
)
}
}
}
}
},{
},
{
name
:
`Dec
${
this
.
props
.
periode
}
`
,
name
:
`Dec
${
this
.
props
.
periode
}
`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
...
@@ -2559,7 +2571,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -2559,7 +2571,7 @@ export default class TaxPlanningOLPA extends Component {
{
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
{
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
tableMeta
.
rowData
[
1
]
===
5
||
tableMeta
.
rowData
[
1
]
===
6
||
tableMeta
.
rowData
[
1
]
===
7
?
tableMeta
.
rowData
[
1
]
===
5
||
tableMeta
.
rowData
[
1
]
===
6
||
tableMeta
.
rowData
[
1
]
===
7
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
...
@@ -2696,7 +2708,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -2696,7 +2708,7 @@ export default class TaxPlanningOLPA extends Component {
{
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
{
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
tableMeta
.
rowData
[
2
]
===
5
||
tableMeta
.
rowData
[
2
]
===
6
||
tableMeta
.
rowData
[
2
]
===
7
?
tableMeta
.
rowData
[
2
]
===
5
||
tableMeta
.
rowData
[
2
]
===
6
||
tableMeta
.
rowData
[
2
]
===
7
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
...
@@ -2831,7 +2843,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -2831,7 +2843,7 @@ export default class TaxPlanningOLPA extends Component {
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
{
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
null
:
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
tableMeta
.
rowData
[
3
]
===
5
||
tableMeta
.
rowData
[
3
]
===
6
||
tableMeta
.
rowData
[
3
]
===
7
?
tableMeta
.
rowData
[
3
]
===
5
||
tableMeta
.
rowData
[
3
]
===
6
||
tableMeta
.
rowData
[
3
]
===
7
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
...
@@ -2967,21 +2979,30 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -2967,21 +2979,30 @@ export default class TaxPlanningOLPA extends Component {
)
)
}
}
}
}
},{
},
{
name
:
`
${
this
.
props
.
periode
}
Trial Balance (Fiscal)`
,
name
:
`
${
this
.
props
.
periode
}
Trial Balance (Fiscal)`
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
<
div
style
=
{{
...
style2
,
backgroundColor
:
'#1c71b8'
,
color
:
'#fff'
,
fontSize
:
13
,
fontWeight
:
1
,
width
:
200
,
borderRight
:
"1px solid rgb(255, 255, 255)"
}}
>
<
th
style
=
{{
...
style2
,
backgroundColor
:
'#1c71b8'
,
color
:
'#fff'
,
fontSize
:
13
,
fontWeight
:
1
,
width
:
150
,
borderRight
:
"1px solid rgb(255, 255, 255)"
}}
>
{
/* <TableCell style={{ ...style2, top: 0, zIndex: 99, backgroundColor: '#1c71b8', width: 96 }}>
<
div
style
=
{{
borderBottom
:
"1px #fff solid"
,
textAlign
:
'center'
,
fontSize
:
12
,
fontWeight
:
'bold'
,
width
:
200
,
padding
:
5
,
paddingTop
:
8
}}
>
{
columnMeta
.
name
}
<
/div
>
<Typography style={{ color: 'white', fontSize: 12, fontWeight: 'bold', textAlign: 'center' }}>{columnMeta.name}</Typography>
<
div
className
=
""
style
=
{{
...
style2
,
backgroundColor
:
'#1c71b8'
,
color
:
'#fff'
,
fontSize
:
12
,
fontWeight
:
'bold'
,
position
:
"sticky"
,
paddingBottom
:
20
}}
>
</TableCell> */
}
<
div
className
=
"column-1"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
padding
:
5
}}
>
<
div
style
=
{{
borderBottom
:
"1px #fff solid"
,
textAlign
:
'center'
,
fontSize
:
12
,
fontWeight
:
'bold'
,
padding
:
5
,
paddingTop
:
8
}}
>
{
columnMeta
.
name
}
<
/div
>
<
div
style
=
{{
...
style2
,
backgroundColor
:
'#1c71b8'
,
color
:
'#fff'
,
fontSize
:
12
,
fontWeight
:
'bold'
,
position
:
"sticky"
,
paddingBottom
:
20
}}
>
<
div
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
padding
:
5
}}
>
<
span
>
{
"Trial Balance (Fiscal)"
}
<
/span
>
<
span
>
{
"Trial Balance (Fiscal)"
}
<
/span
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/th
>
// <div style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 13, fontWeight: 1, width: 200, borderRight: "1px solid rgb(255, 255, 255)" }} >
// <TableCell style={{ ...style2, top: 0, zIndex: 99, backgroundColor: '#1c71b8', width: 96 }}>
// <Typography style={{ color: 'white', fontSize: 12, fontWeight: 'bold', textAlign: 'center' }}>{columnMeta.name}</Typography>
// </TableCell>
// <div style={{ borderBottom: "1px #fff solid", textAlign: 'center', fontSize: 12, fontWeight: 'bold', padding: 5, paddingTop: 8 }}>{columnMeta.name}</div>
// <div style={{ ...style2, backgroundColor: '#1c71b8', color: '#fff', fontSize: 12, fontWeight: 'bold', position: "sticky", paddingBottom: 20 }}>
// <div style={{ placeSelf: 'center', textAlign: 'center', padding: 5 }}>
// <span>{"Trial Balance (Fiscal)"}</span>
// </div>
// </div>
// </div>
),
),
setCellProps
:
()
=>
({
style2
}),
setCellProps
:
()
=>
({
style2
}),
customBodyRender
:
(
value
,
tableMeta
,
updateValue
)
=>
{
customBodyRender
:
(
value
,
tableMeta
,
updateValue
)
=>
{
...
@@ -3126,19 +3147,19 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -3126,19 +3147,19 @@ export default class TaxPlanningOLPA extends Component {
)
)
}
}
}
}
},
{
},
{
name
:
""
,
name
:
""
,
options
:
{
options
:
{
display
:
false
display
:
false
}
}
},
{
},
{
name
:
""
,
name
:
""
,
options
:
{
options
:
{
display
:
false
display
:
false
}
}
}
}
]
]
const
loadingComponent
=
(
const
loadingComponent
=
(
<
div
style
=
{{
position
:
'absolute'
,
zIndex
:
110
,
top
:
0
,
left
:
0
,
width
:
'100%'
,
height
:
'100%'
,
display
:
'flex'
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
background
:
'rgba(255,255,255,0.8)'
}}
>
<
div
style
=
{{
position
:
'absolute'
,
zIndex
:
110
,
top
:
0
,
left
:
0
,
width
:
'100%'
,
height
:
'100%'
,
display
:
'flex'
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
background
:
'rgba(255,255,255,0.8)'
}}
>
<
PropagateLoader
<
PropagateLoader
// css={override}
// css={override}
...
@@ -3147,9 +3168,9 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -3147,9 +3168,9 @@ export default class TaxPlanningOLPA extends Component {
loading
=
{
this
.
state
.
loading
}
loading
=
{
this
.
state
.
loading
}
/
>
/
>
<
/div
>
<
/div
>
);
);
return
(
return
(
<
div
style
=
{{
height
:
this
.
props
.
height
,
backgroundColor
:
'#f8f8f8'
,
marginBottom
:
100
,
minHeight
:
1000
}}
>
<
div
style
=
{{
height
:
this
.
props
.
height
,
backgroundColor
:
'#f8f8f8'
,
marginBottom
:
100
,
minHeight
:
1000
}}
>
<
div
className
=
{
"main-color"
}
style
=
{{
height
:
78
,
flex
:
1
,
display
:
'flex'
,
alignItems
:
'center'
,
paddingLeft
:
20
}}
>
<
div
className
=
{
"main-color"
}
style
=
{{
height
:
78
,
flex
:
1
,
display
:
'flex'
,
alignItems
:
'center'
,
paddingLeft
:
20
}}
>
<
Typography
style
=
{{
fontSize
:
'16px'
,
color
:
'white'
}}
>
Outlook
Performance
Appraisal
Submission
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'16px'
,
color
:
'white'
}}
>
Outlook
Performance
Appraisal
Submission
<
/Typography
>
...
@@ -3174,7 +3195,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -3174,7 +3195,7 @@ export default class TaxPlanningOLPA extends Component {
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
/div
>
<
/div
>
<
div
style
=
{{
width
:
'50%'
}}
>
<
div
style
=
{{
width
:
'50%'
}}
>
{
this
.
props
.
isApprover
===
true
||
this
.
state
.
get_for
==
'view'
?
{
this
.
props
.
isApprover
===
true
||
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
justifyContent
:
'flex-end'
,
display
:
'flex'
,
flexFlow
:
'wrap'
}}
>
<
div
style
=
{{
justifyContent
:
'flex-end'
,
display
:
'flex'
,
flexFlow
:
'wrap'
}}
>
<
a
data
-
tip
=
{
'Download'
}
data
-
for
=
"download"
>
<
a
data
-
tip
=
{
'Download'
}
data
-
for
=
"download"
>
<
button
<
button
...
@@ -3311,7 +3332,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -3311,7 +3332,7 @@ export default class TaxPlanningOLPA extends Component {
marginRight
:
20
marginRight
:
20
}}
}}
onClick
=
{()
=>
{
onClick
=
{()
=>
{
this
.
setState
({
loading
:
true
},
()
=>
{
this
.
setState
({
loading
:
true
},
()
=>
{
this
.
handleGetFor
(
'edit'
)
this
.
handleGetFor
(
'edit'
)
})
})
}}
}}
...
@@ -3479,7 +3500,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -3479,7 +3500,7 @@ export default class TaxPlanningOLPA extends Component {
null
null
:
:
this
.
state
.
handleDoubleClick
==
1
?
null
:
this
.
state
.
handleDoubleClick
==
1
?
null
:
this
.
setState
({
handleDoubleClick
:
1
,
loading
:
true
},
()
=>
{
this
.
setState
({
handleDoubleClick
:
1
,
loading
:
true
},
()
=>
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
uploadTP
(
'draft'
)
this
.
uploadTP
(
'draft'
)
},
100
);
},
100
);
...
@@ -3503,7 +3524,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -3503,7 +3524,7 @@ export default class TaxPlanningOLPA extends Component {
this
.
setState
({
alert
:
true
,
messageAlert
:
'Data Incomplete'
,
tipeAlert
:
'error'
})
this
.
setState
({
alert
:
true
,
messageAlert
:
'Data Incomplete'
,
tipeAlert
:
'error'
})
:
:
this
.
state
.
handleDoubleClick
==
1
?
null
:
this
.
state
.
handleDoubleClick
==
1
?
null
:
this
.
setState
({
handleDoubleClick
:
1
,
loading
:
true
},
()
=>
{
this
.
setState
({
handleDoubleClick
:
1
,
loading
:
true
},
()
=>
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
uploadTP
(
'submitted'
)
this
.
uploadTP
(
'submitted'
)
},
100
);
},
100
);
...
@@ -3557,6 +3578,6 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -3557,6 +3578,6 @@ export default class TaxPlanningOLPA extends Component {
<
/div
>
<
/div
>
)}
)}
<
/div
>
<
/div
>
);
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment