From 9b00c0c158e8f586127a8fc9b12c012215595140 Mon Sep 17 00:00:00 2001 From: Sikander Saleem Date: Tue, 20 Jan 2026 18:06:21 +0300 Subject: [PATCH 1/2] improvements --- .../delivery_inspection_form_view.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/modules/asset_delivery_module/pages/delivery_inspection/delivery_inspection_form_view.dart b/lib/modules/asset_delivery_module/pages/delivery_inspection/delivery_inspection_form_view.dart index c3acbdf4..2ac68d13 100644 --- a/lib/modules/asset_delivery_module/pages/delivery_inspection/delivery_inspection_form_view.dart +++ b/lib/modules/asset_delivery_module/pages/delivery_inspection/delivery_inspection_form_view.dart @@ -121,8 +121,6 @@ class _DeliveryInspectionFormViewState extends State children: [ Row( children: [ - AppFilledButton(buttonColor: AppColor.primary10, label: 'Save'.addTranslation, maxWidth: true, onPressed: _saveTap).expanded, - 8.width, AppFilledButton( buttonColor: AppColor.primary10, label: 'Attachments'.addTranslation, @@ -130,9 +128,11 @@ class _DeliveryInspectionFormViewState extends State onPressed: () { HelperFunction.attachmentTap(context: context, assetDeliveryProvider: assetDeliveryProvider!, deliveryTableItemId: widget.deliveryTableModel.id); }).expanded, + 12.width, + AppFilledButton(buttonColor: AppColor.primary10, label: 'Save'.addTranslation, maxWidth: true, onPressed: _saveTap).expanded, ], ), - 16.height, + 12.height, Row( children: [ AppFilledButton( @@ -521,7 +521,7 @@ class _DeliveryInspectionFormViewState extends State onTap: onTap, borderRadius: BorderRadius.circular(12), child: Container( - padding: const EdgeInsets.all(14), + padding: const EdgeInsets.all(12), decoration: BoxDecoration( color: AppColor.fieldBgColor(context), borderRadius: BorderRadius.circular(12), @@ -530,6 +530,7 @@ class _DeliveryInspectionFormViewState extends State children: [ Column( crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, children: [ Text(title, style: AppTextStyles.textFieldLabelStyle), 6.height, From e544fc640e3580dd8aaf30aa1b0b2e95e2f9e6d0 Mon Sep 17 00:00:00 2001 From: Sikander Saleem Date: Wed, 21 Jan 2026 17:06:13 +0300 Subject: [PATCH 2/2] add 0 in gas refill --- lib/modules/tm_module/gas_refill/update_gas_refill_request.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/modules/tm_module/gas_refill/update_gas_refill_request.dart b/lib/modules/tm_module/gas_refill/update_gas_refill_request.dart index 7f0fc8c3..5184dd54 100644 --- a/lib/modules/tm_module/gas_refill/update_gas_refill_request.dart +++ b/lib/modules/tm_module/gas_refill/update_gas_refill_request.dart @@ -63,6 +63,7 @@ class _UpdateGasRefillRequestState extends State { List timerList = []; static List deliveredQuantity = [ + Lookup(name: "0", id: 0, value: 0), Lookup(name: "1", id: 1, value: 1), Lookup(name: "2", id: 2, value: 2), Lookup(name: "3", id: 3, value: 3),