noalyss Version-9
category_operation.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 show all the operation for a customer
24 * the variable inherited are
25 * - $cn database connexion
26 * - $_REQUEST['f_id'] the f_id of the card
27 * - $p_action
28 * - $sub_action
29 * - $ss_action
30 */
31if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
32global $http;
33
34$f=new Fiche($cn,$http->request('f_id',"number"));
35$qcode=$f->get_quick_code();
36$_GET['search_opqcode']=$qcode;
37$_REQUEST['search_opqcode']=$qcode;
38$var_array=compute_variable('ledger_type=ALL');
40
41require_once NOALYSS_INCLUDE.'/history_operation.inc.php';
42
compute_variable($p_string)
the string has the format a=b&c=d, it is parsed and an array[][key,value] is returned
Definition: ac_common.php:1250
put_global($array)
Put in superglobal (get,post,request) the value contained in the parameter field (me_parameter)
Definition: ac_common.php:1233
$_GET['search_opqcode']
$_REQUEST['search_opqcode']
global $http
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
Definition: fiche.class.php:38