Bugzilla – Attachment 109820 Details for
Bug 26418
The "description" for REFUND accountlines is not translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26418: Fix translatability of REFUND credit type
Bug-26418-Fix-translatability-of-REFUND-credit-typ.patch (text/plain), 4.97 KB, created by
Martin Renvoize (ashimema)
on 2020-09-09 14:35:06 UTC
(
hide
)
Description:
Bug 26418: Fix translatability of REFUND credit type
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-09-09 14:35:06 UTC
Size:
4.97 KB
patch
obsolete
>From 15cf824c40492a8d94d379d45a3b670904c305d1 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 9 Sep 2020 15:34:13 +0100 >Subject: [PATCH] Bug 26418: Fix translatability of REFUND credit type > >--- > .../prog/en/includes/accounts.inc | 2 +- > .../bootstrap/en/includes/account-table.inc | 43 +++++++++++-------- > pos/register.pl | 2 +- > 3 files changed, 26 insertions(+), 21 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc >index 3e37c8d407..62ea570040 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc >@@ -7,7 +7,7 @@ > [%- CASE 'FORGIVEN' -%]Forgiven > [%- CASE 'CREDIT' -%]Credit > [%- CASE 'LOST_FOUND' -%]Lost item fee refund >- [%- CASE 'Refund' -%]Refund >+ [%- CASE 'REFUND' -%]Refund > [%- CASE -%][% account.credit_type.description | html %] > [%- END -%] > [%- ELSIF account.debit_type_code -%] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc >index dc3444da34..4826480ecd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc >@@ -179,27 +179,33 @@ > [%- CASE 'FORGIVEN' -%]Forgiven > [%- CASE 'CREDIT' -%]Credit > [%- CASE 'LOST_FOUND' -%]Lost item fee refund >+ [%- CASE 'REFUND' -%]Refund > [%- CASE -%][% account.credit_type.description | html %] > [%- END -%] > [%- ELSIF account.debit_type_code -%] >- [%- SWITCH account.debit_type_code -%] >- [%- CASE 'ACCOUNT' -%]Account creation fee >- [%- CASE 'ACCOUNT_RENEW' -%]Account renewal fee >- [%- CASE 'LOST' -%]Lost item >- [%- CASE 'MANUAL' -%]Manual fee >- [%- CASE 'NEW_CARD' -%]New card >- [%- CASE 'OVERDUE' -%]Fine >- [%- CASE 'PROCESSING' -%]Lost item processing fee >- [%- CASE 'RENT' -%]Rental fee >- [%- CASE 'RENT_DAILY' -%]Daily rental fee >- [%- CASE 'RENT_RENEW' -%]Renewal of rental item >- [%- CASE 'RENT_DAILY_RENEW' -%]Renewal of daily rental item >- [%- CASE 'RESERVE' -%]Hold fee >- [%- CASE 'RESERVE_EXPIRED' -%]Hold waiting too long >- [%- CASE -%][% account.debit_type.description | html %] >- [%- END -%] >+ [%- SWITCH account.debit_type_code -%] >+ [%- CASE 'ACCOUNT' -%]Account creation fee >+ [%- CASE 'ACCOUNT_RENEW' -%]Account renewal fee >+ [%- CASE 'LOST' -%]Lost item >+ [%- CASE 'MANUAL' -%]Manual fee >+ [%- CASE 'NEW_CARD' -%]New card >+ [%- CASE 'OVERDUE' -%]Fine >+ [%- CASE 'PROCESSING' -%]Lost item processing fee >+ [%- CASE 'RENT' -%]Rental fee >+ [%- CASE 'RENT_DAILY' -%]Daily rental fee >+ [%- CASE 'RENT_RENEW' -%]Renewal of rental item >+ [%- CASE 'RENT_DAILY_RENEW' -%]Renewal of daily rental item >+ [%- CASE 'RESERVE' -%]Hold fee >+ [%- CASE 'RESERVE_EXPIRED' -%]Hold waiting too long >+ [%- CASE -%][% account.debit_type.description | html %] >+ [%- END -%] > [%- END -%] >- [%- SWITCH account.status -%] >+ [%- PROCESS account_status_description account=account -%] >+ </span> >+[%- END # /BLOCK account_type_description -%] >+ >+[%- BLOCK account_status_description -%] >+ [%- SWITCH account.status -%] > [%- CASE 'UNRETURNED' -%]<span> (Accruing)</span> > [%- CASE 'RETURNED' -%]<span> (Returned)</span> > [%- CASE 'REPLACED' -%]<span> (Replaced)</span> >@@ -208,5 +214,4 @@ > [%- CASE 'LOST' -%]<span> (Lost)</span> > [%- CASE -%] > [%- END -%] >- </span> >-[%- END # /BLOCK account_type_description -%] >+[%- END -%] >diff --git a/pos/register.pl b/pos/register.pl >index e73f3c14c9..97d6d63cf6 100755 >--- a/pos/register.pl >+++ b/pos/register.pl >@@ -127,7 +127,7 @@ else { > > my $refund = $accountline->reduce( > { >- reduction_type => 'Refund', >+ reduction_type => 'REFUND', > branch => $library_id, > staff_id => $logged_in_user->id, > interface => 'intranet', >-- >2.20.1
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 26418
:
109820
|
110559
|
110625
|
110626
|
112195