* src/import-export/hbci/glade/hbci.glade: Some HBCI GUI work --
still no real code yet.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7124 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/app-utils/guile-util.c (gnc_get_debit_string): Fix by Matt
Armstrong <matt@lickey.com> : Look for "Use accounting labels"
option is under the "Accounts" section.
(gnc_get_credit_string): ditto.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7122 57a11ea4-9604-0410-9ed3-97b8803252fd
in the book. This is to help fix bugID 8805, but it sounds like it
is not completely fixed, yet.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7120 57a11ea4-9604-0410-9ed3-97b8803252fd
gncEntry->billAccount. Change the register so that Bills use
the BillAccount and Invoices use the InvoiceAccount. This
allows the same Entry to have both an "expense" and "income"
account to offset each other.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7117 57a11ea4-9604-0410-9ed3-97b8803252fd
* implement "Default Project" in the Bill register to enter a
default Bill-to customer/job. It's only visible on Bills, not
Invoices.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7116 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/druid-loan.[ch]: Added; Initial implementation of
Gnome Druid for setting up loan-repayment Scheduled Transactions.
* src/doc/loans.txt: Added; notes about how loans will be dealt
with in GnuCash.
* src/gnome/glade/sched-xact.glade: Added loan-druid.
* src/gnome/window-main.c (gnc_main_window_create_menus): Added
'Mortgage/Loan Repayment Setup' Druid invocation menu item.
* src/scm/fin.scm: Added. Implementations of 'ipmt', 'ppmt', 'pmt'
and supporting code.
* src/app-utils/test/test-exp-parser.c (test_parser): Added tests
for functions-in-expressions. Added [passed] test for Conrad's
bug.
* src/app-utils/gnc-exp-parser.c (func_op): Added. gnc-side
callback for dealing with a function in an expression.
* src/calculation/expression_parser.c: Added initial, undocumented
support for functions in expressions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7115 57a11ea4-9604-0410-9ed3-97b8803252fd
* save these flags only if the entry is attached to a Bill.
* add a Billable column to Bill register
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7110 57a11ea4-9604-0410-9ed3-97b8803252fd
An Entry now has pointers to an Invoice and a Bill, although
both are represented by a GncInvoice. Force a GncInvoice to a
Bill if the owner is a Vendor. (It's a regular Invoice if the
owner is a Customer). Eventually we can support Owner ==
Employee to deal with Expense Reports.
* gncInvoice: add gncBill{Add,Remove}Entry
* gncEntry: add gncEntry{Get,Set}Bill
* gw-business-core: wrap gncEntryGetBill
* gnc-entry-xml-v2: add entry:bill pointer
* gncEntryLedger: deal with Bill Entry. Don't need a lot of
columns (compared to Invoices). This is not complete, but is
at a workable point now.
* dialog-invoice: call the BILL vs. INVOICE entry-ledger based
on the invoice owner.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7108 57a11ea4-9604-0410-9ed3-97b8803252fd
"Bill" for vendor reports. Fix the aging table. Reverse the
numerics for vendor reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7106 57a11ea4-9604-0410-9ed3-97b8803252fd
need to pull in the g-wrap module for gw:wcp-is-of-type?
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7101 57a11ea4-9604-0410-9ed3-97b8803252fd
generators for various objects. This simplifies the distributed
generation of kvp-option dialogs.
* app-utils.scm: export kvp-option-registry functions
* option-util: add option_db_changed() function
* business-gnome.scm: add "File -> File Preferences" menu item
which is the kvp-option dialog for the Book.
* business-prefs.scm: register a kvp-option generator for gnc:id-book
* gnc-book: add gnc_book_kvp_changed() function
* gw-engine-spec.scm: wrap gnc_book_kvp_changed
* dialog-options.c: only call the SCM apply_cb if the optiondb
actually changed.
* gnome-utils.scm: create gnc:kvp-option-dialog procedure to create
an kvp-option dialog for the speficied type. Export this procedure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7097 57a11ea4-9604-0410-9ed3-97b8803252fd
option_db_destroy()
* options.scm: fix scm->kvp method; fix a typo; add clear-kvp?
argument to gnc:options-scm->kvp for whether to clear out the
kvp before saving it.
* business-gnome.scm: add code to test the kvp option-dialog
* kvp-scm.c: fix the delete_at_path() function to actually work right.
* dialog-options: create a function (and support routines) to
use SCM apply_cb and close_cb callback functions:
options_dialog_set_callbacks()
* gw-gnome-utils-spec.scm: wrap <gnc:OptionWin*>, options_dialog_new(),
options_dialog_destroy(), options_dialog_build_contents(), and
options_dialog_set_callbacks()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7096 57a11ea4-9604-0410-9ed3-97b8803252fd
* gnc-file.c: change the open/closed book hooks to take a
<gnc:Session*> instead of a string.
* binary-import.scm: fix the book-opened-hook.
* main-window.scm: fix the book-opened/closed-hook calls
* main.scm: fix the book-opened/closed-hook calls
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7095 57a11ea4-9604-0410-9ed3-97b8803252fd
and kvp->scp. Implement these two methods for most of the options.
* app-utils.scm: export the kvp->scm and scm->kvp procedures
* business-options.scm: Implement the kvp->scm and scm->kvp methods
for the business options.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7094 57a11ea4-9604-0410-9ed3-97b8803252fd
for changing the book-opened-hook and book-closed-hook
prototypes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7093 57a11ea4-9604-0410-9ed3-97b8803252fd
This function will clear a sub-tree out of a kvp_frame.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7090 57a11ea4-9604-0410-9ed3-97b8803252fd
* business-options.c: implement invoice option for the dialog
* gncEntryLedgerLoad.c: fix a compiler warning
* invoice.scm: make report visible; deal with no invoice; make
invoice a visible option on the general page; deal with "printing"
un-posted invoices.
* receivables.scm: remove code I don't need
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7085 57a11ea4-9604-0410-9ed3-97b8803252fd
options to plug into the options dialog.
* businessmod-gnome: initialize business options
* business-utils: pack into box FALSE, not TRUE
* owner-report: put the company into the options dialog instead of
hiding it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7084 57a11ea4-9604-0410-9ed3-97b8803252fd
* dialog-options: publish gnc_options_dialog_changed_internal() so
pluggible options can set the flag, too.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7083 57a11ea4-9604-0410-9ed3-97b8803252fd
the supplied owner actually matches..
Internationalize the business reports a bit better.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7081 57a11ea4-9604-0410-9ed3-97b8803252fd
added "links" to the company, invoices, and company-report.
Create a "Business Reports" menu item under "Reports" and put the
business reports there. This required a new startup hook to allow
dynamic creation of the Report Menu. Change the aging reports to
use Invoices and Lots instead of the transaction description to
differentiate actual companies.
* dialog-invoice: publish the function to open a company-report
* business-urls: hooks into gnc-html for business objects.
Initialize at module load-time. wrap the business url types.
* business-core: create gnc:owner-from-split which is used by a
bunch of the business reports. wrap gncOwnerCopy().
* fix the "Create Test Data" extension
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7080 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/druid-hierarchy.c (gnc_get_ea_locale_dir): If current
locale doesn't work for account hierarchy druid, then check all
abbreviated versions of that locale.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7079 57a11ea4-9604-0410-9ed3-97b8803252fd
function that adds a list of valid account-types; this limits the
account-tree dialog to only "reasonable" accounts.
* option-util.[ch]: add function to obtain GList* of valid
account-types. NULL means "all".
* dialog-options: Limit account-list by types.
* Update payables and receivables reports to limit account types.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7076 57a11ea4-9604-0410-9ed3-97b8803252fd
Window. Fill in the callbacks required to get the menu to work.
* Create a hook into the "owner-report" and link that into the
Invoice Window, so you can print the report from any Invoice.
* add a hook in the entry ledger to obtain the current Query (to
set the sort order).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7075 57a11ea4-9604-0410-9ed3-97b8803252fd