diff options
author | ivan <ivan> | 2005-06-02 09:29:56 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-06-02 09:29:56 +0000 |
commit | 684a478c0f88e5bf6d1d3f32f4618089146b5709 (patch) | |
tree | 1f0c8e23048aa20e872ff10f07a134436968ac43 /httemplate/view/cust_bill.cgi | |
parent | 14cc10e34e277f4761be76d67d621b5a5d10a87f (diff) |
add ability to search on a date range of invoice events and then reprint or reemail (boy was that a bit more work than i expected), closes: Bug#946
Diffstat (limited to 'httemplate/view/cust_bill.cgi')
-rwxr-xr-x | httemplate/view/cust_bill.cgi | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index 38c57ec18..d149cf172 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -67,11 +67,8 @@ my $link = $templatename ? "$templatename-$invnum" : $invnum; <TR> <TD><%= $part_bill_event->event %> - <% if ( - $part_bill_event->plan eq 'send_alternate' - && $part_bill_event->plandata =~ /^(agent_)?templatename (.*)$/m - ) { - my $alt_templatename = $2; + <% if ( $part_bill_event->templatename ) { + my $alt_templatename = $part_bill_event->templatename; my $alt_link = "$alt_templatename-$invnum"; %> ( <A HREF="<%= $p %>view/cust_bill.cgi?<%= $alt_link %>">view</A> |