|
|
|
|
@ -555,7 +555,7 @@ class WorkOrderHistory {
|
|
|
|
|
int? id;
|
|
|
|
|
Lookup? workorderStatus;
|
|
|
|
|
Lookup? assetVerificationType;
|
|
|
|
|
dynamic activityStatus;
|
|
|
|
|
Lookup? activityStatus;
|
|
|
|
|
DateTime? date;
|
|
|
|
|
String timeDifference = '';
|
|
|
|
|
String? photoVerfication;
|
|
|
|
|
@ -572,7 +572,7 @@ class WorkOrderHistory {
|
|
|
|
|
id: json["id"],
|
|
|
|
|
workorderStatus: json["workorderStatus"] == null ? null : Lookup.fromJson(json["workorderStatus"]),
|
|
|
|
|
assetVerificationType: json["assetVerificationType"] == null ? null : Lookup.fromJson(json["assetVerificationType"]),
|
|
|
|
|
activityStatus: json["activityStatus"],
|
|
|
|
|
activityStatus: json["activityStatus"] == null ? null : Lookup.fromJson(json["activityStatus"]),
|
|
|
|
|
photoVerfication: json["photoVerfication"],
|
|
|
|
|
date: DateTime.tryParse(json["date"] ?? ""),
|
|
|
|
|
user: json["user"] == null ? null : WorkOrderAssignedEmployee.fromJson(json["user"]),
|
|
|
|
|
@ -591,7 +591,7 @@ class WorkOrderHistory {
|
|
|
|
|
"workorderStatus": workorderStatus?.toJson(),
|
|
|
|
|
"assetVerificationType": assetVerificationType?.toJson(),
|
|
|
|
|
"photoVerfication": photoVerfication,
|
|
|
|
|
"activityStatus": activityStatus,
|
|
|
|
|
"activityStatus": activityStatus?.toJson(),
|
|
|
|
|
"date": date?.toIso8601String(),
|
|
|
|
|
"user": user?.toJson(),
|
|
|
|
|
"step": step?.toJson(),
|
|
|
|
|
|