Skip to content
Snippets Groups Projects
Commit 2d209614 authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Ajout nouveau commercial

parent 8c2a9342
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ if ( $resql )
$sqlu = "REPLACE INTO llx_societe_perms";
$sqlu .= " (fk_soc, fk_user, pread, pwrite, pperms) ";
$sqlu .= " VALUES (".$row[0].", 9,1,1,1)";
$sqlu .= " VALUES (".$row[0].",2,1,0,0)";
$resqlu = $db->query($sqlu);
$sqlu = "REPLACE INTO llx_societe_perms";
......@@ -51,6 +51,11 @@ if ( $resql )
$sqlu .= " VALUES (".$row[0].", 5,1,1,1)";
$resqlu = $db->query($sqlu);
$sqlu = "REPLACE INTO llx_societe_perms";
$sqlu .= " (fk_soc, fk_user, pread, pwrite, pperms) ";
$sqlu .= " VALUES (".$row[0].", 9,1,1,1)";
$resqlu = $db->query($sqlu);
$sqlu = "REPLACE INTO llx_societe_perms";
$sqlu .= " (fk_soc, fk_user, pread, pwrite, pperms) ";
$sqlu .= " VALUES (".$row[0].",16,1,1,1)";
......@@ -75,7 +80,6 @@ if ( $resql )
$sqlu .= " (fk_soc, fk_user, pread, pwrite, pperms) ";
$sqlu .= " VALUES (".$row[0].",34,1,0,0)";
$resqlu = $db->query($sqlu);
}
$db->free($resql);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment