This commit is contained in:
Hamza-Ayed
2024-08-11 14:24:57 +03:00
parent 2468e6466f
commit d43c421dc3

View File

@@ -566,7 +566,9 @@ class RegisterCaptain extends StatelessWidget {
),
TextFormField(
initialValue: controller
.owner.value.isNotEmpty
.expirationDate
.value
.isNotEmpty
? controller
.responseIdCardDriverEgyptFront[
'expiration_date']
@@ -577,7 +579,8 @@ class RegisterCaptain extends StatelessWidget {
labelText:
'expiration_date'),
onChanged: (value) => controller
.owner.value = value,
.expirationDate
.value = value,
),
TextFormField(
initialValue: controller
@@ -617,8 +620,8 @@ class RegisterCaptain extends StatelessWidget {
.addDriverEgyptHanding();
await controller
.addRegistrationCarEgyptHandling();
await controller
.getDriverNotCompleteRegistration();
// await controller
// .getDriverNotCompleteRegistration();
Get.back();
},
kolor: AppColor.greenColor,