[freeside-commits] freeside/httemplate/view/cust_main
payment_history.html, 1.20, 1.21
Ivan,,,
ivan at wavetail.420.am
Sat Feb 3 17:47:53 PST 2007
- Previous message: [freeside-commits] freeside/httemplate/search cust_pay_batch.cgi,
1.5, 1.6
- Next message: [freeside-commits] freeside/FS/FS cust_pay_batch.pm, 1.21,
1.22 pay_batch.pm, 1.4, 1.5 Record.pm, 1.134,
1.135 cust_main.pm, 1.270, 1.271
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv23360/view/cust_main
Modified Files:
payment_history.html
Log Message:
add link to some batched payment info to customer view
Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- payment_history.html 8 Jan 2007 17:36:53 -0000 1.20
+++ payment_history.html 4 Feb 2007 01:47:51 -0000 1.21
@@ -49,6 +49,17 @@
<BR>
% }
+% if ( $conf->exists('batch-enable')
+% #&& $curuser->access_right('View customer tax exemptions')
+% ) {
+ View batched payments:
+% foreach my $status (qw( Queued In-transit Complete All )) {
+ <A HREF="<% $p %>search/cust_pay_batch.cgi?status=<% $status{$status} %>;custnum=<% $custnum %>"><% $status %></A>
+ <% $status ne 'All' ? '|' : '' %>
+% }
+ <BR>
+% }
+
%#get payment history
%my @history = ();
%
@@ -584,4 +595,11 @@
unless @payby;
my %payby = map { $_=>1 } @payby;
+my %status = (
+ 'Queued' => 'O', #Open
+ 'In-transit' => 'I',
+ 'Complete' => 'R', #Resolved
+ 'All' => '',
+);
+
</%init>
- Previous message: [freeside-commits] freeside/httemplate/search cust_pay_batch.cgi,
1.5, 1.6
- Next message: [freeside-commits] freeside/FS/FS cust_pay_batch.pm, 1.21,
1.22 pay_batch.pm, 1.4, 1.5 Record.pm, 1.134,
1.135 cust_main.pm, 1.270, 1.271
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list