Trad: Traduction chaine Statistics et Ref
This commit is contained in:
parent
186f60246b
commit
0d37cbdfbe
@ -71,8 +71,8 @@ if ($id)
|
||||
$num = $db->num_rows();
|
||||
$i = 0;
|
||||
print '<table border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<TR class="liste_titre"><td align="left" width="40%">Produits</td>';
|
||||
print '<td align="center">Nombre</td><td align="right">Prix</td><td align="right">Prix final</td>';
|
||||
print '<tr class="liste_titre"><td align="left" width="40%">Produits</td>';
|
||||
print '<td align="center">'.$langs->trans("Number").'</td><td align="right">'.$langs->trans("Price").'</td><td align="right">Prix final</td>';
|
||||
print "</tr>\n";
|
||||
$var=True;
|
||||
while ($i < $num)
|
||||
|
||||
@ -171,7 +171,7 @@ if ($action == 'create')
|
||||
print "<tr>";
|
||||
print '<td>Référence</td><td><input name="ref" size="20" value=""></td></tr>';
|
||||
print '<td>Titre</td><td><input name="titre" size="40" value=""></td></tr>';
|
||||
print '<tr><td>Prix</td><TD><input name="price" size="10" value=""></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value=""></td></tr>';
|
||||
|
||||
print '<tr><td>Frais de port</td><td><select name="fdp">';
|
||||
print '<option value="1" SELECTED>oui</option>';
|
||||
@ -271,7 +271,7 @@ else
|
||||
print '<tr><td>Titre</td><td><input name="titre" size="40" value="'.$livre->titre.'"></td></tr>';
|
||||
|
||||
print '<tr><td>Année</td><TD><input name="annee" size="6" maxlenght="4" value="'.$livre->annee.'"></td></tr>';
|
||||
print '<tr><td>Prix</td><TD><input name="price" size="10" value="'.price($livre->price).'"></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value="'.price($livre->price).'"></td></tr>';
|
||||
print '<tr><td>Frais de port</td><td><select name="fdp">';
|
||||
if ($livre->frais_de_port)
|
||||
{
|
||||
@ -396,7 +396,7 @@ else
|
||||
print $value."</a><br>\n";
|
||||
}
|
||||
print "</td></tr>";
|
||||
print '<tr><td>Prix</td><TD>'.price($livre->price).'</td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Price").'</td><TD>'.price($livre->price).'</td></tr>';
|
||||
print '<tr><td>Frais de port</td><td>';
|
||||
if ($livre->frais_de_port)
|
||||
{
|
||||
|
||||
@ -887,14 +887,14 @@ if ($_GET["propalid"])
|
||||
$i = 0;
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
|
||||
print '<TR class="liste_titre">';
|
||||
print '<tr class="liste_titre">';
|
||||
|
||||
print_liste_field_titre_new ("Réf","propal.php","p.ref","","&socidp=$socidp&viewstatut=$viewstatut",'width="15%"',$sortfield);
|
||||
print_liste_field_titre_new ($langs->trans("Ref"),"propal.php","p.ref","","&socidp=$socidp&viewstatut=$viewstatut",'width="15%"',$sortfield);
|
||||
|
||||
print_liste_field_titre_new ("Société","propal.php","s.nom","","&socidp=$socidp&viewstatut=$viewstatut",'width="30%"',$sortfield);
|
||||
|
||||
print_liste_field_titre_new ("Date","propal.php","p.datep","","&socidp=$socidp&viewstatut=$viewstatut", 'width="25%" align="right" colspan="2"',$sortfield);
|
||||
print_liste_field_titre_new ("Prix","propal.php","p.price","","&socidp=$socidp&viewstatut=$viewstatut", ' width="20%" align="right"',$sortfield);
|
||||
print_liste_field_titre_new ($langs->trans("Date"),"propal.php","p.datep","","&socidp=$socidp&viewstatut=$viewstatut", 'width="25%" align="right" colspan="2"',$sortfield);
|
||||
print_liste_field_titre_new ($langs->trans("Price"),"propal.php","p.price","","&socidp=$socidp&viewstatut=$viewstatut", ' width="20%" align="right"',$sortfield);
|
||||
|
||||
print_liste_field_titre_new ("Statut","propal.php","p.fk_statut","","&socidp=$socidp&viewstatut=$viewstatut",'width="10%" align="center"',$sortfield);
|
||||
print "</tr>\n";
|
||||
|
||||
@ -331,7 +331,7 @@ if ($_GET["action"] == 'create')
|
||||
|
||||
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print '<tr class="liste_titre"><td>Réf</td><td>Produit</td>';
|
||||
print '<td align="right">Prix</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';
|
||||
print '<td align="right">'.$langs->trans("Price").'</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';
|
||||
|
||||
$sql = "SELECT pt.rowid, p.label as product, p.ref, pt.price, pt.qty, p.rowid as prodid, pt.remise_percent";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."propaldet as pt, ".MAIN_DB_PREFIX."product as p WHERE pt.fk_product = p.rowid AND pt.fk_propal = $propalid";
|
||||
|
||||
@ -256,8 +256,8 @@ if ($_GET["id"] > 0)
|
||||
print_titre("Facture associée");
|
||||
}
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print '<tr><td>Numéro</td><td>Date</td><td>Auteur</td>';
|
||||
print '<td align="right">Prix</td>';
|
||||
print '<tr><td>'.$langs->trans("Ref").'</td><td>'.$langs->trans("Date").'</td><td>'.$langs->trans("Author").'</td>';
|
||||
print '<td align="right">'.$langs->trans("Price").'</td>';
|
||||
print "</tr>\n";
|
||||
|
||||
$var=True;
|
||||
|
||||
@ -24,7 +24,8 @@ require("./pre.inc.php");
|
||||
|
||||
llxHeader();
|
||||
|
||||
print_titre("Statistiques");
|
||||
|
||||
print_titre($langs->trans("Statistics"));
|
||||
|
||||
$sql = "SELECT d.amount";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."don as d, ".MAIN_DB_PREFIX."don_projet as p";
|
||||
|
||||
@ -620,7 +620,7 @@ if ($_GET["action"] == 'create')
|
||||
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print '<tr class="liste_titre"><td>Réf</td><td>Produit</td>';
|
||||
print '<td align="right">Prix</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';
|
||||
print '<td align="right">'.$langs->trans("Price").'</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';
|
||||
|
||||
$sql = "SELECT pt.rowid, p.label as product, p.ref, pt.price, pt.qty, p.rowid as prodid, pt.remise_percent";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."propaldet as pt, ".MAIN_DB_PREFIX."product as p WHERE pt.fk_product = p.rowid AND pt.fk_propal = $propalid";
|
||||
@ -680,7 +680,7 @@ if ($_GET["action"] == 'create')
|
||||
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print '<tr class="liste_titre"><td>Réf</td><td>Produit</td>';
|
||||
print '<td align="right">Prix</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';
|
||||
print '<td align="right">'.$langs->trans("Price").'</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';
|
||||
|
||||
$sql = "SELECT pt.rowid, p.label as product, p.ref, pt.subprice, pt.qty, p.rowid as prodid, pt.remise_percent";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."commandedet as pt, ".MAIN_DB_PREFIX."product as p";
|
||||
@ -1329,8 +1329,8 @@ else
|
||||
print '<tr class="liste_titre">';
|
||||
print "<td>Numéro</td>";
|
||||
print "<td>Date</td>";
|
||||
print '<td align="right">Prix</td>';
|
||||
print "</TR>\n";
|
||||
print '<td align="right">'.$langs->trans("Price").'</td>';
|
||||
print "</tr>\n";
|
||||
|
||||
$var=True;
|
||||
while ($i < $num)
|
||||
@ -1345,7 +1345,7 @@ else
|
||||
$total = $total + $objp->price;
|
||||
$i++;
|
||||
}
|
||||
print "<tr><td align=\"right\" colspan=\"3\">Total : <b>".price($total)."</b> $_MONNAIE HT</td></tr>\n";
|
||||
print "<tr><td align=\"right\" colspan=\"3\">".$langs->trans("TotalHT").": <b>".price($total)."</b> ".MAIN_MONNAIE."</td></tr>\n";
|
||||
print "</table>";
|
||||
}
|
||||
} else {
|
||||
|
||||
@ -304,9 +304,9 @@ else
|
||||
*/
|
||||
print_titre("Produits");
|
||||
|
||||
print '<table border="0" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print '<tr class="liste_titre"><td>Réf</td><td>Produit</td>';
|
||||
print '<td align="right">Prix</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';
|
||||
print '<td align="right">'.$langs->trans("Price").'</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';
|
||||
|
||||
$num = sizeof($fac->lignes);
|
||||
$i = 0;
|
||||
|
||||
@ -224,10 +224,10 @@ if ($_GET["propalid"])
|
||||
}
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print "<tr>";
|
||||
print "<td>Numéro</td>";
|
||||
print '<td>'.$langs->trans("Ref").'</td>';
|
||||
print '<td>'.$langs->trans("Date").'</td>';
|
||||
print '<td>'.$langs->trans("Author").'</td>';
|
||||
print '<td align="right">Prix</td>';
|
||||
print '<td align="right">'.$langs->trans("Price").'</td>';
|
||||
print "</tr>\n";
|
||||
|
||||
$var=True;
|
||||
@ -308,10 +308,10 @@ if ($_GET["propalid"])
|
||||
*/
|
||||
print_titre("Produits");
|
||||
|
||||
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print "<TR class=\"liste_titre\">";
|
||||
print "<td>Réf</td><td>Produit</td>";
|
||||
print '<td align="right">Prix</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print "<tr class=\"liste_titre\">";
|
||||
print "<td>".$langs->trans("Ref")."</td><td>Produit</td>";
|
||||
print '<td align="right">'.$langs->trans("Price").'</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';
|
||||
|
||||
$sql = "SELECT pt.rowid, p.label as product, p.ref, pt.price, pt.qty, p.rowid as prodid, pt.remise_percent";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."propaldet as pt, ".MAIN_DB_PREFIX."product as p WHERE pt.fk_product = p.rowid AND pt.fk_propal =".$propal->id;
|
||||
@ -465,10 +465,10 @@ if ($_GET["propalid"])
|
||||
$i = 0;
|
||||
print "<table class=\"noborder\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
||||
print '<tr class="liste_titre">';
|
||||
print_liste_field_titre_new ("Réf","propal.php","p.ref","","&year=$year&viewstatut=$viewstatut",'',$sortfield);
|
||||
print_liste_field_titre_new ($langs->trans("Ref"),"propal.php","p.ref","","&year=$year&viewstatut=$viewstatut",'',$sortfield);
|
||||
print_liste_field_titre_new ("Société","propal.php","s.nom","&viewstatut=$viewstatut","",'',$sortfield);
|
||||
print_liste_field_titre_new ("Date","propal.php","p.datep","&viewstatut=$viewstatut","",'align="right" colspan="2"',$sortfield);
|
||||
print_liste_field_titre_new ("Prix","propal.php","p.price","&viewstatut=$viewstatut","",'align="right"',$sortfield);
|
||||
print_liste_field_titre_new ($langs->trans("Price"),"propal.php","p.price","&viewstatut=$viewstatut","",'align="right"',$sortfield);
|
||||
print_liste_field_titre_new ("Statut","propal.php","p.fk_statut","&viewstatut=$viewstatut","",'align="center"',$sortfield);
|
||||
print "</tr>\n";
|
||||
|
||||
|
||||
@ -57,9 +57,9 @@ function propals ($db, $year, $month) {
|
||||
|
||||
print "<tr class=\"liste_titre\">";
|
||||
print "<td>Societe</td>";
|
||||
print "<td>Réf</td>";
|
||||
print "<td>".$langs->trans("Ref")."</td>";
|
||||
print "<td align=\"right\">Date</td>";
|
||||
print "<td align=\"right\">Prix</td>";
|
||||
print "<td align=\"right\">".$langs->trans("Price")."</td>";
|
||||
print "<td align=\"center\">Statut</td>";
|
||||
print "</tr>\n";
|
||||
$var=True;
|
||||
|
||||
@ -58,6 +58,7 @@ Cut=Cut
|
||||
Copy=Copy
|
||||
Paste=Paste
|
||||
Default=Default
|
||||
Price=Price
|
||||
Amount=Amount
|
||||
AmountHT=Amount HT
|
||||
AmountTTC=Amount TTC
|
||||
|
||||
@ -58,6 +58,7 @@ Cut=Couper
|
||||
Copy=Copier
|
||||
Paste=Coller
|
||||
Default=Defaut
|
||||
Price=Prix
|
||||
Amount=Amount
|
||||
AmountHT=Montant HT
|
||||
AmountTTC=Montant TTC
|
||||
|
||||
@ -58,6 +58,7 @@ Cut=Couper
|
||||
Copy=Copier
|
||||
Paste=Coller
|
||||
Default=Defaut
|
||||
Price=Prix
|
||||
Amount=Amount
|
||||
AmountHT=Montant HT
|
||||
AmountTTC=Montant TTC
|
||||
|
||||
@ -76,7 +76,7 @@ if ($action == 'create')
|
||||
print "<tr>";
|
||||
print '<td>Référence</td><td><input name="ref" size="20" value=""></td></tr>';
|
||||
print '<td>Titre</td><td><input name="titre" size="40" value=""></td></tr>';
|
||||
print '<tr><td>Prix</td><TD><input name="price" size="10" value=""></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value=""></td></tr>';
|
||||
print "<tr><td valign=\"top\">Description</td><td>";
|
||||
print '<textarea name="desc" rows="8" cols="50">';
|
||||
print "</textarea></td></tr>";
|
||||
@ -111,7 +111,7 @@ else
|
||||
print '<td rowspan="6" valign="top">'.nl2br($album->description)."</td>";
|
||||
print "<tr><td>Titre</td><td>$album->titre</td></tr>\n";
|
||||
print "<tr><td>Annee</td><td>$album->annee</td></tr>\n";
|
||||
print '<tr><td>Prix</td><TD>'.price($album->price).'</td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Price").'</td><TD>'.price($album->price).'</td></tr>';
|
||||
|
||||
print '<td valign="top">Artiste/Groupe</td><td>';
|
||||
foreach ($gas as $key => $value)
|
||||
@ -141,7 +141,7 @@ else
|
||||
print "</textarea></td></tr>";
|
||||
|
||||
print '<tr><td>Année</td><TD><input name="annee" size="6" maxlenght="4" value="'.$album->annee.'"></td></tr>';
|
||||
print '<tr><td>Prix</td><TD><input name="price" size="10" value="'.$album->price.'"></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value="'.$album->price.'"></td></tr>';
|
||||
|
||||
print '<tr><td> </td><td><input type="submit" value="Enregistrer"></td></tr>';
|
||||
|
||||
|
||||
@ -71,9 +71,9 @@ if ($action == 'create')
|
||||
|
||||
print '<table border="1" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<tr>";
|
||||
print '<td>Référence</td><td><input name="ref" size="20" value=""></td></tr>';
|
||||
print '<td>'.$langs->trans("Ref").'</td><td><input name="ref" size="20" value=""></td></tr>';
|
||||
print '<td>Titre</td><td><input name="titre" size="40" value=""></td></tr>';
|
||||
print '<tr><td>Prix</td><TD><input name="price" size="10" value=""></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value=""></td></tr>';
|
||||
print "<tr><td valign=\"top\">Description</td><td>";
|
||||
print '<textarea name="desc" rows="8" cols="50">';
|
||||
print "</textarea></td></tr>";
|
||||
@ -97,10 +97,10 @@ else
|
||||
|
||||
print '<table border="1" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<tr>";
|
||||
print "<td>Référence</td><td>$album->ref</td>\n";
|
||||
print "<td>".$langs->trans("Ref")."</td><td>$album->ref</td>\n";
|
||||
print "<td>Statut</td><td>$album->status</td></tr>\n";
|
||||
print "<td>Titre</td><td>$album->titre</td>\n";
|
||||
print '<td>Prix</td><TD>'.price($album->price).'</td></tr>';
|
||||
print '<td>'.$langs->trans("Price").'</td><TD>'.price($album->price).'</td></tr>';
|
||||
print '<tr><td valign="top">Description</td><td valign="top">'.nl2br($album->description)."</td>";
|
||||
|
||||
$gas = $album->liste_groupart();
|
||||
@ -120,11 +120,11 @@ else
|
||||
print "<form action=\"fiche.php?id=$id\" method=\"post\">\n";
|
||||
print "<input type=\"hidden\" name=\"action\" value=\"update\">";
|
||||
|
||||
print '<table border="1" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print "<tr>";
|
||||
print '<td>Référence</td><td><input name="ref" size="20" value="'.$album->ref.'"></td></tr>';
|
||||
print '<td>'.$langs->trans("Ref").'</td><td><input name="ref" size="20" value="'.$album->ref.'"></td></tr>';
|
||||
print '<td>Libellé</td><td><input name="titre" size="40" value="'.$album->titre.'"></td></tr>';
|
||||
print '<tr><td>Prix</td><TD><input name="price" size="10" value="'.$album->price.'"></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value="'.$album->price.'"></td></tr>';
|
||||
print "<tr><td valign=\"top\">Description</td><td>";
|
||||
print '<textarea name="desc" rows="8" cols="50">';
|
||||
print $album->description;
|
||||
|
||||
@ -131,11 +131,11 @@ else
|
||||
print "<form action=\"fiche.php?id=$id\" method=\"post\">\n";
|
||||
print "<input type=\"hidden\" name=\"action\" value=\"update\">";
|
||||
|
||||
print '<table border="1" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print "<tr>";
|
||||
print '<td>Référence</td><td><input name="ref" size="20" value="'.$concert->ref.'"></td></tr>';
|
||||
print '<td>'.$langs->trans("Ref").'</td><td><input name="ref" size="20" value="'.$concert->ref.'"></td></tr>';
|
||||
print '<td>Libellé</td><td><input name="titre" size="40" value="'.$concert->titre.'"></td></tr>';
|
||||
print '<tr><td>Prix</td><TD><input name="price" size="10" value="'.$concert->price.'"></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value="'.$concert->price.'"></td></tr>';
|
||||
print "<tr><td valign=\"top\">Description</td><td>";
|
||||
print '<textarea name="desc" rows="8" cols="50">';
|
||||
print $concert->description;
|
||||
|
||||
@ -291,7 +291,7 @@ else
|
||||
$head[0][1] = 'Fiche';
|
||||
|
||||
$head[1][0] = DOL_URL_ROOT."/product/price.php?id=".$product->id;
|
||||
$head[1][1] = 'Prix';
|
||||
$head[1][1] = $langs->trans("Price");
|
||||
$h = 2;
|
||||
if($product->type == 0)
|
||||
{
|
||||
|
||||
@ -59,10 +59,10 @@ $head[0][0] = DOL_URL_ROOT."/product/fiche.php?id=".$product->id;
|
||||
$head[0][1] = 'Fiche';
|
||||
|
||||
$head[1][0] = DOL_URL_ROOT."/product/price.php?id=".$product->id;
|
||||
$head[1][1] = 'Prix';
|
||||
$head[1][1] = $langs->trans("Price");
|
||||
|
||||
$head[2][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
||||
$head[2][1] = 'Statistiques';
|
||||
$head[2][1] = $langs->trans("Statistics");
|
||||
|
||||
|
||||
dolibarr_fiche_head($head, 1, 'Fiche '.$types[$product->type].' : '.$product->ref);
|
||||
|
||||
@ -48,7 +48,7 @@ if ($_GET["id"])
|
||||
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="4"><tr>';
|
||||
print '<td width="20%">Référence</td><td width="40%"><a href="../fiche.php?id='.$product->id.'">'.$product->ref.'</a></td>';
|
||||
print '<td><a href="fiche.php?id='.$product->id.'">Statistiques</a></td></tr>';
|
||||
print '<td><a href="fiche.php?id='.$product->id.'">'.$langs->trans("Statistics").'</a></td></tr>';
|
||||
print "<tr><td>Libellé</td><td>$product->libelle</td>";
|
||||
print '<td valign="top" rowspan="2">';
|
||||
print "Propositions commerciales : ".$product->count_propale($socid);
|
||||
|
||||
@ -97,16 +97,16 @@ if ($_GET["id"])
|
||||
$head[0][1] = 'Fiche';
|
||||
|
||||
$head[1][0] = DOL_URL_ROOT."/product/price.php?id=".$product->id;
|
||||
$head[1][1] = 'Prix';
|
||||
$head[1][1] = $langs->trans("Price");
|
||||
|
||||
$head[2][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
||||
$head[2][1] = 'Statistiques';
|
||||
$head[2][1] = $langs->trans("Statistics");
|
||||
|
||||
dolibarr_fiche_head($head, 2, 'Fiche '.$types[$product->type].' : '.$product->ref);
|
||||
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="4"><tr>';
|
||||
print '<td width="20%">Référence</td><td width="40%"><a href="../fiche.php?id='.$product->id.'">'.$product->ref.'</a></td>';
|
||||
print '<td>Statistiques</td></tr>';
|
||||
print '<td width="20%">'.$langs->trans("Ref").'</td><td width="40%"><a href="../fiche.php?id='.$product->id.'">'.$product->ref.'</a></td>';
|
||||
print '<td>'.$langs->trans("Statistics").'</td></tr>';
|
||||
print "<tr><td>Libellé</td><td>$product->libelle</td>";
|
||||
print '<td valign="top" rowspan="2">';
|
||||
print '<a href="propal.php?id='.$product->id.'">Propositions commerciales</a> : '.$product->count_propale($socid);
|
||||
|
||||
@ -46,9 +46,9 @@ if ($_GET["id"])
|
||||
{
|
||||
print_fiche_titre('Fiche produit : '.$product->ref, $mesg);
|
||||
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="4"><tr>';
|
||||
print '<td width="20%">Référence</td><td width="40%"><a href="../fiche.php?id='.$product->id.'">'.$product->ref.'</a></td>';
|
||||
print '<td><a href="fiche.php?id='.$product->id.'">Statistiques</a></td></tr>';
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="3"><tr>';
|
||||
print '<td width="20%">'.$langs->trans("Ref").'</td><td width="40%"><a href="../fiche.php?id='.$product->id.'">'.$product->ref.'</a></td>';
|
||||
print '<td><a href="fiche.php?id='.$product->id.'">'.$langs->trans("Statistics").'</a></td></tr>';
|
||||
print "<tr><td>Libellé</td><td>$product->libelle</td>";
|
||||
print '<td valign="top" rowspan="2">';
|
||||
print "Propositions commerciales : ".$product->count_propale($socid);
|
||||
|
||||
@ -69,7 +69,7 @@ if ($_GET["id"])
|
||||
$head[0][1] = 'Fiche';
|
||||
|
||||
$head[1][0] = DOL_URL_ROOT."/product/price.php?id=".$product->id;
|
||||
$head[1][1] = 'Prix';
|
||||
$head[1][1] = $langs->trans("Price");
|
||||
$h = 2;
|
||||
|
||||
$head[$h][0] = DOL_URL_ROOT."/product/stock/product.php?id=".$product->id;
|
||||
@ -77,7 +77,7 @@ if ($_GET["id"])
|
||||
$h++;
|
||||
|
||||
$head[$h][0] = DOL_URL_ROOT."/product/stats/fiche.php?id=".$product->id;
|
||||
$head[$h][1] = 'Statistiques';
|
||||
$head[$h][1] = $langs->trans("Statistics");
|
||||
|
||||
dolibarr_fiche_head($head, 2, 'Fiche '.$types[$product->type].' : '.$product->ref);
|
||||
|
||||
@ -85,9 +85,9 @@ if ($_GET["id"])
|
||||
|
||||
print_fiche_titre('Fiche stock : '.$product->ref, $mesg);
|
||||
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="3">';
|
||||
print "<tr>";
|
||||
print '<td width="20%">Référence</td><td width="40%"><a href="../fiche.php?id='.$product->id.'">'.$product->ref.'</a></td>';
|
||||
print '<td width="20%">'.$langs->trans("Ref").'</td><td width="40%"><a href="../fiche.php?id='.$product->id.'">'.$product->ref.'</a></td>';
|
||||
print '<td width="40%">';
|
||||
if ($product->envente)
|
||||
{
|
||||
@ -99,7 +99,7 @@ if ($_GET["id"])
|
||||
}
|
||||
print '</td></tr>';
|
||||
print "<tr><td>Libellé</td><td>$product->libelle</td>";
|
||||
print '<td><a href="'.DOL_URL_ROOT.'/product/stats/fiche.php?id='.$product->id.'">Statistiques</a></td></tr>';
|
||||
print '<td><a href="'.DOL_URL_ROOT.'/product/stats/fiche.php?id='.$product->id.'">'.$langs->trans("Statistics").'</a></td></tr>';
|
||||
print '<tr><td>Prix de vente</td><td>'.price($product->price).'</td>';
|
||||
print '<td valign="top" rowspan="2">';
|
||||
print 'Fournisseurs [<a href="../fiche.php?id='.$product->id.'&action=ajout_fourn">'.$langs->trans("Add").'</a>]';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user