[grisbi-cvs] grisbi/src gsb_form_transaction.c,1.41,1.42
Pierre Biava
pbiava at users.sourceforge.net
Mon May 4 22:20:02 CEST 2009
- Previous message: [grisbi-cvs] grisbi/src transaction_list.c,1.33,1.34
- Next message: [grisbi-cvs] grisbi/po cs.po, 1.31, 1.32 da.po, 1.38, 1.39 de.po, 1.82, 1.83 el.po, 1.2, 1.3 es.po, 1.75, 1.76 fa.po, 1.25, 1.26 fr.po, 1.154, 1.155 grisbi.pot, 1.73, 1.74 he.po, 1.31, 1.32 it.po, 1.31, 1.32 nl.po, 1.30, 1.31 pl.po, 1.36, 1.37 pt_BR.po, 1.33, 1.34 ro.po, 1.31, 1.32 ru.po, 1.30, 1.31 zh_CN.po, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4934
Modified Files:
gsb_form_transaction.c
Log Message:
Updates the first page after a modification of a transfer between accounts
Index: gsb_form_transaction.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_form_transaction.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- gsb_form_transaction.c 26 Apr 2009 17:39:34 -0000 1.41
+++ gsb_form_transaction.c 4 May 2009 20:20:00 -0000 1.42
@@ -457,7 +457,7 @@
/* we have to change the amount by the opposite */
gsb_data_transaction_set_amount (contra_transaction_number,
- gsb_real_opposite (gsb_data_transaction_get_amount (transaction_number)));;
+ gsb_real_opposite (gsb_data_transaction_get_amount (transaction_number)));
/* we have to check the change */
@@ -485,6 +485,9 @@
else
gsb_transactions_list_update_transaction (contra_transaction_number);
+ /* recalculates the balance of the transfer account */
+ gsb_data_account_calculate_current_and_marked_balances ( account_transfer );
+
return contra_transaction_number;
}
- Previous message: [grisbi-cvs] grisbi/src transaction_list.c,1.33,1.34
- Next message: [grisbi-cvs] grisbi/po cs.po, 1.31, 1.32 da.po, 1.38, 1.39 de.po, 1.82, 1.83 el.po, 1.2, 1.3 es.po, 1.75, 1.76 fa.po, 1.25, 1.26 fr.po, 1.154, 1.155 grisbi.pot, 1.73, 1.74 he.po, 1.31, 1.32 it.po, 1.31, 1.32 nl.po, 1.30, 1.31 pl.po, 1.36, 1.37 pt_BR.po, 1.33, 1.34 ro.po, 1.31, 1.32 ru.po, 1.30, 1.31 zh_CN.po, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list