noalyss Version-9
category_followup.inc.php
Go to the documentation of this file.
1<?php
2/*
3 * This file is part of NOALYSS.
4 *
5 * NOALYSS is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * NOALYSS is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with NOALYSS; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18*/
19
20// Copyright Author Dany De Bontridder danydb@aevalys.eu
21
22/*!\file
23 * \brief this file is used for the follow up of the customer (mail, meeting...)
24 * - sb = detail
25 * - sc = sv
26 * - sd = this parameter is used here
27 * - $cn = database connection
28 */
29if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
30global $http;
31/**
32 *\note problem with ShowActionList, this function is local
33 * to the file action.inc.php. And this function must different for each
34 * follow-up
35 */
36$sub_action=$http->request('sa',"string","list");
37
38$ag_id=$http->request("ag_id","string","0");
39if (! isset($_GET['submit_query'])) {$_REQUEST['closed_action']=1;$_GET['closed_action']=1;}
40
41$p_action=$http->request('ac');
42$base="do.php?".http_build_query(["ac"=>$p_action,
43 "sc"=>"sv",
44 "sb"=>"detail",
45 "f_id"=>$http->request("f_id","number"),
46 "gDossier"=>Dossier::id()
47 ])."&amp;"
48 ;
50
51$fiche=new Fiche($cn,$http->request("f_id","number"));
52
53$_GET['qcode']=$fiche->get_quick_code();
54$_REQUEST['qcode'] = $fiche->get_quick_code();
55
56echo '<div class="content">';
57require_once NOALYSS_INCLUDE.'/action.common.inc.php';
58echo '</div>';
$_REQUEST['qcode']
global $http
if(! isset($_GET['submit_query'])) $p_action
$_GET['qcode']
static id()
return the 'gDossier' value after a check
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
Definition: fiche.class.php:38
static button_anchor($p_label, $p_value, $p_name="", $p_javascript="", $p_class="smallbutton")
create a button with a ref