Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-web
Commits
3a0920be
Commit
3a0920be
authored
2 years ago
by
Sakthivel G
Browse files
Options
Download
Patches
Plain Diff
fix: defect 57937
parent
c5971c4e
master
accept_file_type
cards-value-changes
delete-form
delete-user
form-issue
inspector-model
label-change
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/layouts/Inspector/ConsentFormView.tsx
+12
-4
src/layouts/Inspector/ConsentFormView.tsx
src/layouts/Inspector/FormView.tsx
+8
-1
src/layouts/Inspector/FormView.tsx
src/layouts/Regulator/ReviewApplicationLayout.tsx
+12
-2
src/layouts/Regulator/ReviewApplicationLayout.tsx
with
32 additions
and
7 deletions
+32
-7
src/layouts/Inspector/ConsentFormView.tsx
+
12
−
4
View file @
3a0920be
...
...
@@ -200,13 +200,23 @@ export const ConsentFormView = ({
defaultValues
:
k
.
defaultValues
,
fieldType
:
k
.
fieldType
,
isCorrect
:
tempArrayTwo
&&
tempArrayTwo
[
n
].
fields
.
length
&&
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
value
"
]
===
"
correct
"
?
true
:
false
,
inspectionValue
:
tempArrayTwo
&&
tempArrayTwo
[
n
].
fields
.
length
&&
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
inspectionValue
"
],
comments
:
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
comments
"
],
attachments
:
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
attachments
"
],
comments
:
tempArrayTwo
&&
tempArrayTwo
[
n
].
fields
.
length
&&
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
comments
"
],
attachments
:
tempArrayTwo
&&
tempArrayTwo
[
n
].
fields
.
length
&&
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
attachments
"
],
});
}
});
...
...
@@ -856,13 +866,11 @@ export const ConsentFormView = ({
</
div
>
<
div
className
=
"mt-3"
>
<
InspectCheckOne
label
=
"Is the given information found correct?"
inspectionValue
=
{
k
.
inspectionValue
}
disableEdit
=
{
true
}
showAttachment
=
{
false
}
attachments
=
{
k
.
attachments
}
children
=
{
<
div
className
=
"d-flex flex-row"
>
...
...
This diff is collapsed.
Click to expand it.
src/layouts/Inspector/FormView.tsx
+
8
−
1
View file @
3a0920be
...
...
@@ -192,12 +192,19 @@ export const FormView = ({ applicationData, formData }: FormViewProps) => {
defaultValues
:
k
.
defaultValues
,
fieldType
:
k
.
fieldType
,
isCorrect
:
tempArrayTwo
&&
tempArrayTwo
[
n
].
fields
.
length
&&
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
value
"
]
===
"
correct
"
?
true
:
false
,
inspectionValue
:
tempArrayTwo
&&
tempArrayTwo
[
n
].
fields
.
length
&&
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
inspectionValue
"
],
comments
:
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
comments
"
],
comments
:
tempArrayTwo
&&
tempArrayTwo
[
n
].
fields
.
length
&&
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
comments
"
],
attachments
:
[],
});
}
...
...
This diff is collapsed.
Click to expand it.
src/layouts/Regulator/ReviewApplicationLayout.tsx
+
12
−
2
View file @
3a0920be
...
...
@@ -189,13 +189,23 @@ export const ReviewApplicationLayout = ({
defaultValues
:
k
.
defaultValues
,
fieldType
:
k
.
fieldType
,
isCorrect
:
tempArrayTwo
&&
tempArrayTwo
[
n
].
fields
.
length
&&
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
value
"
]
===
"
correct
"
?
true
:
false
,
inspectionValue
:
tempArrayTwo
&&
tempArrayTwo
[
n
].
fields
.
length
&&
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
inspectionValue
"
],
comments
:
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
comments
"
],
attachments
:
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
attachments
"
],
comments
:
tempArrayTwo
&&
tempArrayTwo
[
n
].
fields
.
length
&&
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
comments
"
],
attachments
:
tempArrayTwo
&&
tempArrayTwo
[
n
].
fields
.
length
&&
tempArrayTwo
[
n
].
fields
[
k
.
label
][
"
attachments
"
],
});
}
});
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets