canOpen()) {
echo "{status : 0,error:'"._DOC_LOCKER_RES_ID."".$res_id.""._DOC_LOCKER_USER." ".$_SESSION['userLock']."'}";
exit();
}
require_once "modules" . DIRECTORY_SEPARATOR . "visa" . DIRECTORY_SEPARATOR
. "class" . DIRECTORY_SEPARATOR
. "class_modules_tools.php";
include('apps'.DIRECTORY_SEPARATOR.$_SESSION['config']['app_id'].DIRECTORY_SEPARATOR.'definition_mail_categories.php');
require_once("core".DIRECTORY_SEPARATOR."class".DIRECTORY_SEPARATOR."class_security.php");
$sec =new security();
$core =new core_tools();
$data = get_general_data($coll_id, $res_id, 'minimal');
/* Partie centrale*/
$left_html = '';
if ($data['category_id']['value'] != 'outgoing'){
$left_html .= '
';
$left_html .= ''. _VISA_WORKFLOW .'
';
$modifVisaWorkflow = false;
if ($core->test_service('config_visa_workflow', 'visa', false)) {
$modifVisaWorkflow = true;
}
$visa = new visa();
$left_html .= '';
$left_html .= '';
$left_html .= $visa->getList($res_id, $coll_id, $modifVisaWorkflow, 'VISA_CIRCUIT', true);
$left_html .= '
';
$left_html .= '
';
$left_html .= '
';
$left_html .= '';
$left_html .= '<<';
$left_html .= ' Historique du circuit de visa';
$left_html .= '';
$left_html .= '';
$s_id = $res_id;
$return_mode = true;
$diffListType = 'VISA_CIRCUIT';
require_once('modules/entities/difflist_visa_history_display.php');
$left_html .= '
';
$left_html .= '';
// AVANCEMENT
$left_html .= '