Fix look and feel v6
This commit is contained in:
parent
01e1457a09
commit
2a92ee6008
@ -52,7 +52,7 @@ function product_prepare_head($object)
|
|||||||
$head[$h][2] = 'price';
|
$head[$h][2] = 'price';
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! empty($object->status_buy) || (! empty($conf->margin->enabled) && ! empty($object->status))) // If margin is on and product on sell, we may need the cost price even if product os not on purchase
|
if (! empty($object->status_buy) || (! empty($conf->margin->enabled) && ! empty($object->status))) // If margin is on and product on sell, we may need the cost price even if product os not on purchase
|
||||||
{
|
{
|
||||||
if ((! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->lire)
|
if ((! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->lire)
|
||||||
@ -102,7 +102,7 @@ function product_prepare_head($object)
|
|||||||
|
|
||||||
$prodcomb = new ProductCombination($db);
|
$prodcomb = new ProductCombination($db);
|
||||||
|
|
||||||
if ($prodcomb->fetchByFkProductChild($object->id) == -1)
|
if ($prodcomb->fetchByFkProductChild($object->id) == -1)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT."/variants/combinations.php?id=".$object->id;
|
$head[$h][0] = DOL_URL_ROOT."/variants/combinations.php?id=".$object->id;
|
||||||
$head[$h][1] = $langs->trans('ProductCombinations');
|
$head[$h][1] = $langs->trans('ProductCombinations');
|
||||||
@ -184,7 +184,7 @@ function productlot_prepare_head($object)
|
|||||||
global $db, $langs, $conf, $user;
|
global $db, $langs, $conf, $user;
|
||||||
$langs->load("products");
|
$langs->load("products");
|
||||||
$langs->load("productbatch");
|
$langs->load("productbatch");
|
||||||
|
|
||||||
$h = 0;
|
$h = 0;
|
||||||
$head = array();
|
$head = array();
|
||||||
|
|
||||||
@ -208,7 +208,7 @@ function productlot_prepare_head($object)
|
|||||||
$head[$h][2] = 'info';
|
$head[$h][2] = 'info';
|
||||||
$h++;
|
$h++;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return $head;
|
return $head;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -301,9 +301,9 @@ function show_stats_for_company($product,$socid)
|
|||||||
global $conf,$langs,$user,$db;
|
global $conf,$langs,$user,$db;
|
||||||
|
|
||||||
$nblines = 0;
|
$nblines = 0;
|
||||||
|
|
||||||
print '<tr>';
|
print '<tr class="liste_titre">';
|
||||||
print '<td align="left" width="25%" valign="top">'.$langs->trans("Referers").'</td>';
|
print '<td align="left" class="tdtop" width="25%">'.$langs->trans("Referers").'</td>';
|
||||||
print '<td align="right" width="25%">'.$langs->trans("NbOfThirdParties").'</td>';
|
print '<td align="right" width="25%">'.$langs->trans("NbOfThirdParties").'</td>';
|
||||||
print '<td align="right" width="25%">'.$langs->trans("NbOfObjectReferers").'</td>';
|
print '<td align="right" width="25%">'.$langs->trans("NbOfObjectReferers").'</td>';
|
||||||
print '<td align="right" width="25%">'.$langs->trans("TotalQuantity").'</td>';
|
print '<td align="right" width="25%">'.$langs->trans("TotalQuantity").'</td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user