summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-discount_term.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-select-discount_term.html')
-rw-r--r--httemplate/elements/tr-select-discount_term.html25
1 files changed, 0 insertions, 25 deletions
diff --git a/httemplate/elements/tr-select-discount_term.html b/httemplate/elements/tr-select-discount_term.html
deleted file mode 100644
index 58582675d..000000000
--- a/httemplate/elements/tr-select-discount_term.html
+++ /dev/null
@@ -1,25 +0,0 @@
-% if ( scalar(@discount_term) ) {
- <TR>
- <TD ALIGN="right">Prepayment for</TD>
- <TD COLSPAN=2>
- <% include('select-discount_term.html',
- 'discount_term' => \@discount_term,
- 'cgi' => $opt{'cgi'},
- )
- %>
- </TD>
- </TR>
-
-% }
-
-<%init>
-my %opt = @_;
-
-my $custnum = $opt{'custnum'};
-
-my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
- or die "unknown custnum $custnum\n";
-
-my @discount_term = $cust_main->discount_terms;
-
-</%init>