make reference editable
add g-wrap for reference
invoice.scm: add order reference(s) to Invoice output
Fix invoice-reload for testing. It works, now (thanks, rlb)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6741 57a11ea4-9604-0410-9ed3-97b8803252fd
for the setter methods
Improved invoice report
wrapped a few more business objects
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6740 57a11ea4-9604-0410-9ed3-97b8803252fd
remove the "Invoice" report from the old register report
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6739 57a11ea4-9604-0410-9ed3-97b8803252fd
add 'ReturnValue' and 'ReturnTaxValue' functions for simplicity of wrapping
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6737 57a11ea4-9604-0410-9ed3-97b8803252fd
routine (in scheme), but the hook curently exists to do so.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6736 57a11ea4-9604-0410-9ed3-97b8803252fd
dialog-search: don't forget out last-selected item when we refresh
add 'new item' to the query if we're staying open
search-param: fix a compiler warning
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6735 57a11ea4-9604-0410-9ed3-97b8803252fd
the *_GUID defines, and change them all the QUERY_PARAM_GUID.
- Add a gncObject is_dirty() method, and have the book call it --
this gives the UI a means to warn the user if any business objects
changed.
- abstract out the storage methods in the business objects
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6734 57a11ea4-9604-0410-9ed3-97b8803252fd
- remove order/invoice buttons from Job
- only provide 'select job' when using _choose(), not _find()
- fix text in Invoice: closed -> posted
- Invoice dialog: check for changes in the current cursor when you Post
- entry ledger: don't ask if the only change is mapping an entry to an invoice
- date-close: set 'ok' to default button
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6732 57a11ea4-9604-0410-9ed3-97b8803252fd
dialog-invoice,dialog-order: integrate 'New' dialogs
remove 'cancel' in ledger windows
invoice.glade/order.glade: rename 'ok' to 'close' in ledger windows
dialog-search: update search results after callbacks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6731 57a11ea4-9604-0410-9ed3-97b8803252fd
search dialog or whether the dialog should add the new item to
the "found" list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6727 57a11ea4-9604-0410-9ed3-97b8803252fd
- fix the creation functions to allow orders and invoices with no entries.
only complain about lack of entries when you try to close/post the
order/invoice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6726 57a11ea4-9604-0410-9ed3-97b8803252fd
If it is provided, set the dialog's parent and make the search dialog modal
- fix all the other searches to use the new api
- update the job and job-select dialogs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6724 57a11ea4-9604-0410-9ed3-97b8803252fd
- Change _find() api's to _find() and _choose(), where the former
returns void, and the latter supplies a 'select' button to choose
a item.
- More integration of gnome-search, including more button callbacks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6722 57a11ea4-9604-0410-9ed3-97b8803252fd
Change search-dialog API to provide a start_query and a
show_start_query for the base limiting query and
the query to show at dialog start-time.
add new_item button callback
change the button-list callback API
Don't ignore the last criterion while building the query
create gnc_search_param_prepend() API to build arbitrary paramters
src/business/business-core/ changes:
Extend some of the available parameters for business objects.
Add APIs (and paramters) for Orders and Invoices to return
'closed', 'posted', and 'paid' status.
src/business/business-gnome/ changes:
Rebuild the Job-Search dialog (more changes to come)
integrate the gnome-dialog into everything.
remove the (old) business-chooser dialog; use the search instead
improve the Extensions menu to show off the business objects
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6720 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/report-system/html-utilities.scm: Added support for
surpressing zero amounts.
* src/report/report-system/*-utilities.scm: Clean up
commodity-collector calling functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6716 57a11ea4-9604-0410-9ed3-97b8803252fd
Implement the "find" button
bring up a "results window"
fix a bug in the search-string code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6714 57a11ea4-9604-0410-9ed3-97b8803252fd
Some of the QueryNew ACCOUNT_* names conflicted with entries in the
AccountFieldCode enumeration. Hopefully, eventually, the two sets
of names can be combined.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6712 57a11ea4-9604-0410-9ed3-97b8803252fd
almost identical anyways). Remove the (now defunct) debcred.
- Fix a few compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6711 57a11ea4-9604-0410-9ed3-97b8803252fd
can actually see the change take place.
Remove the links to GNC modules and just make sure those dependencies
are loaded here.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6708 57a11ea4-9604-0410-9ed3-97b8803252fd
gncInvoice.[ch]: add date-posted, paid-txn
change date-closed->date-paid
add gncInvoicePayToAccount()
dialog-date-close.[ch]: allow list of account-types
provide a dialog with only 1 date and account (for invoice payment)
dialog-invoice.c: provide list of accounts to date-close dialog(s)
change 'close' to 'pay'
hide cancel button on posted/paid invoices
dialog-order.c: hide cancel button on closed orders
search-date.c: remove unused time_t
search-param.[ch]: provide a 'type' over-ride
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6707 57a11ea4-9604-0410-9ed3-97b8803252fd
add DEBCRED type to point to the numeric type
QueryObject.c: change SPLIT_VALUE to type DEBCRED
add some test types
gncInvoice.[ch]: add more Invoice parameters
gncOrder.[ch]: add more Order parameters
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6704 57a11ea4-9604-0410-9ed3-97b8803252fd
dialog-order: (re)set the Order's Owner when the UI changes
dialog-invoice: (re)set the Invoice's Owner with the UI changes, and update
the entry-ledger query to pick up the proper entries.. This can cause
problems if the user has already attached any entries to this invoice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6695 57a11ea4-9604-0410-9ed3-97b8803252fd
into the Predicate Data, which allows the predicate creation functions
to sanity check the validity.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6694 57a11ea4-9604-0410-9ed3-97b8803252fd
add some extra tests for valid "how" values and PWARN for invalid ones.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6693 57a11ea4-9604-0410-9ed3-97b8803252fd
Note that this allows a user to shoot themselves in the foot if
they don't supply a parameter that returns a list. Right now
the only valid use of this option is:
(Trans)->TRANS_SPLITLIST->SPLIT_ACCOUNTGUID
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6690 57a11ea4-9604-0410-9ed3-97b8803252fd
- g-wrap the gncOwner interfaces
- restructure the Extensions menu
- dialog-invoice.c: hide the 'print invoice' button until after the
invoice has been posted
- dialog-order.c: validate the passed-in gncowner to make sure it is a
valid type
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6687 57a11ea4-9604-0410-9ed3-97b8803252fd
Reset Query when changing an invoice from ReadWrite to ReadOnly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6684 57a11ea4-9604-0410-9ed3-97b8803252fd