Commit e8731915 authored by devendra's avatar devendra
Browse files

Feat: Terminology like roles and form status update

No related merge requests found
Showing with 12 additions and 4 deletions
+12 -4
......@@ -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";
}
......@@ -50,7 +50,7 @@
"inspetionCompletedOn": "Assessment completed on",
"inspectionSummary": "Assessment Summary",
"leadInspector": "Lead assessor",
"assistingInspectors": "Assisting assessors",
"assistingInspectors": "Assisting assessor",
"iDisagree": "I disagree",
"iConsent": "I consent",
"acceptTermsAndConditions": "Please accept terms and conditions",
......
......@@ -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 inspector',
'Lead assessor',
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 inspectors',
'Assisting assessor',
style: GoogleFonts.lato(
color: AppColors.black87,
fontWeight: FontWeight.w700,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment