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';
61$cn=Dossier::connect();
64$User->check_dossier(Dossier::id());
95 $total->set_parameter(
'amount_vat_rate',
$tva_rate->get_parameter(
'rate'));
97 if (
$tva_rate->get_parameter(
'both_side')== 1)
$total->set_parameter(
'amount_vat', 0);
100 header(
"Content-type: text/html; charset: utf8",
true);
108 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.
static build($db, $p_code)
retrieve TVA rate thanks the code that could be the tva_id or tva_code.