Bug 7235: Add order date and checks for permissions
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 19 Feb 2012 23:12:13 +0000 (00:12 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 20 Mar 2012 15:11:44 +0000 (16:11 +0100)
commitf371b749afd444579caca5a51e33ef557e9dce45
tree39d2be542e706597d36ed9cee73781fe8e02f174
parentdcca45094432cbfe41772568330deea3d1f0ee4e
Bug 7235: Add order date and checks for permissions

- Adds order date above vendor
- Reordered fields to reflect history of the item
- Order information (order date, vendor) is only shown, when an order exists
- Accession date is only linked, when item was received in acquisition
- Links to basket and invoice are only shown when user has the correct permission
  - order date: manage_order
  - accession date: receive_shipment for invoice
- Changes all dates to use the KohaDates TT plugin
- Corrects display of rental price, removing additional zeros

To test:
1) Create a record with
- 1 item created in cataloguing
- 1 item ordered
- 1 item ordered and received
- 1 item checked out
2) Verify the correct information is shown for each
3) Verify links on the dates work correctly
4) Toggle permissions for the user

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Followed the test plan and all tests pass.

Signed-off-by: Marijana Glavica <mglavica@ffzg.hr>
changed supplierid to booksellerid

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
catalogue/moredetail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt