item.getAccount()
.setAccountName(acc.getAccountName());
+ item.setComment(acc.getComment());
if (acc.isAmountSet()) {
item.getAccount()
.setAmount(acc.getAmount());
public void noteFocusIsOnComment(int position) {
model.noteFocusChanged(position, NewTransactionModel.FocusedElement.Comment);
}
- public void toggleComment(int position) {
- model.toggleComment(position);
- }
private void holdSubmittableChecks() {
checkHoldCounter++;
}
final String descriptionText = model.getDescription();
boolean submittable = true;
final ItemsForCurrency itemsForCurrency = new ItemsForCurrency();
- final ItemsForCurrency itemsWithEmptyAmountForCurrency =
- new ItemsForCurrency();
- final ItemsForCurrency itemsWithAccountAndEmptyAmountForCurrency =
- new ItemsForCurrency();
- final ItemsForCurrency itemsWithEmptyAccountForCurrency =
- new ItemsForCurrency();
- final ItemsForCurrency itemsWithAmountForCurrency =
- new ItemsForCurrency();
- final ItemsForCurrency itemsWithAccountForCurrency =
- new ItemsForCurrency();
- final ItemsForCurrency emptyRowsForCurrency =
- new ItemsForCurrency();
+ final ItemsForCurrency itemsWithEmptyAmountForCurrency = new ItemsForCurrency();
+ final ItemsForCurrency itemsWithAccountAndEmptyAmountForCurrency = new ItemsForCurrency();
+ final ItemsForCurrency itemsWithEmptyAccountForCurrency = new ItemsForCurrency();
+ final ItemsForCurrency itemsWithAmountForCurrency = new ItemsForCurrency();
+ final ItemsForCurrency itemsWithAccountForCurrency = new ItemsForCurrency();
+ final ItemsForCurrency emptyRowsForCurrency = new ItemsForCurrency();
final List<NewTransactionModel.Item> emptyRows = new ArrayList<>();
try {