Bug 10181: Acq - Improve message for deleted records
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 15 Apr 2015 09:30:17 +0000 (11:30 +0200)
committerLiz Rea <wizzyrea@gmail.com>
Mon, 16 Nov 2015 23:43:00 +0000 (12:43 +1300)
commit1333bbca07c9b0ca6dcb0bbf43ae352fc0defe21
tree098c29500494e90bc7e186a390a01bbdf78854df
parent75c7dbb4a770830d78129608344c8a09ee7f567d
Bug 10181: Acq - Improve message for deleted records

There are some issues here:
1/ Message not translatable (set in the pl file)
2/ ' by 'displayed even if no author defined
3/ Message not the same every where
4/ Nothing displayed on the invoice page

Test plan:
1/ Create a basket
2/ Add 4 orders A, B, C, D
3/ On the basket, you see "$title by $author", or "$title" if no author
defined
4/ Delete order A, B
5/ Close the basket
6/ Receive B, C
7/ Delete record created for A, C
8/ Go on the basket page, you should see the title and "Deleted
bibliographic record, can't find title" for the deleted record
9/ Go on the invoice page, you should see the title and "Deleted
bibliographic record, can't find title" for the deleted record

Signed-off-by: Joonas Kylmälä <j.kylmala@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 431d217a5185af747a8e80080cb1f381585471fc)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 6c4e68b2da07fb9e1ae6b3f1d6c77a0b0b141093)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt