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-mobile
Commits
e8731915
Commit
e8731915
authored
2 years ago
by
devendra
Browse files
Options
Download
Patches
Plain Diff
Feat: Terminology like roles and form status update
parent
89ce24b4
master
add-assessor-location
two-lead-assessor
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/constants/app_constants.dart
+5
-0
lib/constants/app_constants.dart
lib/l10n/app_en.arb
+1
-1
lib/l10n/app_en.arb
lib/pages/inspection_summary.dart
+6
-3
lib/pages/inspection_summary.dart
with
12 additions
and
4 deletions
+12
-4
lib/constants/app_constants.dart
+
5
−
0
View file @
e8731915
...
...
@@ -59,3 +59,8 @@ class Inspector {
static
const
String
leadInspector
=
'lead_inspector'
;
static
const
String
assistantInspector
=
'assistant_inspector'
;
}
class
AssessmentSummary
{
static
const
String
inspectionSummary
=
"Inspection Summary"
;
static
const
String
assessmentSummary
=
"Assessment Summary"
;
}
This diff is collapsed.
Click to expand it.
lib/l10n/app_en.arb
+
1
−
1
View file @
e8731915
...
...
@@ -50,7 +50,7 @@
"inspetionCompletedOn"
:
"Assessment completed on"
,
"inspectionSummary"
:
"Assessment Summary"
,
"leadInspector"
:
"Lead assessor"
,
"assistingInspectors"
:
"Assisting assessor
s
"
,
"assistingInspectors"
:
"Assisting assessor"
,
"iDisagree"
:
"I disagree"
,
"iConsent"
:
"I consent"
,
"acceptTermsAndConditions"
:
"Please accept terms and conditions"
,
...
...
This diff is collapsed.
Click to expand it.
lib/pages/inspection_summary.dart
+
6
−
3
View file @
e8731915
...
...
@@ -207,7 +207,10 @@ class _InspectionSummaryPageState extends State<InspectionSummaryPage> {
Container
(
margin:
const
EdgeInsets
.
fromLTRB
(
20
,
30
,
20
,
15
),
child:
Text
(
_summaryField
[
'values'
][
0
][
'heading'
]
??
''
,
_summaryField
[
'values'
][
0
][
'heading'
]
==
AssessmentSummary
.
inspectionSummary
?
AssessmentSummary
.
assessmentSummary
:
_summaryField
[
'values'
][
0
][
'heading'
]
??
''
,
style:
GoogleFonts
.
lato
(
color:
AppColors
.
black87
,
fontWeight:
FontWeight
.
w700
,
...
...
@@ -244,7 +247,7 @@ class _InspectionSummaryPageState extends State<InspectionSummaryPage> {
?
Container
(
margin:
const
EdgeInsets
.
fromLTRB
(
20
,
10
,
20
,
15
),
child:
Text
(
'Lead
inspect
or'
,
'Lead
assess
or'
,
style:
GoogleFonts
.
lato
(
color:
AppColors
.
black87
,
fontWeight:
FontWeight
.
w700
,
...
...
@@ -263,7 +266,7 @@ class _InspectionSummaryPageState extends State<InspectionSummaryPage> {
Container
(
margin:
const
EdgeInsets
.
fromLTRB
(
20
,
10
,
20
,
15
),
child:
Text
(
'Assisting
inspect
or
s
'
,
'Assisting
assess
or'
,
style:
GoogleFonts
.
lato
(
color:
AppColors
.
black87
,
fontWeight:
FontWeight
.
w700
,
...
...
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