Lines 80-93
Link Here
|
80 |
function confirm_delete_item(ordernumber, basketno, biblionumber) { |
80 |
function confirm_delete_item(ordernumber, basketno, biblionumber) { |
81 |
var is_confirmed = confirm(_('Are you sure you want to delete this order ?')); |
81 |
var is_confirmed = confirm(_('Are you sure you want to delete this order ?')); |
82 |
if (is_confirmed) { |
82 |
if (is_confirmed) { |
83 |
window.location = "addorder.pl?ordernumber="+ordernumber+"&basketno="+basketno+"&quantity=0&biblionumber="+biblionumber; |
83 |
window.location = "addorder.pl?ordernumber="+ordernumber+"&basketno="+basketno+"&quantity=0&biblionumber="+biblionumber+"&invoiceid=[% invoiceid %]"; |
84 |
} |
84 |
} |
85 |
} |
85 |
} |
86 |
|
86 |
|
87 |
function confirm_delete_biblio(ordernumber, basketno, biblionumber) { |
87 |
function confirm_delete_biblio(ordernumber, basketno, biblionumber) { |
88 |
var is_confirmed = confirm(_('Are you sure you want to delete this catalog record and order ?')); |
88 |
var is_confirmed = confirm(_('Are you sure you want to delete this catalog record and order ?')); |
89 |
if (is_confirmed) { |
89 |
if (is_confirmed) { |
90 |
window.location = "addorder.pl?ordernumber="+ordernumber+"&basketno="+basketno+"&quantity=0&biblionumber="+biblionumber+"&delbiblio=1"; |
90 |
window.location = "addorder.pl?ordernumber="+ordernumber+"&basketno="+basketno+"&quantity=0&biblionumber="+biblionumber+"&delbiblio=1&invoiceid=[% invoiceid %]"; |
91 |
} |
91 |
} |
92 |
} |
92 |
} |
93 |
//]]> |
93 |
//]]> |
94 |
- |
|
|