diff --git a/htdocs/admin/index.php b/htdocs/admin/index.php index 2eeee4c4c49..81fb4cb265b 100644 --- a/htdocs/admin/index.php +++ b/htdocs/admin/index.php @@ -41,13 +41,14 @@ if ( (isset($_POST["action"]) && $_POST["action"] == 'update') dolibarr_set_const($db, "MAIN_INFO_SOCIETE_NOM",$_POST["nom"]); dolibarr_set_const($db, "MAIN_INFO_SOCIETE_ADRESSE",$_POST["address"]); dolibarr_set_const($db, "MAIN_INFO_SOCIETE_PAYS",$_POST["pays_id"]); - dolibarr_set_const($db, "MAIN_INFO_SOCIETE_FORME_JURIDIQUE",$_POST["forme_juridique_code"]); dolibarr_set_const($db, "MAIN_MONNAIE",$_POST["currency"]); - dolibarr_set_const($db, "MAIN_INFO_CAPITAL",$_POST["capital"]); + dolibarr_set_const($db, "MAIN_INFO_CAPITAL",$_POST["capital"]); + dolibarr_set_const($db, "MAIN_INFO_SOCIETE_FORME_JURIDIQUE",$_POST["forme_juridique_code"]); dolibarr_set_const($db, "MAIN_INFO_SIREN",$_POST["siren"]); dolibarr_set_const($db, "MAIN_INFO_SIRET",$_POST["siret"]); dolibarr_set_const($db, "MAIN_INFO_APE",$_POST["ape"]); + dolibarr_set_const($db, "MAIN_INFO_RCS",$_POST["rcs"]); dolibarr_set_const($db, "MAIN_INFO_TVAINTRA",$_POST["tva"]); if ($_POST['action'] != 'updateedit') @@ -93,7 +94,7 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') $var=true; print ''; - print ''; + print ''; $var=!$var; print ''; - $var=!$var; - print ''; - print '
'.$langs->trans("CompanyInfo").'
'.$langs->trans("CompanyInfo").''.$langs->trans("Value").'
'.$langs->trans("CompanyName").''; @@ -113,10 +114,6 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') $form->select_currency($conf->global->MAIN_MONNAIE,"currency"); print '
'.$langs->trans("Capital").''; - print '
'; print '
'; @@ -144,6 +141,11 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') } } + // Capital + $var=!$var; + print ''.$langs->trans("Capital").''; + print ''; + // Forme juridique $var=!$var; print ''.$langs->trans("JuridicalStatus").''; @@ -205,6 +207,22 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') } print ''; + // ProfId4 + $var=!$var; + print ''.$langs->transcountry("ProfId4",$code_pays).''; + if ($conf->global->MAIN_INFO_SOCIETE_PAYS) + { + if ($langs->transcountry("ProfId4",$code_pays) != '-') + { + print ''; + } + } + else + { + print $countrynotdefined; + } + print ''; + // TVA Intra $var=!$var; print ''.$langs->trans("TVAIntra").''; @@ -218,9 +236,9 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') } else { - /* - * Affichage des paramètres - */ + /* + * Affichage des paramètres + */ print ''; print ''; @@ -242,10 +260,6 @@ else print $form->currency_name($conf->global->MAIN_MONNAIE,1); print ''; - $var=!$var; - print ''; - print '
'.$langs->trans("CompanyInfo").''.$langs->trans("Value").'
'.$langs->trans("Capital").''; - print $conf->global->MAIN_INFO_CAPITAL . '
'; print '
'; @@ -272,12 +286,18 @@ else } } + // Capital + $var=!$var; + print ''.$langs->trans("Capital").''; + print $conf->global->MAIN_INFO_CAPITAL . ''; + // Forme juridique $var=!$var; print ''.$langs->trans("JuridicalStatus").''; print $form->forme_juridique_name($conf->global->MAIN_INFO_SOCIETE_FORME_JURIDIQUE,1); print ''; + // ProfId1 $var=!$var; print ''.$langs->transcountry("ProfId1",$code_pays).''; if ($langs->transcountry("ProfId1",$code_pays) != '-') @@ -286,6 +306,7 @@ else } print ''; + // ProfId2 $var=!$var; print ''.$langs->transcountry("ProfId2",$code_pays).''; if ($langs->transcountry("ProfId2",$code_pays) != '-') @@ -294,6 +315,7 @@ else } print ''; + // ProfId3 $var=!$var; print ''.$langs->transcountry("ProfId3",$code_pays).''; if ($langs->transcountry("ProfId3",$code_pays) != '-') @@ -302,6 +324,16 @@ else } print ''; + // ProfId4 + $var=!$var; + print ''.$langs->transcountry("ProfId4",$code_pays).''; + if ($langs->transcountry("ProfId4",$code_pays) != '-') + { + print $conf->global->MAIN_INFO_RCS; + } + print ''; + + // TVA Intracommunautaire $var=!$var; print ''.$langs->trans("TVAIntra").'' . $conf->global->MAIN_INFO_TVAINTRA . ''; diff --git a/htdocs/langs/en_US/companies.lang b/htdocs/langs/en_US/companies.lang index 219b0432f59..fcb5e361789 100644 --- a/htdocs/langs/en_US/companies.lang +++ b/htdocs/langs/en_US/companies.lang @@ -32,15 +32,19 @@ Web=Web ProfId1=Professional ID 1 ProfId2=Professional ID 2 ProfId3=Professional ID 3 +ProfId4=Professional ID 4 ProfId1FR=SIREN ProfId2FR=SIRET ProfId3FR=NAF (Old APE) +ProfId4FR=RCS/RM ProfId1BE=Professionnel number ProfId2BE=- ProfId3BE=- +ProfId4BE=- ProfId1PT=NIPC ProfId2PT=Social security number ProfId3PT=Commercial Record number +ProfId4PT=Conservatory TVAIntra=Intracommunautary VAT VATIntraShort=Intra-communautary VAT code ProspectCustomer=Prospect / Customer diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang index 5ba78a8e925..cd18d7382c1 100644 --- a/htdocs/langs/fr_FR/admin.lang +++ b/htdocs/langs/fr_FR/admin.lang @@ -247,7 +247,7 @@ DefaultLanguage=Langue par d PermanentLeftSearchForm=Zone de recherche permanente du menu de gauche SystemSuccessfulyUpdated=Votre système a été correctement mis à jour CompanyInfo=Informations sur la société/association -CompanyIds=Identifiants de la société/association +CompanyIds=Identifiants réglementaires CompanyName=Nom/Enseigne de la société/association CompanyAddress=Adresse de la société/association CompanyCurrency=Devise de la société/association diff --git a/htdocs/langs/fr_FR/bills.lang b/htdocs/langs/fr_FR/bills.lang index 1d8c460c12b..00b6f07e220 100644 --- a/htdocs/langs/fr_FR/bills.lang +++ b/htdocs/langs/fr_FR/bills.lang @@ -92,4 +92,6 @@ DateEcheance=Date ClassifyBill=Classer la facture NoSupplierBillsUnpayed=Aucune facture fournisseur impayée SupplierBillsToPay=Factures fournisseurs à payer -CustomerBillsUnpayed=Factures clients impayées \ No newline at end of file +CustomerBillsUnpayed=Factures clients impayées +DispenseMontantLettres=Les factures rédigées par procédés mécanographiques sont dispensées de l'arrêté en lettres +NonPercuRecuperable=non perçu récupérable diff --git a/htdocs/langs/fr_FR/companies.lang b/htdocs/langs/fr_FR/companies.lang index 2cb1139e967..ef88ea6209b 100644 --- a/htdocs/langs/fr_FR/companies.lang +++ b/htdocs/langs/fr_FR/companies.lang @@ -32,15 +32,19 @@ Web=Web ProfId1=ID professionnel 1 ProfId2=ID professionnel 2 ProfId3=ID professionnel 3 +ProfId3=ID professionnel 4 ProfId1FR=SIREN ProfId2FR=SIRET ProfId3FR=NAF (Ex APE) +ProfId4FR=RCS/RM ProfId1BE=N° professionnel ProfId2BE=- ProfId3BE=- +ProfId4BE=- ProfId1PT=NIPC ProfId2PT=Social security number ProfId3PT=Commercial Record number +ProfId4PT=Conservatory TVAIntra=Numéro de TVA Intracommunautaire VATIntraShort=Num TVA Intra-communautaire ProspectCustomer=Prospect / Client