Commit Graph
16 Commits
Author SHA1 Message Date
John Ralls c318a112a5 Delete qofinstance_gemini and all related functions; they were left over from the clone-the-book-when-closing code abandoned in 2005
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21203 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-22 03:58:10 +00:00
Geert Janssens 5e02450258 Fix crash in invoice payment introduced in commit 21181
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21185 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-17 10:54:27 +00:00
Geert Janssens 1b7bd7b3e9 Implement a balance for owners and show it on the owners view page
The Balance column is not visible by default, but can be activated
with the blue arrow in the top-right of the page.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21182 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-13 15:33:42 +00:00
Geert Janssens 49a02f99ae Move some functions to better locations
- two functions in business-gnome-utils weren't gui related functions
- invoice payment should be in gncOwner as already stated in the sourcefile

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21181 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-08-13 15:33:27 +00:00
John Ralls 1ed80def56 Formatting Fixes with astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20936 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-07-17 17:35:30 +00:00
Geert Janssens 360fbc8911 Always explicitly define an owner when converting from a qof entity
This can be ownertype (none) if the entity to be converted is not a valid owner.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20627 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:52:12 +00:00
Geert Janssens 8183cf116d Owner tree: fix crash when modifying owner name
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20624 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:51:45 +00:00
Geert Janssens 19b60850bf Add gncOnwer* convenience wrappers for BeginEdit, CommitEdit and Destroy. This allows to begin edit, commit edit or destroy an owner without knowing its type.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20622 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:51:27 +00:00
Geert Janssens dea629301a Refactor gncOwnerCreate/Destroy into gncOwnerNew/Free to avoid confusion with similar gnc<ownertype>Create/Destroy functions, like gncVendorCreate, gncCustomerDestroy and so on. The type specific functions add or delete the owner from the book, while the generic one only allocated memory or freed memory to hold a generic owner. Changing the name makes it clear the generic and specific functions are not related. Note: this change may require a clean rebuild. I'm not sure if swig picks this up automatically.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20621 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:51:17 +00:00
Geert Janssens 10fe706b88 Add convenience function to set name of an owner regardless of its type
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20619 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:50:54 +00:00
Geert Janssens c39a9a4c59 Add generic owner setter function for the active property
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20618 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:50:45 +00:00
Geert Janssens 31561fdffc gncOwner convenience functions: jobs do have an active state, fix the getter function. At the same time, move the Job Active getter with the other getters. This is why I missed it the first time.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20616 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-11 21:50:25 +00:00
Geert Janssens 7f70514f7e Add some convenience getter functions to gncOwner.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20433 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-20 19:33:55 +00:00
Geert Janssens 105cf24222 Whitespace and spelling corrections
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20432 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-20 19:17:11 +00:00
Christian Stimming 1f2994b1d3 Add wrapper for obtaining a list of business objects as list of owners, and add SWIG wrappers so that scheme can use it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19625 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:59:33 +00:00
Christian Stimming 76b764582a Move the business object implementations from separate module into the main gnucash engine.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19329 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-03 21:53:22 +00:00