|
|
|
@ -113,9 +113,9 @@ class _TaskRequestDetailsViewState extends State<TaskRequestDetailsView> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
8.width,
|
|
|
|
8.width,
|
|
|
|
StatusLabel(
|
|
|
|
StatusLabel(
|
|
|
|
label: widget.requestDetails?.status!,
|
|
|
|
label: taskModel?.taskJobStatus?.name ?? widget.requestDetails?.status!,
|
|
|
|
textColor: AppColor.getRequestStatusTextColorByName(context, widget.requestDetails?.status!),
|
|
|
|
textColor: AppColor.getRequestStatusTextColorByName(context, taskModel?.taskJobStatus?.name ?? widget.requestDetails?.status!),
|
|
|
|
backgroundColor: AppColor.getRequestStatusColorByName(context, widget.requestDetails?.status!),
|
|
|
|
backgroundColor: AppColor.getRequestStatusColorByName(context, taskModel?.taskJobStatus?.name ?? widget.requestDetails?.status!),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
1.width.expanded,
|
|
|
|
1.width.expanded,
|
|
|
|
Text(
|
|
|
|
Text(
|
|
|
|
@ -177,7 +177,7 @@ class _TaskRequestDetailsViewState extends State<TaskRequestDetailsView> {
|
|
|
|
],
|
|
|
|
],
|
|
|
|
).toShadowContainer(context).paddingAll(16),
|
|
|
|
).toShadowContainer(context).paddingAll(16),
|
|
|
|
).expanded,
|
|
|
|
).expanded,
|
|
|
|
if (context.settingProvider.isUserFlowMedical && userProvider!.user!.type == UsersTypes.engineer && (taskModel?.taskJobStatus?.value == 0))
|
|
|
|
if (context.settingProvider.isUserFlowMedical && userProvider!.user!.type == UsersTypes.engineer && (taskModel?.taskJobStatus?.value == 1))
|
|
|
|
FooterActionButton.footerContainer(
|
|
|
|
FooterActionButton.footerContainer(
|
|
|
|
context: context,
|
|
|
|
context: context,
|
|
|
|
child: AppFilledButton(
|
|
|
|
child: AppFilledButton(
|
|
|
|
|