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
3ce7e46b
Commit
3ce7e46b
authored
Dec 22, 2023
by
fahrur huzain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev/fahrur-new' into 'ENV-DEV'
validasi convertable item report See merge request
!2283
parents
86518d13
bebcb447
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CreateReportItems.js
src/container/MasterData/ReportItems/CreateReportItems.js
+1
-1
EditReportItems.js
src/container/MasterData/ReportItems/EditReportItems.js
+1
-1
No files found.
src/container/MasterData/ReportItems/CreateReportItems.js
View file @
3ce7e46b
...
@@ -206,7 +206,7 @@ export default class CreateReportItems extends Component {
...
@@ -206,7 +206,7 @@ export default class CreateReportItems extends Component {
this
.
setState
({
errorEndDate
:
true
,
msgErrorED
:
'Valid To Cannot be Empty'
})
this
.
setState
({
errorEndDate
:
true
,
msgErrorED
:
'Valid To Cannot be Empty'
})
}
}
else
if
(
R
.
isNil
(
this
.
state
.
convertible
)){
else
if
(
R
.
isNil
(
this
.
state
.
convertible
)){
this
.
setState
({
errorCovertible
:
true
,
msgErrorCovertible
:
'Convetible Cannot be Empty'
})
this
.
setState
({
errorCovertible
:
true
,
msgErrorCovertible
:
'Conve
r
tible Cannot be Empty'
})
}
}
else
{
else
{
this
.
addReportItems
()
this
.
addReportItems
()
...
...
src/container/MasterData/ReportItems/EditReportItems.js
View file @
3ce7e46b
...
@@ -178,7 +178,7 @@ export default class EditReportItems extends Component {
...
@@ -178,7 +178,7 @@ export default class EditReportItems extends Component {
}
else
if
(
R
.
isNil
(
this
.
state
.
tempData
.
end_date
))
{
}
else
if
(
R
.
isNil
(
this
.
state
.
tempData
.
end_date
))
{
this
.
setState
({
errorEndDate
:
true
,
msgErrorED
:
'Valid To Cannot be Empty'
})
this
.
setState
({
errorEndDate
:
true
,
msgErrorED
:
'Valid To Cannot be Empty'
})
}
else
if
(
R
.
isNil
(
this
.
state
.
convertible
))
{
}
else
if
(
R
.
isNil
(
this
.
state
.
convertible
))
{
this
.
setState
({
errorCovertible
:
true
,
msgErrorCovertible
:
'Convetible Cannot be Empty'
})
this
.
setState
({
errorCovertible
:
true
,
msgErrorCovertible
:
'Conve
r
tible Cannot be Empty'
})
}
else
{
}
else
{
this
.
updateReportItems
()
this
.
updateReportItems
()
}
}
...
...
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