33require_once
'../include/constant.php';
34require_once NOALYSS_INCLUDE.
'/class/database.class.php';
35require_once NOALYSS_INCLUDE.
'/class/acc_compute.class.php';
36require_once NOALYSS_INCLUDE.
'/class/dossier.class.php';
37require_once NOALYSS_INCLUDE.
'/class/acc_tva.class.php';
38require_once NOALYSS_INCLUDE .
'/class/noalyss_user.class.php';
40require_once NOALYSS_INCLUDE.
'/lib/ac_common.php';
44extract (
$_GET, EXTR_SKIP );
45foreach (array(
't',
'c',
'p',
'q',
'n',
'gDossier') as
$a)
47 if ( ! isset (${
$a}) )
49 echo
"error $a is not set ";
94 $total->set_parameter(
'amount_vat_rate',
$tva_rate->get_parameter(
'rate'));
96 if (
$tva_rate->get_parameter(
'both_side')== 1)
$total->set_parameter(
'amount_vat', 0);
99 header(
"Content-type: text/html; charset: utf8",
true);
107 header(
"Content-type: text/html; charset: utf8",
true);
MaintenanceMode($p_file)
When you want to prevent users to connect, create a file in noalyss/ (NOALYSS_BASE) with the message ...
noalyss_str_replace($search, $replace, $string)
catch(Exception $e) $tva_rate
this class aims to compute different amount
ORM public.acc_other_tax.
Acc_Tva is used for to map the table tva_rate parameter are.
static id()
return the 'gDossier' value after a check
foreach(array('t', 'c', 'p', 'q', 'n', 'gDossier') as $a) $http
if( $t !=-1 &&isNumber($t)==1) $total
for($e=0; $e< count($afiche); $e++) exit