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/select-discount_term.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/select-discount_term.html')
-rw-r--r-- | httemplate/elements/select-discount_term.html | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/httemplate/elements/select-discount_term.html b/httemplate/elements/select-discount_term.html deleted file mode 100644 index 26d877a86..000000000 --- a/httemplate/elements/select-discount_term.html +++ /dev/null @@ -1,32 +0,0 @@ -% if ( scalar(@discount_term) ) { - <SELECT NAME="discount_term"> - <OPTION VALUE="">1 month -% foreach my $discount_term (@discount_term) { -% my $sel = ( $cgi->param('discount_term') == $discount_term ) ? 'SELECTED' : ''; - <OPTION <% $sel %> VALUE="<% $discount_term %>"><% $discount_term. " months" %> -% } - </SELECT> -% } -<%init> - -my %opt = @_; - -my $cgi = $opt{'cgi'}; - -my @discount_term; -if ( $opt{discount_term} ) { - - @discount_term = @{ $opt{discount_term} }; - -} else { - - my $custnum = $opt{'custnum'}; - - my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } ) - or die "unknown custnum $custnum\n"; - - @discount_term = $cust_main->discount_terms; - -} - -</%init> |