Ajout et onglets et traductions
This commit is contained in:
parent
62447dd1f1
commit
ddefb3aba9
@ -67,4 +67,18 @@ Pack=Pack
|
|||||||
Packs=Packs
|
Packs=Packs
|
||||||
NoteNotVisibleOnBill=Note (not visible on invoices, proposals...)
|
NoteNotVisibleOnBill=Note (not visible on invoices, proposals...)
|
||||||
CreateCopy=Create copy
|
CreateCopy=Create copy
|
||||||
ServiceLimitedDuration=If produced of service type at limited duration:
|
ServiceLimitedDuration=If produced of service type at limited duration:
|
||||||
|
MultiPricesAbility=Activate the multi-prices
|
||||||
|
MultiPricesNumPrices=Number of price
|
||||||
|
MultiPriceLevelsName=Price categories
|
||||||
|
AssociatedProductsAbility=Activate the associated products
|
||||||
|
AssociatedProducts=Associated products
|
||||||
|
AssociatedProductsNumber=Number of associated products
|
||||||
|
EditAssociate=Associated
|
||||||
|
Translation=Translation
|
||||||
|
KeywordFilter=Keyword filter
|
||||||
|
CategoryFilter=Category filter
|
||||||
|
ProductToAddSearch=Search product to add
|
||||||
|
AddDel=Add/Delete
|
||||||
|
Quantity=Quantity
|
||||||
|
NoMatchFound=No match found
|
||||||
@ -85,7 +85,8 @@ MultiPriceLevelsName=Cat
|
|||||||
AssociatedProductsAbility=Prise en charges des produits associés
|
AssociatedProductsAbility=Prise en charges des produits associés
|
||||||
AssociatedProducts=Produits associés
|
AssociatedProducts=Produits associés
|
||||||
AssociatedProductsNumber=Nbre de produits associés
|
AssociatedProductsNumber=Nbre de produits associés
|
||||||
EditAssociate=Associer au
|
EditAssociate=Associer au
|
||||||
|
Translation=Traduction
|
||||||
KeywordFilter=Filtre par mot-clé
|
KeywordFilter=Filtre par mot-clé
|
||||||
CategoryFilter=Filtre par catégorie
|
CategoryFilter=Filtre par catégorie
|
||||||
ProductToAddSearch=Recherche des produits à ajouter
|
ProductToAddSearch=Recherche des produits à ajouter
|
||||||
|
|||||||
@ -101,6 +101,14 @@ if($product->type == 0)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Multilangs
|
||||||
|
if($conf->global->PRODUIT_MULTILANGS == 1)
|
||||||
|
{
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/traduction.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans("Translation");
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled) {
|
if ($conf->fournisseur->enabled) {
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans("Suppliers");
|
$head[$h][1] = $langs->trans("Suppliers");
|
||||||
@ -111,12 +119,13 @@ $head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
|||||||
$head[$h][1] = $langs->trans("Statistics");
|
$head[$h][1] = $langs->trans("Statistics");
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
//erics: pour créer des produits composés de x 'sous' produits
|
// sousproduits
|
||||||
/*
|
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/pack.php?id=".$product->id;
|
{
|
||||||
$head[$h][1] = $langs->trans('Packs');
|
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
||||||
$h++;
|
$head[$h][1] = $langs->trans('AssociatedProducts');
|
||||||
*/
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans("Referers");
|
$head[$h][1] = $langs->trans("Referers");
|
||||||
|
|||||||
@ -127,6 +127,14 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Multilangs
|
||||||
|
if($conf->global->PRODUIT_MULTILANGS == 1)
|
||||||
|
{
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/traduction.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans("Translation");
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled)
|
if ($conf->fournisseur->enabled)
|
||||||
{
|
{
|
||||||
@ -138,6 +146,7 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('Statistics');
|
$head[$h][1] = $langs->trans('Statistics');
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
// sousproduits
|
// sousproduits
|
||||||
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
||||||
{
|
{
|
||||||
@ -145,6 +154,7 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
$head[$h][1] = $langs->trans('AssociatedProducts');
|
$head[$h][1] = $langs->trans('AssociatedProducts');
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('Referers');
|
$head[$h][1] = $langs->trans('Referers');
|
||||||
$h++;
|
$h++;
|
||||||
|
|||||||
@ -143,6 +143,14 @@ if ($product->id)
|
|||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Multilangs
|
||||||
|
if($conf->global->PRODUIT_MULTILANGS == 1)
|
||||||
|
{
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/traduction.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans("Translation");
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled)
|
if ($conf->fournisseur->enabled)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -211,25 +211,33 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Multilangs
|
||||||
|
if($conf->global->PRODUIT_MULTILANGS == 1)
|
||||||
|
{
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/traduction.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans("Translation");
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled)
|
if ($conf->fournisseur->enabled)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans("Suppliers");
|
$head[$h][1] = $langs->trans("Suppliers");
|
||||||
$hselected = $h;
|
$hselected = $h;
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('Statistics');
|
$head[$h][1] = $langs->trans('Statistics');
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
// sousproduits
|
// sousproduits
|
||||||
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('AssociatedProducts');
|
$head[$h][1] = $langs->trans('AssociatedProducts');
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('Referers');
|
$head[$h][1] = $langs->trans('Referers');
|
||||||
|
|||||||
@ -140,6 +140,14 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Multilangs
|
||||||
|
if($conf->global->PRODUIT_MULTILANGS == 1)
|
||||||
|
{
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/traduction.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans("Translation");
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled)
|
if ($conf->fournisseur->enabled)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
||||||
|
|||||||
@ -141,6 +141,14 @@ if($product->type == 0)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Multilangs
|
||||||
|
if($conf->global->PRODUIT_MULTILANGS == 1)
|
||||||
|
{
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/traduction.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans("Translation");
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled) {
|
if ($conf->fournisseur->enabled) {
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans("Suppliers");
|
$head[$h][1] = $langs->trans("Suppliers");
|
||||||
@ -150,6 +158,7 @@ if ($conf->fournisseur->enabled) {
|
|||||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans("Statistics");
|
$head[$h][1] = $langs->trans("Statistics");
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
// sousproduits
|
// sousproduits
|
||||||
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
||||||
{
|
{
|
||||||
@ -158,13 +167,6 @@ if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
|||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
//erics: pour créer des produits composés de x 'sous' produits
|
|
||||||
/*
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/pack.php?id=".$product->id;
|
|
||||||
$head[$h][1] = $langs->trans('Packs');
|
|
||||||
$h++;
|
|
||||||
*/
|
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans("Referers");
|
$head[$h][1] = $langs->trans("Referers");
|
||||||
$h++;
|
$h++;
|
||||||
|
|||||||
@ -207,6 +207,14 @@ if ($id || $ref)
|
|||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Multilangs
|
||||||
|
if($conf->global->PRODUIT_MULTILANGS == 1)
|
||||||
|
{
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/traduction.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans("Translation");
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled)
|
if ($conf->fournisseur->enabled)
|
||||||
{
|
{
|
||||||
@ -219,14 +227,14 @@ if ($id || $ref)
|
|||||||
$head[$h][1] = $langs->trans('Statistics');
|
$head[$h][1] = $langs->trans('Statistics');
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
// sousproduits
|
// sousproduits
|
||||||
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('AssociatedProducts');
|
$head[$h][1] = $langs->trans('AssociatedProducts');
|
||||||
$hselected = $h;
|
$hselected = $h;
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
||||||
|
|||||||
@ -119,6 +119,14 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Multilangs
|
||||||
|
if($conf->global->PRODUIT_MULTILANGS == 1)
|
||||||
|
{
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/traduction.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans("Translation");
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled)
|
if ($conf->fournisseur->enabled)
|
||||||
{
|
{
|
||||||
@ -131,13 +139,13 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
$head[$h][1] = $langs->trans('Statistics');
|
$head[$h][1] = $langs->trans('Statistics');
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
// sousproduits
|
// sousproduits
|
||||||
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('AssociatedProducts');
|
$head[$h][1] = $langs->trans('AssociatedProducts');
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('Referers');
|
$head[$h][1] = $langs->trans('Referers');
|
||||||
|
|||||||
@ -167,6 +167,14 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Multilangs
|
||||||
|
if($conf->global->PRODUIT_MULTILANGS == 1)
|
||||||
|
{
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/traduction.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans("Translation");
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled)
|
if ($conf->fournisseur->enabled)
|
||||||
{
|
{
|
||||||
@ -180,13 +188,13 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
$hselected=$h;
|
$hselected=$h;
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
// sousproduits
|
// sousproduits
|
||||||
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('AssociatedProducts');
|
$head[$h][1] = $langs->trans('AssociatedProducts');
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('Referers');
|
$head[$h][1] = $langs->trans('Referers');
|
||||||
|
|||||||
@ -152,6 +152,15 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Multilangs
|
||||||
|
if($conf->global->PRODUIT_MULTILANGS == 1)
|
||||||
|
{
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/product/traduction.php?id=".$product->id;
|
||||||
|
$head[$h][1] = $langs->trans("Translation");
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->fournisseur->enabled) {
|
if ($conf->fournisseur->enabled) {
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans("Suppliers");
|
$head[$h][1] = $langs->trans("Suppliers");
|
||||||
@ -162,13 +171,13 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
$head[$h][1] = $langs->trans("Statistics");
|
$head[$h][1] = $langs->trans("Statistics");
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
// sousproduits
|
// sousproduits
|
||||||
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('AssociatedProducts');
|
$head[$h][1] = $langs->trans('AssociatedProducts');
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
|
||||||
$head[$h][1] = $langs->trans('Referers');
|
$head[$h][1] = $langs->trans('Referers');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user