[freeside-commits] freeside/httemplate/view cust_pay.html, 1.6, 1.7 cust_bill.cgi, 1.41, 1.42

Ivan,,, ivan at wavetail.420.am
Wed Jul 29 23:42:34 PDT 2009


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

Modified Files:
	cust_pay.html cust_bill.cgi 
Log Message:
experimental package balances, RT#4339

Index: cust_bill.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_bill.cgi,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- cust_bill.cgi	3 Dec 2008 21:12:20 -0000	1.41
+++ cust_bill.cgi	30 Jul 2009 06:42:32 -0000	1.42
@@ -6,6 +6,7 @@
 % if ( $cust_bill->owed > 0
 %      && scalar( grep $payby{$_}, qw(BILL CASH WEST MCRD) )
 %      && $FS::CurrentUser::CurrentUser->access_right('Post payment')
+%      && ! $conf->exists('pkg-balances')
 %    )
 % {
 %     my $s = 0;

Index: cust_pay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_pay.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cust_pay.html	27 Jul 2009 09:07:24 -0000	1.6
+++ cust_pay.html	30 Jul 2009 06:42:32 -0000	1.7
@@ -93,6 +93,15 @@
 
 % }
 
+% if ( $conf->exists('pkg-balances') && $cust_pay->pkgnum ) {
+%   my $cust_pkg = qsearchs('cust_pkg', { 'pkgnum' => $cust_pay->pkgnum } );
+    <TR>
+      <TD ALIGN="right">For package</TD>
+      <TD BGCOLOR="#FFFFFF"><B><% $cust_pkg->pkg_label_long %></B></TD>
+    </TR>
+
+% }
+
 </TABLE>
 
 % if ( $link eq 'print' ) {



More information about the freeside-commits mailing list