diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php index 42228a0106d..6729a7a51bf 100644 --- a/htdocs/comm/prospect/fiche.php +++ b/htdocs/comm/prospect/fiche.php @@ -30,6 +30,12 @@ $user->getrights('fichinter'); $user->getrights('commande'); $user->getrights('projet'); +if ($_GET["action"] == 'cstc') +{ + $sql = "UPDATE ".MAIN_DB_PREFIX."societe SET fk_stcomm = ".$_GET["stcomm"]; + $sql .= " WHERE idp = ".$_GET["id"]; + $db->query($sql); +} llxHeader(); @@ -65,7 +71,6 @@ if ($socid > 0) if ($result) { - $head[0][0] = DOL_URL_ROOT.'/soc.php?socid='.$societe->id; $head[0][1] = "Fiche société"; $h = 1; @@ -111,7 +116,6 @@ if ($socid > 0) print "APE"; print $societe->ape; print ""; - print 'Siret'.$societe->siret.''; print 'Capital'.$societe->capital.''; @@ -128,7 +132,18 @@ if ($socid > 0) } print "Forme juridique$societe->forme_juridique"; - + print "Statut$societe->statut_commercial"; + print ' '; + print ''; + print ''.$alt.''; + print ' '; + print ''.$alt.''; + print ' '; + print ''.$alt.''; + print ' '; + print ''.$alt.''; + print ''; + print ''; print ""; /*