Commit Graph

5023 Commits

Author SHA1 Message Date
Derek Atkins
60dbedd7f4 First-pass at A/R and A/P accounts. Right now there is nothing
special about them compared the Asset and Liability accounts except
the labels are slightly different.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6062 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 21:41:34 +00:00
Linas Vepstas
d56d652de8 refview recent entity changes, fix old bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6061 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 18:33:41 +00:00
Linas Vepstas
eea15e8577 misc cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6060 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 11:07:36 +00:00
Linas Vepstas
d848e2320b need to distinguish between marking and sending out events:
these have to be done in order.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6059 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 10:59:26 +00:00
Linas Vepstas
9a0a4566c7 code for reparenting across books
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6058 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 10:58:19 +00:00
Linas Vepstas
537f9433db fix documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6057 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 10:57:45 +00:00
Chris Lyttle
3ab6c2adeb Initial work on Investments chapter
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6056 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 10:37:41 +00:00
Dave Peticolas
6b9dee0392 fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6055 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 09:38:15 +00:00
Linas Vepstas
381504ad5a fix test cases that are wildly misusing internal routines with great borkeness.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6054 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 09:10:17 +00:00
Dave Peticolas
fed69ff72c Fix bugs with new book pointers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6053 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 09:05:23 +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
Linas Vepstas
12e83c3ae7 bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6051 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 08:34:43 +00:00
Linas Vepstas
8c2d2d4cf0 further backend->book simplification
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6050 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 08:31:26 +00:00
Linas Vepstas
9cc5dcce25 add routine to find clones of accounts in different books
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6049 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 07:24:19 +00:00
Linas Vepstas
9b87639c5b fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6048 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 07:05:04 +00:00
Linas Vepstas
e4f1cef9b6 more backend/book cleanup, rework the account clone function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6047 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 06:43:25 +00:00
Dave Peticolas
04e7830d26 fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6046 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 06:40:04 +00:00
Linas Vepstas
7cf0bfe47f add documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6045 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 05:50:38 +00:00
Linas Vepstas
6e6156e7c7 update layout
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6044 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 05:40:41 +00:00
Linas Vepstas
21e5d5f329 use kvp's to identify sibling copies of accounts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6043 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 05:38:23 +00:00
Linas Vepstas
c104a92c47 fix documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6042 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 05:37:30 +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
Linas Vepstas
2b8fd7808a fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6040 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 05:20:29 +00:00
Derek Atkins
1f21432acf Add gnc_book_{get/set}_data() to add/get arbitrary data pointers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6039 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 04:20:14 +00:00
Linas Vepstas
f63b341c66 more documentation cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6038 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 03:21:10 +00:00
Linas Vepstas
085a778161 idocumentation cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6037 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 03:14:05 +00:00
Linas Vepstas
9cc0f5f04e patch up the subroutine documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6036 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 03:11:36 +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
Linas Vepstas
aa232f2fcf add utilities for accounting periods, clean up backend handling
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6034 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 01:38:58 +00:00
Chris Lyttle
3a7fa14de0 Outlines of remaining chapters
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6033 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 00:44:54 +00:00
Dave Peticolas
4edebdcfff fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6032 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 23:35:53 +00:00
Chris Lyttle
893315a5eb Make toc validate
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6031 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 23:27:27 +00:00
Chris Lyttle
d1ab03c0ea Make toc validate
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6030 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 23:23:02 +00:00
Linas Vepstas
6e0ab1454b start work on accounting periods
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6029 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 23:02:01 +00:00
Chris Lyttle
d25afe3e3b Replace toc with xml version
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6028 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 22:51:53 +00:00
Linas Vepstas
7f8b1e824e type-safety tweaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6027 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 22:12:08 +00:00
Linas Vepstas
7a4c1571ec add missing include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6026 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 18:55:37 +00:00
Linas Vepstas
b3b03df24e another compiler warning fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6025 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 18:52:24 +00:00
Linas Vepstas
33f214698a add missing include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6024 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 18:43:42 +00:00
Linas Vepstas
e3a5e5a863 add GUID to book
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6023 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 18:42:09 +00:00
Linas Vepstas
2dbc279645 add missing include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6022 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 18:36:58 +00:00
Linas Vepstas
b6f210bf8c add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6021 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 18:23:23 +00:00
Linas Vepstas
1ea3b0dbfa add kvp_frame to books; fix misc session->book bugs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6020 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 18:22:57 +00:00
Linas Vepstas
2a1dd5b86c misc session->book bugfixes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6019 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 18:12:35 +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
Chris Lyttle
401d6fe3a5 Added some screenshots, finished converting chapters to XML
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5988 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 03:25:39 +00:00
Dave Peticolas
393ff20342 random_timespec_usec_resolution: new func.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5987 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-23 23:45:45 +00:00
Joshua Sled
c85157c599 Added guile_libs, glib_libs support for test-link program.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5986 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-23 22:33:33 +00:00
Joshua Sled
40b1469e83 Added ${GLIB_LIBS} for test-link linking.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5985 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-23 22:27:21 +00:00