mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Trad: Traduction des types de socits
This commit is contained in:
@@ -65,4 +65,9 @@ EditCompany=Edit company
|
||||
ThisUserIsNot=This user is not a prospect, customer nor supplier
|
||||
VATIntraCheckableOnEUSite=Intracomunnautary VAT can be checked on European commision <a href="http://europa.eu.int/comm/taxation_customs/vies/en/vieshome.htm" target="_blank">site</a>
|
||||
NorProspectNorCustomer=Nor prospect, nor customer
|
||||
Staff=Staff
|
||||
Staff=Staff
|
||||
TE_STARTUP=Startup
|
||||
TE_GROUP=Large company
|
||||
TE_MEDIUM=Small or medium company
|
||||
TE_ADMIN=Governemental
|
||||
TE_OTHER=Other
|
||||
@@ -65,4 +65,9 @@ EditCompany=Edition soci
|
||||
ThisUserIsNot=Cet utilisateur n'est pas un prospect, client ni fournisseur
|
||||
VATIntraCheckableOnEUSite=Num<75>ro TVA intra communautaire v<>rifiable sur le <a href="http://europa.eu.int/comm/taxation_customs/vies/fr/vieshome.htm" target="_blank">site</a> de la commission europ<6F>enne
|
||||
NorProspectNorCustomer=Ni client, ni prospect
|
||||
Staff=Effectifs
|
||||
Staff=Effectifs
|
||||
TE_STARTUP=Startup
|
||||
TE_GROUP=Grande soci<63>t<EFBFBD>
|
||||
TE_MEDIUM=PME/PMI
|
||||
TE_ADMIN=Administration
|
||||
TE_OTHER=Autre
|
||||
@@ -966,35 +966,40 @@ class Societe {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Renvoie la liste des types de parties
|
||||
* \return array tableau des types
|
||||
*/
|
||||
|
||||
function typent_array()
|
||||
{
|
||||
$effs = array();
|
||||
/*
|
||||
* Lignes
|
||||
*/
|
||||
$sql = "SELECT id, libelle";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."c_typent";
|
||||
$sql .= " ORDER BY id ASC";
|
||||
if ($this->db->query($sql))
|
||||
{
|
||||
$num = $this->db->num_rows();
|
||||
$i = 0;
|
||||
|
||||
while ($i < $num)
|
||||
{
|
||||
$objp = $this->db->fetch_object();
|
||||
$effs[$objp->id] = $objp->libelle;
|
||||
$i++;
|
||||
}
|
||||
$this->db->free();
|
||||
}
|
||||
return $effs;
|
||||
}
|
||||
/**
|
||||
* \brief Renvoie la liste des types actifs de soci<63>t<EFBFBD>s
|
||||
* \return array tableau des types
|
||||
*/
|
||||
function typent_array()
|
||||
{
|
||||
global $langs;
|
||||
|
||||
$effs = array();
|
||||
|
||||
$sql = "SELECT id, code, libelle";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."c_typent";
|
||||
$sql .= " WHERE active = 1";
|
||||
$sql .= " ORDER by id";
|
||||
$result=$this->db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
$num = $this->db->num_rows($result);
|
||||
$i = 0;
|
||||
|
||||
while ($i < $num)
|
||||
{
|
||||
$objp = $this->db->fetch_object($result);
|
||||
if ($langs->trans($objp->code) != $objp->code)
|
||||
$effs[$objp->id] = $langs->trans($objp->code);
|
||||
else
|
||||
$effs[$objp->id] = $objp->libelle;
|
||||
$i++;
|
||||
}
|
||||
$this->db->free($result);
|
||||
}
|
||||
|
||||
return $effs;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user