Bug 24603: (QA follow-up) Make the new credit type translatable and shorten description a bit

Adding the new offset type and credit type to the include so it can be translated.

Also suggest shortening the db description a bit.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

https://bugs.koha-community.org/show_bug.cgi?id=24063

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Katrin Fischer 2020-10-05 13:24:40 +00:00 committed by Jonathan Druart
parent 9c709b871f
commit 9bf00d3248
2 changed files with 3 additions and 1 deletions

View file

@ -5,7 +5,7 @@ if ( CheckVersion($DBversion) ) {
qq{
INSERT IGNORE INTO account_credit_types (code, description, can_be_added_manually, is_system)
VALUES
('CANCELLATION', 'A cancellation applied to a patron charge', 0, 1)
('CANCELLATION', 'Cancelled charge', 0, 1)
}
);

View file

@ -18,6 +18,7 @@
[%- CASE 'Lost Item' -%]<span>Lost item returned</span>
[%- CASE 'Writeoff' -%]<span>Writeoff</span>
[%- CASE 'Void Payment' -%]<span>Void payment</span>
[%- CASE 'CANCELLATION' -%]<span>Cancelled charge</span>
[%- CASE -%][% account_offset.type | html %]
[%- END -%]
[%- END -%]
@ -65,6 +66,7 @@
[%- CASE 'LOST_FOUND' -%]Lost item fee refund
[%- CASE 'OVERPAYMENT' -%]Overpayment refund
[%- CASE 'REFUND' -%]Refund
[%- CASE 'CANCELLATION' -%]Cancelled charge
[%- CASE -%][% credit_type.description | html %]
[%- END -%]
[%- END -%]