2015-09-27 00:35:53 +02:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* This file is part of NOALYSS.
|
|
|
|
*
|
|
|
|
* NOALYSS is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* NOALYSS is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with NOALYSS; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
|
|
|
|
|
|
|
/*!\file
|
|
|
|
* \brief this file is used for the follow up of the customer (mail, meeting...)
|
|
|
|
* - sb = detail
|
|
|
|
* - sc = sv
|
|
|
|
* - sd = this parameter is used here
|
|
|
|
* - $cn = database connection
|
|
|
|
*/
|
|
|
|
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
2018-04-13 18:58:28 +02:00
|
|
|
require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
|
|
|
|
global $http;
|
2015-09-27 00:35:53 +02:00
|
|
|
/**
|
|
|
|
*\note problem with ShowActionList, this function is local
|
|
|
|
* to the file action.inc.php. And this function must different for each
|
2018-04-13 18:58:28 +02:00
|
|
|
* follow-up
|
2015-09-27 00:35:53 +02:00
|
|
|
*/
|
2018-04-13 18:58:28 +02:00
|
|
|
$sub_action=$http->request('sa',"string","list");
|
|
|
|
|
|
|
|
$ag_id=$http->request("ag_id","string","0");
|
2015-09-27 00:35:53 +02:00
|
|
|
if (! isset($_GET['submit_query'])) {$_REQUEST['closed_action']=1;$_GET['closed_action']=1;}
|
|
|
|
|
2018-04-13 18:58:28 +02:00
|
|
|
$p_action=$http->request('ac');
|
2015-09-27 00:35:53 +02:00
|
|
|
$base="ac=$p_action&sc=sv&sb=detail&f_id=".$_REQUEST['f_id']."&".HtmlInput::request_to_string(array("closed_action","remind_date_end","remind_date","sag_ref","only_internal","state","gDossier","qcode","ag_dest","query","tdoc","date_start","date_end","hsstate","searchtag","sb","sc"),"");
|
|
|
|
$retour=HtmlInput::button_anchor('Retour','?'.dossier::get().'&'.$base);
|
2018-04-13 18:58:28 +02:00
|
|
|
|
|
|
|
$fiche=new Fiche($cn,$http->request("f_id","number"));
|
2015-09-27 00:35:53 +02:00
|
|
|
|
|
|
|
$_GET['qcode']=$fiche->get_quick_code();
|
|
|
|
$_REQUEST['qcode'] = $fiche->get_quick_code();
|
|
|
|
|
|
|
|
echo '<div class="content">';
|
|
|
|
require_once NOALYSS_INCLUDE.'/action.common.inc.php';
|
|
|
|
echo '</div>';
|