db.execSQL("DELETE from transaction_accounts WHERE profile = ? and transaction_id=?",
new Object[]{uuid, tr.getId()});
- db.execSQL("INSERT INTO transactions(profile, id, date, description, data_hash, keep) " +
- "values(?,?,?,?,?,1)",
+ db.execSQL(
+ "INSERT INTO transactions(profile, id, date, description, comment, data_hash, " +
+ "keep) " +
+ "values(?,?,?,?,?,?,1)",
new Object[]{uuid, tr.getId(), Globals.formatLedgerDate(tr.getDate()),
- tr.getDescription(), tr.getDataHash()
+ tr.getDescription(), tr.getComment(), tr.getDataHash()
});
for (LedgerTransactionAccount item : tr.getAccounts()) {