]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 5 Dec 2012 00:24:13 +0000 (13:24 +1300)
commitb86c7be28d888d61bb60df5082641bea61e8f938
treebbc8e9abcd446fa7e6101f998abee83c5d301add
parent51577d91e7b3dd454230fc3271c7612fd2a4857c
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