diff --git a/frontend/mgramseva/lib/model/connection/water_connection.g.dart b/frontend/mgramseva/lib/model/connection/water_connection.g.dart index 598c971f8..f7abbfd0b 100644 --- a/frontend/mgramseva/lib/model/connection/water_connection.g.dart +++ b/frontend/mgramseva/lib/model/connection/water_connection.g.dart @@ -42,7 +42,7 @@ WaterConnection _$WaterConnectionFromJson(Map json) => json['processInstance'] as Map) ..paymentType = json['paymentType'] as String? ..penalty = (json['penalty'] as num?)?.toDouble() - ..advance = (json['advance'] as num?)?.toDouble(); + ..advance = (json['advance'] as num?)?.toDouble().abs(); Map _$WaterConnectionToJson(WaterConnection instance) => { diff --git a/frontend/mgramseva/lib/screeens/add_expense/expense_details.dart b/frontend/mgramseva/lib/screeens/add_expense/expense_details.dart index b77a86929..a546796fc 100644 --- a/frontend/mgramseva/lib/screeens/add_expense/expense_details.dart +++ b/frontend/mgramseva/lib/screeens/add_expense/expense_details.dart @@ -276,6 +276,7 @@ class _ExpenseDetailsState extends State { FilteringTextInputFormatter.allow( RegExp(r"^[1-9][0-9]{0,5}$")) ], + hint: '${i18.expense.AMOUNT} (₹)', labelSuffix: '(₹)', isDisabled: (expenseDetails.allowEdit ?? true) ? false