noalyss
Version-9
include
acc_currency_cfg.inc.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
* This file is part of NOALYSS.
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 (2018) Author Dany De Bontridder <dany@alchimerys.be>
21
22
if
(!defined(
'ALLOWED'
)) { die(
'Appel direct ne sont pas permis'
); }
23
24
/**
25
* @file
26
* @brief CFGCURRENCY Manage the currency and the rate
27
* @example test_currency_mtable.php
28
*/
29
30
echo
'<div class="content">'
;
31
global
$g_parameter
;
32
33
require_once NOALYSS_INCLUDE.
'/database/v_currency_last_value_sql.class.php'
;
34
35
$currency
=
new
V_Currency_Last_Value_SQL
(
$cn
);
36
37
38
39
$currency_table
=
new
Currency_MTable
(
$currency
);
40
41
$currency_table
->set_callback(
"ajax_misc.php"
);
42
$currency_table
->add_json_param(
"op"
,
"CurrencyManage"
);
43
$currency_table
->create_js_script();
44
$currency_table
->display_table();
45
echo
'</div>'
;
$currency
$currency
Definition:
acc_currency_cfg.inc.php:35
$currency_table
$currency_table
Definition:
acc_currency_cfg.inc.php:39
$g_parameter
global $g_parameter
Definition:
acc_currency_cfg.inc.php:31
$cn
$cn
Definition:
ajax_anc_accounting.php:30
Currency_MTable
Manage the configuration of currency , add currency, rate, remove and update Concerned tables are v_c...
Definition:
currency_mtable.class.php:35
V_Currency_Last_Value_SQL
class_currency_history_sql.php
Definition:
v_currency_last_value_sql.class.php:37