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
cde76456
Commit
cde76456
authored
Oct 23, 2023
by
fahrur huzain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ENV-DEV' into 'ENV-STAGING'
Env dev See merge request
!2121
parents
e755736d
aa7174e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
ProfitLossMR.js
src/container/MonthlyReport/ProfitLossMR.js
+6
-2
No files found.
src/container/MonthlyReport/ProfitLossMR.js
View file @
cde76456
...
@@ -680,11 +680,15 @@ export default class ProfitLossMR extends Component {
...
@@ -680,11 +680,15 @@ export default class ProfitLossMR extends Component {
this
.
state
.
dataTable
.
map
((
i
,
index
)
=>
{
this
.
state
.
dataTable
.
map
((
i
,
index
)
=>
{
if
(
i
[
0
]
===
3
)
{
if
(
i
[
0
]
===
3
)
{
// console.log(i);
// console.log(i);
if
(
i
[
19
]
===
""
&&
(
this
.
props
.
defaultCurrency
.
id
==
1
?
fixNumber
(
Number
(
i
[
16
]),
1
)
:
Number
(
i
[
16
])
<
this
.
state
.
minValue
||
this
.
props
.
defaultCurrency
.
id
==
1
?
fixNumber
(
Number
(
i
[
16
]),
1
)
:
Number
(
i
[
16
]
)
>
this
.
state
.
maxValue
))
{
if
(
i
[
19
]
===
""
&&
(
fixNumber
(
Number
(
i
[
16
]),
1
)
<
this
.
state
.
minValue
||
fixNumber
(
Number
(
i
[
16
]),
1
)
>
this
.
state
.
maxValue
))
{
console
.
log
(
'msk 1'
);
console
.
log
(
'msk 1'
);
// console.log(i);
err
=
true
err
=
true
}
}
// if (i[19] === "" && (this.props.defaultCurrency.id == 1 ? fixNumber(Number(i[16]), 1) : Number(i[16]) < this.state.minValue || this.props.defaultCurrency.id == 1 ? fixNumber(Number(i[16]), 1) : Number(i[16]) > this.state.maxValue)) {
// console.log('msk 1');
// // console.log(i);
// err = true
// }
// else if ( i[20] === "" && (Number(i[16]) < this.state.minValue || Number(i[16]) > this.state.maxValue)) {
// else if ( i[20] === "" && (Number(i[16]) < this.state.minValue || Number(i[16]) > this.state.maxValue)) {
// console.log('msk 2');
// console.log('msk 2');
// err = true
// err = true
...
...
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