Modif du systme d'annotage

This commit is contained in:
Rodolphe Quiedeville 2003-09-23 09:56:33 +00:00
parent 3134bfb2c7
commit fa36134b06
2 changed files with 2 additions and 13 deletions

View File

@ -48,11 +48,6 @@ if ($action == 'recontact') {
$result = $db->query($sql);
}
if ($action == 'note') {
$sql = "UPDATE llx_societe SET note='$note' WHERE idp=$socid";
$result = $db->query($sql);
}
if ($action == 'stcomm') {
if ($stcommid <> 'null' && $stcommid <> $oldstcomm) {
$sql = "INSERT INTO socstatutlog (datel, fk_soc, fk_statut, author) ";
@ -156,7 +151,7 @@ if ($socid > 0) {
{
print "<td align=\"center\"><a href=\"../fichinter/fiche.php?socidp=$objsoc->idp&action=create\">[Intervention]</a></td>";
}
print "<td><a href=\"socnote.php?socid=$objsoc->idp\">Notes</a></td>";
print "<td><a href=\"../socnote.php?socid=$objsoc->idp\">Notes</a></td>";
print "<td align=\"center\">[<a href=\"../soc.php?socid=$objsoc->idp&action=edit\">Editer</a>]</td></tr>";
}
print "</table>";

View File

@ -74,12 +74,6 @@ if ($action == 'recontact')
$result = $db->query($sql);
}
if ($action == 'note')
{
$sql = "UPDATE llx_societe SET note='$note' WHERE idp=$socid";
$result = $db->query($sql);
}
if ($action == 'stcomm')
{
if ($stcommid <> 'null' && $stcommid <> $oldstcomm)
@ -192,7 +186,7 @@ if ($socid > 0)
print "<td align=\"center\"><a href=\"index.php?socidp=$objsoc->idp&action=add\">[Bookmark]</a></td>";
if ($user->rights->facture->creer)
print "<td>[<a href=\"facture.php?action=create&socidp=$objsoc->idp\">".translate("Facture")."</a>]</td>";
print "<td><a href=\"socnote.php?socid=$objsoc->idp\">Notes</a></td>";
print "<td><a href=\"../socnote.php?socid=$objsoc->idp\">Notes</a></td>";
print "<td align=\"center\">[<a href=\"deplacement/fiche.php?socid=$objsoc->idp&action=create\">Déplacement</a>]</td>";
}
print "</tr></table>";