mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/backend/file/io-example-account.c: fix a logic bug
* accounts/C/acctchrt_common.gnucash-xea: don't start selected * accounts/C/acctchrt_checkbook.gnucash-xea: provide a simple checkbook git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7785 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
6d8034012d
commit
cb5a45a5be
@ -36,6 +36,10 @@
|
||||
visible number the same and changing the "other" account. This
|
||||
should fix #102161
|
||||
|
||||
* src/backend/file/io-example-account.c: fix a logic bug
|
||||
* accounts/C/acctchrt_common.gnucash-xea: don't start selected
|
||||
* accounts/C/acctchrt_checkbook.gnucash-xea: provide a simple checkbook
|
||||
|
||||
2003-01-04 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/backend/file/gnc-account-xml-v2.c:
|
||||
|
@ -6,6 +6,7 @@ account_DATA = \
|
||||
acctchrt_business.gnucash-xea \
|
||||
acctchrt_carloan.gnucash-xea \
|
||||
acctchrt_cdmoneymkt.gnucash-xea \
|
||||
acctchrt_checkbook.gnucash-xea \
|
||||
acctchrt_childcare.gnucash-xea \
|
||||
acctchrt_common.gnucash-xea \
|
||||
acctchrt_eduloan.gnucash-xea \
|
||||
|
84
accounts/C/acctchrt_checkbook.gnucash-xea
Normal file
84
accounts/C/acctchrt_checkbook.gnucash-xea
Normal file
@ -0,0 +1,84 @@
|
||||
<?xml version="1.0"?>
|
||||
<gnc-account-example>
|
||||
<gnc-act:title>
|
||||
A Simple Checkbook
|
||||
</gnc-act:title>
|
||||
<gnc-act:short-description>
|
||||
The minimal set of accounts to use GnuCash.
|
||||
</gnc-act:short-description>
|
||||
<gnc-act:long-description>
|
||||
Use this if you just want to balance your checkbook. Later on, you can start tracking income and expenses in more detail if you feel the need.
|
||||
</gnc-act:long-description>
|
||||
<gnc:account version="2.0.0">
|
||||
<act:name>Assets</act:name>
|
||||
<act:id type="new">bde24bbbe01829aff3dac8d038e174cc</act:id>
|
||||
<act:type>ASSET</act:type>
|
||||
<act:commodity>
|
||||
<cmdty:space>ISO4217</cmdty:space>
|
||||
<cmdty:id>USD</cmdty:id>
|
||||
</act:commodity>
|
||||
<act:commodity-scu>100</act:commodity-scu>
|
||||
<act:description>Assets</act:description>
|
||||
</gnc:account>
|
||||
<gnc:account version="2.0.0">
|
||||
<act:name>Current Assets</act:name>
|
||||
<act:id type="new">d90864ec1d660176244b05a0e43e621a</act:id>
|
||||
<act:type>ASSET</act:type>
|
||||
<act:commodity>
|
||||
<cmdty:space>ISO4217</cmdty:space>
|
||||
<cmdty:id>USD</cmdty:id>
|
||||
</act:commodity>
|
||||
<act:commodity-scu>100</act:commodity-scu>
|
||||
<act:description>Current Assets</act:description>
|
||||
<act:parent type="new">bde24bbbe01829aff3dac8d038e174cc</act:parent>
|
||||
</gnc:account>
|
||||
<gnc:account version="2.0.0">
|
||||
<act:name>Checking Account</act:name>
|
||||
<act:id type="new">ab2dc28552256b8d1ef4fdea4ba45717</act:id>
|
||||
<act:type>BANK</act:type>
|
||||
<act:commodity>
|
||||
<cmdty:space>ISO4217</cmdty:space>
|
||||
<cmdty:id>USD</cmdty:id>
|
||||
</act:commodity>
|
||||
<act:commodity-scu>100</act:commodity-scu>
|
||||
<act:description>Checking Account</act:description>
|
||||
<act:parent type="new">d90864ec1d660176244b05a0e43e621a</act:parent>
|
||||
</gnc:account>
|
||||
<gnc:account version="2.0.0">
|
||||
<act:name>Income</act:name>
|
||||
<act:id type="new">e96c0691c219f5f55590e20fb9a3309b</act:id>
|
||||
<act:type>INCOME</act:type>
|
||||
<act:commodity>
|
||||
<cmdty:space>ISO4217</cmdty:space>
|
||||
<cmdty:id>USD</cmdty:id>
|
||||
</act:commodity>
|
||||
<act:commodity-scu>100</act:commodity-scu>
|
||||
<act:description>Income</act:description>
|
||||
</gnc:account>
|
||||
<gnc:account version="2.0.0">
|
||||
<act:name>Expenses</act:name>
|
||||
<act:id type="new">3b95fbbcc06ef20d61aa082b84938287</act:id>
|
||||
<act:type>EXPENSE</act:type>
|
||||
<act:commodity>
|
||||
<cmdty:space>ISO4217</cmdty:space>
|
||||
<cmdty:id>USD</cmdty:id>
|
||||
</act:commodity>
|
||||
<act:commodity-scu>100</act:commodity-scu>
|
||||
<act:description>Expenses</act:description>
|
||||
<act:slots>
|
||||
<slot>
|
||||
<slot:key>placeholder</slot:key>
|
||||
<slot:value type="string">false</slot:value>
|
||||
</slot>
|
||||
<slot>
|
||||
<slot:key>notes</slot:key>
|
||||
<slot:value type="string"></slot:value>
|
||||
</slot>
|
||||
</act:slots>
|
||||
</gnc:account>
|
||||
</gnc-account-example>
|
||||
|
||||
|
||||
<!-- Local variables: -->
|
||||
<!-- mode: xml -->
|
||||
<!-- End: -->
|
@ -9,7 +9,7 @@
|
||||
<gnc-act:long-description>
|
||||
Most users will want to select this set of accounts. It includes most commonly used accounts (checking, savings, cash, credit card, income, common expenses).
|
||||
</gnc-act:long-description>
|
||||
<gnc-act:start-selected>1</gnc-act:start-selected>
|
||||
<gnc-act:start-selected>0</gnc-act:start-selected>
|
||||
<gnc:account version="2.0.0">
|
||||
<act:name>Assets</act:name>
|
||||
<act:id type="new">98f262dfab9a2b99ac42919dcf58d304</act:id>
|
||||
|
@ -283,7 +283,7 @@ gnc_excludep_end_handler(gpointer data_for_children,
|
||||
gint64 val = 0;
|
||||
|
||||
dom_tree_to_integer ((xmlNodePtr)data_for_children, &val);
|
||||
gea->exclude_from_select_all = (dom_tree_to_integer ? TRUE : FALSE);
|
||||
gea->exclude_from_select_all = (val ? TRUE : FALSE);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
@ -305,7 +305,7 @@ gnc_selected_end_handler(gpointer data_for_children,
|
||||
gint64 val = 0;
|
||||
|
||||
dom_tree_to_integer ((xmlNodePtr)data_for_children, &val);
|
||||
gea->start_selected = (dom_tree_to_integer ? TRUE : FALSE);
|
||||
gea->start_selected = (val ? TRUE : FALSE);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user