Linas Vepstas
9184bf7a1c
add a few utility routines
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8173 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 05:09:39 +00:00
Linas Vepstas
e5d7cd62ee
fix docos
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8172 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 05:09:24 +00:00
Linas Vepstas
a65a2499e8
remove bogus include
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8171 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 04:52:22 +00:00
Linas Vepstas
73ac53ded0
add group scrub routine, add docs
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8170 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 04:51:09 +00:00
Derek Atkins
c0406511c5
* src/business/business-reports/owner-report.scm:
...
* src/business/business-reports/aging-report.scm:
Fix a couple strings to improve comments when owners and accounts
are missing. Direct the user to select them in the report options.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8168 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 04:31:48 +00:00
Linas Vepstas
768cd99477
finish implementing the double-balance routine
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8167 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 04:22:52 +00:00
Linas Vepstas
314c39486f
minor documentation update
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8166 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 04:22:02 +00:00
Linas Vepstas
b2da24e3c6
add convenience function to find date on which lot was closed
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8165 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 04:02:34 +00:00
Derek Atkins
875e3e49bc
When building the "name + address" string, check if the
...
company name and contact name are the same and, if so,
only print one of them. Fixes #109753 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8163 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 03:38:23 +00:00
Derek Atkins
2e6325afe1
* src/business/business-gnome/glade/date-close.glade:
...
Fix the glade settings so resizing the window will properly
resize the widgets. Fixes #107586 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8161 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 03:19:41 +00:00
Derek Atkins
4798b3255b
* src/business/business-ledger/gncEntryLedgerControl.c:
...
Save the entry cells before adding an it to the invoice,
otherwise it wont get sorted properly. Fixes #108910 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8159 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 03:05:30 +00:00
Derek Atkins
d634a00aec
* src/business/business-ledger/gncEntryLedgerControl.c:
...
Don't ask the user in the general case when making changes
to entries. Generally the user should be allowed to make
whatever changes they want without being pestered.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8157 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 01:37:41 +00:00
Derek Atkins
d39a0022b3
* src/business/business-gnome/dialog-invoice.c: fix an assertion
...
failure -- don't try to set the to_charge_amount value unless
we're in a VIEW/EDIT invoice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8155 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 01:04:25 +00:00
Derek Atkins
41e630069e
* src/business/business-core/gncEntry.h: Move the definitions
...
of PaymentType and DiscountHow higher earlier in the file
to prevent problems of circular dependencies.
* src/business/business-core/gncInvoice.[ch]:
- Add the storage of the to_charge_amount.
- Add GetTotalOf() to find the total of Cash and Charge amounts
- Use the to_charge_amount when posting an invoice
* src/business/business-core/dialog-invoice.c:
- add a to_charge_amount for Exp. Vouchers
- add a "Total Cash" and "Total Charge" summary
* src/business/business-gnome/glade/invoice.glade:
- add the to_charge_amount frame and labels.
* src/busines/business-core/file/gnc-invoice-xml-v2.c: Add support
for the to-charge amount.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8153 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-01 21:15:22 +00:00
Christian Stimming
efd32817c2
2003-04-01 Christian Stimming <stimming@tuhh.de>
...
* src/report/report-system/options-utilities.scm: Fix missing i18n
markup on some option names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8152 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-01 20:32:33 +00:00
David Hampton
b49db15076
Collapse the account tree data declarations into a common table.
...
Change functions to be driven off this data table instead of
explicitly coding each field.
Add new fields in the account tree window for present, cleared,
reconciled, and future minimum balances. #95628
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8148 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-01 04:09:19 +00:00
David Hampton
d03de9aae9
Update for changes to function parameters.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8147 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-01 04:06:29 +00:00
David Hampton
f906f0b11b
Push gui independent functions into the engine.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8146 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-01 04:05:32 +00:00
Christian Stimming
1c2adca030
2003-03-31 Herbert Thoma <herbie@hthoma.de>
...
* src/engine/gnc-pricedb.c
* src/engine/gnc-pricedb.h: new function
gnc_pricedb_lookup_latest_any_currency, return any available
prices for given commodity regardless of currency
* src/app-utils/gnc-ui-util.c: do a "two stage" price lookup in
gnc_ui_convert_balance_to_currency if no price for the commodity
is found in the requested currency, then look for prices in any
currency and for a exchange rate from the price currency to the
requested currency
* src/gnome/gnc-split-reg.c: do currency conversion and show the
value in the status line of stock and mutual fund accounts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8145 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 19:12:21 +00:00
Derek Atkins
c1818d3d2c
* src/business/business-core/test/test-employee.c: fix the test
...
to reflect the change in Employee->Printable()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8144 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 18:08:32 +00:00
Linas Vepstas
3d8b885108
rename the 'GetOrMake' routine, its not static any more but shared between two files
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8142 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 05:15:21 +00:00
Linas Vepstas
5f6476648f
inital checkin -- add private prototype for utility func
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8141 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 04:42:16 +00:00
Linas Vepstas
ebc997d35c
cleanup author credits
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8140 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 04:41:21 +00:00
Linas Vepstas
1808028f83
more new code
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8139 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 04:19:18 +00:00
Linas Vepstas
a115451c52
check in some documentation updates made way way long ago
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8138 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 04:17:48 +00:00
Linas Vepstas
2f7b0f517a
remove bogus argument for dxaccAccount subroutine calls
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8137 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 04:12:31 +00:00
Linas Vepstas
c45c2da35e
misssed a spot - remove more bogus arguments
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8136 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:50:32 +00:00
Linas Vepstas
a55b0c4196
get rid of bogus subroutine argument
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8135 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:46:36 +00:00
Linas Vepstas
496015a5b6
add documentation
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8134 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:25:37 +00:00
Linas Vepstas
f1e8ae9e0d
d of bogus argument to scrub functions
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8133 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:25:19 +00:00
Linas Vepstas
0a70aea1d7
get rid of bogus argument to scrub functions
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8132 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:24:29 +00:00
Linas Vepstas
f2fdc583f6
remove bogus argument to Scrub functions
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8131 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 03:23:39 +00:00
Linas Vepstas
413ff3ad12
get rid of spurious argument
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8130 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-31 02:50:02 +00:00
Linas Vepstas
93d30df886
fix bugs, start adding routine to perform the double-balance check
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8129 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 19:04:42 +00:00
Linas Vepstas
952ef55424
add documentation
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8128 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 18:40:40 +00:00
Christian Stimming
5e1957174f
Forgot to install scheme file.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8127 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 12:42:41 +00:00
Linas Vepstas
8bedf26761
fill in more of the lot-scrubbing algorithm
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8125 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 06:32:36 +00:00
Linas Vepstas
d0adc936c3
add notes, update
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8124 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 06:30:51 +00:00
Linas Vepstas
d694fb5a4e
fix formating
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8123 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 06:29:19 +00:00
Linas Vepstas
eb0b60038c
fix some notes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8122 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 05:44:12 +00:00
Linas Vepstas
7c5f5fcaf3
never mind; we really do *not* have any use for these funcs;
...
things will be handled very differently.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8121 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 04:50:09 +00:00
Linas Vepstas
18cc347bae
fill in more functions to clean up lots
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8120 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 04:45:48 +00:00
Linas Vepstas
c39c2be3be
oops
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8119 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 04:09:45 +00:00
Linas Vepstas
d328d40114
add utility routine to get earliest split in lot
...
convert tabs to spaces
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8118 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 04:08:55 +00:00
Linas Vepstas
e701237359
fix a FIXME note
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8117 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 03:30:42 +00:00
Linas Vepstas
f8e733bb52
start working on functions to cleanup up usage of Lots in trading accounts
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8116 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 03:03:02 +00:00
Linas Vepstas
5fc7551350
remove obsolete commentary
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8115 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 03:01:23 +00:00
Linas Vepstas
b1913918b6
add an account-for-each-lot function
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8114 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 02:58:25 +00:00
Linas Vepstas
c43a1b13d3
fix typo
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8113 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-30 00:21:41 +00:00
Linas Vepstas
6a498252d5
start porting fifo code to current gnucash engine
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8112 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-29 23:29:58 +00:00