]> wagnertech.de Git - timetracker.git/blobdiff - invoice_delete.php
Incremented version for previous changes
[timetracker.git] / invoice_delete.php
index 9fb7c435b805352ccb59c973c6e59a8decf5b318..4f9ed2425632dcb0658b9ab0a84bfa8dff83ffc7 100644 (file)
@@ -54,7 +54,7 @@ if ($request->getMethod() == 'POST') {
     if (ttInvoiceHelper::getInvoice($cl_invoice_id)) {
       if (ttInvoiceHelper::delete($cl_invoice_id, $request->getParameter('delete_invoice_entries'))) {
         header('Location: invoices.php');
-       exit();
+        exit();
       } else
         $errors->add($i18n->getKey('error.db'));
     } else
@@ -63,7 +63,7 @@ if ($request->getMethod() == 'POST') {
     header('Location: invoices.php');
     exit();
   }
-} // post
+} // POST
 
 $smarty->assign('invoice_to_delete', $invoice_to_delete);
 $smarty->assign('forms', array($form->getName()=>$form->toArray()));
@@ -71,4 +71,3 @@ $smarty->assign('onload', 'onLoad="document.invoiceDeleteForm.btn_cancel.focus()
 $smarty->assign('title', $i18n->getKey('title.delete_invoice'));
 $smarty->assign('content_page_name', 'invoice_delete.tpl');
 $smarty->display('index.tpl');
-?>
\ No newline at end of file