noalyss Version-9
Public Member Functions
PDFBalance_simple Class Reference

PDF For the balance report. More...

+ Inheritance diagram for PDFBalance_simple:
+ Collaboration diagram for PDFBalance_simple:

Public Member Functions

 Header ()
 
 set_info ($p_from_poste, $to_poste, $p_from, $p_to)
 set_info(dossier,from poste,to poste, from periode, to periode) More...
 
- Public Member Functions inherited from PDF
 __construct (Database $p_cn, $orientation='P', $unit='mm', $format='A4')
 
 Footer ()
 
 get_tiers ($p_jr_id, $p_jrn_type)
 retrieve the client name and quick_code More...
 
 Header ()
 
 set_filter_operation ($filter_operation)
 
 setDossierInfo ($dossier="n/a")
 
- Public Member Functions inherited from PDF_Core
 __construct ( $orientation='P', $unit='mm', $format='A4')
 
 get_margin_bottom ()
 
 get_margin_left ()
 
 get_margin_right ()
 
 get_margin_top ()
 
 get_orientation ()
 
 get_page_size ()
 
 get_unit ()
 
 is_fill ($p_step)
 If the step is even then return 1 and set the backgroup color to blue , otherwise returns 0, and set the background color to white It is use to compute alternated colored row , it the parameter fill in write_cell and cell. More...
 
 line_new ($p_step=null)
 Print all the cell stored and call Ln (new line) More...
 
 LongLine ($w, $h, $txt, $border=0, $align='', $fill=false)
 
 write_cell ($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='')
 

Additional Inherited Members

- Data Fields inherited from PDF
 $cn = null
 
 $date = ""
 
 $dossier = "n/a"
 
 $own = null
 
 $soc = ""
 
- Protected Member Functions inherited from PDF_Core
 print_row ()
 print the current array of cell and reset it , if different colors are set on the same row you have to print it before changing More...
 

Detailed Description

PDF For the balance report.

Definition at line 30 of file pdfbalance_simple.class.php.

Member Function Documentation

◆ Header()

PDFBalance_simple::Header ( )

Reimplemented from PDF.

Definition at line 47 of file pdfbalance_simple.class.php.

48 {
49 parent::Header();
50 $this->SetFont('DejaVu','B',8);
51 $titre=sprintf(_("Balance simple poste %s %s date %s %s"),
52 $this->from_poste,
53 $this->to_poste,
54 $this->from,
55 $this->to);
56 $this->Cell(0,7,$titre,1,0,'C');
57
58 $this->Ln();
59 $this->SetFont('DejaVu','',6);
60
61 $this->Cell(110,7,_('Poste Comptable'),'B');
62 $this->Cell(20,7,_('Débit'),'B',0,'L');
63 $this->Cell(20,7,_('Crédit'),'B',0,'L');
64 $this->Cell(20,7,_('Solde'),'B',0,'L');
65 $this->Cell(20,7,_('D/C'),'B',0,'L');
66 $this->Ln();
67
68 }
$anc_grandlivre from_poste
$anc_grandlivre to
$anc_grandlivre to_poste
$anc_grandlivre from

References from, from_poste, to, and to_poste.

◆ set_info()

PDFBalance_simple::set_info (   $p_from_poste,
  $to_poste,
  $p_from,
  $p_to 
)

set_info(dossier,from poste,to poste, from periode, to periode)

Parameters
$p_from_postestart = poste
$p_to_posteend = poste
$p_fromperiode start
$p_toperiode end

Definition at line 39 of file pdfbalance_simple.class.php.

40 {
41 $this->dossier=sprintf(_('Balance simple %s'),dossier::name());
42 $this->from_poste=$p_from_poste;
43 $this->to_poste=$to_poste;
44 $this->from=$p_from;
45 $this->to=$p_to;
46 }
$from_poste name
$to_poste

References $to_poste, from, from_poste, name, to, and to_poste.


The documentation for this class was generated from the following file: