Bug 10090: display item type description instead of code on acq ordered and spent...
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 4 Apr 2013 10:09:37 +0000 (12:09 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Aug 2014 11:59:31 +0000 (13:59 +0200)
commitda6b078cf415eb2164910b5392848004c41b1d62
treeb2179cfd1baab2c078d78db1ac66368d3aeb29cd
parentc0d27af98ed468e30172f67c1023d9e3bc3a6db3
Bug 10090: display item type description instead of code on acq ordered and spent pages

On ordered.pl and spent.pl, the itemtype codes are displayed, instead of
descriptions.

Links for the ordernumber should be changed. In ordered.pl, we are
redirected to the receive page. In spent.pl, the links are deleted.

Signed-off-by: Broust <jean-manuel.broust@gmail.com>

Revisited patch: The link to orderreceive was broken, so I undo the
changes.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works alright, itemtype descriptions are shown.
The removed link was potentially 'dangerous' as you shouldn't
get to the receive page for an order, without providing an invoicenumber
first.
Passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 378bffa0ddbe793dff75a828e2bf5b03ad666b57)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt