diff --git a/lib/modules/asset_delivery_module/pages/end_user_acceptance/update_end_user_asset_details_view.dart b/lib/modules/asset_delivery_module/pages/end_user_acceptance/update_end_user_asset_details_view.dart index e760abca..2918d5b2 100644 --- a/lib/modules/asset_delivery_module/pages/end_user_acceptance/update_end_user_asset_details_view.dart +++ b/lib/modules/asset_delivery_module/pages/end_user_acceptance/update_end_user_asset_details_view.dart @@ -282,7 +282,6 @@ class _UpdateEndUserAssetDetailsViewState extends State(context, listen: false); - if (widget.assetDetailsModel != null) { model = EndUserAssetDetailsModel.fromJson( widget.assetDetailsModel!.toJson(), @@ -291,7 +290,9 @@ class _UpdateEndUserAssetDetailsViewState extends State( context: context, diff --git a/lib/modules/asset_delivery_module/pages/technical_inpection/update_child_asset_view.dart b/lib/modules/asset_delivery_module/pages/technical_inpection/update_child_asset_view.dart index be67dd74..9bbc97cb 100644 --- a/lib/modules/asset_delivery_module/pages/technical_inpection/update_child_asset_view.dart +++ b/lib/modules/asset_delivery_module/pages/technical_inpection/update_child_asset_view.dart @@ -191,7 +191,7 @@ class _UpdateChildAssetViewState extends State { 8.height, AppTextFormField( labelText: 'Asset Name'.addTranslation, - backgroundColor: AppColor.fieldBgColor(context), + // backgroundColor: AppColor.fieldBgColor(context), initialValue: model.modelDefinition?.assetName, textAlign: TextAlign.center, enable: false, @@ -202,7 +202,7 @@ class _UpdateChildAssetViewState extends State { 8.height, AppTextFormField( labelText: 'Model'.addTranslation, - backgroundColor: AppColor.fieldBgColor(context), + // backgroundColor: AppColor.fieldBgColor(context), initialValue: model.modelDefinition?.model, textAlign: TextAlign.center, enable: false, @@ -213,7 +213,7 @@ class _UpdateChildAssetViewState extends State { 8.height, AppTextFormField( labelText: 'Manufacturer'.addTranslation, - backgroundColor: AppColor.fieldBgColor(context), + // backgroundColor: AppColor.fieldBgColor(context), initialValue: model.modelDefinition?.manufacturer ?? '', textAlign: TextAlign.center, enable: false, diff --git a/lib/modules/asset_delivery_module/pages/technical_inpection/update_parent_asset_view.dart b/lib/modules/asset_delivery_module/pages/technical_inpection/update_parent_asset_view.dart index 52a14cda..024dfe5f 100644 --- a/lib/modules/asset_delivery_module/pages/technical_inpection/update_parent_asset_view.dart +++ b/lib/modules/asset_delivery_module/pages/technical_inpection/update_parent_asset_view.dart @@ -234,7 +234,7 @@ class _UpdateParentAssetViewState extends State { 8.height, AppTextFormField( labelText: 'Asset Name'.addTranslation, - backgroundColor: AppColor.fieldBgColor(context), + // backgroundColor: AppColor.fieldBgColor(context), initialValue: model.modelDefinition?.assetName, textAlign: TextAlign.center, enable: false, @@ -245,7 +245,7 @@ class _UpdateParentAssetViewState extends State { 8.height, AppTextFormField( labelText: 'Model'.addTranslation, - backgroundColor: AppColor.fieldBgColor(context), + // backgroundColor: AppColor.fieldBgColor(context), initialValue: model.modelDefinition?.model, textAlign: TextAlign.center, enable: false, @@ -256,7 +256,7 @@ class _UpdateParentAssetViewState extends State { 8.height, AppTextFormField( labelText: 'Manufacturer'.addTranslation, - backgroundColor: AppColor.fieldBgColor(context), + // backgroundColor: AppColor.fieldBgColor(context), initialValue: model.modelDefinition?.manufacturer ?? '', textAlign: TextAlign.center, enable: false,