Update order.lib.php

This commit is contained in:
Laurent Destailleur 2022-09-23 18:40:34 +02:00 committed by GitHub
parent 84e0ab07e9
commit 2141334423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,7 +165,7 @@ function order_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFields");
$nbExtrafields = $extrafields->attributes['commande']['count'];
if ($nbExtrafields > 0) {
$head[$h][1] .= '<span class="badge marginleftonly">'.$nbExtrafields.'</span>';
$head[$h][1] .= '<span class="badge marginleftonlyshort">'.$nbExtrafields.'</span>';
}
$head[$h][2] = 'attributes';
$h++;
@ -174,7 +174,7 @@ function order_admin_prepare_head()
$head[$h][1] = $langs->trans("ExtraFieldsLines");
$nbExtrafields = $extrafields->attributes['commandedet']['count'];
if ($nbExtrafields > 0) {
$head[$h][1] .= '<span class="badge marginleftonly">'.$nbExtrafields.'</span>';
$head[$h][1] .= '<span class="badge marginleftonlyshort">'.$nbExtrafields.'</span>';
}
$head[$h][2] = 'attributeslines';
$h++;