]> git.koha-community.org Git - koha.git/commit
Bug 5343: Link serial and acqui modules
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 23 Oct 2012 10:13:16 +0000 (12:13 +0200)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 23 Mar 2013 03:54:43 +0000 (23:54 -0400)
commited63c139576138e870211dddf327227f2b824fac
tree1ca5f53c5b8ef7621c7e2757e463c1bf175867fc
parent92433747b54ff3b91a0e301ea57e488ab26f74a3
Bug 5343: Link serial and acqui modules

DB changements:
- Adds 2 fields: subscription.reneweddate and aqorders.subscriptionid.
- Removes 2 unused fields: aqorders.serialid and aqorders.subscription.

Main test plan:
1) Create a subscription
2) Create a bookseller and a basket
3) Add a new order 'from a subscription'
4) Search your subscription and check if results are correct
5) Click on the "order" link
6) Check the biblio information are filled in the form
7) Select a budget and fill some price information.
8) retry steps 3 and 4. Verify you cannot order the same subscription.
Message:Outstanding order (only one order per subscription is allowed).
9) click on your subscription (already added) and check you have a new
table "Acquisition details" with your price information in the "Ordered
amount" line.
10) receive this order
11) On your subscription detail page, the "Spent amount" line must be
filled with your price information.
12) Re order the same subscription. Now you are allowed to. Prices
information have to be filled with the previous information.
13) Retry some orders and click on a maximum of links in order to find a
bug :)

Signed-off-by: Leila Arkab <koha.aixmarseille@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Comments on last patch.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
18 files changed:
C4/Acquisition.pm
C4/Budgets.pm
C4/Serials.pm
acqui/addorder.pl
acqui/finishreceive.pl
acqui/neworderempty.pl
acqui/newordersubscription.pl [new file with mode: 0755]
acqui/orderreceive.pl
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc
koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt
serials/serials-search.pl
serials/subscription-detail.pl