New: Ajout du RCS/RM dans la configuration général car info réglementaire requise sur les factures.
This commit is contained in:
parent
1180eff5e7
commit
3410c20160
@ -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_NOM",$_POST["nom"]);
|
||||||
dolibarr_set_const($db, "MAIN_INFO_SOCIETE_ADRESSE",$_POST["address"]);
|
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_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_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_SIREN",$_POST["siren"]);
|
||||||
dolibarr_set_const($db, "MAIN_INFO_SIRET",$_POST["siret"]);
|
dolibarr_set_const($db, "MAIN_INFO_SIRET",$_POST["siret"]);
|
||||||
dolibarr_set_const($db, "MAIN_INFO_APE",$_POST["ape"]);
|
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"]);
|
dolibarr_set_const($db, "MAIN_INFO_TVAINTRA",$_POST["tva"]);
|
||||||
|
|
||||||
if ($_POST['action'] != 'updateedit')
|
if ($_POST['action'] != 'updateedit')
|
||||||
@ -93,7 +94,7 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit')
|
|||||||
$var=true;
|
$var=true;
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("CompanyInfo").'</td></tr>';
|
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("CompanyInfo").'</td><td>'.$langs->trans("Value").'</td></tr>';
|
||||||
|
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td>'.$langs->trans("CompanyName").'</td><td>';
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("CompanyName").'</td><td>';
|
||||||
@ -113,10 +114,6 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit')
|
|||||||
$form->select_currency($conf->global->MAIN_MONNAIE,"currency");
|
$form->select_currency($conf->global->MAIN_MONNAIE,"currency");
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
$var=!$var;
|
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("Capital").'</td><td>';
|
|
||||||
print '<input name="capital" size="20" value="' . $conf->global->MAIN_INFO_CAPITAL . '"></td></tr>';
|
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
@ -144,6 +141,11 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Capital
|
||||||
|
$var=!$var;
|
||||||
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("Capital").'</td><td>';
|
||||||
|
print '<input name="capital" size="20" value="' . $conf->global->MAIN_INFO_CAPITAL . '"></td></tr>';
|
||||||
|
|
||||||
// Forme juridique
|
// Forme juridique
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td>'.$langs->trans("JuridicalStatus").'</td><td>';
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("JuridicalStatus").'</td><td>';
|
||||||
@ -205,6 +207,22 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit')
|
|||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
// ProfId4
|
||||||
|
$var=!$var;
|
||||||
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId4",$code_pays).'</td><td>';
|
||||||
|
if ($conf->global->MAIN_INFO_SOCIETE_PAYS)
|
||||||
|
{
|
||||||
|
if ($langs->transcountry("ProfId4",$code_pays) != '-')
|
||||||
|
{
|
||||||
|
print '<input name="rcs" size="20" value="' . $conf->global->MAIN_INFO_RCS . '">';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print $countrynotdefined;
|
||||||
|
}
|
||||||
|
print '</td></tr>';
|
||||||
|
|
||||||
// TVA Intra
|
// TVA Intra
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("TVAIntra").'</td><td>';
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("TVAIntra").'</td><td>';
|
||||||
@ -218,9 +236,9 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit')
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Affichage des paramètres
|
* Affichage des paramètres
|
||||||
*/
|
*/
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre"><td>'.$langs->trans("CompanyInfo").'</td><td>'.$langs->trans("Value").'</td></tr>';
|
print '<tr class="liste_titre"><td>'.$langs->trans("CompanyInfo").'</td><td>'.$langs->trans("Value").'</td></tr>';
|
||||||
@ -242,10 +260,6 @@ else
|
|||||||
print $form->currency_name($conf->global->MAIN_MONNAIE,1);
|
print $form->currency_name($conf->global->MAIN_MONNAIE,1);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
$var=!$var;
|
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("Capital").'</td><td>';
|
|
||||||
print $conf->global->MAIN_INFO_CAPITAL . '</td></tr>';
|
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
@ -272,12 +286,18 @@ else
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Capital
|
||||||
|
$var=!$var;
|
||||||
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("Capital").'</td><td>';
|
||||||
|
print $conf->global->MAIN_INFO_CAPITAL . '</td></tr>';
|
||||||
|
|
||||||
// Forme juridique
|
// Forme juridique
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("JuridicalStatus").'</td><td>';
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("JuridicalStatus").'</td><td>';
|
||||||
print $form->forme_juridique_name($conf->global->MAIN_INFO_SOCIETE_FORME_JURIDIQUE,1);
|
print $form->forme_juridique_name($conf->global->MAIN_INFO_SOCIETE_FORME_JURIDIQUE,1);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
// ProfId1
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId1",$code_pays).'</td><td>';
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId1",$code_pays).'</td><td>';
|
||||||
if ($langs->transcountry("ProfId1",$code_pays) != '-')
|
if ($langs->transcountry("ProfId1",$code_pays) != '-')
|
||||||
@ -286,6 +306,7 @@ else
|
|||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
// ProfId2
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId2",$code_pays).'</td><td>';
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId2",$code_pays).'</td><td>';
|
||||||
if ($langs->transcountry("ProfId2",$code_pays) != '-')
|
if ($langs->transcountry("ProfId2",$code_pays) != '-')
|
||||||
@ -294,6 +315,7 @@ else
|
|||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
// ProfId3
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId3",$code_pays).'</td><td>';
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId3",$code_pays).'</td><td>';
|
||||||
if ($langs->transcountry("ProfId3",$code_pays) != '-')
|
if ($langs->transcountry("ProfId3",$code_pays) != '-')
|
||||||
@ -302,6 +324,16 @@ else
|
|||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
// ProfId4
|
||||||
|
$var=!$var;
|
||||||
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->transcountry("ProfId4",$code_pays).'</td><td>';
|
||||||
|
if ($langs->transcountry("ProfId4",$code_pays) != '-')
|
||||||
|
{
|
||||||
|
print $conf->global->MAIN_INFO_RCS;
|
||||||
|
}
|
||||||
|
print '</td></tr>';
|
||||||
|
|
||||||
|
// TVA Intracommunautaire
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$var].'><td>'.$langs->trans("TVAIntra").'</td><td>' . $conf->global->MAIN_INFO_TVAINTRA . '</td></tr>';
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("TVAIntra").'</td><td>' . $conf->global->MAIN_INFO_TVAINTRA . '</td></tr>';
|
||||||
|
|
||||||
|
|||||||
@ -32,15 +32,19 @@ Web=Web
|
|||||||
ProfId1=Professional ID 1
|
ProfId1=Professional ID 1
|
||||||
ProfId2=Professional ID 2
|
ProfId2=Professional ID 2
|
||||||
ProfId3=Professional ID 3
|
ProfId3=Professional ID 3
|
||||||
|
ProfId4=Professional ID 4
|
||||||
ProfId1FR=SIREN
|
ProfId1FR=SIREN
|
||||||
ProfId2FR=SIRET
|
ProfId2FR=SIRET
|
||||||
ProfId3FR=NAF (Old APE)
|
ProfId3FR=NAF (Old APE)
|
||||||
|
ProfId4FR=RCS/RM
|
||||||
ProfId1BE=Professionnel number
|
ProfId1BE=Professionnel number
|
||||||
ProfId2BE=-
|
ProfId2BE=-
|
||||||
ProfId3BE=-
|
ProfId3BE=-
|
||||||
|
ProfId4BE=-
|
||||||
ProfId1PT=NIPC
|
ProfId1PT=NIPC
|
||||||
ProfId2PT=Social security number
|
ProfId2PT=Social security number
|
||||||
ProfId3PT=Commercial Record number
|
ProfId3PT=Commercial Record number
|
||||||
|
ProfId4PT=Conservatory
|
||||||
TVAIntra=Intracommunautary VAT
|
TVAIntra=Intracommunautary VAT
|
||||||
VATIntraShort=Intra-communautary VAT code
|
VATIntraShort=Intra-communautary VAT code
|
||||||
ProspectCustomer=Prospect / Customer
|
ProspectCustomer=Prospect / Customer
|
||||||
|
|||||||
@ -247,7 +247,7 @@ DefaultLanguage=Langue par d
|
|||||||
PermanentLeftSearchForm=Zone de recherche permanente du menu de gauche
|
PermanentLeftSearchForm=Zone de recherche permanente du menu de gauche
|
||||||
SystemSuccessfulyUpdated=Votre système a été correctement mis à jour
|
SystemSuccessfulyUpdated=Votre système a été correctement mis à jour
|
||||||
CompanyInfo=Informations sur la société/association
|
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
|
CompanyName=Nom/Enseigne de la société/association
|
||||||
CompanyAddress=Adresse de la société/association
|
CompanyAddress=Adresse de la société/association
|
||||||
CompanyCurrency=Devise de la société/association
|
CompanyCurrency=Devise de la société/association
|
||||||
|
|||||||
@ -92,4 +92,6 @@ DateEcheance=Date
|
|||||||
ClassifyBill=Classer la facture
|
ClassifyBill=Classer la facture
|
||||||
NoSupplierBillsUnpayed=Aucune facture fournisseur impayée
|
NoSupplierBillsUnpayed=Aucune facture fournisseur impayée
|
||||||
SupplierBillsToPay=Factures fournisseurs à payer
|
SupplierBillsToPay=Factures fournisseurs à payer
|
||||||
CustomerBillsUnpayed=Factures clients impayées
|
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
|
||||||
|
|||||||
@ -32,15 +32,19 @@ Web=Web
|
|||||||
ProfId1=ID professionnel 1
|
ProfId1=ID professionnel 1
|
||||||
ProfId2=ID professionnel 2
|
ProfId2=ID professionnel 2
|
||||||
ProfId3=ID professionnel 3
|
ProfId3=ID professionnel 3
|
||||||
|
ProfId3=ID professionnel 4
|
||||||
ProfId1FR=SIREN
|
ProfId1FR=SIREN
|
||||||
ProfId2FR=SIRET
|
ProfId2FR=SIRET
|
||||||
ProfId3FR=NAF (Ex APE)
|
ProfId3FR=NAF (Ex APE)
|
||||||
|
ProfId4FR=RCS/RM
|
||||||
ProfId1BE=N° professionnel
|
ProfId1BE=N° professionnel
|
||||||
ProfId2BE=-
|
ProfId2BE=-
|
||||||
ProfId3BE=-
|
ProfId3BE=-
|
||||||
|
ProfId4BE=-
|
||||||
ProfId1PT=NIPC
|
ProfId1PT=NIPC
|
||||||
ProfId2PT=Social security number
|
ProfId2PT=Social security number
|
||||||
ProfId3PT=Commercial Record number
|
ProfId3PT=Commercial Record number
|
||||||
|
ProfId4PT=Conservatory
|
||||||
TVAIntra=Numéro de TVA Intracommunautaire
|
TVAIntra=Numéro de TVA Intracommunautaire
|
||||||
VATIntraShort=Num TVA Intra-communautaire
|
VATIntraShort=Num TVA Intra-communautaire
|
||||||
ProspectCustomer=Prospect / Client
|
ProspectCustomer=Prospect / Client
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user