summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-03-21 18:58:01 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-03-21 19:03:24 -0500
commitacc8122f031e2d10141a7cb80cfa73ac74ed2e86 (patch)
tree62a56dad20229409fd797a9ae05df0f0cf7dacc4 /httemplate/view/cust_main
parentefeb24eb94eb8b32566ff9bbe5f69518d1e90631 (diff)
RT#39586 Manual check refunds cannot be unapplied [better whitespace handling]
Diffstat (limited to 'httemplate/view/cust_main')
-rw-r--r--httemplate/view/cust_main/payment_history.html2
-rw-r--r--httemplate/view/cust_main/payment_history/credit.html8
-rw-r--r--httemplate/view/cust_main/payment_history/payment.html5
3 files changed, 9 insertions, 6 deletions
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index 737b0e251..a28fa071d 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -689,7 +689,7 @@ sub translate_payinfo {
sub areyousure_link {
my ($url,$msg,$title,$label) = (shift,shift,shift,shift);
- ' (<A HREF="javascript:areyousure(\''.$url.'\',\''.$msg.'\')" TITLE="'.$title.'">'.$label.'</A>)';
+ ' (<A HREF="javascript:areyousure(\''.$url.'\',\''.$msg.'\')" TITLE="'.$title.'" STYLE="white-space: nowrap;">'.$label.'</A>)';
}
</%init>
diff --git a/httemplate/view/cust_main/payment_history/credit.html b/httemplate/view/cust_main/payment_history/credit.html
index 46552035a..b6b145a6d 100644
--- a/httemplate/view/cust_main/payment_history/credit.html
+++ b/httemplate/view/cust_main/payment_history/credit.html
@@ -45,7 +45,8 @@ if ( scalar(@cust_credit_bill) == 0
if ( $opt{total_unapplied_refunds} > 0 ) {
$apply.= ' ('.
include( '/elements/popup_link.html',
- 'label' => emt('apply').'&nbsp;'.emt('refund'),
+ 'label' => emt('apply refund'),
+ 'style' => 'white-space: nowrap',
'action' => "${p}edit/cust_credit_refund.cgi?".
$cust_credit->crednum,
'actionlabel' => emt('Apply credit to refund'),
@@ -100,7 +101,8 @@ if ( scalar(@cust_credit_bill) == 0
if ( $opt{total_unapplied_refunds} > 0 ) {
$apply.= ' ('.
include( '/elements/popup_link.html',
- 'label' => emt('apply').'&nbsp;'.emt('refund'),
+ 'label' => emt('apply refund'),
+ 'style' => 'white-space: nowrap',
'action' => "${p}edit/cust_credit_refund.cgi?".
$cust_credit->crednum,
'actionlabel' => emt('Apply credit to refund'),
@@ -159,7 +161,7 @@ if ($opt{'Unapply credit'} && !$cust_credit->closed) {
$unapply .= areyousure_link("${p}misc/unapply-cust_credit_refund.cgi?".$cust_credit->crednum,
emt('Are you sure you want to unapply this credit from refunds?'),
emt('Keep this credit, but dissociate it from the refunds it is currently applied to'),
- emt('unapply').'&nbsp;'.emt('refunds')
+ emt('unapply refunds')
)
if $cust_credit->refund_to_unapply;
}
diff --git a/httemplate/view/cust_main/payment_history/payment.html b/httemplate/view/cust_main/payment_history/payment.html
index 6c723237e..cc5789b75 100644
--- a/httemplate/view/cust_main/payment_history/payment.html
+++ b/httemplate/view/cust_main/payment_history/payment.html
@@ -103,7 +103,8 @@ if ($unapplied > 0) {
if ( $opt{total_unapplied_refunds} > 0 ) {
$apply.= ' ('.
include( '/elements/popup_link.html',
- 'label' => emt('apply').'&nbsp;'.emt('refund'),
+ 'label' => emt('apply refund'),
+ 'style' => 'white-space: nowrap',
'action' => "${p}edit/cust_pay_refund.cgi?".
$cust_pay->paynum,
'actionlabel' => emt('Apply payment to refund'),
@@ -213,7 +214,7 @@ if ($opt{'Unapply payment'} && !$cust_pay->closed) {
$unapply .= areyousure_link("${p}misc/unapply-cust_pay_refund.cgi?".$cust_pay->paynum,
emt('Are you sure you want to unapply this payment from refunds?'),
emt('Keep this payment, but dissociate it from the refunds it is currently applied to'),
- emt('unapply').'&nbsp;'.emt('refunds')
+ emt('unapply refunds')
)
if $cust_pay->refund_to_unapply;
}