~strugee/homebank/improve-appstream

« back to all changes in this revision

Viewing changes to src/hb-transaction.c

  • Committer: Maxime Doyen
  • Date: 2017-05-13 07:51:17 UTC
  • Revision ID: homebank@free.fr-20170513075117-ymcinrr0eud16g5e
5.1.5 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
707
707
 
708
708
void transaction_xfer_child_sync(Transaction *s_txn, Transaction *child)
709
709
{
 
710
Account *acc;
 
711
 
710
712
        DB( g_print("\n[transaction] xfer_child_sync\n") );
711
713
 
712
714
        if( child == NULL )
717
719
 
718
720
        DB( g_print(" - found do sync\n") );
719
721
 
 
722
        /* update acc flags */
 
723
        acc = da_acc_get( child->kacc);
 
724
        if(acc != NULL)
 
725
                acc->flags |= AF_CHANGED;
 
726
 
720
727
        account_balances_sub (child);
721
728
 
722
729
        child->date             = s_txn->date;