Bugzilla – Attachment 110774 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.26 KB, created by
Andrew Fuerste-Henry
on 2020-09-25 21:12:00 UTC
(
hide
)
Description:
Bug 26541: Remove percent sign from discount button
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2020-09-25 21:12:00 UTC
Size:
2.26 KB
patch
obsolete
>From 521e68486b83c3f22440f04cc360ae500881ac75 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 > >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" >--- > 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..5e9db177f3 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"></i> 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