25if ( ! defined (
'ALLOWED') ) die(
'Appel direct ne sont pas permis');
26include_once(
"class/acc_account_ledger.class.php");
27include_once(
"lib/ac_common.php");
28include_once(
"lib/impress.class.php");
29require_once NOALYSS_INCLUDE.
'/header_print.php';
46$pdf->SetAuthor(
'NOALYSS');
47$pdf->setTitle(_(
"Détail fiche"),
true);
59$size=array(13,25,20,60,12,20,20,20);
60$align=array(
'L',
'C',
'C',
'L',
'R',
'R',
'R',
'R');
63$pdf->SetFont(
'DejaVu',
'',10);
68$pdf->SetFont(
'DejaVuCond',
'',8);
106 $solde=
" "._(
"créditeur").
" ";
111 $solde=
" "._(
'débiteur').
" ";
115 $pdf->SetFont(
'DejaVu',
'B',8);
116 $pdf->LongLine(15,6,_(
'totaux'),0,
'L');
129 $pdf->SetFont(
'DejaVuCond',
'',8);
138 if (
$row[
'jr_pj_number'] ==
'')
167 if ( isset(
$_GET[
'oper_detail']))
185 $f_id=
$cn->get_value(
'select f_id from vw_poste_qcode where j_qcode=$1',array(
$a_detail[
$f][
'j_qcode'])) ;
186 $lib=
$cn->get_value(
'select ad_value from fiche_detail where ad_id=$1 and f_id=$2',
211 $solde=
" "._(
"créditeur").
" ";
216 $solde=
" "._(
'débiteur').
" ";
220$pdf->SetFont(
'DejaVu',
'B',8);
222$pdf->write_cell(160,5,
'Débit',0,0,
'R');
225$pdf->write_cell(160,5,
'Crédit',0,0,
'R');
228$pdf->write_cell(160,5,
'Solde '.
$solde,0,0,
'R');
235 $solde_until_now=
$Fiche->get_solde_detail(
" j_date <= to_date('$to_periode','DD.MM.YYYY') ");
237 $pdf->write_cell(40,5,
"Solde global",0,0,
'R');
238 $pdf->write_cell(40,5,
"D : ".
nbm($solde_until_now[
'debit']),0,0,
'R');
239 $pdf->write_cell(40,5,
"C : ".
nbm($solde_until_now[
'credit']),0,0,
'R');
240 $pdf->write_cell(40,5,
"Delta : ".
nbm($solde_until_now[
'solde']).
" ".
$Fiche->get_amount_side($solde_until_now[
'debit']-$solde_until_now[
'credit']),0,0,
'R');
shrink_date($p_date)
shrink the date, make a date shorter for the printing
nbm($p_number, $p_dec=2)
format the number with a sep.
this file match the tables jrn & jrnx the purpose is to remove or save accountant writing to these ta...
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
API for creating PDF, unicode, based on tfpdf.
for($e=0; $e< count($afiche); $e++) exit
if($g_parameter->MY_REPORT=='N') $fDate
for($e=0;$e< count($array);$e++) $str_debit
if(count($array)==0) $size
for($i=0;$i< $nb_jrn;$i++) $deb