New: Ajout d'un visuel spcifique pour les liens "contacts" et "socits".
@ -16,4 +16,8 @@ TaskRDV=Rendez-vous
|
||||
TaskRDVWith=Rendez-vous with %s
|
||||
SalesRepresentative=Sales representative
|
||||
ErrorWrongCode=Wrong code
|
||||
NoSalesRepresentativeAffected=No particular sales representative affected
|
||||
NoSalesRepresentativeAffected=No particular sales representative affected
|
||||
ShowCustomer=Show customer
|
||||
ShowProspect=Show prospect
|
||||
ListOfProspects=Prospects list
|
||||
ListOfCustomers=Customers list
|
||||
|
||||
@ -47,4 +47,8 @@ SupplierCode=Supplier code
|
||||
CustomerAccount=Customer account
|
||||
SupplierAccount=Supplier account
|
||||
LastProspect=Last
|
||||
CompanyDeleted=Company "%s" deleted from database.
|
||||
CompanyDeleted=Company "%s" deleted from database.
|
||||
ListOfContacts=List of contacts
|
||||
ListOfCompanies=List of companies
|
||||
ShowCompany=Show company
|
||||
ShowContact=Show contact
|
||||
@ -1,7 +1,10 @@
|
||||
# Dolibarr language file - en_US - suppliers
|
||||
Suppliers=Suppliers
|
||||
Supplier=Supplier
|
||||
AddSupplier=Add a supplier
|
||||
SupplierRemoved=Supplier removed
|
||||
NewSupplier=Nes supplier
|
||||
NewSupplier=New supplier
|
||||
History=History
|
||||
OrderCard=Order card
|
||||
OrderCard=Order card
|
||||
ListOfSuppliers=List of suppliers
|
||||
ShowSupplier=Show supplier
|
||||
@ -17,3 +17,7 @@ TaskRDVWith=Rendez-vous avec %s
|
||||
SalesRepresentative=Commercial
|
||||
ErrorWrongCode=Code incorrect
|
||||
NoSalesRepresentativeAffected=Aucun commercial particulier affecté
|
||||
ShowCustomer=Show customer
|
||||
ShowProspect=Show prospect
|
||||
ListOfProspects=Liste des prospects
|
||||
ListOfCustomers=Liste des clients
|
||||
|
||||
@ -47,4 +47,8 @@ SupplierCode=Code fournisseur
|
||||
CustomerAccount=Compte client
|
||||
SupplierAccount=Compte fournisseur
|
||||
LastProspect=Derniers
|
||||
CompanyDeleted=La société "%s" a été supprimée de la base.
|
||||
CompanyDeleted=La société "%s" a été supprimée de la base.
|
||||
ListOfContacts=Liste des contacts
|
||||
ListOfCompanies=Liste des sociétés
|
||||
ShowCompany=Afficher société
|
||||
ShowContact=Afficher contact
|
||||
@ -1,7 +1,10 @@
|
||||
# Dolibarr language file - fr_FR - suppliers
|
||||
Suppliers=Fournisseurs
|
||||
Supplier=Fournisseur
|
||||
AddSupplier=Ajouter un fournisseur
|
||||
SupplierRemoved=Fournisseur supprimé
|
||||
NewSupplier=Nouveau fournisseur
|
||||
History=Historique
|
||||
OrderCard=Fiche commande
|
||||
OrderCard=Fiche commande
|
||||
ListOfSuppliers=Liste des fournisseurs
|
||||
ShowSupplier=Afficher fournisseur
|
||||
@ -291,49 +291,50 @@ function dolibarr_print_object_info($object)
|
||||
|
||||
/**
|
||||
\brief Formatage du telephone
|
||||
\param phone numéro de telephone à formater
|
||||
\return phone numéro de téléphone formaté
|
||||
\remarks ne tient pas en compte le format belge 02/211 34 83
|
||||
\remarks formattage automatique des numero non formates
|
||||
\remarks ajouté la prise en charge les numéros de 7, 9, 11 et 12 chiffres
|
||||
\param phone Numéro de telephone à formater
|
||||
\return phone Numéro de téléphone formaté
|
||||
\remarks Ne tient pas en compte le format belge 02/211 34 83
|
||||
\remarks Formattage automatique des numero non formates
|
||||
*/
|
||||
function dolibarr_print_phone($phone)
|
||||
function dolibarr_print_phone($phone,$country="FR")
|
||||
{
|
||||
$phone=trim($phone);
|
||||
if (strstr($phone, ' ')) { return $phone; }
|
||||
if (strlen(trim($phone)) == 10) {
|
||||
return substr($phone,0,2)." ".substr($phone,2,2)." ".substr($phone,4,2)." ".substr($phone,6,2)." ".substr($phone,8,2);
|
||||
if (strtoupper($country) == "FR") {
|
||||
// France
|
||||
if (strlen($phone) == 10) {
|
||||
return substr($phone,0,2)." ".substr($phone,2,2)." ".substr($phone,4,2)." ".substr($phone,6,2)." ".substr($phone,8,2);
|
||||
}
|
||||
elseif (strlen($phone) == 7)
|
||||
{
|
||||
return substr($phone,0,3)." ".substr($phone,3,2)." ".substr($phone,5,2);
|
||||
}
|
||||
elseif (strlen($phone) == 9)
|
||||
{
|
||||
return substr($phone,0,2)." ".substr($phone,2,3)." ".substr($phone,5,2)." ".substr($phone,7,2);
|
||||
}
|
||||
elseif (strlen($phone) == 11)
|
||||
{
|
||||
return substr($phone,0,3)." ".substr($phone,3,2)." ".substr($phone,5,2)." ".substr($phone,7,2)." ".substr($phone,9,2);
|
||||
}
|
||||
elseif (strlen($phone) == 12)
|
||||
{
|
||||
return substr($phone,0,4)." ".substr($phone,4,2)." ".substr($phone,6,2)." ".substr($phone,8,2)." ".substr($phone,10,2);
|
||||
}
|
||||
}
|
||||
elseif (strlen(trim($phone)) == 7)
|
||||
{
|
||||
return substr($phone,0,3)." ".substr($phone,3,2)." ".substr($phone,5,2);
|
||||
}
|
||||
elseif (strlen(trim($phone)) == 9)
|
||||
{
|
||||
return substr($phone,0,2)." ".substr($phone,2,3)." ".substr($phone,5,2)." ".substr($phone,7,2);
|
||||
}
|
||||
elseif (strlen(trim($phone)) == 11)
|
||||
{
|
||||
return substr($phone,0,3)." ".substr($phone,3,2)." ".substr($phone,5,2)." ".substr($phone,7,2)." ".substr($phone,9,2);
|
||||
}
|
||||
elseif (strlen(trim($phone)) == 12)
|
||||
{
|
||||
return substr($phone,0,4)." ".substr($phone,4,2)." ".substr($phone,6,2)." ".substr($phone,8,2)." ".substr($phone,10,2);
|
||||
}
|
||||
else
|
||||
{
|
||||
return $phone;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief Affiche logo dédié aux actions
|
||||
\brief Affiche logo propre à une notion (fonction générique)
|
||||
\param alt Texte sur le alt de l'image
|
||||
\param object Objet pour lequel il faut afficher le logo (exemple: user, group, action, bill, contract, propal, product, ...)
|
||||
*/
|
||||
function img_actions($alt = "default")
|
||||
function img_object($alt, $object)
|
||||
{
|
||||
global $conf,$langs;
|
||||
if ($alt=="default") $alt=$langs->trans("Rendez-vous");
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/object_actions.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/object_'.$object.'.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
BIN
htdocs/theme/dev/img/object_company.png
Normal file
|
After Width: | Height: | Size: 492 B |
BIN
htdocs/theme/dev/img/object_contact.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
htdocs/theme/dev/img/object_group.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
htdocs/theme/dev/img/object_user.png
Normal file
|
After Width: | Height: | Size: 825 B |
BIN
htdocs/theme/dev/img/refresh.png
Normal file
|
After Width: | Height: | Size: 812 B |
BIN
htdocs/theme/freelug/img/object_action.png
Normal file
|
After Width: | Height: | Size: 920 B |
BIN
htdocs/theme/freelug/img/object_group.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
htdocs/theme/freelug/img/object_user.png
Normal file
|
After Width: | Height: | Size: 825 B |
BIN
htdocs/theme/freelug/img/refresh.png
Normal file
|
After Width: | Height: | Size: 812 B |
BIN
htdocs/theme/yellow/img/object_action.png
Normal file
|
After Width: | Height: | Size: 920 B |
BIN
htdocs/theme/yellow/img/object_company.png
Normal file
|
After Width: | Height: | Size: 492 B |
BIN
htdocs/theme/yellow/img/object_contact.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
htdocs/theme/yellow/img/object_group.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
htdocs/theme/yellow/img/object_user.png
Normal file
|
After Width: | Height: | Size: 825 B |
BIN
htdocs/theme/yellow/img/refresh.png
Normal file
|
After Width: | Height: | Size: 812 B |