Files
crm.twinpol.com/modules/EcmPriceBooks/deleteProducts.php
2025-05-12 15:44:39 +00:00

7 lines
421 B
PHP

<?php
$e=explode("|",$_REQUEST['keys']);
foreach($e as $ee){
$GLOBALS['db']->query("update ecmpricebooks_ecmproducts set date_modified='".date("Y-m-d H:i:s")."',modified_user_id='".$_SESSION['authenticated_user_id']."',deleted='1' where id='".$ee."' and ecmpricebook_id='".$_REQUEST['return_id']."'");
}
header("Location: index.php?module=EcmPriceBooks&action=DetailView&record=".$_REQUEST['return_id']."&tab=items");
?>