}
$limit = GETPOST('show_all') == 1 ? false : $conf->liste_limit;
$diroutputpdf = $conf->shippableorder->multidir_output[$conf->entity];
// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
$hookmanager->initHooks(array('orderlist'));
/**
 * Actions
 */
$action = $_REQUEST['action'];
switch ($action) {
    case 'createShipping':
        if (!empty($_REQUEST['subCreateShip'])) {
            $TIDCommandes = $_REQUEST['TIDCommandes'];
            $TEnt_comm = $_REQUEST['TEnt_comm'];
            $order = new ShippableOrder($db);
            $order->createShipping($TIDCommandes, $TEnt_comm);
        }
        if (!empty($_REQUEST['subSetSent'])) {
            $TIDCommandes = $_REQUEST['TIDCommandes'];
            $order = new Commande($db);
            foreach ($TIDCommandes as $idCommande) {
                $order->setStatut(2, $idCommande, 'commande');
            }
        }
        break;
    case 'remove_file':
        $file = GETPOST('file');
        if (!empty($file)) {
            $file = DOL_DATA_ROOT . '/shippableorder/' . $file;
            $ret = dol_delete_file($file, 0, 0, 0);
            if ($ret) {