You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When exporting CSVs from the All Activities view, there is currently no difference in the sign of amounts for received vs sent. This can be confusing for users when analyzing their transaction data.
Issue:
This line is responsible for adding the amount to the CSV export without differentiating the signs for received or sent transactions: paymentItem.add(paymentInfo.amount.toString());
Suggested Fix:
Modify the line to assign the correct sign to the amount based on whether it's a received or sent transaction: paymentItem.add(((paymentInfo.type == PaymentType.SENT || paymentInfo.type == PaymentType.WITHDRAWAL ? -1 : 1) * paymentInfo.amount).toString());
This change will apply a negative sign to sent and withdrawal transactions, making it easier for users to analyze their transaction data.
The text was updated successfully, but these errors were encountered:
Description:
When exporting CSVs from the All Activities view, there is currently no difference in the sign of amounts for received vs sent. This can be confusing for users when analyzing their transaction data.
File:
lib/bloc/csv_exporter.dart
Issue:
This line is responsible for adding the amount to the CSV export without differentiating the signs for received or sent transactions:
paymentItem.add(paymentInfo.amount.toString());
Suggested Fix:
Modify the line to assign the correct sign to the amount based on whether it's a received or sent transaction:
paymentItem.add(((paymentInfo.type == PaymentType.SENT || paymentInfo.type == PaymentType.WITHDRAWAL ? -1 : 1) * paymentInfo.amount).toString());
This change will apply a negative sign to sent and withdrawal transactions, making it easier for users to analyze their transaction data.
The text was updated successfully, but these errors were encountered: