[freeside-commits] freeside/httemplate/edit/cust_main billing.html, 1.46.2.5, 1.46.2.6 contact.html, 1.21.2.1, 1.21.2.2
Mark Wells
mark at wavetail.420.am
Sat Feb 18 18:30:53 PST 2012
Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail.420.am:/tmp/cvs-serv22095/httemplate/edit/cust_main
Modified Files:
Tag: FREESIDE_2_3_BRANCH
billing.html contact.html
Log Message:
more per-agent options, #15973
Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/billing.html,v
retrieving revision 1.46.2.5
retrieving revision 1.46.2.6
diff -u -w -d -r1.46.2.5 -r1.46.2.6
--- billing.html 14 Jan 2012 07:05:17 -0000 1.46.2.5
+++ billing.html 19 Feb 2012 02:30:50 -0000 1.46.2.6
@@ -480,7 +480,8 @@
% unless ( $conf->exists('cust-email-high-visibility')) {
<TR>
<TD ALIGN="right" WIDTH="200">
- <% $conf->exists('cust_main-require_invoicing_list_email') ? $r : '' %>Email address(es)
+ <% $conf->exists('cust_main-require_invoicing_list_email', $agentnum)
+ ? $r : '' %>Email address(es)
</TD>
<TD WIDTH="408"><INPUT TYPE="text" NAME="invoicing_list" VALUE="<% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) %>"></TD>
</TR>
@@ -614,4 +615,6 @@
$show_term = $term_sth->fetchrow_arrayref->[0];
}
+my $agentnum = $cust_main->agentnum if $cust_main->custnum;
+
</%init>
Index: contact.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/contact.html,v
retrieving revision 1.21.2.1
retrieving revision 1.21.2.2
diff -u -w -d -r1.21.2.1 -r1.21.2.2
--- contact.html 27 Sep 2011 23:01:34 -0000 1.21.2.1
+++ contact.html 19 Feb 2012 02:30:50 -0000 1.21.2.2
@@ -21,7 +21,8 @@
% if ( $conf->exists('cust-email-high-visibility') && !$pre ) {
<TR>
<TD ALIGN="right" WIDTH="200">
- <% $conf->exists('cust_main-require_invoicing_list_email') ? $r : '' %>Email address(es)
+ <% $conf->exists('cust_main-require_invoicing_list_email', $agentnum)
+ ? $r : '' %>Email address(es)
</TD>
<TD bgcolor="#FFFF00">
<INPUT TYPE="text" NAME="invoicing_list" VALUE="<% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) %>">
@@ -209,4 +210,6 @@
my @invoicing_list = $cust_main->invoicing_list;
+my $agentnum = $cust_main->agentnum if $cust_main->custnum;
+
</%init>
More information about the freeside-commits
mailing list