Commit Graph

22 Commits

Author SHA1 Message Date
Derek Atkins
7270c1d5fd - Add a "date-close" dialog that basically asks for confimation
of closing and sets the close-date (for when you close out an
  order to post an invoice).

- Refactor the Entry Value computation so that it is possible to
  compute the values in real-time (although it's not used at the
  moment)

- Change the Order Entry UI to make it a but clearer.

- change the EntryLedger to allow RO and RW entries for Invoices and
  Orders.

- Implement closing an Order; Opening (editing/viewing) a closed should be
  a read-only operation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6621 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-21 02:27:02 +00:00
Derek Atkins
5564e42695 Add "GetValue()" method to an Entry and move the value computation
into the Entry from the Invoice.
Add more hooks to post an Invoice to an Account and lookup
an invoice from a transaction


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6615 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-13 04:25:55 +00:00
Rob Browning
40499bcb7d * src/business/business-core/gw-business-core-spec.scm: fix for
new g-wrap.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6553 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 21:32:13 +00:00
Rob Browning
58cc50442a * src/business/business-core/Makefile.am: fix for new g-wrap.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6552 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 21:31:37 +00:00
Dave Peticolas
9902d195b3 David Hampton's automake 1.5 patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6453 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-31 22:50:34 +00:00
Dave Peticolas
3adbf0e631 Fix compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6276 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-08 03:17:51 +00:00
Derek Atkins
7b2f65cf8f Abstract out the owner of Orders and Invoices into a GncOwner.
Create a general Owner Selection widget (sort of) by using gnc-general-select
Update the order dialog to provide an OrderID, owner, start/end date, etc.

Order-Dialog buttons still appear right-justified for some strange reason?


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6260 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-06 05:46:42 +00:00
Dave Peticolas
7bcfc52e6f Add *BeginEdit public functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6149 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-30 07:37:50 +00:00
Derek Atkins
aefeab1033 Add dialog-order (to test gncEntryLedger) and hook into the
extensions to create an order


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6142 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-29 23:04:34 +00:00
Rob Browning
4d613e2991 * src/business/business-core/gncInvoice.c
(gncInvoiceGetInvoiceFromTxn): initialize book to NULL so warnings
won't kill -Werror compiles.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6093 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-28 22:23:14 +00:00
Derek Atkins
997d8e92a7 First pass at an Entry Ledger. It compiles. It still needs
to be tested, and then it needs to be used.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6073 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-26 23:30:33 +00:00
Dave Peticolas
8168a283b2 add test-load-module
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6052 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 08:40:18 +00:00
Derek Atkins
b1cdb65bcd * Remove the "GncBusiness" object type in preparation to move
structure registration (GncBusinessObject) into "gncCore" in the
   engine.

 * Change all the Business Objects to take a GNCBook instead of
   GncBusiness; use the GNCEntityTable in the Book for GUID storage.

 * Use xaccGUIDNew() instead of guid_new().

 * Move the object storage tables into the GNCBook via get/set_data.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6041 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 05:34:34 +00:00
Derek Atkins
788d998d6b convert GNCIdType from an enum to a char*
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6035 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 02:20:34 +00:00
Dave Peticolas
860adf103c Move entity tables from sessions to books.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6018 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 12:10:42 +00:00
Derek Atkins
277282f25c Add tax_type and discount_type to GncEntry -- this allows you
to change how the Tax and Discount fields are handled (values
or percentages)

Add code to link a GncInvoice to a Transaction, and to lookup
the GncInvoice from a linked Transaction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5989 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 05:35:08 +00:00
Derek Atkins
b56f2fffbb Add Entry, Order, and Invoice types to g-wrapped data
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5981 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-22 14:45:11 +00:00
Derek Atkins
7a818ba566 Add first-pass at Entry, Order, and Invoice objects
move EntityTable management into gncBusiness (for now)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5973 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-22 01:23:07 +00:00
Rob Browning
1b78ac4c4e * src/business/business-core/.cvsignore: add various things.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5914 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-18 02:59:15 +00:00
Rob Browning
cd56972b18 * src/business/business-core/test/Makefile.am: fixup
TESTS_ENVIRONMENT to use gnc-test-env.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5911 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-18 02:52:03 +00:00
Rob Browning
ac8518a3a5 * src/business/business-core/test/.cvsignore: add various things.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5910 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-18 02:51:57 +00:00
Dave Peticolas
94d8372af6 Derek Atkins's business accounting patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5902 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-17 01:17:06 +00:00