[freeside-commits] freeside/httemplate/view/cust_main
payment_history.html, 1.14, 1.15
Ivan,,,
ivan at wavetail.420.am
Fri Sep 15 12:15:36 PDT 2006
- Previous message: [freeside-commits] freeside/FS/FS Schema.pm, 1.28,
1.29 cust_credit_bill_pkg.pm, 1.1, 1.2 cust_bill_pay_pkg.pm,
1.1, 1.2 cust_bill_ApplicationCommon.pm, 1.2, 1.3
- Next message: [freeside-commits] freeside/httemplate/search
cust_tax_exempt_pkg.cgi, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv21910/httemplate/view/cust_main
Modified Files:
payment_history.html
Log Message:
add link to customer tax exemptions to customer view page
Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- payment_history.html 23 Aug 2006 22:25:38 -0000 1.14
+++ payment_history.html 15 Sep 2006 19:15:34 -0000 1.15
@@ -1,25 +1,9 @@
-%
-% my( $cust_main ) = @_;
-% my $custnum = $cust_main->custnum;
-%
-% my $conf = new FS::Conf;
-%
-% my $curuser = $FS::CurrentUser::CurrentUser;
-%
-% my @payby = grep /\w/, $conf->config('payby');
-% #@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP ))
-% @payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP ))
-% unless @payby;
-% my %payby = map { $_=>1 } @payby;
-%
-% my $s = 0;
-%
-%
<BR><BR><A NAME="history"><FONT SIZE="+2">Payment History</FONT></A><BR>
-% if ( $payby{'BILL'} && $curuser->access_right('Post payment') ) {
+% my $s = 0;
+% if ( $payby{'BILL'} && $curuser->access_right('Post payment') ) {
<% $s++ ? ' | ' : '' %>
<A HREF="javascript:void(0);" onClick="overlib( OLiframeContent('<% $p %>edit/cust_pay.cgi?popup=1;payby=BILL;custnum=<% $custnum %>', 392, 336, 'cust_pay_popup' ), CAPTION, 'Enter check payment', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK ); return false;">Enter check payment</A>
@@ -61,16 +45,20 @@
<A HREF="<% $p %>edit/cust_pay.cgi?payby=MCRD;custnum=<% $custnum %>">Post manual (offline) credit card payment</A>
% }
-
<BR>
-% if ( $curuser->access_right('Post credit') ) {
-
+% if ( $curuser->access_right('Post credit') ) {
<A HREF="javascript:void(0);" onClick="overlib( OLiframeContent('<% $p %>edit/cust_credit.cgi?<% $custnum %>', 392, 336, 'cust_credit_popup' ), CAPTION, 'Enter credit', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK ); return false;">Enter credit</A>
+ <BR>
+% }
+% if ( $curuser->access_right('View customer tax exemptions') ) {
+ <A HREF="<% $p %>search/cust_tax_exempt_pkg.cgi?custnum=<% $custnum %>">View tax exemptions</A>
<BR>
% }
-%
+
+
+
%#get payment history
%my @history = ();
%
@@ -567,3 +555,20 @@
</SCRIPT>
+<%init>
+
+my( $cust_main ) = @_;
+my $custnum = $cust_main->custnum;
+
+my $conf = new FS::Conf;
+
+my $curuser = $FS::CurrentUser::CurrentUser;
+
+my @payby = grep /\w/, $conf->config('payby');
+#@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP ))
+ at payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP ))
+ unless @payby;
+my %payby = map { $_=>1 } @payby;
+
+</%init>
+
- Previous message: [freeside-commits] freeside/FS/FS Schema.pm, 1.28,
1.29 cust_credit_bill_pkg.pm, 1.1, 1.2 cust_bill_pay_pkg.pm,
1.1, 1.2 cust_bill_ApplicationCommon.pm, 1.2, 1.3
- Next message: [freeside-commits] freeside/httemplate/search
cust_tax_exempt_pkg.cgi, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list