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
1349795c
Commit
1349795c
authored
Oct 03, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
160e34be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
BalanceSheetOLPA.js
src/container/OutlookPA/BalanceSheetOLPA.js
+7
-7
TaxPlanningOLPA.js
src/container/OutlookPA/TaxPlanningOLPA.js
+4
-4
No files found.
src/container/OutlookPA/BalanceSheetOLPA.js
View file @
1349795c
...
...
@@ -214,8 +214,8 @@ export default class BalanceSheetOLPA extends Component {
Number
(
item
.
balance_sheet
.
august
),
Number
(
item
.
balance_sheet
.
september
),
Number
(
item
.
balance_sheet
.
october
),
this
.
props
.
status
===
'CLOSED'
?
Number
(
item
.
balance_sheet
.
november
)
:
item
.
type_report_id
==
5
||
item
.
type_report_id
==
6
||
item
.
type_report_id
==
7
?
{
value
:
Number
(
item
.
balance_sheet
.
november
),
formula
:
item
.
balance_sheet
.
november_formula
}
:
Number
(
item
.
balance_sheet
.
november
),
this
.
props
.
status
===
'CLOSED'
?
Number
(
item
.
balance_sheet
.
december
)
:
item
.
type_report_id
==
5
||
item
.
type_report_id
==
6
||
item
.
type_report_id
==
7
?
{
value
:
Number
(
item
.
balance_sheet
.
december
),
formula
:
item
.
balance_sheet
.
december_formula
}
:
Number
(
item
.
balance_sheet
.
december
),
item
.
type_report_id
==
5
||
item
.
type_report_id
==
6
||
item
.
type_report_id
==
7
?
{
value
:
Number
(
item
.
balance_sheet
.
november
),
formula
:
item
.
balance_sheet
.
november_formula
}
:
Number
(
item
.
balance_sheet
.
november
),
item
.
type_report_id
==
5
||
item
.
type_report_id
==
6
||
item
.
type_report_id
==
7
?
{
value
:
Number
(
item
.
balance_sheet
.
december
),
formula
:
item
.
balance_sheet
.
december_formula
}
:
Number
(
item
.
balance_sheet
.
december
),
Number
(
item
.
balance_sheet
.
total_current_year
),
item
.
order
,
item
.
condition_it_should_be
,
...
...
@@ -250,8 +250,8 @@ export default class BalanceSheetOLPA extends Component {
Number
(
item
.
balance_sheet
.
august
),
Number
(
item
.
balance_sheet
.
september
),
Number
(
item
.
balance_sheet
.
october
),
this
.
props
.
status
===
'CLOSED'
?
Number
(
item
.
balance_sheet
.
november
)
:
item
.
type_report_id
==
5
||
item
.
type_report_id
==
6
||
item
.
type_report_id
==
7
?
{
value
:
Number
(
item
.
balance_sheet
.
november
),
formula
:
item
.
balance_sheet
.
november_formula
}
:
Number
(
item
.
balance_sheet
.
november
),
this
.
props
.
status
===
'CLOSED'
?
Number
(
item
.
balance_sheet
.
december
)
:
item
.
type_report_id
==
5
||
item
.
type_report_id
==
6
||
item
.
type_report_id
==
7
?
{
value
:
Number
(
item
.
balance_sheet
.
december
),
formula
:
item
.
balance_sheet
.
december_formula
}
:
Number
(
item
.
balance_sheet
.
december
),
item
.
type_report_id
==
5
||
item
.
type_report_id
==
6
||
item
.
type_report_id
==
7
?
{
value
:
Number
(
item
.
balance_sheet
.
november
),
formula
:
item
.
balance_sheet
.
november_formula
}
:
Number
(
item
.
balance_sheet
.
november
),
item
.
type_report_id
==
5
||
item
.
type_report_id
==
6
||
item
.
type_report_id
==
7
?
{
value
:
Number
(
item
.
balance_sheet
.
december
),
formula
:
item
.
balance_sheet
.
december_formula
}
:
Number
(
item
.
balance_sheet
.
december
),
Number
(
item
.
balance_sheet
.
total_current_year
),
item
.
order
,
item
.
condition_it_should_be
,
...
...
@@ -920,6 +920,7 @@ export default class BalanceSheetOLPA extends Component {
}
}
})
baru
.
map
((
item
,
index
)
=>
{
if
(
item
==
'-'
||
item
==
'+'
||
item
==
'/'
||
item
==
'*'
)
{
...
...
@@ -948,7 +949,6 @@ export default class BalanceSheetOLPA extends Component {
// console.log(valuezz)
}
}
else
{
// console.log(baru);
let
indexID
=
value
.
formula
.
findIndex
((
val
)
=>
val
.
item_formula
==
String
(
`@
${
item
}
`
)
&&
val
.
periode
==
Number
(
this
.
props
.
periode
))
// console.log(indexID)
if
(
indexID
!==
-
1
)
{
...
...
@@ -1641,7 +1641,7 @@ export default class BalanceSheetOLPA extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
this
.
props
.
status
===
'CLOSED'
?
Number
(
value
).
toFixed
(
1
)
:
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
value
.
value
).
toFixed
(
1
)
:
Number
(
value
).
toFixed
(
1
))}
value
=
{(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
value
.
value
).
toFixed
(
1
)
:
Number
(
value
).
toFixed
(
1
))}
/
>
:
tableMeta
.
rowData
[
0
]
===
3
?
...
...
@@ -1768,7 +1768,7 @@ export default class BalanceSheetOLPA extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
this
.
props
.
status
===
'CLOSED'
?
Number
(
value
).
toFixed
(
1
)
:
(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
value
.
value
).
toFixed
(
1
)
:
Number
(
value
).
toFixed
(
1
))}
value
=
{(
tableMeta
.
rowData
[
0
]
===
5
||
tableMeta
.
rowData
[
0
]
===
6
||
tableMeta
.
rowData
[
0
]
===
7
?
Number
(
value
.
value
).
toFixed
(
1
)
:
Number
(
value
).
toFixed
(
1
))}
/
>
:
tableMeta
.
rowData
[
0
]
===
3
?
...
...
src/container/OutlookPA/TaxPlanningOLPA.js
View file @
1349795c
...
...
@@ -213,8 +213,8 @@ export default class TaxPlanningOLPA extends Component {
},
{
tbc
:
item
.
tax_planning
.
september
.
tbc
,
fcp
:
item
.
tax_planning
.
september
.
fcp
,
tbf
:
item
.
tax_planning
.
september
.
tbf
},
{
tbc
:
item
.
tax_planning
.
october
.
tbc
,
fcp
:
item
.
tax_planning
.
october
.
fcp
,
tbf
:
item
.
tax_planning
.
october
.
tbf
},
{
tbc
:
this
.
props
.
status
===
'CLOSED'
?
Number
(
item
.
tax_planning
.
november
.
tbc
)
:
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
)
:
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
)
:
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
)
:
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
)
:
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
)
:
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
.
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
:
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
:
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
:
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
:
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
:
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",
// 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",
...
...
@@ -318,8 +318,8 @@ export default class TaxPlanningOLPA extends Component {
},
{
tbc
:
item
.
tax_planning
.
september
.
tbc
,
fcp
:
item
.
tax_planning
.
september
.
fcp
,
tbf
:
item
.
tax_planning
.
september
.
tbf
},
{
tbc
:
item
.
tax_planning
.
october
.
tbc
,
fcp
:
item
.
tax_planning
.
october
.
fcp
,
tbf
:
item
.
tax_planning
.
october
.
tbf
},
{
tbc
:
this
.
props
.
status
===
'CLOSED'
?
Number
(
item
.
tax_planning
.
november
.
tbc
)
:
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
)
:
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
)
:
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
)
:
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
)
:
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
)
:
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
.
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
:
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
:
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
:
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
:
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
:
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",
// 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",
...
...
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