Skip to content

Commit

Permalink
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 16, 2024
2 parents d819d88 + 111e3fc commit 35f3a4f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions htdocs/commande/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -2693,21 +2693,6 @@
}
}
}

// Call Hook modifyTextInfo
$parameters = array('textinfo' => $text_info);
$reshook = $hookmanager->executeHooks('modifyTextInfo', $parameters, $object, $action);
if ($reshook == 1) {
// for add information
$text_info .= $hookmanager->resPrint;
} elseif ($reshook == 0) {
// for replace information
$text_info = $hookmanager->resPrint;
} elseif ($reshook == -1) {
// for errors
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}

if ($notshippable == 0) {
$text_icon = img_picto('', 'dolly', '', false, 0, 0, '', 'green paddingleft');
$text_info = $text_icon.' '.$langs->trans('Shippable').'<br>'.$text_info;
Expand Down

0 comments on commit 35f3a4f

Please sign in to comment.