summaryrefslogtreecommitdiff
path: root/httemplate/elements/search-cust_main.html
diff options
context:
space:
mode:
authorivan <ivan>2010-02-04 10:00:33 +0000
committerivan <ivan>2010-02-04 10:00:33 +0000
commit1bfbab83c338f6a11ae26c4d197ad775c568ebde (patch)
treeaf99af5a52390fcfa09a8fdb69b68927d3d0272d /httemplate/elements/search-cust_main.html
parent6d43279ab6b571ad33d2d89d7403b72fdf5bc772 (diff)
add ability to edit referring customer, RT#7174
Diffstat (limited to 'httemplate/elements/search-cust_main.html')
-rw-r--r--httemplate/elements/search-cust_main.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/httemplate/elements/search-cust_main.html b/httemplate/elements/search-cust_main.html
index dbcc2ed0b..ef0d22ced 100644
--- a/httemplate/elements/search-cust_main.html
+++ b/httemplate/elements/search-cust_main.html
@@ -1,3 +1,15 @@
+<%doc>
+
+Example:
+
+ include( '/elements/search-cust_main.html,
+ 'field_name' => 'custnum',
+ 'find_button' => 1, #add a "find" button to the field
+ 'curr_value' => 54, #current value
+ 'value => 32, #deprecated synonym for curr_value
+ );
+
+</%doc>
<INPUT TYPE="hidden" NAME="<% $opt{'field_name'} %>" VALUE="<% $value %>">
<!-- some false laziness w/ misc/batch-cust_pay.html, though not as bad as i'd thought at first... -->