[freeside-commits] freeside/httemplate/view cust_main.cgi, 1.141, 1.142

Mark Wells mark at wavetail.420.am
Thu Jun 30 22:33:57 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv17932/httemplate/view

Modified Files:
	cust_main.cgi 
Log Message:
send email from customer view, #13444

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main.cgi,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -w -d -r1.141 -r1.142
--- cust_main.cgi	27 May 2011 02:25:42 -0000	1.141
+++ cust_main.cgi	1 Jul 2011 05:33:55 -0000	1.142
@@ -97,6 +97,17 @@
 % $br=1;
   <A HREF="<% $p %>search/cust_event.html?custnum=<% $custnum %>"><% mt('View billing events for this customer') |h %></A>
 % }
+% 
+% my $email_link = ($cust_main->invoicing_list_emailonly) && 
+%   include('/elements/email-link.html',
+%            'table' => 'cust_main', 
+%            'search_hash' => { 'custnum' => $custnum },
+%            'label' => 'Email a notice to this customer',
+% );
+% if ( $email_link and $br ) {
+ | 
+% }
+<% $email_link || '' %>
 
 % if ( $conf->config('cust_main-external_links') ) {
     <% $br++ ? ' | ' : '' %>



More information about the freeside-commits mailing list