23if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
24require_once NOALYSS_INCLUDE.
'/lib/ac_common.php';
38$cn=Dossier::connect();
42 $a_poste=
$cn->get_array(
"select pcm_val from tmp_pcmn where pcm_val::text like $1||'%' order by pcm_val::text",array(
$r_poste));
62 $name=$Poste->get_name();
67 if ( count($Poste->row ) == 0 )
97 foreach ( $Poste->row as
$op )
137 $diff=bcsub(
$op[
'deb_montant'],
$op[
'cred_montant']);
138 $prog=bcadd($prog,
$diff);
154 $export->add(
$op[
'currency_rate_ref'],
"number");
158 $export->add(abs($prog),
"number");
159 $export->add(((
$op[
'letter']!=-1)?strtoupper(base_convert(
$op[
'letter'],10,36)):
""));
200 if ( count($Poste->row ) == 0 )
216 foreach ( $Poste->row as
$a )
219 $op->jr_id=
$a[
'jr_id'];
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
_("actif, passif,charge,...")
Manage the account from the table jrn, jrnx or tmp_pcmn.
this file match the tables jrn & jrnx the purpose is to remove or save accountant writing to these ta...
Manage the CSV : manage files and write CSV record.
for($e=0; $e< count($afiche); $e++) exit
foreach( $Fiche->row as $op) $solde_type