Bug 7791: (follow-up) tidy up some cruft in the main patch
authorMathieu Saby <mathieu.saby@univ-rennes2.fr>
Thu, 19 Sep 2013 08:57:44 +0000 (10:57 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 2 Dec 2013 16:07:28 +0000 (16:07 +0000)
commit2c307f3e92d6e4051a37f19bb17f60f45fded9d9
tree64387dc258ec216dab584910596a9baeee4714e5
parent09953f836de01a68a3117227965719b74f543844
Bug 7791: (follow-up) tidy up some cruft in the main patch

This patch
- delete warns
- add a missing }
- add a condition in template of avoiding asking to delete orders or
  records if the basket is empty

To test :
1. Make the same tests as defined in test plan of main patch. It should
   behave the same way
2. Try to delete a basket with no records inside. You will only have a
   "Delete basket" button, with fewer warnings

Signed-off-by: Cedric Vita <cedric.vita@dracenie.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
acqui/basket.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt