|
Lines 65-75
if( $action and $action eq "confirmcancel" ) {
Link Here
|
| 65 |
$template->param( error_delbiblio => 1 ) |
65 |
$template->param( error_delbiblio => 1 ) |
| 66 |
if $messages[0]->message eq 'error_delbiblio'; |
66 |
if $messages[0]->message eq 'error_delbiblio'; |
| 67 |
} else { |
67 |
} else { |
| 68 |
$template->param(success_cancelorder => 1); |
|
|
| 69 |
# Log the cancellation of the order |
68 |
# Log the cancellation of the order |
| 70 |
if (C4::Context->preference("AcqLog")) { |
69 |
if (C4::Context->preference("AcqLog")) { |
| 71 |
logaction('ACQUISITIONS', 'CANCEL_ORDER', $ordernumber); |
70 |
logaction('ACQUISITIONS', 'CANCEL_ORDER', $ordernumber); |
| 72 |
} |
71 |
} |
|
|
72 |
$template->param(success_cancelorder => 1); |
| 73 |
} |
73 |
} |
| 74 |
$template->param(confirmcancel => 1); |
74 |
$template->param(confirmcancel => 1); |
| 75 |
} |
75 |
} |
| 76 |
- |
|
|