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
74a4a584
Commit
74a4a584
authored
Jan 27, 2021
by
faisalhamdi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fam tofixed
parent
ab777c93
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
74 additions
and
1308 deletions
+74
-1308
CorporateAnnualTargetPA.js
src/container/Laporan/CorporateAnnualTargetPA.js
+67
-1301
FixedAssetsMovementMR.js
src/container/MonthlyReport/FixedAssetsMovementMR.js
+7
-7
No files found.
src/container/Laporan/CorporateAnnualTargetPA.js
View file @
74a4a584
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/FixedAssetsMovementMR.js
View file @
74a4a584
...
...
@@ -401,13 +401,13 @@ export default class FixedAssetsMovementMR extends Component {
this
.
state
.
dataTable
.
map
(
i
=>
{
data
.
push
({
"item_report_id"
:
i
[
1
],
"mtd_mb"
:
i
[
6
]
,
"mtd_rb"
:
i
[
7
]
,
"mtd_actual"
:
i
[
8
]
,
"act_vs_mb_amount"
:
String
(
i
[
9
])
===
'NaN'
||
String
(
i
[
9
])
===
'Infinity'
||
String
(
i
[
9
])
===
'-Infinity'
?
'0.0'
:
String
(
i
[
9
]
),
"act_vs_mb_percent"
:
String
(
i
[
10
])
===
'NaN'
||
String
(
i
[
10
])
===
'Infinity'
||
String
(
i
[
10
])
===
'-Infinity'
?
'0.0'
:
String
(
i
[
10
]
),
"act_vs_rb_amount"
:
String
(
i
[
11
])
===
'NaN'
||
String
(
i
[
11
])
===
'Infinity'
||
String
(
i
[
11
])
===
'-Infinity'
?
'0.0'
:
String
(
i
[
11
]
),
"act_vs_rb_percent"
:
String
(
i
[
12
])
===
'NaN'
||
String
(
i
[
12
])
===
'Infinity'
||
String
(
i
[
12
])
===
'-Infinity'
?
'0.0'
:
String
(
i
[
12
]
)
"mtd_mb"
:
String
(
Number
(
i
[
6
]).
toFixed
(
1
))
,
"mtd_rb"
:
String
(
Number
(
i
[
7
]).
toFixed
(
1
))
,
"mtd_actual"
:
String
(
Number
(
i
[
8
]).
toFixed
(
1
))
,
"act_vs_mb_amount"
:
String
(
i
[
9
])
===
'NaN'
||
String
(
i
[
9
])
===
'Infinity'
||
String
(
i
[
9
])
===
'-Infinity'
?
'0.0'
:
String
(
Number
(
i
[
9
]).
toFixed
(
1
)
),
"act_vs_mb_percent"
:
String
(
i
[
10
])
===
'NaN'
||
String
(
i
[
10
])
===
'Infinity'
||
String
(
i
[
10
])
===
'-Infinity'
?
'0.0'
:
String
(
Number
(
i
[
10
]).
toFixed
(
1
)
),
"act_vs_rb_amount"
:
String
(
i
[
11
])
===
'NaN'
||
String
(
i
[
11
])
===
'Infinity'
||
String
(
i
[
11
])
===
'-Infinity'
?
'0.0'
:
String
(
Number
(
i
[
11
]).
toFixed
(
1
)
),
"act_vs_rb_percent"
:
String
(
i
[
12
])
===
'NaN'
||
String
(
i
[
12
])
===
'Infinity'
||
String
(
i
[
12
])
===
'-Infinity'
?
'0.0'
:
String
(
Number
(
i
[
12
]).
toFixed
(
1
)
)
})
})
let
payload
=
{
...
...
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