data.append('\0');
data.append(getDescription());
data.append('\0');
+ data.append(getComment());
+ data.append('\0');
data.append(Globals.formatLedgerDate(getDate()));
data.append('\0');
for (LedgerTransactionAccount item : accounts) {
return;
try (Cursor cTr = db.rawQuery(
- "SELECT date, description from transactions WHERE profile=? AND id=?",
+ "SELECT date, description, comment from transactions WHERE profile=? AND id=?",
new String[]{profile, String.valueOf(id)}))
{
if (cTr.moveToFirst()) {
dateString, id));
}
description = cTr.getString(1);
+ comment = cTr.getString(2);
try (Cursor cAcc = db.rawQuery(
"SELECT account_name, amount, currency, comment FROM " +