Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #616 from egovernments/PFM-4136
Browse files Browse the repository at this point in the history
PFM-4136
  • Loading branch information
rahuldevgarg authored Oct 16, 2023
2 parents 76075f7 + 762b523 commit 93bdbce
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 93bdbce

Please sign in to comment.