From fee41856054d34516a252c573cc997bdb9d99c73 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 4 Feb 2004 19:15:31 +0000 Subject: [PATCH] =?UTF-8?q?Gestion=20des=20nouvelles=20donn=E9es=20code=20?= =?UTF-8?q?ape,=20tva,=20siret?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/soc.php | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) 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 '
'; print ''; - print ''; + print '
'; print ''; print '
Nom
Adresse