summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-12-30 16:52:01 -0800
committerIvan Kohler <ivan@freeside.biz>2013-12-30 16:52:01 -0800
commit1fed7d3c8a2e483177e39eadab4e5d916c86ec8f (patch)
tree026bde04a5b8a6ffdd3c58aa699d2070a9d6d6ee
parent25b1fc860d3e6f78df66638e7a26079c2498d8a6 (diff)
increase payment and credit popup sizes when pkg-balances is on, to make room for package selection, RT#22198
-rw-r--r--httemplate/view/cust_main/payment_history.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index 95e34a158..204647f97 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -12,7 +12,7 @@
'action' => "${p}edit/cust_pay.cgi?popup=1;payby=BILL",
'cust_main' => $cust_main,
'actionlabel' => emt('Enter check payment'),
- 'width' => 392,
+ 'width' => ( $opt{'pkg-balances'} ? 763 : 392),
'height' => 392,
&>
% }
@@ -24,7 +24,7 @@
'action' => "${p}edit/cust_pay.cgi?popup=1;payby=CASH",
'cust_main' => $cust_main,
'actionlabel' => emt('Enter cash payment'),
- 'width' => 392,
+ 'width' => ( $opt{'pkg-balances'} ? 763 : 392),
'height' => 392,
&>
% }
@@ -70,7 +70,7 @@
'action' => "${p}edit/cust_credit.cgi",
'cust_main' => $cust_main,
'actionlabel' => emt('Enter credit'),
- 'width' => 616, #make room for reasons #540 default
+ 'width' => ( $opt{'pkg-balances'} ? 763 : 616),
&>
% }
% if ( $curuser->access_right('Credit line items') ) {