X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpayment_history.html;h=8745cac8740905c263bf4abb02330103d4c0bd15;hb=1df8ca6e580bffa11c412b8ae59cd98028ed6470;hp=6630d12a5d115f2d46dc01a4634a6dfd42e35766;hpb=e513d7cb331d7c7d99d1ea7b5f0a5f8e08e0d725;p=freeside.git
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index 6630d12a5..8745cac87 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -34,7 +34,7 @@
<% mt('Enter Western Union payment') |h %>
% }
-
+<% $s ? '
' : '' %>
% $s=0;
% if ( ( $payby{'CARD'} || $payby{'DCRD'} )
@@ -58,11 +58,13 @@
<% mt('Post manual (offline/POS) credit card payment') |h %>
% }
-
+<% $s ? '
' : '' %>
-%# credit link
+%# credit links
+% $s=0;
% if ( $curuser->access_right('Post credit') ) {
+ <% $s++ ? ' | ' : '' %>
<& /elements/popup_link-cust_main.html,
'label' => emt('Enter credit'),
'action' => "${p}edit/cust_credit.cgi",
@@ -70,18 +72,20 @@
'actionlabel' => emt('Enter credit'),
'width' => 616, #make room for reasons #540 default
&>
- |
+% }
+% if ( $curuser->access_right('Credit line items') ) {
+ <% $s++ ? ' | ' : '' %>
<& /elements/popup_link-cust_main.html,
'label' => emt('Credit line items'),
#'action' => "${p}search/cust_bill_pkg.cgi?nottax=1;type=select",
'action' => "${p}edit/credit-cust_bill_pkg.html",
'cust_main' => $cust_main,
'actionlabel' => emt('Credit line items'),
- 'width' => 884, #763,
+ 'width' => 968, #763,
'height' => 575,
&>
-
% }
+<% $s ? '
' : '' %>
%# refund links