[invoice] deprecate easy/fancy-invoice creation hooks

This commit is contained in:
Christopher Lam 2019-08-08 23:10:12 +08:00
parent 55e196ab5b
commit 0c3f460e9f

View File

@ -930,6 +930,8 @@ for styling the invoice. Please see the exported report for the CSS class names.
'in-menu? #t)
(define (gnc:easy-invoice-report-create-internal invoice)
(issue-deprecation-warning
"gnc:easy-invoice-report-create-internal is unused")
(let* ((options (gnc:make-report-options easy-invoice-guid))
(invoice-op (gnc:lookup-option options gnc:pagename-general gnc:optname-invoice-number)))
(gnc:option-set-value invoice-op invoice)
@ -937,6 +939,8 @@ for styling the invoice. Please see the exported report for the CSS class names.
(export gnc:easy-invoice-report-create-internal)
(define (gnc:fancy-invoice-report-create-internal invoice)
(issue-deprecation-warning
"gnc:fancy-invoice-report-create-internal is unused")
(let* ((options (gnc:make-report-options fancy-invoice-guid))
(invoice-op (gnc:lookup-option options gnc:pagename-general gnc:optname-invoice-number)))
(gnc:option-set-value invoice-op invoice)