From 8bd744d6d027ca02103b66d5e1026c85d0f7f374 Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Mon, 27 May 2002 18:24:41 +0000 Subject: [PATCH] Use the new invoice option to hold the invoice being shown git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6921 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/report/standard-reports/invoice.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/report/standard-reports/invoice.scm b/src/report/standard-reports/invoice.scm index d6defc6c03..67bb71a5d1 100644 --- a/src/report/standard-reports/invoice.scm +++ b/src/report/standard-reports/invoice.scm @@ -14,7 +14,7 @@ (require 'record) (gnc:module-load "gnucash/report/report-system" 0) -(gnc:module-load "gnucash/business-core" 0) +(gnc:module-load "gnucash/business-gnome" 0) (define-macro (addto! alist element) `(set! ,alist (cons ,element ,alist))) @@ -196,7 +196,8 @@ (gnc:register-option gnc:*report-options* new-option)) (gnc:register-inv-option - (gnc:make-internal-option "__reg" "invoice" #f)) + (gnc:make-invoice-option "__reg" "invoice" "" "" + (lambda () #f) #f)) (gnc:register-inv-option (gnc:make-simple-boolean-option