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
538db7ed
Commit
538db7ed
authored
Mar 08, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9c5cf7fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
CashFlowMR.js
src/container/MonthlyReport/CashFlowMR.js
+3
-1
CorporateAnnualTargetMR.js
src/container/MonthlyReport/CorporateAnnualTargetMR.js
+4
-4
No files found.
src/container/MonthlyReport/CashFlowMR.js
View file @
538db7ed
...
...
@@ -76,11 +76,13 @@ export default class CashFlowMR extends Component {
checkPrevRev
=
false
}
if
(
this
.
props
.
status
===
'revision'
||
this
.
props
.
status
===
'not-yet'
||
this
.
props
.
status
===
'drat'
||
this
.
props
.
status
===
'submitted'
)
{
if
(
this
.
props
.
status
===
'revision'
||
this
.
props
.
status
===
'not-yet'
||
this
.
props
.
status
===
'dra
f
t'
||
this
.
props
.
status
===
'submitted'
)
{
checkStatus
=
true
}
else
{
checkStatus
=
false
}
// console.log(this.props.status)
// console.log(this.props.lastStatus)
// console.log(checkStatus)
// console.log(checkLastStatus)
// console.log(checkApprover)
...
...
src/container/MonthlyReport/CorporateAnnualTargetMR.js
View file @
538db7ed
...
...
@@ -684,7 +684,7 @@ export default class CorporateAnnualTargetMR extends Component {
}
}
else
if
(
target
==
0
)
{
if
(
target
>=
actual
)
{
totalAch
=
1.2
5
totalAch
=
1.2
6
}
else
{
totalAch
=
0
}
...
...
@@ -711,7 +711,7 @@ export default class CorporateAnnualTargetMR extends Component {
}
}
else
if
(
target
==
0
)
{
if
(
target
<=
actual
)
{
totalAch
=
1.2
5
totalAch
=
1.2
6
}
else
{
totalAch
=
0
}
...
...
@@ -1281,7 +1281,7 @@ export default class CorporateAnnualTargetMR extends Component {
}
}
else
if
(
target
==
0
)
{
if
(
target
>=
actual
)
{
total
=
1.2
5
total
=
1.2
6
}
else
{
total
=
0
}
...
...
@@ -1303,7 +1303,7 @@ export default class CorporateAnnualTargetMR extends Component {
}
}
else
if
(
target
==
0
)
{
if
(
target
<=
actual
)
{
total
=
1.2
5
total
=
1.2
6
}
else
{
total
=
0
}
...
...
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