Skip to content
Snippets Groups Projects
Commit 6c16d07a authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: visualisation de l'aperçu

parent 3d91db23
No related branches found
No related tags found
No related merge requests found
......@@ -205,7 +205,7 @@ if ($_GET["id"] > 0) {
dolibarr_print_error($db);
}
} else {
// Commande non trouve
// Intervention non trouve
print $langs->trans("ErrorFichinterNotFound",$_GET["id"]);
}
}
......
......@@ -105,6 +105,17 @@ if ($modulepart)
}
$original_file=$conf->commande->dir_output.'/'.$original_file;
}
// Wrapping pour les apercu intervention
if ($modulepart == 'apercufichinter')
{
$user->getrights('ficheinter');
if ($user->rights->ficheinter->lire)
{
$accessallowed=1;
}
$original_file=$conf->fichinter->dir_output.'/'.$original_file;
}
// Wrapping pour les images des stats propales
if ($modulepart == 'propalstats')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment