X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Fcust_main%2Fpayment_history.html;h=63708e63cf99ac0c3f80f5c402dd619a6dfad41c;hb=3ab9b93b970353bfddc44b65bbb79d3aa586ded7;hp=f29ae164b9397ec158adfa29494048fd2bb0e11d;hpb=998f029ef805c73e90543b34192e16d38a23c69c;p=freeside.git diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html index f29ae164b..63708e63c 100644 --- a/httemplate/view/cust_main/payment_history.html +++ b/httemplate/view/cust_main/payment_history.html @@ -1,3 +1,7 @@ + + + + + + +
+ %# payment links % my $s = 0; @@ -28,6 +32,9 @@ <% mt('Enter Western Union payment') |h %> % } +
+% $s=0; + % if ( ( $payby{'CARD'} || $payby{'DCRD'} ) % && $curuser->access_right(['Process payment', 'Process credit card payment']) % && ! $cust_main->is_encrypted($cust_main->payinfo) @@ -113,8 +120,17 @@ <% mt('Post manual (offline/POS) credit card refund') |h %> % } +
+ +%# invoice reports +% if ( $curuser->access_right('List invoices') ) { + <% mt('Invoice reports') |h %> +% }
+%# XXX payments, credits, refund reports + %# tax exemption link % my $view_exemptions = $curuser->access_right('View customer tax exemptions'); @@ -166,6 +182,11 @@ <% mt('View pending payments') |h %>
% } +
+ %# and now the table <& /elements/table-grid.html &> @@ -246,7 +267,9 @@ % % my $charge = exists($item->{'charge'}) % ? sprintf("$money_char\%.2f", $item->{'charge'}) -% : ''; +% : exists($item->{'charge_nobal'}) +% ? sprintf("$money_char\%.2f", $item->{'charge_nobal'}) +% : ''; % % my $payment = exists($item->{'payment'}) % ? sprintf("- $money_char\%.2f", $item->{'payment'}) @@ -319,6 +342,9 @@ %}
+ + +