]> git.koha-community.org Git - koha.git/commit
Bug 8820 [3.8.x] Don't show orders table if there are no orders
authorOwen Leonard <oleonard@myacpl.org>
Wed, 21 Nov 2012 19:38:12 +0000 (14:38 -0500)
committerLiz Rea <liz@catalyst.net.nz>
Mon, 24 Dec 2012 00:22:44 +0000 (13:22 +1300)
commit2899756ead6021d37e3a8f1629c05602fe24269e
treee41b95ac9f6eab1a028c88520a6e7122566977ef
parent785b7ea93f305e7c659d878247318e2cf23752cd
Bug 8820 [3.8.x] Don't show orders table if there are no orders

Reworkd for 3.8.x: Patch removes the "basket empty" message in
favor of hiding the orders table altogether when a basket has
no orders.

Other textual changes:

- Correcting capitalization according to coding guidelines
- Replacing the "Order Details" heading with the more
  succinct "Orders"

Signed-off-by: Melia Meggs <melia@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests pass, template change only.

To test:
1) Create a new basket - verify 'basket empty' shows up
2) Create order line - verfiy table heading is 'Order Details'
3) Close basket, check capitalization on basket group dialog

Repeat with patch applied.
- 'basket empty' is gone
- Heading is now 'Orders'
- Capitalization on basket group dialog is correct

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt