From 3556ac9d2708148fe78b62af059783b516eac146 Mon Sep 17 00:00:00 2001 From: Didier Gautheron Date: Tue, 15 Dec 2020 14:41:11 +0100 Subject: [PATCH] Bug 2740: Basket export cleanup. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove spaces and irrelevant links. Test plan: 1 - Create a basket 2 - Export it in excel 3 - There's a lot of spaces in Order column and irrelevant 'Add internal note' 4 - Apply patch 5 - Export file 6 - It's tidier, fewer spaces and no useless Add/edit note links https://bugs.koha-community.org/show_bug.cgi?id=27240 Signed-off-by: Séverine QUEUNE --- .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index c9149a4af1..ad9604c298 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -507,33 +507,33 @@

[% IF ( books_loo.order_received ) %] (received)[% END %] - [% IF books_loo.title %] - [% books_loo.title | html %][% IF books_loo.author %] by [% books_loo.author | html %][% END %] - [% ELSE %] + [%- IF books_loo.title %] + [% books_loo.title | html %][% IF books_loo.author %] by [% books_loo.author | html %][% END -%] + [%- ELSE -%] Deleted bibliographic record, can't find title
- [% END %] + [%- END %]
- [% IF ( books_loo.isbn ) %] - [% books_loo.isbn | html %][% END %] - [% IF ( books_loo.issn ) %] - [% books_loo.issn | html %][% END %] - [% IF ( books_loo.publishercode ) %], [% books_loo.publishercode | html %][% END %] - [% IF ( books_loo.publicationyear ) %], [% books_loo.publicationyear | html %] - [% ELSIF ( books_loo.copyrightdate ) %] [% books_loo.copyrightdate | html %][% END %] - [% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement | html %][% END %] - [% IF ( books_loo.suggestionid ) %] + [%- IF ( books_loo.isbn ) %] - [% books_loo.isbn | html %][% END -%] + [%- IF ( books_loo.issn ) %] - [% books_loo.issn | html %][% END -%] + [%- IF ( books_loo.publishercode ) %], [% books_loo.publishercode | html %][% END -%] + [%- IF ( books_loo.publicationyear ) %], [% books_loo.publicationyear | html -%] + [%- ELSIF ( books_loo.copyrightdate ) %] [% books_loo.copyrightdate | html %][% END -%] + [%- IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement | html %][% END -%] + [%- IF ( books_loo.suggestionid ) %]
Suggested by: [% books_loo.surnamesuggestedby | html %][% IF ( books_loo.firstnamesuggestedby ) %], [% books_loo.firstnamesuggestedby | html %] [% END %] (suggestion #[% books_loo.suggestionid | html %]) [% END %]

[% IF ( books_loo.order_internalnote ) %] -

Internal note: [% books_loo.order_internalnote | html %] Edit internal note

+

Internal note: [% books_loo.order_internalnote | html %] Edit internal note

[% ELSE %] - Add internal note + Add internal note [% END %] [% IF ( books_loo.order_vendornote ) %] -

Vendor note: [% books_loo.order_vendornote | html %] Edit vendor note

+

Vendor note: [% books_loo.order_vendornote | html %] Edit vendor note

[% ELSE %] - Add vendor note + Add vendor note [% END %] [% IF (books_loo.transferred_from) %] [% basket = books_loo.transferred_from.basket %] -- 2.11.0