summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-part_referral.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-select-part_referral.html')
-rw-r--r--httemplate/elements/tr-select-part_referral.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-part_referral.html b/httemplate/elements/tr-select-part_referral.html
index 62795e9b2..a589528d7 100644
--- a/httemplate/elements/tr-select-part_referral.html
+++ b/httemplate/elements/tr-select-part_referral.html
@@ -12,7 +12,7 @@
% } else {
<TH ALIGN="right"><%$r%>Advertising source</TH>
% }
- <TD>
+ <TD COLSPAN="<% $colspan %>">
<% include( '/elements/select-part_referral.html',
'curr_value' => $refnum,
%opt
@@ -30,6 +30,8 @@ my $refnum = $opt{'curr_value'} || $opt{'value'};
$opt{'part_referrals'} ||=
[ FS::part_referral->all_part_referral( 1 ) ]; #1: include global
+my $colspan = delete($opt{'colspan'}) || 1;
+
my $r = qq!<font color="#ff0000">*</font>&nbsp;!;
</%init>