|
|
|
@ -112,7 +112,7 @@ class GasRefillProvider extends ChangeNotifier {
|
|
|
|
"site": hospital?.toMap(),
|
|
|
|
"site": hospital?.toMap(),
|
|
|
|
"building": {"id": building?.id, "name": building?.name, "value": building?.value},
|
|
|
|
"building": {"id": building?.id, "name": building?.name, "value": building?.value},
|
|
|
|
"floor": {"id": floor?.id, "name": floor?.name, "value": floor?.value},
|
|
|
|
"floor": {"id": floor?.id, "name": floor?.name, "value": floor?.value},
|
|
|
|
if (expectedDateTime != null) "expectedDate": expectedDateTime?.toIso8601String(),
|
|
|
|
//if (expectedDateTime != null) "expectedDate": expectedDateTime?.toIso8601String(),
|
|
|
|
if (expectedDateTime != null) "expectedTime": expectedDateTime?.toIso8601String(),
|
|
|
|
if (expectedDateTime != null) "expectedTime": expectedDateTime?.toIso8601String(),
|
|
|
|
if (timer?.startAt != null) "startDate": timer.startAt.toIso8601String(),
|
|
|
|
if (timer?.startAt != null) "startDate": timer.startAt.toIso8601String(),
|
|
|
|
if (timer?.startAt != null) "startTime": timer.startAt.toIso8601String(),
|
|
|
|
if (timer?.startAt != null) "startTime": timer.startAt.toIso8601String(),
|
|
|
|
@ -158,7 +158,7 @@ class GasRefillProvider extends ChangeNotifier {
|
|
|
|
"id": newModel.id,
|
|
|
|
"id": newModel.id,
|
|
|
|
"gazRefillNo": newModel.title ?? "",
|
|
|
|
"gazRefillNo": newModel.title ?? "",
|
|
|
|
"status": newModel.status.toMap(),
|
|
|
|
"status": newModel.status.toMap(),
|
|
|
|
"expectedDate": newModel.expectedDate?.toIso8601String(),
|
|
|
|
//"expectedDate": newModel.expectedDate?.toIso8601String(),
|
|
|
|
"expectedTime": newModel.expectedDate?.toIso8601String(),
|
|
|
|
"expectedTime": newModel.expectedDate?.toIso8601String(),
|
|
|
|
if (timer?.startAt != null) "startDate": timer.startAt.toIso8601String(),
|
|
|
|
if (timer?.startAt != null) "startDate": timer.startAt.toIso8601String(),
|
|
|
|
if (timer?.startAt != null) "startTime": timer.startAt.toIso8601String(),
|
|
|
|
if (timer?.startAt != null) "startTime": timer.startAt.toIso8601String(),
|
|
|
|
|