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
ae8a46c4
Commit
ae8a46c4
authored
Jan 21, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db ratio
parent
bfc78019
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
70 deletions
+70
-70
SubHolding.js
src/container/Laporan/SubHolding.js
+24
-24
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+46
-46
No files found.
src/container/Laporan/SubHolding.js
View file @
ae8a46c4
...
@@ -648,18 +648,18 @@ export default class SubHolding extends Component {
...
@@ -648,18 +648,18 @@ export default class SubHolding extends Component {
// console.log(indexIDzz)
// console.log(indexIDzz)
if (indexIDzz != -1) {
if (indexIDzz != -1) {
dataTable2.push([...dataTable[indexIDzz],
dataTable2.push([...dataTable[indexIDzz],
Number
(
items
.
ratio
.
monthly_january
).
toFixed
(
1
),
Number(items.ratio.monthly_january).toFixed(
2
),
Number
(
items
.
ratio
.
monthly_february
).
toFixed
(
1
),
Number(items.ratio.monthly_february).toFixed(
2
),
Number
(
items
.
ratio
.
monthly_march
).
toFixed
(
1
),
Number(items.ratio.monthly_march).toFixed(
2
),
Number
(
items
.
ratio
.
monthly_april
).
toFixed
(
1
),
Number(items.ratio.monthly_april).toFixed(
2
),
Number
(
items
.
ratio
.
monthly_may
).
toFixed
(
1
),
Number(items.ratio.monthly_may).toFixed(
2
),
Number
(
items
.
ratio
.
monthly_june
).
toFixed
(
1
),
Number(items.ratio.monthly_june).toFixed(
2
),
Number
(
items
.
ratio
.
monthly_july
).
toFixed
(
1
),
Number(items.ratio.monthly_july).toFixed(
2
),
Number
(
items
.
ratio
.
monthly_august
).
toFixed
(
1
),
Number(items.ratio.monthly_august).toFixed(
2
),
Number
(
items
.
ratio
.
monthly_september
).
toFixed
(
1
),
Number(items.ratio.monthly_september).toFixed(
2
),
Number
(
items
.
ratio
.
monthly_october
).
toFixed
(
1
),
Number(items.ratio.monthly_october).toFixed(
2
),
Number
(
items
.
ratio
.
monthly_november
).
toFixed
(
1
),
Number(items.ratio.monthly_november).toFixed(
2
),
Number
(
items
.
ratio
.
monthly_december
).
toFixed
(
1
),
Number(items.ratio.monthly_december).toFixed(
2
),
])
])
}
}
if (items.children !== null) {
if (items.children !== null) {
...
@@ -672,18 +672,18 @@ export default class SubHolding extends Component {
...
@@ -672,18 +672,18 @@ export default class SubHolding extends Component {
}
}
dataTable2.push([...dataTable[indexID],
dataTable2.push([...dataTable[indexID],
Number
(
item
.
ratio
.
monthly_january
).
toFixed
(
1
),
Number(item.ratio.monthly_january).toFixed(
2
),
Number
(
item
.
ratio
.
monthly_february
).
toFixed
(
1
),
Number(item.ratio.monthly_february).toFixed(
2
),
Number
(
item
.
ratio
.
monthly_march
).
toFixed
(
1
),
Number(item.ratio.monthly_march).toFixed(
2
),
Number
(
item
.
ratio
.
monthly_april
).
toFixed
(
1
),
Number(item.ratio.monthly_april).toFixed(
2
),
Number
(
item
.
ratio
.
monthly_may
).
toFixed
(
1
),
Number(item.ratio.monthly_may).toFixed(
2
),
Number
(
item
.
ratio
.
monthly_june
).
toFixed
(
1
),
Number(item.ratio.monthly_june).toFixed(
2
),
Number
(
item
.
ratio
.
monthly_july
).
toFixed
(
1
),
Number(item.ratio.monthly_july).toFixed(
2
),
Number
(
item
.
ratio
.
monthly_august
).
toFixed
(
1
),
Number(item.ratio.monthly_august).toFixed(
2
),
Number
(
item
.
ratio
.
monthly_september
).
toFixed
(
1
),
Number(item.ratio.monthly_september).toFixed(
2
),
Number
(
item
.
ratio
.
monthly_october
).
toFixed
(
1
),
Number(item.ratio.monthly_october).toFixed(
2
),
Number
(
item
.
ratio
.
monthly_november
).
toFixed
(
1
),
Number(item.ratio.monthly_november).toFixed(
2
),
Number
(
item
.
ratio
.
monthly_december
).
toFixed
(
1
),
Number(item.ratio.monthly_december).toFixed(
2
),
])
])
if (item.children !== null) {
if (item.children !== null) {
...
...
src/container/Laporan/TableSubHolding.js
View file @
ae8a46c4
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