Plugins  LAST
 All Data Structures Files Functions Variables Pages
receipt.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 /* $Revision$ */
20 
21 // Copyright (c) 2002 Author Dany De Bontridder dany@alchimerys.be
22 
23 /*!\file
24  * \brief renumbered ledger
25  */
27 $act=HtmlInput::default_value_request('act', "");
28 if ($act=='numbering')
29  {
31  }
32 if ( $act == 'download') {
34 }
35 if (isset($_GET['search']))
36  {
37  $err=0;
38  if (isDate($_GET['dstart'])==0)
39  {
40  echo " <p class=\"error\">La date de départ est invalide</p>";
41  $err++;
42  }
43  if (isDate($_GET['dend'])==0)
44  {
45  echo " <p class=\"error\">La date de fin est invalide</p>";
46  $err++;
47  }
48  if ( $err != 0 ) return;
52  }
download_receipt(Database &$cn)
Download all receipt.
display_download_receipt()
display_result_receipt(&$cn)
display result of search receipt
display_numb_receipt()
display the prefix + from number
display_search_receipt(&$cn)
display search box
change_receipt(&$cn)
change the number of receipt
$act
Definition: receipt.inc.php:27
global $cn