diff --git a/htdocs/soc.php b/htdocs/soc.php index bc41e64d34e..590367cf700 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -69,7 +69,14 @@ if ($action == 'update') $soc->tel = $tel; $soc->fax = $fax; $soc->url = ereg_replace( "http://", "", $url ); - $soc->siren = $siren; + + $soc->siren = $HTTP_POST_VARS["siren"]; + $soc->siret = $HTTP_POST_VARS["siret"]; + $soc->ape = $HTTP_POST_VARS["ape"]; + $soc->capital = $HTTP_POST_VARS["capital"]; + $soc->tva_intra = $HTTP_POST_VARS["tva_intra_code"] . $HTTP_POST_VARS["tva_intra_num"]; + + $soc->client = $client; $soc->fournisseur = $fournisseur; @@ -126,7 +133,7 @@ elseif ($action == 'edit') print '