altocompta/doc/developper/html/facture_8inc_8php.html
2006-07-12 21:24:48 +00:00

868 lines
32 KiB
HTML

<!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: facture.inc.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">include</a></div>
<h1>facture.inc.php File Reference</h1>the purpose off this file is to create invoices, to record them and to generate them, and of course to save them into the database <a href="#_details">More...</a>
<p>
<p>
<a href="facture_8inc_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="facture_8inc_8php.html#a0">$h_url</a> = &quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a1">$sub_action</a> = (isset($_REQUEST['sa']))?$_REQUEST['sa']:&quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a2">exit</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a3">$sql</a> = &quot;update <a class="el" href="classjrn.html">jrn</a> set jr_rapt='' where jr_id=$ad&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a4">$Res</a> = ExecSql($cn,$sql)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a5">$paid</a> = ($paid=='on')?'paid':''</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a6">$hid</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;hidden&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$hid&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a7">name</a> = &quot;p_action&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$hid&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a8">value</a> = &quot;facture&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a9">$w</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;select&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a10">$filter_year</a> = &quot; where p_exercice='&quot;.$User-&gt;getExercice().&quot;'&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a11">$periode_start</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a12">$current</a> = (isset($_GET['p_periode']))?$_GET['p_periode']:$User-&gt;GetPeriode()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a13">selected</a> = $current</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a14">$qcode</a> = (isset($_GET['qcode']))?$_GET['qcode']:&quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a15">label</a> = ''</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a16">extra</a> = '9'</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a17">table</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a18">$sp</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;span&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a19">$step</a> = $_SESSION['g_pagesize']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a20">$page</a> = (isset($_GET['offset']))?$_GET['page']:1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a21">$offset</a> = (isset($_GET['offset']))?$_GET['offset']:0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a22">$l</a> = &quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a23">$bar</a> = jrn_navigation_bar($offset,$max_line,$step,$page)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a24">$nb_item</a> = $_POST['nb_item']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a25">$form</a> = FormVenInput($cn,$p_jrn,$User-&gt;GetPeriode(),$_POST,false,$nb_item)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$doc&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a26">f_id</a> = $_POST['e_client']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$doc&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a27">md_id</a> = $_POST['gen_doc']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$doc&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a28">ag_id</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a29">$str_file</a> = $doc-&gt;Generate()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="facture_8inc_8php.html#a30">$nb_number</a> = $_POST[&quot;nb_item&quot;]</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
the purpose off this file is to create invoices, to record them and to generate them, and of course to save them into the database
<p>
<p>
Definition in file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>.<hr><h2>Variable Documentation</h2>
<a class="anchor" name="a23"></a><!-- doxytag: member="facture.inc.php::$bar" ref="a23" 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">$bar = jrn_navigation_bar($offset,$max_line,$step,$page) </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="facture_8inc_8php-source.html#l00162">162</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="facture.inc.php::$current" 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">$current = (isset($_GET['p_periode']))?$_GET['p_periode']:$User-&gt;GetPeriode() </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="facture_8inc_8php-source.html#l00122">122</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="facture.inc.php::$filter_year" 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">$filter_year = &quot; where p_exercice='&quot;.$User-&gt;getExercice().&quot;'&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="facture_8inc_8php-source.html#l00117">117</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a25"></a><!-- doxytag: member="facture.inc.php::$form" ref="a25" 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">$form = FormVenInput($cn,$p_jrn,$User-&gt;GetPeriode(),$_POST,false,$nb_item) </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="facture_8inc_8php-source.html#l00194">194</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="facture.inc.php::$h_url" 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">$h_url = &quot;&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="facture_8inc_8php-source.html#l00046">46</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="facture.inc.php::$hid" 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">$hid = new <a class="el" href="classwidget.html">widget</a>(&quot;hidden&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="facture_8inc_8php-source.html#l00102">102</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a22"></a><!-- doxytag: member="facture.inc.php::$l" ref="a22" 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 = &quot;&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="facture_8inc_8php-source.html#l00152">152</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a24"></a><!-- doxytag: member="facture.inc.php::$nb_item" ref="a24" 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">$nb_item = $_POST['nb_item'] </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="facture_8inc_8php-source.html#l00191">191</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a30"></a><!-- doxytag: member="facture.inc.php::$nb_number" ref="a30" 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">$nb_number = $_POST[&quot;nb_item&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="facture_8inc_8php-source.html#l00251">251</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a21"></a><!-- doxytag: member="facture.inc.php::$offset" ref="a21" 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 = (isset($_GET['offset']))?$_GET['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="facture_8inc_8php-source.html#l00150">150</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a20"></a><!-- doxytag: member="facture.inc.php::$page" ref="a20" 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">$page = (isset($_GET['offset']))?$_GET['page']: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="facture_8inc_8php-source.html#l00149">149</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="facture.inc.php::$paid" 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">$paid = ($paid=='on')?'paid':'' </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="facture_8inc_8php-source.html#l00089">89</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="facture.inc.php::$periode_start" 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">$periode_start </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment"><a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select p_id,to_char(p_start,'DD-MM-YYYY') "</span>.
<span class="stringliteral">" from parm_periode $filter_year order by p_id"</span>,1)
</pre></div>
<p>
Definition at line <a class="el" href="facture_8inc_8php-source.html#l00119">119</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a14"></a><!-- doxytag: member="facture.inc.php::$qcode" 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">$qcode = (isset($_GET['qcode']))?$_GET['qcode']:&quot;&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="facture_8inc_8php-source.html#l00126">126</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="facture.inc.php::$Res" 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">$Res = ExecSql($cn,$sql) </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="facture_8inc_8php-source.html#l00079">79</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a18"></a><!-- doxytag: member="facture.inc.php::$sp" ref="a18" 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">$sp = new <a class="el" href="classwidget.html">widget</a>(&quot;span&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="facture_8inc_8php-source.html#l00135">135</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="facture.inc.php::$sql" 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">$sql = &quot;update <a class="el" href="classjrn.html">jrn</a> set jr_rapt='' where jr_id=$ad&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="facture_8inc_8php-source.html#l00078">78</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a19"></a><!-- doxytag: member="facture.inc.php::$step" ref="a19" 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 = $_SESSION['g_pagesize'] </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="facture_8inc_8php-source.html#l00148">148</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a29"></a><!-- doxytag: member="facture.inc.php::$str_file" ref="a29" 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_file = $doc-&gt;Generate() </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="facture_8inc_8php-source.html#l00230">230</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00504">action::SaveStage2()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="facture.inc.php::$sub_action" 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">$sub_action = (isset($_REQUEST['sa']))?$_REQUEST['sa']:&quot;&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="facture_8inc_8php-source.html#l00054">54</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="facture.inc.php::$w" 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">$w = new <a class="el" href="classwidget.html">widget</a>(&quot;select&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="facture_8inc_8php-source.html#l00115">115</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a28"></a><!-- doxytag: member="facture.inc.php::ag_id" ref="a28" 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">$doc <a class="el" href="facture_8inc_8php.html#a28">ag_id</a> = 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="facture_8inc_8php-source.html#l00229">229</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="facture.inc.php::exit" 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"><a class="el" href="user__sec_8php.html#a3">exit</a> </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="facture_8inc_8php-source.html#l00063">63</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a16"></a><!-- doxytag: member="facture.inc.php::extra" 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">$w <a class="el" href="facture_8inc_8php.html#a16">extra</a> = '9' </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="facture_8inc_8php-source.html#l00133">133</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a26"></a><!-- doxytag: member="facture.inc.php::f_id" ref="a26" 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">$doc <a class="el" href="facture_8inc_8php.html#a26">f_id</a> = $_POST['e_client'] </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="facture_8inc_8php-source.html#l00227">227</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00078">action::action()</a>, <a class="el" href="class__fiche_8php-source.html#l00317">fiche::GetByDef()</a>, <a class="el" href="class__fiche_8php-source.html#l00167">fiche::GetByQCode()</a>, <a class="el" href="class__fiche_8php-source.html#l00260">fiche::GetByType()</a>, <a class="el" href="fiche__inc_8php-source.html#l01057">GetFicheJrn()</a>, <a class="el" href="stock__inc_8php-source.html#l00111">getFicheNameCode()</a>, <a class="el" href="class__supplier_8php-source.html#l00057">Supplier::GetFromPoste()</a>, <a class="el" href="class__customer_8php-source.html#l00057">Customer::GetFromPoste()</a>, <a class="el" href="user__common_8php-source.html#l00596">InsertStockGoods()</a>, and <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>. </td>
</tr>
</table>
<a class="anchor" name="a15"></a><!-- doxytag: member="facture.inc.php::label" 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">$w <a class="el" href="export__ouv_8php.html#a10">label</a> = '' </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="facture_8inc_8php-source.html#l00132">132</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a27"></a><!-- doxytag: member="facture.inc.php::md_id" ref="a27" 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">$doc <a class="el" href="facture_8inc_8php.html#a27">md_id</a> = $_POST['gen_doc'] </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="facture_8inc_8php-source.html#l00228">228</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="facture.inc.php::name" 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">$w <a class="el" href="ecrit__ouv_8php.html#a8">name</a> = &quot;p_action&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="facture_8inc_8php-source.html#l00104">104</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a13"></a><!-- doxytag: member="facture.inc.php::selected" 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">$w <a class="el" href="user__action__ven_8php.html#a13">selected</a> = $current </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="facture_8inc_8php-source.html#l00123">123</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a17"></a><!-- doxytag: member="facture.inc.php::table" 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">$w <a class="el" href="parametre_8php.html#a19">table</a> = 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="facture_8inc_8php-source.html#l00134">134</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="facture.inc.php::value" 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">$w <a class="el" href="ecrit__ouv_8php.html#a7">value</a> = &quot;facture&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="facture_8inc_8php-source.html#l00105">105</a> of file <a class="el" href="facture_8inc_8php-source.html">facture.inc.php</a>. </td>
</tr>
</table>
</BODY>
</HTML>