Files
crm.e5.pl/modules/EcmPriceBooks/deleteProducts.php

7 lines
421 B
PHP
Raw Permalink Normal View History

2024-04-27 09:23:34 +02:00
<?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");
?>