From b9659e5372a344fbc027720939625de1fd99645d Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 15 Sep 2006 19:16:37 +0000 Subject: [PATCH] add link to customer tax exemptions to customer view page --- httemplate/view/cust_main/payment_history.html | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html index a922cfc0a..4e4cd154f 100644 --- a/httemplate/view/cust_main/payment_history.html +++ b/httemplate/view/cust_main/payment_history.html @@ -1,46 +1,36 @@ - -

Payment History
% my $s = 0; % if ( $payby{'BILL'} && $curuser->access_right('Post payment') ) { - <% $s++ ? ' | ' : '' %> Enter check payment % } -% if ( $payby{'CASH'} && $curuser->access_right('Post payment') ) { - +% if ( $payby{'CASH'} && $curuser->access_right('Post payment') ) { <% $s++ ? ' | ' : '' %> Enter cash payment % } -% if ( $payby{'WEST'} && $curuser->access_right('Post payment') ) { - +% if ( $payby{'WEST'} && $curuser->access_right('Post payment') ) { <% $s++ ? ' | ' : '' %> Enter Western Union payment % } + % if ( ( $payby{'CARD'} || $payby{'DCRD'} ) % && $curuser->access_right('Process payment') % ) { -% - - <% $s++ ? ' | ' : '' %> Process credit card payment % } + % if ( ( $payby{'CHEK'} || $payby{'DCHK'} ) % && $curuser->access_right('Process payment') % ) { -% - - <% $s++ ? ' | ' : '' %> Process electronic check (ACH) payment % } -% if ( $payby{'MCRD'} && $curuser->access_right('Post payment') ) { - +% if ( $payby{'MCRD'} && $curuser->access_right('Post payment') ) { <% $s++ ? ' | ' : '' %> Post manual (offline) credit card payment % } @@ -57,8 +47,6 @@
% } - - %#get payment history %my @history = (); % @@ -571,4 +559,3 @@ my @payby = grep /\w/, $conf->config('payby'); my %payby = map { $_=>1 } @payby; - -- 2.11.0