Ajout et onglets et traductions

This commit is contained in:
Regis Houssin 2006-03-20 16:12:41 +00:00
parent 62447dd1f1
commit ddefb3aba9
12 changed files with 144 additions and 51 deletions

View File

@ -67,4 +67,18 @@ Pack=Pack
Packs=Packs
NoteNotVisibleOnBill=Note (not visible on invoices, proposals...)
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

View File

@ -85,7 +85,8 @@ MultiPriceLevelsName=Cat
AssociatedProductsAbility=Prise en charges des produits associés
AssociatedProducts=Produits associés
AssociatedProductsNumber=Nbre de produits associés
EditAssociate=Associer au
EditAssociate=Associer au
Translation=Traduction
KeywordFilter=Filtre par mot-clé
CategoryFilter=Filtre par catégorie
ProductToAddSearch=Recherche des produits à ajouter

View File

@ -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) {
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
$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");
$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++;
*/
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$h++;
}
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
$head[$h][1] = $langs->trans("Referers");

View File

@ -127,6 +127,14 @@ if ($_GET["id"] || $_GET["ref"])
$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)
{
@ -138,6 +146,7 @@ if ($_GET["id"] || $_GET["ref"])
$head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('Statistics');
$h++;
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
@ -145,6 +154,7 @@ if ($_GET["id"] || $_GET["ref"])
$head[$h][1] = $langs->trans('AssociatedProducts');
$h++;
}
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
$head[$h][1] = $langs->trans('Referers');
$h++;

View File

@ -143,6 +143,14 @@ if ($product->id)
$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)
{

View File

@ -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)
{
{
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
$head[$h][1] = $langs->trans("Suppliers");
$hselected = $h;
$h++;
}
}
$head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('Statistics');
$h++;
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$h++;
}
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$h++;
}
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
$head[$h][1] = $langs->trans('Referers');

View File

@ -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)
{
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;

View File

@ -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) {
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
$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][1] = $langs->trans("Statistics");
$h++;
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
@ -158,13 +167,6 @@ if($conf->global->PRODUIT_SOUSPRODUITS == 1)
$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][1] = $langs->trans("Referers");
$h++;

View File

@ -207,6 +207,14 @@ if ($id || $ref)
$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)
{
@ -219,14 +227,14 @@ if ($id || $ref)
$head[$h][1] = $langs->trans('Statistics');
$h++;
// sousproduits
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$hselected = $h;
$h++;
}
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$hselected = $h;
$h++;
}
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;

View File

@ -119,6 +119,14 @@ if ($_GET["id"] || $_GET["ref"])
$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)
{
@ -131,13 +139,13 @@ if ($_GET["id"] || $_GET["ref"])
$head[$h][1] = $langs->trans('Statistics');
$h++;
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$h++;
}
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$h++;
}
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
$head[$h][1] = $langs->trans('Referers');

View File

@ -167,6 +167,14 @@ if ($_GET["id"] || $_GET["ref"])
$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)
{
@ -180,13 +188,13 @@ if ($_GET["id"] || $_GET["ref"])
$hselected=$h;
$h++;
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$h++;
}
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$h++;
}
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
$head[$h][1] = $langs->trans('Referers');

View File

@ -152,6 +152,15 @@ if ($_GET["id"] || $_GET["ref"])
$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) {
$head[$h][0] = DOL_URL_ROOT."/product/fournisseurs.php?id=".$product->id;
$head[$h][1] = $langs->trans("Suppliers");
@ -162,13 +171,13 @@ if ($_GET["id"] || $_GET["ref"])
$head[$h][1] = $langs->trans("Statistics");
$h++;
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$h++;
}
// sousproduits
if($conf->global->PRODUIT_SOUSPRODUITS == 1)
{
$head[$h][0] = DOL_URL_ROOT."/product/sousproduits/fiche.php?id=".$product->id;
$head[$h][1] = $langs->trans('AssociatedProducts');
$h++;
}
$head[$h][0] = DOL_URL_ROOT."/product/stats/facture.php?id=".$product->id;
$head[$h][1] = $langs->trans('Referers');