[invoice] deprecate easy/fancy-invoice creation hooks

pull/548/head
Christopher Lam 7 years ago
parent 55e196ab5b
commit 0c3f460e9f

@ -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)

Loading…
Cancel
Save