26if ( ! defined(
'ALLOWED')) die (_(
'Accès interdit'));
29mb_internal_encoding(
"UTF-8");
44if ( isset(
$_GET[
'f_id']))
56 $html=_(
"erreur aucune période par défaut, allez dans préférence pour en choisir une");
64 if (isset(
$_GET[
'ex']))
69 if ( $other_year <
$year)
82 $default=
$exercice->exercice_from_label($default_ex);
86 $obj=
"{op:'history',div:'$div',f_id:'".$f_id.
"',gDossier:'$dossier',select:this,exercice:{$year}}";
87 $is=
$exercice->select(
'p_exercice',$default,
' onchange="update_history_card('.
$obj.
');"');
88 $old=_(
"Autre exercice").
" ".
$is->input();
92 $old=
'<form method="get" style="display:inline" action="popup.php">';
93 $is=
$exercice->select(
'ex',$default,
'onchange = "submit(this)"');
94 $old.=_(
"Autre exercice").
" ".
$is->input();
100 $old.=dossier::hidden();
112 require_once NOALYSS_TEMPLATE.
'/history_top.php';
115 echo
'<p style="text-align:center;">'.$detail_card.
'</p>';
118 echo
h2(_(
"Aucune opération pour l'exercice courant"),
'class="error"');
130 $html=ob_get_contents();
140 $pcm_val=
$http->request(
"pcm_val");
147 $html=_(
"erreur aucune période par défaut, allez dans préférence pour en choisir une");
156 if (isset(
$_GET[
'ex']))
161 if ( $other_year <
$year)
174 $default=
$exercice->exercice_from_label($default_ex);
176 if (
$div !=
'popup')
178 $obj=
"{op:'history',div:'$div',pcm_val:'".$pcm_val.
"',gDossier:'$dossier',select:this,exercice:{$year}}";
179 $is=
$exercice->select(
'p_exercice',$default,
' onchange="update_history_account('.
$obj.
');"');
180 $old=_(
"Autre exercice").
" ".
$is->input();
184 $old=
'<form method="get" style="display:inline" action="popup.php">';
185 $is=
$exercice->select(
'ex',$default,
'onchange = "submit(this)"');
186 $old.=_(
"Autre exercice").
" ".
$is->input();
191 $old.=dossier::hidden();
204 require_once NOALYSS_TEMPLATE.
'/history_top.php';
210 echo
h2(_(
"Aucune opération pour l'exercice courant"),
'class="error"');
221 $html=ob_get_contents();
226if (DEBUGNOALYSS > 0 && headers_sent()) {
229header(
'Content-type: text/xml; charset=UTF-8');
231<?xml version=
"1.0" encoding=
"UTF-8"?>
h2($p_string, $p_class="", $raw="")
global $g_user
if no group available , then stop
if(headers_sent() &&DEBUGNOALYSS > 0) $html
h( $row[ 'oa_description'])
catch(Exception $e) $exercice
if(isset( $_GET[ 'f_id'])) if(isset($_REQUEST['pcm_val'])) $xml
Manage the account from the table jrn, jrnx or tmp_pcmn.
about the accountancy period (usually 1 year starting in January until december) = exercice
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
mother class for the lettering by account and by card use the tables jnt_letter, letter_deb and lette...
For the periode tables parm_periode and jrn_periode.
const ATTR_DEF_FIRST_NAME
for($e=0; $e< count($afiche); $e++) exit
escape_xml($p_xml)
When data are transfered thanks ajax in a xml document, the xml can not contains some character,...