From 762b5232646828438858887e420362b673be9801 Mon Sep 17 00:00:00 2001 From: Rahul Dev Garg <34365102+rahuldevgarg@users.noreply.github.com> Date: Mon, 16 Oct 2023 10:29:45 +0530 Subject: [PATCH] PFM-4136 --- .../mgramseva/lib/providers/expenses_details_provider.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/mgramseva/lib/providers/expenses_details_provider.dart b/frontend/mgramseva/lib/providers/expenses_details_provider.dart index 797f5c0f5..da8e728d6 100644 --- a/frontend/mgramseva/lib/providers/expenses_details_provider.dart +++ b/frontend/mgramseva/lib/providers/expenses_details_provider.dart @@ -69,6 +69,9 @@ class ExpensesDetailsProvider with ChangeNotifier { var expenditure = await ExpensesRepository().searchExpense(query); if (expenditure != null && expenditure.isNotEmpty) { expenditureDetails = expenditure.first; + if(expenditureDetails.expenseType=='ELECTRICITY_BILL'){ + expenditureDetails.allowEdit = false; + } getStoreFileDetails(); } else { streamController.add(i18.expense.NO_EXPENSE_RECORD_FOUND);