Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Mathieu Saby 09953f836d Bug 7791: add ability to delete records when deleting a basket
Currently, when a basket is deleted, all the orders are deleted (there
is a foreign key in aqorders table on basketno).

This could be dangerous, and there is no warning.
After the deletion, unused biblios are left in the catalogue.

This patch
- adds a more detailed message describing the consequences of deletion
- give the choice of also deleting biblio records if possible

To test :
Test A :
1. create a basket with 4 orders:
- an order from a new record A
- an order from a record B which has already an item
- an order from a record C used in a subscription
- an order from a record D used in an other order
2. note the biblionumbers of the records used (or open them in other
   tabs in your browser)
3. click on "Delete basket"
4. choose button "Delete basket and orders"
5. check the catalogue : records A,B,C,D should still be there
Test B:
1. create a basket with 4 orders:
- an order from a new record A
- an order from a record B which has already an item
- an order from a record C used in a subscription
- an order from a record D used in an other order
2. note the biblionumbers of the records used (or open them in other
   tabs in your browser)
3. click on "Delete basket"
4. choose button "Delete basket, orders and records"
5. check the catalogue : records B,C,D should still be there. Record A
   should be deleted

Signed-off-by: Cedric Vita <cedric.vita@dracenie.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-12-02 16:05:33 +00:00
..
csv Bug 7298: (follow-up) fix translation for CSV strings 2013-10-31 15:51:45 +00:00
acqui-home.tt Bug 10792: fix sorting of funds table on acquisitions home page 2013-09-16 15:30:33 +00:00
addorder.tt Bug 9822: Alert on adding an order to a basket if budget s exceeded 2013-10-30 15:10:11 +00:00
addorderiso2709.tt Bug 11059: (follow-up) restore time in staged dates in addorderiso2709.tt 2013-12-02 15:47:40 +00:00
ajax.tt
aqbasketuser_search.tt Bug 7295: More granular permissions for baskets 2013-10-31 16:35:35 +00:00
basket.tt Bug 7791: add ability to delete records when deleting a basket 2013-12-02 16:05:33 +00:00
basketgroup.tt Bug 11033: Make Save button and Cancel link always visible on basketgroup page 2013-11-01 00:32:23 +00:00
basketheader.tt Bug 7469: put focus on 1st field of creation form instead of search box (Acquisition) 2013-09-16 15:53:17 +00:00
booksellers.tt Bug 11171: (follow-up) fix a javascript error 2013-11-27 18:02:38 +00:00
histsearch.tt Bug 5336: (follow-up) multiple QA fixes 2013-10-22 13:30:34 +00:00
invoice.tt Bug 10705: change 'shipment cost' to 'shipping cost' 2013-10-09 04:59:43 +00:00
invoices.tt Bug 10401: Add ability to merge invoices 2013-10-21 19:08:03 +00:00
lateorders.tt Bug 7298: (follow-up) various QA fixes 2013-10-31 15:51:25 +00:00
modordernotes.tt Bug 7469: put focus on 1st field of creation form instead of search box (Acquisition) 2013-09-16 15:53:17 +00:00
neworderbiblio.tt Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
neworderempty.tt Bug 8821: make receive shipment page hide inactive funds like new order form 2013-09-16 16:26:12 +00:00
neworderempty_duplicate.tt
newordersubscription.tt Bug 10689: make subscription public note appear when making a new order from a subscription 2013-10-11 04:23:24 +00:00
newordersuggestion.tt Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
ordered.tt Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
orderreceive.tt Bug 10403: Show inactive but unlocked budgets on orderreceive 2013-10-22 12:57:41 +00:00
parcel.tt Bug 8037: (follow-up) fix undefined variable warning during template processing 2013-10-31 15:17:44 +00:00
parcels.tt Bug 10705: change 'shipment cost' to 'shipping cost' 2013-10-09 04:59:43 +00:00
spent.tt Bug 10705: follow-up - change one more instance of "shippment cost" 2013-10-09 05:00:37 +00:00
supplier.tt Bug 10847: Open link to vendor's website in new window 2013-09-23 16:10:33 +00:00
transferorder.tt Bug 5349: (follow-up) tweak order transfer form 2013-09-16 15:21:07 +00:00
uncertainprice.tt Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
z3950_search.tt Bug 9747: sorting z3950 search results in acquisition 2013-10-09 04:22:28 +00:00