]> git.koha-community.org Git - koha.git/commit
Bug 12395: Save order line's creator
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 9 Jun 2014 14:15:17 +0000 (16:15 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 6 Jul 2018 14:01:47 +0000 (14:01 +0000)
commit948704964073dd8dea146d959ad5ed690ccafe67
tree66deaeb83b45b66da8c0280dd4abd5de0cb6739c
parent46b09129c0e0df801d0dd6f526911506a0d36f93
Bug 12395: Save order line's creator

New MySQL column: aqorders.createdby

Creator's name is displayed on order's receive pages (acqui/orderreceive.pl
and acqui/parcel.pl)

On acqui/orderreceive.pl it replace the name of basket's creator
On acqui/parcel.pl, to avoid adding more data in the table of pending
orders, it is shown in a popup like MARC and Card views

Test plan:
1/ Run updatedatabase.pl
2/ Create a new order and go to the receipt page (acqui/parcel.pl)
3/ Click on "Order" link in column "More" (previously "View record")
4/ A javascript popup should appear with your name in it. Close the
popup.
5/ Click on "Receive" link
6/ Your name should appear in front of "Created by" label, to the right
of the page.

Patch updated with use of atomic update.

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Acquisition/Order.pm
acqui/orderreceive.pl
acqui/showorder.pl [new file with mode: 0755]
installer/data/mysql/atomicupdate/Bug-12395-add-column-aqorders.created_by.sql [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/showorder.tt [new file with mode: 0644]