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
e449def0
Commit
e449def0
authored
Jan 20, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ratio
parent
7a25cda5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
SubHolding.js
src/container/Laporan/SubHolding.js
+6
-5
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+1
-1
No files found.
src/container/Laporan/SubHolding.js
View file @
e449def0
...
...
@@ -505,7 +505,7 @@ export default class SubHolding extends Component {
}
else
if
(
this
.
state
.
report
.
value
===
4
)
{
api
.
create
().
getReportHierarkiFR
(
payload
).
then
(
response
=>
{
// console.log(payload);
//
console.log(response);
console
.
log
(
response
);
let
dataTable
=
[]
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
'success'
)
{
...
...
@@ -536,7 +536,7 @@ export default class SubHolding extends Component {
Number
(
item
.
ratio
.
december
).
toFixed
(
1
),
Number
(
item
.
ratio
.
total_next_year
).
toFixed
(
1
),
Number
(
item
.
ratio
.
total_more_year
).
toFixed
(
1
),
Number
(
item
.
ratio
.
monthly_january
).
toFixed
(
1
)
Number
(
item
.
ratio
.
monthly_january
).
toFixed
(
2
),
// item.order,
// item.condition_it_should_be,
// item.condition_if_wrong,
...
...
@@ -575,9 +575,10 @@ export default class SubHolding extends Component {
Number
(
item
.
ratio
.
december
).
toFixed
(
1
),
Number
(
item
.
ratio
.
total_next_year
).
toFixed
(
1
),
Number
(
item
.
ratio
.
total_more_year
).
toFixed
(
1
),
item
.
order
,
item
.
condition_it_should_be
,
item
.
condition_if_wrong
Number
(
item
.
ratio
.
monthly_january
).
toFixed
(
2
),
// item.order,
// item.condition_it_should_be,
// item.condition_if_wrong
])
if
(
item
.
children
!==
null
)
{
if
(
item
.
children
.
length
>
0
)
{
...
...
src/container/Laporan/TableSubHolding.js
View file @
e449def0
...
...
@@ -3836,7 +3836,7 @@ export default class TableSubHolding extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
tableMeta
.
rowData
[
22
]).
toFixed
(
1
)}
value
=
{
Number
(
tableMeta
.
rowData
[
22
]).
toFixed
(
2
)}
/
>
}
/
>
...
...
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