projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nibblebill integrateion, RT#19587
[freeside.git]
/
httemplate
/
elements
/
contact.html
diff --git
a/httemplate/elements/contact.html
b/httemplate/elements/contact.html
index
b3e5353
..
3d51776
100644
(file)
--- a/
httemplate/elements/contact.html
+++ b/
httemplate/elements/contact.html
@@
-2,9
+2,9
@@
<INPUT TYPE="hidden" NAME="<%$name%>" ID="<%$id%>" VALUE="<% $curr_value %>">
<INPUT TYPE="hidden" NAME="<%$name%>" ID="<%$id%>" VALUE="<% $curr_value %>">
- <TABLE>
+ <TABLE
STYLE="display:inline"
>
<TR>
<TR>
-% if ( @contact_class ) {
+% if ( @contact_class
&& ! $opt{name_only}
) {
<TD>
<SELECT NAME="<%$name%>_classnum" <% $onchange %>>
<OPTION VALUE="">
<TD>
<SELECT NAME="<%$name%>_classnum" <% $onchange %>>
<OPTION VALUE="">
@@
-15,7
+15,7
@@
<% ($contact_class->classnum == $classnum) ? 'SELECTED' : '' %>
><% $contact_class->classname |h %>
% }
<% ($contact_class->classnum == $classnum) ? 'SELECTED' : '' %>
><% $contact_class->classname |h %>
% }
- <SELECT><BR>
+ <
/
SELECT><BR>
<FONT SIZE="-1">Type</FONT>
</TD>
% } else {
<FONT SIZE="-1">Type</FONT>
</TD>
% } else {
@@
-106,6
+106,6
@@
foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) {
$label{'comment'} = 'Comment';
$label{'comment'} = 'Comment';
-my @fields = keys %label;
+my @fields =
$opt{'name_only'} ? qw( first last ) :
keys %label;
</%init>
</%init>