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

Commit

Permalink
PFM-4136
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldevgarg committed Oct 16, 2023
1 parent 25f2d84 commit 762b523
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 762b523

Please sign in to comment.