altocompta/doc/developper/html/send__jrn__pdf_8php.html

514 lines
18 KiB
HTML
Raw Blame History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/send_jrn_pdf.php File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.4 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000003.html">html</a></div>
<h1>send_jrn_pdf.php File Reference</h1>Print the ledger in pdf. <a href="#_details">More...</a>
<p>
<p>
<a href="send__jrn__pdf_8php-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a0">$l_Db</a> = sprintf(&quot;dossier%d&quot;,$g_dossier)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a1">$cn</a> = DbConnect($g_dossier)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a2">$l_type</a> = &quot;JRN&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a3">$centr</a> = &quot; Non centralis<69>&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a4">$l_centr</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a5">$pdf</a> = &amp; new <a class="el" href="classCezpdf.html">Cezpdf</a>(&quot;A4&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a6">$offset</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a7">$limit</a> = 25</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a8">$step</a> = 25</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a9">$rap_deb</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a10">$rap_cred</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a11">$str_credit</a> = sprintf(&quot;report Cr<43>dit % 10.2f&quot;,$rap_cred)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a12">$a</a> = 1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a13">$apage</a> = array(array('deb'=&gt;sprintf(&quot;%8.2f&quot;,$tot_deb),'cred'=&gt;$tot_cred))</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a14">$count</a> = count($a_jrn)-1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a15">$last_id</a> = $a_jrn[$count]['j_id']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a16">$Exercice</a> = GetExercice($cn,$a_jrn[$count]['periode'])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="send__jrn__pdf_8php.html#a17">$str_debit</a> = sprintf( &quot;<EFBFBD> reporter D<>bit % 10.2f&quot;,$rap_deb)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Print the ledger in pdf.
<p>
<p>
Definition in file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>.<hr><h2>Variable Documentation</h2>
<a class="anchor" name="a12"></a><!-- doxytag: member="send_jrn_pdf.php::$a" ref="a12" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$a = 1 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00103">103</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a13"></a><!-- doxytag: member="send_jrn_pdf.php::$apage" ref="a13" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$apage = array(array('deb'=&gt;sprintf(&quot;%8.2f&quot;,$tot_deb),'cred'=&gt;$tot_cred)) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00105">105</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="send_jrn_pdf.php::$centr" ref="a3" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$centr = &quot; Non centralis<69>&quot; </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00043">43</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="send_jrn_pdf.php::$cn" ref="a1" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$cn = DbConnect($g_dossier) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00041">41</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a14"></a><!-- doxytag: member="send_jrn_pdf.php::$count" ref="a14" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$count = count($a_jrn)-1 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00116">116</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a16"></a><!-- doxytag: member="send_jrn_pdf.php::$Exercice" ref="a16" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$Exercice = GetExercice($cn,$a_jrn[$count]['periode']) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00118">118</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="send_jrn_pdf.php::$l_centr" ref="a4" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$l_centr = 0 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00044">44</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="send_jrn_pdf.php::$l_Db" ref="a0" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$l_Db = sprintf(&quot;dossier%d&quot;,$g_dossier) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00040">40</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="send_jrn_pdf.php::$l_type" ref="a2" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$l_type = &quot;JRN&quot; </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00042">42</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a15"></a><!-- doxytag: member="send_jrn_pdf.php::$last_id" ref="a15" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$last_id = $a_jrn[$count]['j_id'] </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00117">117</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="send_jrn_pdf.php::$limit" ref="a7" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$limit = 25 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00059">59</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="send_jrn_pdf.php::$offset" ref="a6" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$offset = 0 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00059">59</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="send_jrn_pdf.php::$pdf" ref="a5" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$pdf = &amp; new <a class="el" href="classCezpdf.html">Cezpdf</a>(&quot;A4&quot;) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00056">56</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="send_jrn_pdf.php::$rap_cred" ref="a10" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$rap_cred = 0 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00060">60</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="send_jrn_pdf.php::$rap_deb" ref="a9" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$rap_deb = 0 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00060">60</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="send_jrn_pdf.php::$step" ref="a8" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$step = 25 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00059">59</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="send_jrn_pdf.php::$str_credit" ref="a11" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$str_credit = sprintf(&quot;report Cr<43>dit % 10.2f&quot;,$rap_cred) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00088">88</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a17"></a><!-- doxytag: member="send_jrn_pdf.php::$str_debit" ref="a17" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$str_debit = sprintf( &quot;<EFBFBD> reporter D<>bit % 10.2f&quot;,$rap_deb) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="send__jrn__pdf_8php-source.html#l00122">122</a> of file <a class="el" href="send__jrn__pdf_8php-source.html">send_jrn_pdf.php</a>. </td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body>
</html>