freeside/httemplate/view cust_bill.cgi,1.30,1.31

Ivan Kohler ivan at pouncequick.420.am
Thu Jun 2 02:30:31 PDT 2005


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory pouncequick:/tmp/cvs-serv23604/httemplate/view

Modified Files:
	cust_bill.cgi 
Log Message:
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

Index: cust_bill.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill.cgi,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- cust_bill.cgi	1 Jun 2005 23:40:13 -0000	1.30
+++ cust_bill.cgi	2 Jun 2005 09:29:53 -0000	1.31
@@ -67,11 +67,8 @@
     <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>




More information about the freeside-commits mailing list