Update order.lib.php
This commit is contained in:
parent
2fb6785230
commit
84e0ab07e9
@ -165,7 +165,7 @@ function order_admin_prepare_head()
|
|||||||
$head[$h][1] = $langs->trans("ExtraFields");
|
$head[$h][1] = $langs->trans("ExtraFields");
|
||||||
$nbExtrafields = $extrafields->attributes['commande']['count'];
|
$nbExtrafields = $extrafields->attributes['commande']['count'];
|
||||||
if ($nbExtrafields > 0) {
|
if ($nbExtrafields > 0) {
|
||||||
$head[$h][1] .= ' <span class="badge">'.$nbExtrafields.'</span>';
|
$head[$h][1] .= '<span class="badge marginleftonly">'.$nbExtrafields.'</span>';
|
||||||
}
|
}
|
||||||
$head[$h][2] = 'attributes';
|
$head[$h][2] = 'attributes';
|
||||||
$h++;
|
$h++;
|
||||||
@ -174,7 +174,7 @@ function order_admin_prepare_head()
|
|||||||
$head[$h][1] = $langs->trans("ExtraFieldsLines");
|
$head[$h][1] = $langs->trans("ExtraFieldsLines");
|
||||||
$nbExtrafields = $extrafields->attributes['commandedet']['count'];
|
$nbExtrafields = $extrafields->attributes['commandedet']['count'];
|
||||||
if ($nbExtrafields > 0) {
|
if ($nbExtrafields > 0) {
|
||||||
$head[$h][1] .= ' <span class="badge">'.$nbExtrafields.'</span>';
|
$head[$h][1] .= '<span class="badge marginleftonly">'.$nbExtrafields.'</span>';
|
||||||
}
|
}
|
||||||
$head[$h][2] = 'attributeslines';
|
$head[$h][2] = 'attributeslines';
|
||||||
$h++;
|
$h++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user