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
32993b46
Commit
32993b46
authored
Feb 19, 2021
by
rifkaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issue cf & sumaratio
parent
822319d1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
SubHolding.js
src/container/Laporan/SubHolding.js
+4
-1
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+8
-8
No files found.
src/container/Laporan/SubHolding.js
View file @
32993b46
...
...
@@ -2483,6 +2483,8 @@ export default class SubHolding extends Component {
}
getCFSumaLastMR
(
payload
,
dbSumaCF
)
{
console
.
log
(
dbSumaCF
)
console
.
log
(
this
.
state
.
dbSumaCF
)
api
.
create
().
getReportCFSumaMR
(
payload
).
then
(
response
=>
{
console
.
log
(
payload
);
console
.
log
(
response
);
...
...
@@ -2496,6 +2498,7 @@ export default class SubHolding extends Component {
if
(
indexID
!=
-
1
)
{
const
handlePushChild
=
(
items
)
=>
{
let
indexIDzz
=
dataTable2
.
findIndex
((
val
)
=>
val
[
1
]
===
items
.
id
)
let
indexIDSumaChild
=
dbSumaCF
.
findIndex
((
val
)
=>
val
[
0
]
==
items
.
id
)
// console.log(indexIDzz)
if
(
indexIDzz
!=
-
1
)
{
dataTable3
.
push
([...
dataTable2
[
indexIDzz
],
...
...
@@ -2511,7 +2514,7 @@ export default class SubHolding extends Component {
items
.
cash_flow
.
october
,
items
.
cash_flow
.
november
,
items
.
cash_flow
.
december
,
...
dbSumaCF
[
indexIDSuma
]
...
dbSumaCF
[
indexIDSuma
Child
]
])
}
if
(
items
.
children
!==
null
)
{
...
...
src/container/Laporan/TableSubHolding.js
View file @
32993b46
...
...
@@ -14462,12 +14462,12 @@ export default class TableSubHolding extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{
color: this.props.approveMonthly ? 'black' : '#5198ea',
fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
suffix={'%'}
disabled={true}
value={Number(tableMeta.rowData[9]).toFixed(
2
)}
value={Number(tableMeta.rowData[9]).toFixed(
1
)}
/>
}
/>
...
...
@@ -14621,12 +14621,12 @@ export default class TableSubHolding extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{
color: this.props.approveMonthly ? 'black' : '#5198ea',
fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
suffix={'%'}
disabled={true}
value={Number(tableMeta.rowData[13]).toFixed(
2
)}
value={Number(tableMeta.rowData[13]).toFixed(
1
)}
/>
}
/>
...
...
@@ -14670,12 +14670,12 @@ export default class TableSubHolding extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{
color: this.props.approveMonthly ? 'black' : '#5198ea',
fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
suffix={'%'}
disabled={true}
value={Number(tableMeta.rowData[15]).toFixed(
2
)}
value={Number(tableMeta.rowData[15]).toFixed(
1
)}
/>
}
/>
...
...
@@ -14717,12 +14717,12 @@ export default class TableSubHolding extends Component {
control={
<NumberFormat
thousandSeparator={true}
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
style={{
color: this.props.approveMonthly ? 'black' : '#5198ea',
fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
type="text"
placeholder=""
suffix={'%'}
disabled={true}
value={Number(tableMeta.rowData[17]).toFixed(
2
)}
value={Number(tableMeta.rowData[17]).toFixed(
1
)}
/>
}
/>
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