26if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
30require_once NOALYSS_INCLUDE.
'/lib/ac_common.php';
36if (
$_GET[
'histo'] == 4 ||
$_GET[
'histo'] == 5)
53 $title=array(
"Quick code",_(
"Nom"),_(
"poste comptable"),_(
"debit"),_(
"credit"),_(
"solde"),
"D/C");
59 $aCard =
$cn->get_array(
"select f_id,ad_value from fiche join fiche_Detail using (f_id) where ad_id=1 and fd_id=$1 order by 2 ", array(
$afiche[
$e][
'fd_id']));
70 $filter =
" (j_date >= to_date('" .
$_REQUEST[
'start'] .
"','DD.MM.YYYY') " .
71 " and j_date <= to_date('" .
$_REQUEST[
'end'] .
"','DD.MM.YYYY')) ";
121 if (
$_GET[
'histo'] == 0)
127 if (
$_GET[
'histo'] == 1)
132 if (
$_GET[
'histo'] == 2)
136 if (
$_GET[
'histo'] == 6)
141 if (count(
$letter->content) == 0)
159 $export->add(_(
"Code Devise"));
160 $export->add(_(
"Montant Devise"));
162 $export->add(_(
"Taux de référence"));
177 if (
$row[
'j_debit'] ==
't')
182 $prog = bcadd($prog,
$row[
'j_montant']);
189 $prog = bcsub($prog,
$row[
'j_montant']);
191 $export->add(abs($prog),
"number");
193 if (
$row[
'letter'] != -1)
195 $export->add(strtoupper(base_convert(
$row[
'letter'],10,36)));
222 $export->add(abs($prog),"number");
define Class fiche and fiche def, those class are using class attribut
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
static get_fiche_def($p_cn, $pFd_id, $p_order='')
get all the card from a categorie
only for operation retrieved thanks a quick_code manage the accounting entries for a given card
Manage the CSV : manage files and write CSV record.
if( $_GET['histo']==4|| $_GET['histo']==5) else
for($e=0; $e< count($afiche); $e++) exit
if( $delta< 0) elseif( $delta==0)