|
|
|
|
@ -153,7 +153,7 @@ class GasRefillProvider extends ChangeNotifier {
|
|
|
|
|
"endDate": endDate?.toIso8601String(),
|
|
|
|
|
"endTime": endDate?.toIso8601String(),
|
|
|
|
|
"workingHours": ((endDate?.difference(startDate)?.inMinutes ?? 0) / 60),
|
|
|
|
|
"assignedEmployee": oldModel?.assignedEmployee?.toJson(),
|
|
|
|
|
"assignedEmployee": oldModel?.assignedEmployee?.id == null ? null : oldModel?.assignedEmployee?.toJson(),
|
|
|
|
|
"site": hospital?.toMap(),
|
|
|
|
|
"building": building?.toJson(includeFloors: false),
|
|
|
|
|
"floor": floor?.toJson(includeDepartments: false),
|
|
|
|
|
|