diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 59148913edd..e588d00475f 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -151,7 +151,7 @@ $search_deliveryyear = ''; $search_import_key = trim(GETPOST("search_import_key", "alpha")); -$diroutputmassaction = $conf->commande->multidir_output[$conf->entity].'/temp/massgeneration/'.$user->id; +$diroutputmassaction = $conf->order->multidir_output[$conf->entity].'/temp/massgeneration/'.$user->id; // Load variable for pagination $limit = GETPOSTINT('limit') ? GETPOSTINT('limit') : $conf->liste_limit; @@ -376,7 +376,7 @@ if (empty($reshook)) { $permissiontocancel = $user->hasRight("commande", "creer"); $permissiontosendbymail = $user->hasRight("commande", "creer"); } - $uploaddir = $conf->commande->multidir_output[$conf->entity]; + $uploaddir = $conf->order->multidir_output[$conf->entity]; $triggersendname = 'ORDER_SENTBYMAIL'; $year = ""; $month = ""; @@ -997,7 +997,7 @@ if ($search_status != '') { } } if ($search_option == 'late') { - $sql .= " AND c.date_commande < '".$db->idate(dol_now() - $conf->commande->client->warning_delay)."'"; + $sql .= " AND c.date_commande < '".$db->idate(dol_now() - $conf->order->client->warning_delay)."'"; } if ($search_datecloture_start) { $sql .= " AND c.date_cloture >= '".$db->idate($search_datecloture_start)."'"; @@ -2294,7 +2294,7 @@ while ($i < $imaxinloop) { print $generic_commande->getNomUrl(1, $getNomUrlOption, 0, 0, 0, 1, 1); $filename = dol_sanitizeFileName($obj->ref); - $filedir = $conf->commande->multidir_output[$conf->entity].'/'.dol_sanitizeFileName($obj->ref); + $filedir = $conf->order->multidir_output[$conf->entity].'/'.dol_sanitizeFileName($obj->ref); $urlsource = $_SERVER['PHP_SELF'].'?id='.$obj->rowid; print $formfile->getDocumentsLink($generic_commande->element, $filename, $filedir); @@ -2882,8 +2882,10 @@ while ($i < $imaxinloop) { } } - if ($nbprod) { + if ($nbprod) { // If there is at least one product to ship, we show the shippable icon + print ''; print $form->textwithtooltip('', $text_info, 2, 1, $text_icon, '', 2); + print ''; } if ($warning) { // Always false in default mode print $form->textwithtooltip('', $langs->trans('NotEnoughForAllOrders').'
'.$text_warning, 2, 1, img_picto('', 'error'), '', 2);