noalyss Version-10
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
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)
 
- 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
 
 set_filter_operation ($filter_operation)
 
 setDossierInfo ($dossier="n/a")
 
- Public Member Functions inherited from PDF_Core
 __construct ( $orientation='P', $unit='mm', $format='A4')
 
 fill_row ($enable)
 set color for row ,
 
 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.
 
 line_new ($p_step=null)
 Print all the cell stored and call Ln (new line)
 
 LongLine ($w, $h, $txt, $border=0, $align='', $fill=false)
 add a cell with automatic return to the line if the text is too long, deprecated , it calls only PDFCore::write_cell_
 
 write_cell ($width, $height=0, $txt='', $border=0, $interline=0, $align='', $fill=false, $link='')
 add a cell the text is not cut and don't return to this line if too large
 
 write_multi ($width, $interline, $txt, $border=0, $align='', $fill=false)
 add a cell with automatic return to the line if the text is too long
 

Data Fields

 $dossier
 
 $from
 
 $from_poste
 
 $to
 
 $to_poste
 
- Data Fields inherited from PDF
 $cn = null
 
 $date = ""
 
 $dossier = "n/a"
 
 $own = null
 
 $soc = ""
 

Additional Inherited Members

- Static Public Member Functions inherited from PDF
static test_me ()
 test the class
 
- Protected Member Functions inherited from PDF_Core
 add_cell (Cellule $Ce)
 
 check_page_add ()
 Check if a page must be added due a MultiCell.
 
 count_nb_row ($p_text, $p_colSize)
 Count the number of rows a p_text will take for a multicell.
 
 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
 
- Protected Attributes inherited from PDF_Core
 $bigger
 
 $cells =array()
 

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 52 of file pdfbalance_simple.class.php.

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

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)

$to (date dd.mm.yyyy) highest date

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

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

45 {
46 $this->dossier=sprintf(_('Balance simple %s'),dossier::name());
47 $this->from_poste=$p_from_poste;
48 $this->to_poste=$to_poste;
49 $this->from=$p_from;
50 $this->to=$p_to;
51 }

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

Field Documentation

◆ $dossier

PDFBalance_simple::$dossier

$dossier (string) Title

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

◆ $from

PDFBalance_simple::$from

$from_poste (text) highest limit (alpha. order)

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

◆ $from_poste

PDFBalance_simple::$from_poste

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

◆ $to

PDFBalance_simple::$to

$from(date dd.mm.yyyy) lowest date

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

◆ $to_poste

PDFBalance_simple::$to_poste

$from_poste (text) lowest limit (alpha. order)

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

Referenced by set_info().


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