Gas refill screen

main_design2.0
zaid_daoud 2 years ago
parent c66acbd1ee
commit b673cd8a2b

@ -107,7 +107,7 @@ class GasRefillProvider extends ChangeNotifier {
if (timer?.endAt != null) "endTime": timer.endAt.toIso8601String(), if (timer?.endAt != null) "endTime": timer.endAt.toIso8601String(),
"department": {"id": department?.id, "departmentName": department?.name, "departmentCode": "", "ntCode": ""}, "department": {"id": department?.id, "departmentName": department?.name, "departmentCode": "", "ntCode": ""},
"GazRefillNo": "GR-${DateTime.now().toString().split(" ").first}", "GazRefillNo": "GR-${DateTime.now().toString().split(" ").first}",
"status": model.status.toMap(), "status": model.status?.toMap(),
}; };
body["gazRefillDetails"] = model.gazRefillDetails body["gazRefillDetails"] = model.gazRefillDetails
.map((model) => { .map((model) => {

Loading…
Cancel
Save