diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /httemplate/elements/tr-select-part_referral.html | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'httemplate/elements/tr-select-part_referral.html')
-rw-r--r-- | httemplate/elements/tr-select-part_referral.html | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/httemplate/elements/tr-select-part_referral.html b/httemplate/elements/tr-select-part_referral.html deleted file mode 100644 index a589528d7..000000000 --- a/httemplate/elements/tr-select-part_referral.html +++ /dev/null @@ -1,37 +0,0 @@ -% if ( scalar( @{$opt{'part_referrals'}} ) == 0 ) { - <P><FONT SIZE="+1" COLOR="#ff0000">You have not created any advertising sources. You must create at least one advertising source before adding a customer. Go to <A HREF="<% popurl(2) %>browse/part_referral.html">advertising source listing</A> and create one or more advertising sources.</FONT> -% } elsif ( scalar( @{$opt{'part_referrals'}} ) == 1 ) { - - <INPUT TYPE="hidden" NAME="<% $opt{'element_name'} || $opt{'field'} || 'refnum' %>" VALUE="<% $opt{'part_referrals'}->[0]->refnum %>"> - -% } else { - - <TR> -% if ( $opt{'label'} ) { - <TD ALIGN="right"><% $opt{'label'} %></TD> -% } else { - <TH ALIGN="right"><%$r%>Advertising source</TH> -% } - <TD COLSPAN="<% $colspan %>"> - <% include( '/elements/select-part_referral.html', - 'curr_value' => $refnum, - %opt - ) - %> - </TD> - </TR> - -% } -<%init> - -my %opt = @_; -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> !; - -</%init> |