|
|
|
@ -146,20 +146,20 @@ class _ServiceRequestDetailViewState extends State<ServiceRequestDetailView> {
|
|
|
|
if (Provider.of<SettingProvider>(context, listen: false).showPriority) ...[
|
|
|
|
if (Provider.of<SettingProvider>(context, listen: false).showPriority) ...[
|
|
|
|
StatusLabel(
|
|
|
|
StatusLabel(
|
|
|
|
label: workOrder.priority?.name,
|
|
|
|
label: workOrder.priority?.name,
|
|
|
|
id: workOrder.priority!.id!,
|
|
|
|
id: workOrder.priority!.value!,
|
|
|
|
radius: 4,
|
|
|
|
radius: 4,
|
|
|
|
textColor: AppColor.getPriorityStatusTextColor(context, workOrder.priority!.id!),
|
|
|
|
textColor: AppColor.getPriorityStatusTextColor(context, workOrder.priority!.value!),
|
|
|
|
backgroundColor: AppColor.getPriorityStatusColor(context, workOrder.priority!.id!),
|
|
|
|
backgroundColor: AppColor.getPriorityStatusColor(context, workOrder.priority!.value!),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
8.width,
|
|
|
|
8.width,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
if (workOrder.itgFormWorkOrderStatus != null) ...[
|
|
|
|
if (workOrder.itgFormWorkOrderStatus != null) ...[
|
|
|
|
StatusLabel(
|
|
|
|
StatusLabel(
|
|
|
|
label: workOrder.itgFormWorkOrderStatus,
|
|
|
|
label: workOrder.itgFormWorkOrderStatus,
|
|
|
|
id: 0,
|
|
|
|
// id: 0,
|
|
|
|
radius: 4,
|
|
|
|
radius: 4,
|
|
|
|
textColor: AppColor.getPriorityStatusTextColor(context, 82),
|
|
|
|
textColor: AppColor.getPriorityStatusTextColor(context, 82),
|
|
|
|
backgroundColor: AppColor.getPriorityStatusColor(context, 0),
|
|
|
|
backgroundColor: AppColor.getPriorityStatusColor(context, 1000),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
8.width,
|
|
|
|
8.width,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|