Koha/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
..
pdfformat Bug 10573: (follow-up) update license and copyright statement 2013-08-17 16:06:06 +00:00
acqui-home.pl Bug 10792: fix sorting of funds table on acquisitions home page 2013-09-16 15:30:33 +00:00
addorder.pl Bug 9822: Alert on adding an order to a basket if budget s exceeded 2013-10-30 15:10:11 +00:00
addorderiso2709.pl Bug 11059: fix date sorting of import batches in basket add form 2013-12-02 15:41:46 +00:00
aqbasketuser_search.pl Bug 7295: More granular permissions for baskets 2013-10-31 16:35:35 +00:00
basket.pl Bug 7791: add ability to delete records when deleting a basket 2013-12-02 16:05:33 +00:00
basketgroup.pl Bug 10573: French translation for printing a basketgroup 2013-08-17 16:05:04 +00:00
basketheader.pl Bug 9364: fixes billing/delivery addresses for new baskets 2013-01-18 19:15:24 -05:00
booksellers.pl Bug 11171: Display basket group name on the supplier list page 2013-11-27 18:02:21 +00:00
check_budget_total.pl
check_duplicate_barcode_ajax.pl Bug 6963: Corrects a problem when a new order is created with a duplicate barcode. 2011-11-04 10:22:28 +01:00
check_uniqueness.pl Bug 10483: fix item uniqueness check on order form 2013-08-14 21:17:11 +00:00
currency.pl
fetch_sort_dropbox.pl Bug 8629: update of statistics fields on fund selection in order creation/edition 2012-09-14 16:57:02 +02:00
finishreceive.pl Bug 8307: QA Followup for finishreceive.pl 2013-10-31 23:37:04 +00:00
histsearch.pl Bug 5336: (follow-up) multiple QA fixes 2013-10-22 13:30:34 +00:00
invoice.pl Bug 10401: Add ability to merge invoices 2013-10-21 19:08:03 +00:00
invoices.pl Bug 10401: Add ability to merge invoices 2013-10-21 19:08:03 +00:00
lateorders-export.pl Bug 7298: (follow-up) various QA fixes 2013-10-31 15:51:25 +00:00
lateorders.pl Bug 7298: (follow-up) fix uninitialized variable warning 2013-10-31 15:52:47 +00:00
modordernotes.pl Bug 7166: Adds edit order notes when the basket is closed 2012-03-20 16:45:37 +01:00
neworderbiblio.pl Bug 9239 QA follow-up: the last QA follow-up was missing a require 2013-03-16 21:32:34 -04:00
neworderempty.pl Bug 9987: Remove DB field aqorders.biblioitemnunmber 2013-07-02 15:18:50 -07:00
newordersubscription.pl Bug 9508: Standardize the dateformat value from C4::Auth 2013-05-20 09:05:01 -07:00
newordersuggestion.pl
ordered.pl Bug 7735: removal of C4::Dates when unused 2012-03-20 18:11:04 +01:00
orderreceive.pl Bug 10403: Show inactive but unlocked budgets on orderreceive 2013-10-22 12:57:41 +00:00
parcel.pl Bug 8037: (follow-up) bad sql query and variable renaming 2013-10-31 14:53:17 +00:00
parcels.pl Bug 8821: make receive shipment page hide inactive funds like new order form 2013-09-16 16:26:12 +00:00
spent.pl Bug 9987: Remove DB field aqorders.biblioitemnunmber 2013-07-02 15:18:50 -07:00
supplier.pl Bug 9108: Followup: send the dateformat value from C4::Auth 2013-01-17 21:59:30 -05:00
transferorder.pl Bug 10723: remove one last instance of GetPendingOrders() 2013-10-21 18:49:32 +00:00
uncertainprice.pl Bug 10723: Merge GetPendingOrders and SearchOrders routines 2013-10-21 18:24:32 +00:00
updatesupplier.pl
z3950_search.pl Bug 10096 - Add a Z39.50 interface for authority searching 2013-10-04 14:26:29 +00:00