Commit Graph

6168 Commits

Author SHA1 Message Date
Derek Atkins
40f6ede615 * Convert all (well, most all) HTML URL-generators to use
gnc_build_url() (or gnc:html-build-url in scheme) instead of
	assuming the HTML prototype string.  Unfortunately the
	help-window-index.scm cannot be fixed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7060 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-07-01 23:01:12 +00:00
Christian Stimming
40c360338a 2002-07-02 Christian Stimming <stimming@tuhh.de>
* accounts/fr_FR/*: Add french account hierarchy template by
	Yannick LE NY <y-le-ny@ifrance.com> (might need more work though.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7057 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-07-01 22:24:28 +00:00
Christian Stimming
a3ac6afc6b Fix missing gnome_libdir.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7056 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-07-01 21:30:09 +00:00
Derek Atkins
e576f51997 Don't assume gnu-date; use +FORMAT instead (which is more portable)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7055 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-07-01 20:52:08 +00:00
Joshua Sled
fab186c56b 2002-07-01 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/gnc-dense-cal.c (gnc_dense_cal_mark_remove):
	Unrealistic marks [such as '-1'] are now ignored instead of
	hitting assertion.

	* src/gnome/dialog-scheduledxaction.c: Dead code removal; naming
	clarifications.
	(gnc_sxed_check_consistent): Added.
	(gnc_sxed_check_changed): Added; used when the cancel button is
	pressed.  SX editor now queries the user if the SX has changed.
	(gnc_sxed_save_sx): Added; seperated from consistency-check.
	(_gnc_sxed_get_widgets): Added; many glade_xml_get_widget(...)s
	removed from code.
	(free_var_numeric): Added; we now cleanup the temporary variable
	table correctly after doing balance checking.
	(schedXact_editor_create_ledger): RegWidget toolbar shouldn't
	expand; fixed.
	(putSchedXactionInDialog): Fixed assertion-failure/abort when a
	previously-unscheduled SX is scheduled.

	* src/engine/SchedXaction.c (xaccSchedXactionGetNextInstance),
	(xaccSchedXactionGetInstanceAfter): Fixed bug in
	number-of-occurance instance-state processing.

	* src/register/ledger-core/gnc-regwidget.c:
	* src/gnome/dialog-schedxaction.c:
	* src/gnome/dialog-sxsincelast.c:
	* src/engine/SchedXaction.[ch]:
	* src/engine/FreqSpec.[ch]: Dead code removal/cleanup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7054 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-07-01 19:12:37 +00:00
Derek Atkins
52b503aca9 * fix the business XML to use symbolic names for enums (instead of
their integer values).  This is an incompatible change -- old
	business XML objects will not load properly.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7053 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-07-01 18:31:48 +00:00
Derek Atkins
edc1a34ecc * gnc-html: convert URLType from enum to char*
* gw-gnome-utils-spec: wrap URLType type, #defines, and gnc_build_url()
	* get the rest of the C code to use URLTypes properly


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7052 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-07-01 17:27:11 +00:00
David Hampton
6cd1c16df0 Fix a comment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7051 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-29 20:28:56 +00:00
David Hampton
9dec16811b Add the current version number or cvs build date to the splash screen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7050 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-29 20:28:31 +00:00
Derek Atkins
f232f64158 Add a 'Reconciled Date' column to print the date of reconciled splits.
It is turned off by default.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7049 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-29 15:47:06 +00:00
Derek Atkins
72ba391d45 wrap SPLIT_DATE_RECONCILED parameter
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7048 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-29 15:37:23 +00:00
David Hampton
089f36853f Use the actual version number.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7047 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-28 22:51:04 +00:00
Chris Lyttle
2c66ccb656 updated image to remove version info
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7046 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-28 22:42:17 +00:00
Chris Lyttle
9c3904576b updated image to remove version info
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7045 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-28 21:56:56 +00:00
Derek Atkins
d79cc8cbe2 Add a text label around the splash screen that includes the Gnucash
Version (currently hard-coded to "Version: Gnucash-CVS")


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7044 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-28 21:08:51 +00:00
Derek Atkins
e5431b6807 Set the query to limit searches to splits that belong to the
customer (or vendor) in question.  This way you can have multiple
customers sharing an A/R account and report on just an individual
customer.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7043 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-28 05:04:56 +00:00
Derek Atkins
c9d24dac4f Add Query system hooks for invoice-from-lot, invoice-from-txn and
owner-from-lot.  Wrap some of the business query-param names.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7042 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-28 04:39:18 +00:00
Derek Atkins
8f63db0411 create xaccQueryAddGUIDMatchGL() and wrap it. This is a special function
that takes a GUID (instead of a const GUID *) and a GList (instead of
a GSList) and performs an gncQueryAddGUIDMatch().

Add Lots to the query infrastructure, so we can add Lot-based lookups
and queries.

Add SPLIT_LOT parameter and wrap it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7041 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-28 04:20:46 +00:00
Derek Atkins
6470316116 * Change the "Owner Report" to a "Customer Report" and "Vendor
Report" Create a plug-in system to plug reports into the Register
	Window, keyed off of the account type and whether a split exists
	(for a "Transaction" report).  This required changes to the
	payables and receivables (aging) reports.

	* Tie the Customer and Vendor reports in, so you can bring up a
	Customer Report by selecting a transaction in an A/R account and
	clicking on Reports -> Transaction Report.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7040 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-28 03:42:26 +00:00
Derek Atkins
bceb36bd12 wrap gncInvoiceGetInvoiceFromTxn()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7039 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-28 03:01:20 +00:00
Derek Atkins
611cc941d6 wrap xaccSplitGetLot()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7038 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-28 02:59:58 +00:00
Derek Atkins
43083bb2db * Create an "owner-report" which prints out a set of Invoice and
Payment transactions and also an aging report for a single "owner"
	(e.g. Customer or Vendor).  This is still a first pass, so it
	might not be correct.  It uses Lots, but it assumes that the
	Account is periodically closed and re-opened (does not have a
	'start-date').  It still needs to be tied into the main GUI.

	* gncJob: add gncJobRetGUID() and gncJobLookupDirect()

	* gncOwner: add gncOwnerRetGUID()

	* gw-business-core-spec.scm: wrap GncAmountType, GncTaxIncluded
	GncBillTermType, gncInvoiceGetInvoiceFromLot(), gncJobRetGUID(),
	jobJobLookupDirect(), gncOwnerGetEndOwner(),
	gncOwnerGetOwnerFromLot(), gncOwnerRetGUID()

	* business-gnome.scm: add extensions to test the owner-report

	* business-options.scm: add an "owner" option-type


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7037 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-27 20:03:19 +00:00
Derek Atkins
4e89bf835d wrap xaccTransOrder() for use by scheme
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7036 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-27 19:57:28 +00:00
Derek Atkins
61ade522d6 wrap xaccQueryGetLots()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7035 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-27 14:12:04 +00:00
Derek Atkins
b4e4b08957 Implement xaccQueryGetLots() which is just like xaccQueryGetTransactions()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7034 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-27 14:10:40 +00:00
Derek Atkins
f5994b5554 add gnc_lot_count_splits() function
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7033 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-27 14:09:53 +00:00
Derek Atkins
2ce7831f7d src/engine/Transaction.[ch]: add xaccTransGetAccountValue() method to compute
the sum of all Splits in a Transaction that touch a specific Account.  This
  is most useful with lots.

src/engine/gw-engine-spec.scm: wrap some of the Lot API and the new function
  xaccTransGetAccountValue(), and xaccTransGetTxnType()


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7032 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-27 02:11:17 +00:00
Derek Atkins
094f790dd0 deal properly if owner == NULL (return FALSE)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7031 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-26 23:18:22 +00:00
Derek Atkins
aa9324090e Uncomment code I commented before. Keep the window size instead of
always resiing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7030 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-25 23:32:24 +00:00
David Hampton
0f637a6a41 Fix guile-1.4.1 srfi problem.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7026 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-25 20:54:40 +00:00
Derek Atkins
ec0dbe6b44 * gncOwner.[ch]: Provide functions to store/lookup an owner in a
Lot's kvp_frame.

	* gncInvoice.c: add implemention of GetPostedLot(); when posting
	to an Account, look for any pre-payment Lots and post to that.  If
	the Invoice total < pre-payment, then autmatically forward the
	payments to a future Lot.  If no pre-payment Lot is found, then
	create a new one.

	* dialog-payment.c: force payment amounts to be positive values
	(you cannot un-pay via this dialog).  Apply payments to open
	Invoice Lots in a FIFO manner (by Due Date).  If there is anything
	left over, then create a pre-payment Lot.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7024 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-25 15:08:50 +00:00
Derek Atkins
131add077d src/engine/Account.[ch]: add convenience function to find open lots
that meet caller's criteria, and create a
			 sorted list (maybe)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7023 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-25 14:58:36 +00:00
Derek Atkins
7ddf9aa4e8 Force recomputation of lots' is_closed flag when splits are added
or removed.  Otherwise it's possible to return a false-negative
cached response.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7022 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-25 14:13:50 +00:00
Derek Atkins
d77cf0dbc6 actually create the kvp_frame for the lot
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7021 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-25 05:20:19 +00:00
Derek Atkins
225fbb6934 Fix a typo in a function name that I didn't catch earlier
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7020 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-06-25 04:20:53 +00:00
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