This commit is contained in:
2024-04-27 09:23:34 +02:00
commit 11e713ca6f
11884 changed files with 3263371 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?
$z="insert into ecmdocuments_".$_GET['relation']."(id,ecmdocument_id,".$_GET['parent_col'].",deleted) values('".create_guid()."','".$_GET['record']."','".$_GET['parent_id']."','0')";
print $z;
mysql_query($z);
if($_GET['relation']=="correspondences" ||
$_GET['relation']=="correspondenceouts" ||
$_GET['relation']=="contracts" ||
$_GET['relation']=="ecminvoices")
{
$z="update ".$_GET['relation']." set relation='1' where id='".$_GET['parent_id']."'";
mysql_query($z);
}
header("Location: index.php?module=EcmDocuments&action=DetailView&record=".$_GET['record']);
?>