From 7c928ed58a80828f7d402cf4563a724928311814 Mon Sep 17 00:00:00 2001 From: Sikander Saleem Date: Tue, 13 Feb 2024 09:48:12 +0300 Subject: [PATCH] cylinder type added in details & gas type unselected fixed. --- lib/new_views/pages/new_gas_refill_request_page.dart | 1 + lib/views/pages/user/gas_refill/gas_refill_details.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/new_views/pages/new_gas_refill_request_page.dart b/lib/new_views/pages/new_gas_refill_request_page.dart index 9623fa2..9c10614 100644 --- a/lib/new_views/pages/new_gas_refill_request_page.dart +++ b/lib/new_views/pages/new_gas_refill_request_page.dart @@ -71,6 +71,7 @@ class _NewGasRefillRequestPageState extends State { SingleItemDropDownMenu( context: context, title: context.translation.gasType, + initialValue: _currentDetails.gasType, onSelect: (value) { _currentDetails.gasType = value; }, diff --git a/lib/views/pages/user/gas_refill/gas_refill_details.dart b/lib/views/pages/user/gas_refill/gas_refill_details.dart index bee352d..ceea162 100644 --- a/lib/views/pages/user/gas_refill/gas_refill_details.dart +++ b/lib/views/pages/user/gas_refill/gas_refill_details.dart @@ -108,6 +108,7 @@ class _GasRefillDetailsPageState extends State { context.translation.gasRefillRequest.heading5(context), 8.height, '${context.translation.gasRequest}: ${gasRefillModel.gazRefillDetails[0].gasType?.name}'.bodyText(context), + '${context.translation.cylinderType}: ${gasRefillModel.gazRefillDetails[0].cylinderType?.name}'.bodyText(context), '${context.translation.cylinderSize}: ${gasRefillModel.gazRefillDetails[0].cylinderSize?.name}'.bodyText(context), '${context.translation.site}: ${gasRefillModel.site?.name?.cleanupWhitespace?.capitalizeFirstOfEach}'.bodyText(context), '${context.translation.requestNo}: ${gasRefillModel.gazRefillNo}'.bodyText(context),