I noticed yesterday a bug in the reg run balance patch that was applied,
there is now a "Balance" column displayed in the template transaction
register. If you open the scheduled transaction editor, then open a
scheduled transaction and go to the "Template Transaction" tab, there is a
"Balance" column displayed on the far right side of the register.
The attached patch fixes this defect so that the RBALN column is not
displayed in template registers.
Index: split-register-layout.c
===================================================================
--- split-register-layout.c (revision 18328)
+++ split-register-layout.c (working copy)
@@ -268,7 +268,10 @@
gnc_table_layout_set_cell (layout, curs, DESC_CELL, 0, 2);
gnc_table_layout_set_cell (layout, curs, TDEBT_CELL, 0, 5);
gnc_table_layout_set_cell (layout, curs, TCRED_CELL, 0, 6);
- gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7);
+ if (!reg->is_template)
+ {
+ gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7);
+ }
gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8);
curs_last = curs;
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel