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
5576e288
Commit
5576e288
authored
Feb 02, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into riri
parents
dc52ad61
b709807f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
SubHolding.js
src/container/Laporan/SubHolding.js
+4
-4
No files found.
src/container/Laporan/SubHolding.js
View file @
5576e288
...
@@ -1584,7 +1584,7 @@ export default class SubHolding extends Component {
...
@@ -1584,7 +1584,7 @@ export default class SubHolding extends Component {
let
persenOL
=
0
let
persenOL
=
0
if
(
mtd_mb
<
0
)
{
if
(
mtd_mb
<
0
)
{
if
(
mtd_actual
<
mtd_mb
)
{
if
(
parseFloat
(
mtd_actual
)
<
parseFloat
(
mtd_mb
)
)
{
persenMtd
=
Number
((
mtd_mb
-
mtd_actual
)
/
mtd_mb
)
persenMtd
=
Number
((
mtd_mb
-
mtd_actual
)
/
mtd_mb
)
}
else
{
}
else
{
persenMtd
=
Number
((
mtd_mb
-
mtd_actual
)
/
mtd_mb
)
+
1
persenMtd
=
Number
((
mtd_mb
-
mtd_actual
)
/
mtd_mb
)
+
1
...
@@ -1594,7 +1594,7 @@ export default class SubHolding extends Component {
...
@@ -1594,7 +1594,7 @@ export default class SubHolding extends Component {
}
}
if
(
mtd_ol
<
0
)
{
if
(
mtd_ol
<
0
)
{
if
(
mtd_actual
<
mtd_ol
)
{
if
(
parseFloat
(
mtd_actual
)
<
parseFloat
(
mtd_ol
)
)
{
persenOL
=
Number
((
mtd_ol
-
mtd_actual
)
/
mtd_ol
)
persenOL
=
Number
((
mtd_ol
-
mtd_actual
)
/
mtd_ol
)
}
else
{
}
else
{
persenOL
=
Number
((
mtd_ol
-
mtd_actual
)
/
mtd_ol
)
+
1
persenOL
=
Number
((
mtd_ol
-
mtd_actual
)
/
mtd_ol
)
+
1
...
@@ -1638,7 +1638,7 @@ export default class SubHolding extends Component {
...
@@ -1638,7 +1638,7 @@ export default class SubHolding extends Component {
let
persenOL
=
0
let
persenOL
=
0
if
(
mtd_mb
<
0
)
{
if
(
mtd_mb
<
0
)
{
if
(
mtd_actual
<
mtd_mb
)
{
if
(
parseFloat
(
mtd_actual
)
<
parseFloat
(
mtd_mb
)
)
{
persenMtd
=
Number
((
mtd_mb
-
mtd_actual
)
/
mtd_mb
)
persenMtd
=
Number
((
mtd_mb
-
mtd_actual
)
/
mtd_mb
)
}
else
{
}
else
{
persenMtd
=
Number
((
mtd_mb
-
mtd_actual
)
/
mtd_mb
)
+
1
persenMtd
=
Number
((
mtd_mb
-
mtd_actual
)
/
mtd_mb
)
+
1
...
@@ -1648,7 +1648,7 @@ export default class SubHolding extends Component {
...
@@ -1648,7 +1648,7 @@ export default class SubHolding extends Component {
}
}
if
(
mtd_ol
<
0
)
{
if
(
mtd_ol
<
0
)
{
if
(
mtd_actual
<
mtd_ol
)
{
if
(
parseFloat
(
mtd_actual
)
<
parseFloat
(
mtd_ol
)
)
{
persenOL
=
Number
((
mtd_ol
-
mtd_actual
)
/
mtd_ol
)
persenOL
=
Number
((
mtd_ol
-
mtd_actual
)
/
mtd_ol
)
}
else
{
}
else
{
persenOL
=
Number
((
mtd_ol
-
mtd_actual
)
/
mtd_ol
)
+
1
persenOL
=
Number
((
mtd_ol
-
mtd_actual
)
/
mtd_ol
)
+
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