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
a66410f6
Commit
a66410f6
authored
Mar 28, 2021
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
createCF+quartal+CAT
parent
4bedd07a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3280 additions
and
2857 deletions
+3280
-2857
index.js
src/api/index.js
+3
-1
BalanceSheetRO.js
src/container/RollingOutlook/BalanceSheetRO.js
+11
-0
CashFlowRO.js
src/container/RollingOutlook/CashFlowRO.js
+294
-254
CatRevision.js
src/container/RollingOutlook/CatRevision.js
+833
-536
TaxPlanningRO.js
src/container/RollingOutlook/TaxPlanningRO.js
+2139
-2066
No files found.
src/api/index.js
View file @
a66410f6
...
...
@@ -282,6 +282,7 @@ const create = (type = "") => {
const
submitRollingOutlook
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/submit_rolling_outlook'
,
body
)
const
getRollingOutlookCompanySubmitted
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/get_company_submitted'
,
body
)
const
getRollingOutlookCF
=
(
body
)
=>
api
.
post
(
'transaction/cash_flow/rolling_outlook/get_report_hierarki'
,
body
)
const
createRollingOutlookCF
=
(
body
)
=>
api
.
post
(
'transaction/cash_flow/rolling_outlook/create_rolling_outlook'
,
body
)
//REPORT NEW
const
getAllReportBS
=
(
body
)
=>
api
.
post
(
'/transaction/db_balance_sheet/get_report_hierarki'
,
body
)
...
...
@@ -784,7 +785,8 @@ const create = (type = "") => {
approvalRolling
,
createPeriodeRevisionRO
,
historyApprovalRO
,
getRollingOutlookCF
getRollingOutlookCF
,
createRollingOutlookCF
}
}
...
...
src/container/RollingOutlook/BalanceSheetRO.js
View file @
a66410f6
...
...
@@ -62,6 +62,7 @@ export default class BalanceSheetRO extends Component {
}
componentDidMount
()
{
console
.
log
(
this
.
props
);
// this.getItemHierarki()
this
.
getLatestUpdate
()
this
.
getSettingControl
()
...
...
@@ -1065,6 +1066,7 @@ export default class BalanceSheetRO extends Component {
/
>
<
/div>
:
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q1'
||
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
(
Number
(
handleValueFormula
(
tableMeta
,
6
)).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleValueFormula
(
tableMeta
,
6
)).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1196,6 +1198,7 @@ export default class BalanceSheetRO extends Component {
/
>
<
/div>
:
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q1'
||
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
(
Number
(
handleValueFormula
(
tableMeta
,
7
)).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleValueFormula
(
tableMeta
,
7
)).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1327,6 +1330,7 @@ export default class BalanceSheetRO extends Component {
/
>
<
/div>
:
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q1'
||
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
(
Number
(
handleValueFormula
(
tableMeta
,
8
)).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleValueFormula
(
tableMeta
,
8
)).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1458,6 +1462,7 @@ export default class BalanceSheetRO extends Component {
/
>
<
/div>
:
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q1'
||
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
(
Number
(
handleValueFormula
(
tableMeta
,
9
)).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleValueFormula
(
tableMeta
,
9
)).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1589,6 +1594,7 @@ export default class BalanceSheetRO extends Component {
/
>
<
/div>
:
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
(
Number
(
handleValueFormula
(
tableMeta
,
10
)).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleValueFormula
(
tableMeta
,
10
)).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1720,6 +1726,7 @@ export default class BalanceSheetRO extends Component {
/
>
<
/div>
:
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
(
Number
(
handleValueFormula
(
tableMeta
,
11
)).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleValueFormula
(
tableMeta
,
11
)).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1851,6 +1858,7 @@ export default class BalanceSheetRO extends Component {
/
>
<
/div>
:
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q2'
||
this
.
props
.
quarter
===
'q3'
?
null
:
(
Number
(
handleValueFormula
(
tableMeta
,
12
)).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleValueFormula
(
tableMeta
,
12
)).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1982,6 +1990,7 @@ export default class BalanceSheetRO extends Component {
/
>
<
/div>
:
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q3'
?
null
:
(
Number
(
handleValueFormula
(
tableMeta
,
13
)).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleValueFormula
(
tableMeta
,
13
)).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -2113,6 +2122,7 @@ export default class BalanceSheetRO extends Component {
/
>
<
/div>
:
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q3'
?
null
:
(
Number
(
handleValueFormula
(
tableMeta
,
14
)).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleValueFormula
(
tableMeta
,
14
)).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -2244,6 +2254,7 @@ export default class BalanceSheetRO extends Component {
/
>
<
/div>
:
tableMeta
.
rowData
[
0
]
===
7
?
this
.
props
.
quarter
===
'q3'
?
null
:
(
Number
(
handleValueFormula
(
tableMeta
,
15
)).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleValueFormula
(
tableMeta
,
15
)).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
src/container/RollingOutlook/CashFlowRO.js
View file @
a66410f6
This diff is collapsed.
Click to expand it.
src/container/RollingOutlook/CatRevision.js
View file @
a66410f6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/container/RollingOutlook/TaxPlanningRO.js
View file @
a66410f6
This diff is collapsed.
Click to expand it.
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