Commit Graph

15 Commits

Author SHA1 Message Date
Derek Atkins
f53542a337 Fix a typo; forgot one procedure name-change instance.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13268 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-15 15:16:45 +00:00
Derek Atkins
dd03084db4 Rework some APIs for the fancy-invoice set the client name font. #327545.
* src/business/business-core/business-core.scm:
	  add gnc:owner-get-name-dep and gnc:owner-get-address-dep APIs
	* src/business/business-reports/fancy-invoice.scm:
	  Change the font of the client company name to match the
	  owner company name.  Fixes #327545.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13233 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 16:16:20 +00:00
Derek Atkins
6dacd59a05 rename gnc:owner-get-address-dep to gnc:owner-get-name-and-address-dep
in preparation of some other patches.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13232 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 15:28:58 +00:00
Derek Atkins
e5ab6b7529 Fix recursion in gnc:owner-get-owner-id (reported by Chase James).
* src/business/business-core/business-core.scm:  need to
	  properly recurse in gnc:owner-get-owner-id.  there is no
	  gnc:owner-get-id API.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11263 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-08-15 12:54:21 +00:00
Derek Atkins
875e3e49bc When building the "name + address" string, check if the
company name and contact name are the same and, if so,
	  only print one of them.  Fixes #109753.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8163 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-04-02 03:38:23 +00:00
Derek Atkins
9b176de263 * src/business/business-core/business-core.scm: don't export
gnc:owner-get-name -- it overrides the g-wrap'ed version


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8038 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-03 22:45:31 +00:00
Derek Atkins
81a48fdb10 * src/business/business-core/business-core.scm:
don't need gnc:owner-get-name in scheme
	  add employee support to owners
	  fix bug in (gnc:owner-get-id)
	* src/business/business-core/gncEmployee.[ch]:
	  add APIs to get-guid and lookup from scheme
	* src/business/business-core/gw-business-core-spec.scm:
	  wrap employee-get-guid, employee-lookup, employee-get-id,
	  employee-get-username, employee-get-addr, owner-init-employee,
	  owner-get-employee, owner-get-name
	* src/business/business-gnome/business-options-gnome.c:
	  create an "employee option" widget set
	* src/business/business-gnome/business-urls.c:
	  define an 'employee' URL type
	* src/business/business-gnome/dialog-employee.[ch]:
	  remove old, unused search APIs,
	  add new search APIs
	* src/business/business-gnome/dialog-invoice.c:
	  add _some_ employee support.  Still doesn't contain the code
	  to display an employee-owned invoice (expense voucher).
	* src/business/business-utils/business-options.scm:
	  create an employee option type
	* src/business/business-core/gncInvoice.c:
	* src/business/business-core/gncOwner.[ch]:
	* src/business/business-core/file/gnc-owner-xml-v2.c:
	* src/business/business-gnome/business-gnome-utils.c
	* src/business/business-gnome/search-owner.c:
	  add employee support


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8036 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-03 06:47:54 +00:00
Derek Atkins
e9b93eeccf * src/business/business-core/business-core.scm: return #f if
we cannot obtain an owner from a split (in the case of a regularly-
	  entered split)
	* src/business/business-reports/aging.scm:
	* src/business/business-reports/owner-report.scm:
	  Cope with not being able to obtain an owner from a split.
	  In particular, ignore it.  Fixes part of #97097.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7800 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-07 23:31:35 +00:00
Derek Atkins
c917663ad3 * business-core.scm: fix a typo
* business-options.c: implement invoice option for the dialog
	* gncEntryLedgerLoad.c: fix a compiler warning
	* invoice.scm: make report visible; deal with no invoice; make
	  invoice a visible option on the general page; deal with "printing"
	  un-posted invoices.
	* receivables.scm: remove code I don't need


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7085 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-07-04 15:31:55 +00:00
Derek Atkins
7347c8c378 * moved receivable and payable aging reports to business-reports;
added "links" to the company, invoices, and company-report.
	Create a "Business Reports" menu item under "Reports" and put the
	business reports there.  This required a new startup hook to allow
	dynamic creation of the Report Menu.  Change the aging reports to
	use Invoices and Lots instead of the transaction description to
	differentiate actual companies.

	* dialog-invoice: publish the function to open a company-report

	* business-urls: hooks into gnc-html for business objects.
	Initialize at module load-time.  wrap the business url types.

	* business-core: create gnc:owner-from-split which is used by a
	bunch of the business reports.  wrap gncOwnerCopy().

	* fix the "Create Test Data" extension


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7080 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-07-04 02:39:19 +00:00
Derek Atkins
cc76359407 It helps to recurse into oneself
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6841 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-08 23:13:51 +00:00
Derek Atkins
06a94557b3 Change the format of Invoices slightly, in preparation for Lots.
In partciular, remove the due-date and paid-date from the invoice
itself (let A/R and A/P handle that with Lots).  Change the Invoice
Window from a Dialog to a GnomeApp -- provide a toolbar. Also remove
Orders from the UI.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6839 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-08 20:42:38 +00:00
Derek Atkins
d23182e372 gncInvoice: change interfaces from "const Timespec *" to "Timespec"
for the setter methods
Improved invoice report
wrapped a few more business objects


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6740 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-26 23:42:11 +00:00
Derek Atkins
f840788ccb Create a new Invoice Report to print a GncInvoice
remove the "Invoice" report from the old register report


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6739 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-26 06:07:09 +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