diff options
author | levinse <levinse> | 2011-06-03 04:36:48 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-06-03 04:36:48 +0000 |
commit | aa5ded92573a8f848d3652234bcfd4f8e4f0f06d (patch) | |
tree | 61ae241f1ac87803dc2d04b646c11abebbd3d6ee /httemplate | |
parent | 1a0bdda475472f8bebb06517af4ec1e8ce78865f (diff) |
configurable alternate field order for cust edit, RT13102
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/edit/cust_main/contact.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/contact.html b/httemplate/edit/cust_main/contact.html index a53c78905..3dd24aae5 100644 --- a/httemplate/edit/cust_main/contact.html +++ b/httemplate/edit/cust_main/contact.html @@ -29,6 +29,7 @@ </TR> % } +% unless ( $conf->exists('cust-edit-alt-field-order') ) { <TR> <TD ALIGN="right"><% mt('Company') |h %></TD> <TD COLSPAN=7> @@ -68,6 +69,49 @@ </TD> </TR> +% } else { + +<TR> + <TD ALIGN="right"><% $daytime_label %></TD> + <TD COLSPAN=5> + <INPUT TYPE="text" NAME="<%$pre%>daytime" VALUE="<% $cust_main->get($pre.'daytime') %>" SIZE=18 onChange="<% $onchange %>" <%$disabled%> <%$style%>> + </TD> +</TR> + +<TR> + <TD ALIGN="right"><% $night_label %></TD> + <TD COLSPAN=5> + <INPUT TYPE="text" NAME="<%$pre%>night" VALUE="<% $cust_main->get($pre.'night') %>" SIZE=18 onChange="<% $onchange %>" <%$disabled%> <%$style%>> + </TD> +</TR> + +<& /elements/location.html, + 'prefix' => $pre, + 'object' => $cust_main, + 'onchange' => $onchange, + 'disabled' => $disabled, + 'style' => \@style, + 'same_checked' => $opt{'same_checked'}, + 'geocode' => $opt{'geocode'}, + 'censustract' => $opt{'censustract'}, +&> + +<TR> + <TD ALIGN="right"><% mt('Fax') |h %></TD> + <TD COLSPAN=5> + <INPUT TYPE="text" NAME="<%$pre%>fax" VALUE="<% $cust_main->get($pre.'fax') %>" SIZE=12 onChange="<% $onchange %>" <%$disabled%> <%$style%>> + </TD> +</TR> + +<TR> + <TD ALIGN="right"><% mt('Company') |h %></TD> + <TD COLSPAN=7> + <INPUT TYPE="text" NAME="<%$pre%>company" VALUE="<% $cust_main->get($pre.'company') |h %>" SIZE=70 onChange="<% $onchange %>" <%$disabled%> <%$style%>> + </TD> +</TR> + +% } + % if ( $conf->exists('show_stateid') && !$pre ) { <TR> |