Plugins  LAST
 All Data Structures Files Functions Variables Pages
imd_history.inc.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of PhpCompta.
5  *
6  * PhpCompta is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * PhpCompta is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with PhpCompta; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 // Copyright (2014) Author Dany De Bontridder <dany@alchimerys.be>
21 
22 if (!defined('ALLOWED'))
23  die('Appel direct ne sont pas permis');
24 
25 /**
26  * @file
27  * @brief history of the import file
28  */
29 require_once DIR_IMPORT_ACCOUNT."/include/class_impacc_file.php";
30 $id=HtmlInput::default_value_get("id", 0);
32 if ( $id > 0){
33  $impacc_file=new Impacc_File();
34  $impacc_file->load($id);
35  $impacc_file->impid=$id;
36  $impacc_file->result_transfer();
37 }
38 if ( $id==0)
39 {
40  $ifile->display_list();
41 }
42 ?>