Bug 8680 Z39.50 ISBN Search is problematic and there is a missing ISSN field.
[koha.git] / acqui / invoice.pl
index 1dc97ee..7c51ebc 100755 (executable)
@@ -79,6 +79,11 @@ elsif ( $op && $op eq 'mod' ) {
         shipmentcost          => $shipmentcost,
         shipmentcost_budgetid => $shipment_budget_id
     );
+    if ($input->param('reopen')) {
+        ReopenInvoice($invoiceid);
+    } elsif ($input->param('close')) {
+        CloseInvoice($invoiceid);
+    }
     $template->param( modified => 1 );
 }