mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[invoice] deprecate easy/fancy-invoice creation hooks
This commit is contained in:
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…
Reference in New Issue
Block a user