Bugzilla – Attachment 110782 Details for
Bug 26541
Apply discount button misleading
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26541: Remove percent sign from discount button
Bug-26541-Remove-percent-sign-from-discount-button.patch (text/plain), 2.40 KB, created by
Katrin Fischer
on 2020-09-26 17:13:10 UTC
(
hide
)
Description:
Bug 26541: Remove percent sign from discount button
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-09-26 17:13:10 UTC
Size:
2.40 KB
patch
obsolete
>From 954c81cb839521b0eedcd66d8a83bd0af20d4fe5 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >Date: Fri, 25 Sep 2020 21:09:03 +0000 >Subject: [PATCH] Bug 26541: Remove percent sign from discount button > >Realized I'd left a stray tag, fixed. > >To test: >1 - go to borrower account, apply manual fee >2 - go to Transactions tab and see that fee has "% Apply discount" button >3 - apply patch, restart, reload page >4 - button just says "Apply discount" > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >index 3a7e19dad7..a6a8cdc485 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -99,7 +99,7 @@ > <button type="button" data-toggle="modal" data-target="#issueRefundModal" data-item="[%- PROCESS account_type_description account=account -%]" data-accountline="[% account.accountlines_id | html %]" data-amount="[% account.amount | $Price %]" data-amountoutstanding="[% account.amountoutstanding | $Price %]" class="btn btn-default btn-xs"><i class="fa fa-money"></i> Issue refund</button> > [% END %] > [% IF CAN_user_updatecharges_discount && account.is_debit && ( account.amountoutstanding == account.amount ) && !(account.debit_type_code == 'PAYOUT') %] >- <button type="button" data-toggle="modal" data-target="#applyDiscountModal" data-item="[%- PROCESS account_type_description account=account -%]" data-accountline="[% account.accountlines_id | html %]" data-amount="[% account.amount | $Price %]" data-amountoutstanding="[% account.amountoutstanding | $Price %]" class="btn btn-default btn-xs"><i class="fa fa-percent"></i> Apply discount</button> >+ <button type="button" data-toggle="modal" data-target="#applyDiscountModal" data-item="[%- PROCESS account_type_description account=account -%]" data-accountline="[% account.accountlines_id | html %]" data-amount="[% account.amount | $Price %]" data-amountoutstanding="[% account.amountoutstanding | $Price %]" class="btn btn-default btn-xs">Apply discount</button> > [% END %] > </td> > </tr> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26541
:
110774
|
110775
|
110778
| 110782