Commit d83097ba authored by RobertPlummer's avatar RobertPlummer

[FIX] Added delete to invoice items, so now Inserting, Editing, and Deleting...

[FIX] Added delete to invoice items, so now Inserting, Editing, and Deleting of Tracker Invoice Items works.
parent e2309331
......@@ -82,7 +82,9 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
//end invoice items
//here I need to delete items that were deleted on the page
//:)
foreach($itemsToDelete as $itemId) {
$trklib->remove_tracker_item($itemId);
}
//end delete
header( 'Location: tiki-view_invoice.php?InvoiceId='.$_REQUEST['InvoiceId'] ) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment