summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-01-03 10:43:28 -0500
committerChristopher Burger <burgerc@freeside.biz>2018-06-19 12:48:41 -0400
commit2d99d3bc66423a833a67e42f88283d240e91fb7a (patch)
tree4098e3eaae2908eefd534b7ba64611fdae43ab3c
parentdcb7068e87e2130f939f6e83c3d40187ad39863a (diff)
RT# 34134 - added documentation for new feature
Conflicts: httemplate/elements/tr-select-payment_options.html
-rw-r--r--httemplate/elements/tr-select-invoice.html13
1 files changed, 12 insertions, 1 deletions
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
+ )
+
+</%doc>
<TR ID="invoice_row" STYLE="display:none;">
<TH ALIGN="right"><% mt('Open invoices') |h %></TH>
@@ -6,7 +18,6 @@
ID = "<% $opt{prefix} %>invoice"
NAME = "<% $opt{prefix} %>invoice"
onChange = "<% $opt{prefix} %>invoice_select_changed(this)"
- <% $opt{disabled} %>
>
<OPTION VALUE="select">Select an invoice to pay</OPTION>
% foreach my $record (@records) {