From e3f4595920d5e1231c2bff9f6e3b4707df12409d Mon Sep 17 00:00:00 2001 From: opensides Date: Wed, 9 Jun 2004 16:35:33 +0000 Subject: [PATCH] fin de l'adaptation de la fiche societe pour la belgique correction du bug #8933 --- htdocs/fourn/fiche.php | 6 +++--- htdocs/soc-BE.php | 36 +++++++++++++++++++++--------------- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/htdocs/fourn/fiche.php b/htdocs/fourn/fiche.php index 0bafd9c6882..815bbbf741d 100644 --- a/htdocs/fourn/fiche.php +++ b/htdocs/fourn/fiche.php @@ -191,9 +191,9 @@ if ( $societe->fetch($socid) ) } print ""; print "$obj->poste "; - print ''.$obj->phone.' '; - print ''.$obj->fax.' '; - print ''.$obj->email.' '; + print ''.$obj->phone.' '; + print ''.$obj->fax.' '; + print ''.$obj->email.' '; print "idp\">".img_edit().""; print "\n"; $i++; diff --git a/htdocs/soc-BE.php b/htdocs/soc-BE.php index d52bbdb6ca4..9947e71b2c2 100644 --- a/htdocs/soc-BE.php +++ b/htdocs/soc-BE.php @@ -46,9 +46,13 @@ if ($_POST["action"] == 'add' or $_POST["action"] == 'update') $soc->tel = $_POST["tel"]; $soc->fax = $_POST["fax"]; $soc->url = ereg_replace( "http://", "", $_POST["url"] ); - $soc->siren = $_POST["siren"]; + + /* $soc->siren = $_POST["siren"]; */ + $soc->siret = $_POST["siret"]; - $soc->ape = $_POST["ape"]; + + /* $soc->ape = $_POST["ape"]; */ + $soc->capital = $_POST["capital"]; $soc->tva_intra = $_POST["tva_intra_code"] . $_POST["tva_intra_num"]; @@ -101,11 +105,12 @@ if ($action == 'create') print 'Webhttp://'; - print 'Siren'; + print ''; - print 'Siret'; + print 'Registre de Commerce'; print ''; + print 'Capital '.MAIN_MONNAIE.''; print 'Forme juridique'; @@ -169,13 +174,14 @@ elseif ($action == 'edit') print 'Téléphone'; print 'Fax'; print 'Webhttp://'; - - print 'Siren'; - print 'Siret'; print ''; - print 'Capital '.MAIN_MONNAIE.''; + print 'Registre de Commerce'; + + print ''; + + print 'Capital '.MAIN_MONNAIE.''; print 'Forme juridique'; $html = new Form($db); @@ -202,9 +208,9 @@ elseif ($action == 'edit') } elseif ($soc->client == 1) { - print ''; - print ''; - print ''; + print ''; + print ''; + print ''; } else { @@ -218,7 +224,7 @@ elseif ($action == 'edit') print 'Fournisseur'; - + print ''; print ''; @@ -295,11 +301,12 @@ else if ($soc->url) { print 'http://'.$soc->url.''; } print ''; - print 'Siren'.$soc->siren.' '; + print ''; - print 'Siret'.$soc->siret.''; + print 'Registre de Commerce'.$soc->siret.''; print ''; + print 'Capital'.$soc->capital.' '.MAIN_MONNAIE.''; print 'Forme juridique'.$soc->forme_juridique.''; @@ -320,7 +327,6 @@ else print 'Ajouter un contact'; - print 'Notifications'; print ''; /* *