Commit Graph

6168 Commits

Author SHA1 Message Date
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
Derek Atkins
ca3544d2b1 * Move to invoice report into business-reports (it _IS_ a business
report after all).  Add a business-reports guile module, and get
	it all to work.  Fix the gnucash-build-env script to look in the
	new directories.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6968 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 20:17:14 +00:00
Derek Atkins
9412153252 * Refactor a lot of the business code. Move the tax-table dialog
to its own directory/gnc-module.  Move the business-gnome glade
	files to their own directory.  Create a business-reports directory
	for the current and future business reports.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6967 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 19:07:18 +00:00
Derek Atkins
8ef6d641be Integrate the tax table into the gncEntry object; change how taxes
and discounts are computed, stored, and returned.  Fix the Entry
	XML code to save/load the new taxtable data (not backwards
	compatible).  Integrate new changes into the entry-ledger.

	fix some bugs in the business xml code.  fix some memory leaks.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6966 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-16 05:11:33 +00:00
Derek Atkins
3738df9fc4 * business-core/file/gnc-tax-table-xml-v2.*: Create a preliminary
xml implementation for storing tax tables.

* add some more functions to gncTaxTable.[ch]


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6965 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-14 20:18:34 +00:00
Derek Atkins
851ca85300 Don't allow the user to delete the last entry from a tax table
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6964 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-14 20:16:22 +00:00
Derek Atkins
f55d4caaa1 * business-core/gncTaxTable*: Create a preliminary implementation
of Tax Tables.  They are currently not saved, and nothing uses
	them.  Link the initialization into the module.

	* business-gnome/dialog-tax-table*: Create a tax table GUI to
	create and edit tax tables.  G-wrap the editor-window create
	routine.

	* business-gnome.scm: add the Tax Table gui; rename the 'Invoice'
	option page to "Business".  Fix dialog-invoice to use the new
	option name.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6963 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-14 17:08:19 +00:00
Derek Atkins
00a88c5d4b Actually save 'list' when we reverse it
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6962 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-14 04:35:03 +00:00
David Hampton
2ab8a1186e Menu change tweaks. Stock druid tweaks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6959 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-11 18:51:13 +00:00
David Hampton
d020558263 Use checkmenuitems in the View menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6958 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-11 06:05:24 +00:00
David Hampton
b758e720c7 Remove the 'tax information' item from the account window pop-up menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6957 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-10 04:58:04 +00:00
David Hampton
919425012c Sort the price database by clicking on column titles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6956 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-10 00:35:31 +00:00
David Hampton
c7fd015311 Move 'Business' menu earlier.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6955 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-09 23:28:27 +00:00
David Hampton
5e8141e95f First pass at menu rearranging
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6954 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-09 21:43:51 +00:00
Derek Atkins
dff7a6e9da Create a top-level Business menu item in the main window. You
don't need to run GnuCash with GNC_DEBUG=1 in order to use the
	business functionality.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6953 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-06 04:45:26 +00:00
Derek Atkins
a6e850f8a7 Fix a bug in the invoice-search, setup the query properly so
you don't find all invoices.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6952 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-06 00:11:32 +00:00