Look and feel v12
This commit is contained in:
parent
45615081ec
commit
1838cf92ef
@ -37,11 +37,14 @@ function product_prepare_head($object)
|
|||||||
global $db, $langs, $conf, $user;
|
global $db, $langs, $conf, $user;
|
||||||
$langs->load("products");
|
$langs->load("products");
|
||||||
|
|
||||||
|
$label = $langs->trans('Product');
|
||||||
|
if ($object->isService()) $label = $langs->trans('Service');
|
||||||
|
|
||||||
$h = 0;
|
$h = 0;
|
||||||
$head = array();
|
$head = array();
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/product/card.php?id=".$object->id;
|
$head[$h][0] = DOL_URL_ROOT."/product/card.php?id=".$object->id;
|
||||||
$head[$h][1] = $langs->trans("ProductOrService");
|
$head[$h][1] = $label;
|
||||||
$head[$h][2] = 'card';
|
$head[$h][2] = 'card';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user