Commit Graph

5983 Commits

Author SHA1 Message Date
Derek Atkins
849f794800 * gncInvoice*, gnc-invoice-xml-v2.c: add a "posted_lot" attribute
which points to the LOT created during the posting of the invoice.
  Also provide a function to grab the invoice from the lot (via KVP
  storage).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7019 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-24 22:30:36 +00:00
Derek Atkins
e2299697df src/engine/gnc-lot.[ch]: provide gnc_lot_get_book() function
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7018 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-24 22:28:33 +00:00
David Hampton
93cbc81065 First round of OFX changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7017 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-24 17:49:39 +00:00
Derek Atkins
18aea89446 Need to supply ${GUILE_INCS} when you want the guile headers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7016 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-24 15:29:09 +00:00
Derek Atkins
b8993646a2 Fix bugID: 85688
Set the invoice window titles appropriately based on the window type
(New/Edit/View) and the object type (Invoice or Bill).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7015 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-24 15:24:41 +00:00
David Hampton
775e588af0 Fix parameter names in comments.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7014 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-24 08:10:28 +00:00
David Hampton
97f77cca4a Fix a bunch of compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7013 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-24 05:58:58 +00:00
David Hampton
0e9813fa00 Remove unused code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7012 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-24 05:56:06 +00:00
Derek Atkins
7bebb2eae9 Customer and Vendors can set TaxIncluded to Yes, No, and Use Global,
which will allow you to override the global setting or just use it..
(Default is Use Global).

Grab the default TaxIncluded settings in the Entry Ledger.

Fix a couple compiler warnings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7011 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-24 04:59:04 +00:00
Joshua Sled
f6e6c69101 2002-06-23 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sxsincelast.c: Lists of SX instances [the
	Reminders and To-Create] are now trees instead of clists.
	Better structure of internal state.
	Fixed multiple-SX-reminder selection/processing bug [Bug#85997].


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7010 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-24 02:55:25 +00:00
Derek Atkins
1c8ebea9aa * handle double-clicks in the search dialog
* change the close/cancel button as the dialog changes -- you
  cancel a "search" and you close a "find"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7009 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-23 17:30:41 +00:00
Derek Atkins
b32d5854e0 Save the due-date properly (even if the focus_out_event isn't working)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7008 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-23 16:35:06 +00:00
David Hampton
cee40d8445 The QIF module now creates its own menu item.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7007 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-23 06:27:50 +00:00
Derek Atkins
6450592b65 Mixed up Taxable and TaxTable columns. Fix that.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7006 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-23 03:09:06 +00:00
Derek Atkins
d2cf3e5741 Fix the column headers. Expand the acronyms to be clear, and mark them
as "LEFT" instead of "RIGHT" to get the beginning of the header instead
of the end.  Fixes bugID #85691.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7005 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-23 03:00:17 +00:00
Derek Atkins
96b0966602 Register the generic option-menu (taxtables and billterms) with
the component manager so it will auto-update when items change.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7004 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-23 02:30:57 +00:00
Derek Atkins
342eb5d77a Get the invoice toolbar (and menubar) to appear correctly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7003 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-23 01:25:24 +00:00
Derek Atkins
47563841db Fix the item ordering (so it appears in ascending order)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7002 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-23 01:24:40 +00:00
Derek Atkins
98f2b6a280 re-sort the list of visible items when the appropriate entries
change.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7001 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-23 01:23:28 +00:00
Derek Atkins
7060f342cd Fix bugID# 85995. Get invoice and search-dialog windows to appear
proper size by delaying the "show_all" on the dialog.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7000 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-23 00:02:35 +00:00
Derek Atkins
b4a361c082 Benoit's "blank-line patch":
Could someone please apply this ridiculous one line patch.  For some reason
the lack of a newline after #if DEBUG causes compilation to fail with
"dialog-scheduledxaction.c:372:25: missing binary operator" on my setup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6999 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-22 22:31:16 +00:00
David Hampton
23926cd141 Optional module loading. Latest OFX changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6998 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-22 22:15:54 +00:00
Derek Atkins
a9df3df3f9 * gncBillTerm: add functions to compute DueDate and DiscountDate from
a Timespec (post_date) and the Billing Term definition.

* dialog-date-close: use billing terms; if a term object is supplied,
  display the due date but do not allow the user to modify it directly.
  Use callbacks from the date-edit widget to update the due date.

* dialog-invoice: don't worry about pre-computing a due date; pass the
  billing terms into the date-close dialog.

* date: add a few convenience functions to convert from Timespec to
  day/month/year; compute the last mday from a Timespec; compute the
  last mday from a month/year.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6997 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-22 21:55:00 +00:00
Derek Atkins
23a70b22d2 signal DATE_CHANGED when the focus event occurs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6996 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-22 21:49:22 +00:00
Derek Atkins
be1c3236f0 Save proximo-type billterms with the right tag. (oops)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6995 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-22 21:25:54 +00:00
Derek Atkins
00a335aca1 * integrate the Billing Terms into the Core, GUI, and XML Backend
for the rest of the business objects that need billing terms.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6994 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-22 02:38:13 +00:00
Dave Peticolas
64555fa8c3 update cvs guidelines
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6993 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-21 22:07:03 +00:00
Dave Peticolas
bf1bed9c74 synchronize with AUTHORS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6992 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-21 22:06:35 +00:00
Dave Peticolas
e9d178c921 cleanup AUTHORS (remove duplicates from main developers/other contributors).
update list of main developers


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6991 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-21 22:05:25 +00:00
Derek Atkins
068749c658 Fix logic for "dirty" setting; only set dirty when data actually
changes.  Only set "global" dirty flag at 'commitedit'


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6990 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-21 19:00:34 +00:00
David Hampton
99f2cd2ab2 autoconf 2.53 tweak (not solution)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6989 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-21 18:17:21 +00:00
Derek Atkins
167710db6b * .../business-core/gncBillTerm*.[ch]: Add Billing Term objects.
Currently there are "Days" and "Proximo" billing terms available.

	* .../business-core/file/gnc-bill-term*: XML Backend storage for
	Billing Terms.

	* .../business-gnome/dialog-bill-terms.[ch]: Dialog to create,
	view, and edit Billing Terms.

	* .../business-gnome/business-prefs.scm: move the business
	preferences (default option creation) to its own scheme file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6988 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-21 16:44:30 +00:00
David Hampton
412aeab1cb Initial support for OFX import.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6987 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-21 00:46:36 +00:00
Derek Atkins
42d3d079b6 Fix a prototype error and move an enum for recent GCC (you can't
have an unnamed enum within a structure)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6985 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-19 22:42:33 +00:00
David Hampton
c86a66f9e1 Update help menu item text.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6984 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-19 19:46:15 +00:00
Derek Atkins
c79362faa7 Fix hampton's autoconf patch
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6983 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-19 16:37:03 +00:00
Joshua Sled
65ed7b993c Loosen the font description we want to let this work on other machines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6982 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-19 15:48:26 +00:00
Derek Atkins
9b680c45d6 fix g-wrap location URL
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6981 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-19 14:47:09 +00:00
Joshua Sled
1c4df2daac 2002-06-18 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/gnc-dense-cal.[ch]: Added; a multiply-markable,
	visually-dense Gtk calendar widget, to be used by
	Scheduled Transactions.

	* src/gnome/dialog-scheduledxaction.c
	(putSchedXactionInDialog): Renamed; supports marking the new
	GncDenseCal.
	(delete_button_clicked): Now much less lame about dealing with the
	CList when items are removed; supports [un]marking the
	GncDenseCal.

	* src/gnome/dialog-scheduledxaction.c (editor_ok_button_clicked):
	Query the user if they want to create an unbalanceable
	[varible-containing] transaction. Inform the user if they try to
	create an auto-create transaction which has variables, as this is
	not allowed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6980 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-19 05:04:56 +00:00
Derek Atkins
687188fda5 Better logging of tests. The test still fails, but now it's
clear why.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6979 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-18 22:21:46 +00:00
Derek Atkins
4dbf716908 Better error messages
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6978 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-18 21:38:35 +00:00
David Hampton
4ef5bd9cfb Reorganize menus in the register window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6977 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-18 17:47:51 +00:00
Derek Atkins
5c3ba03796 Change some column headings per Wilddev's suggestion
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6976 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-17 19:30:35 +00:00
Derek Atkins
01743053ab Update the QUERY hooks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6975 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-17 15:07:37 +00:00
Derek Atkins
19cc155b3e Add a notes field to the entry object.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6974 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-17 04:04:05 +00:00
Derek Atkins
b1f316cd2a Put the account tree into a scrolled window
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6973 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 22:27:36 +00:00
Derek Atkins
437cc9b14a business-reports is loaded from C; don't need it here
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6972 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 21:56:39 +00:00
Derek Atkins
0f3b2e9061 compile with GUILE INCS and LIBS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6971 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 21:55:59 +00:00
Derek Atkins
5293ffa681 update the list of files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6970 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 21:55:32 +00:00
David Hampton
4ca475873a Make the tax table dialog a little bigger.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6969 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 21:06:39 +00:00