From 2d99d3bc66423a833a67e42f88283d240e91fb7a Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Wed, 3 Jan 2018 10:43:28 -0500 Subject: RT# 34134 - added documentation for new feature Conflicts: httemplate/elements/tr-select-payment_options.html --- httemplate/elements/tr-select-invoice.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'httemplate/elements') diff --git a/httemplate/elements/tr-select-invoice.html b/httemplate/elements/tr-select-invoice.html index 70923b633..3728d348d 100644 --- a/httemplate/elements/tr-select-invoice.html +++ b/httemplate/elements/tr-select-invoice.html @@ -1,3 +1,15 @@ +<%doc> + +Example: + + include( '/elements/tr-select-invoice.html', + + #opt - most get used in /elements/tr-amount-fee + 'custnum' => 4, # customer number, + 'prefix' => 'pre', # prefix to fields and row ID's + ) + + <% mt('Open invoices') |h %> @@ -6,7 +18,6 @@ ID = "<% $opt{prefix} %>invoice" NAME = "<% $opt{prefix} %>invoice" onChange = "<% $opt{prefix} %>invoice_select_changed(this)" - <% $opt{disabled} %> > % foreach my $record (@records) { -- cgit v1.2.1