diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 8df97d1031f..6f1a40b2fb0 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -1283,7 +1283,7 @@ if ($object->id > 0) { if ($object->client != 0 && $object->client != 2) { - if (!empty($orders2invoice) && $orders2invoice > 0) print '
'; + if (!empty($orders2invoice) && $orders2invoice > 0) print ''; else print ''; } else print ''; } diff --git a/htdocs/commande/customer.php b/htdocs/commande/customer.php index f78d6ce2e84..f2f806cc7af 100644 --- a/htdocs/commande/customer.php +++ b/htdocs/commande/customer.php @@ -164,7 +164,7 @@ if ($resql) $result = ''; $link = $linkend = ''; - $link = ''; + $link = ''; $linkend = ''; $name = $obj->name; $result .= ($link.img_object($langs->trans("ShowCompany").': '.$name, 'company').$linkend); diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 1acd515a49a..82fde75966b 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -624,6 +624,16 @@ if ($resql) $selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields $selectedfields .= $form->showCheckAddButtons('checkforselect', 1); + if (GETPOST('autoselectall', 'int')) { + $selectedfields .= ''; + } + print '