264 lines
15 KiB
HTML
264 lines
15 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: /home/dany/developpement/phpcompta-dev/phpcompta/include/user_form_fin.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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
|
|
<div class="nav">
|
|
<a class="el" href="dir_000000.html">developpement</a> » <a class="el" href="dir_000001.html">phpcompta-dev</a> » <a class="el" href="dir_000002.html">phpcompta</a> » <a class="el" href="dir_000006.html">include</a></div>
|
|
<h1>user_form_fin.php File Reference</h1>Functions for the financial ledger. <a href="#_details">More...</a>
|
|
<p>
|
|
|
|
<p>
|
|
<a href="user__form__fin_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>Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="user__form__fin_8php.html#a0">form_verify_input</a> ($p_cn, $p_jrn, $p_periode, $p_array, $p_number)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">verify if the data to insert are valid <a href="#a0"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="user__form__fin_8php.html#a1">FormFin</a> ($p_cn, $p_jrn, $p_periode, $p_submit, $p_array=null, $pview_only=true, $p_item=4, $p_save=false)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Display the form for financial Used to show detail, encode a new fin op or update one. <a href="#a1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="user__form__fin_8php.html#a2">RecordFin</a> ($p_cn, $p_array, $p_user, $p_jrn)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Record an invoice in the table jrn & jrnx. <a href="#a2"></a><br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
Functions for the financial ledger.
|
|
<p>
|
|
|
|
<p>
|
|
Definition in file <a class="el" href="user__form__fin_8php-source.html">user_form_fin.php</a>.<hr><h2>Function Documentation</h2>
|
|
<a class="anchor" name="a0"></a><!-- doxytag: member="user_form_fin.php::form_verify_input" ref="a0" args="($p_cn, $p_jrn, $p_periode, $p_array, $p_number)" --><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_verify_input </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </td>
|
|
<td class="mdname" nowrap> <em>p_cn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_jrn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_periode</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_array</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_number</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
verify if the data to insert are valid
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_cn</em> </td><td>database connection </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_jrn</em> </td><td>concerned ledger </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_periode</em> </td><td>User periode </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_array</em> </td><td>array with the post data </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_number</em> </td><td>number of items</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>:</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="user__form__fin_8php-source.html#l00042">42</a> of file <a class="el" href="user__form__fin_8php-source.html">user_form_fin.php</a>.
|
|
<p>
|
|
References <a class="el" href="pref_8inc_8php-source.html#l00096">$msg</a>, <a class="el" href="send__poste__pdf_8php-source.html#l00044">$poste</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="ac__common_8php-source.html#l00036">echo_error()</a>, <a class="el" href="ac__common_8php-source.html#l00097">isDate()</a>, <a class="el" href="fiche__inc_8php-source.html#l01514">IsFicheOfJrn()</a>, <a class="el" href="ac__common_8php-source.html#l00076">isNumber()</a>, and <a class="el" href="action_8inc_8php-source.html#l00170">name</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a1"></a><!-- doxytag: member="user_form_fin.php::FormFin" ref="a1" args="($p_cn, $p_jrn, $p_periode, $p_submit, $p_array=null, $pview_only=true, $p_item=4, $p_save=false)" --><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">FormFin </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </td>
|
|
<td class="mdname" nowrap> <em>p_cn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_jrn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_periode</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_submit</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_array</em> = <code>null</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>pview_only</em> = <code>true</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_item</em> = <code>4</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_save</em> = <code>false</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Display the form for financial Used to show detail, encode a new fin op or update one.
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_cn</em> </td><td>database connection </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_jrn</em> </td><td>ledger id (jr_id) </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_submit</em> </td><td>contains the submit string </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_array</em> </td><td>(default=null) containing the $_POST </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_view_only</em> </td><td>(default=true) true if we cannot change it (no right or centralized op) </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_item</em> </td><td>number of article (default=4) </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_save</em> </td><td>(default false) if the operation is already recorded</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>string with the form, in readonly or writable mode</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="user__form__fin_8php-source.html#l00146">146</a> of file <a class="el" href="user__form__fin_8php-source.html">user_form_fin.php</a>.
|
|
<p>
|
|
References <a class="el" href="show__document__modele_8php-source.html#l00060">$file</a>, <a class="el" href="setup_8php-source.html#l00260">$flag</a>, <a class="el" href="poste_8inc_8php-source.html#l00069">$h</a>, <a class="el" href="modify__op_8php-source.html#l00054">$p_jrn</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__fiche_8php-source.html#l00113">$solde</a>, <a class="el" href="action_8inc_8php-source.html#l00210">$tiers_label</a>, <a class="el" href="action_8inc_8php-source.html#l00202">$W1</a>, <a class="el" href="ac__common_8php-source.html#l00036">echo_error()</a>, <a class="el" href="balance_8php-source.html#l00036">exit</a>, <a class="el" href="preference_8php-source.html#l00125">GetPeriode()</a>, <a class="el" href="poste_8php-source.html#l00114">GetSolde()</a>, <a class="el" href="action_8inc_8php-source.html#l00170">name</a>, and <a class="el" href="action_8inc_8php-source.html#l00171">value</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a2"></a><!-- doxytag: member="user_form_fin.php::RecordFin" ref="a2" args="($p_cn, $p_array, $p_user, $p_jrn)" --><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">RecordFin </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </td>
|
|
<td class="mdname" nowrap> <em>p_cn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_array</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_user</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_jrn</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Record an invoice in the table jrn & jrnx.
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_cn</em> </td><td>Database connection </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_array</em> </td><td>contains all the invoice data e_date => e : 01.01.2003 e_bank_account => e : 3 </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_user</em> </td><td>userid </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_jrn</em> </td><td>current folder (journal) </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>array</em> </td><td>e_other$i, e_other$i_amount, e_other$i_label</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>true on success</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="user__form__fin_8php-source.html#l00358">358</a> of file <a class="el" href="user__form__fin_8php-source.html">user_form_fin.php</a>.
|
|
<p>
|
|
References <a class="el" href="impress__fiche_8php-source.html#l00082">$e</a>, <a class="el" href="send__poste__pdf_8php-source.html#l00044">$poste</a>, <a class="el" href="annulation_8php-source.html#l00136">$seq</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="balance_8php-source.html#l00036">exit</a>, <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>, <a class="el" href="user__common_8php-source.html#l00288">InsertJrn()</a>, <a class="el" href="user__common_8php-source.html#l00244">InsertJrnx()</a>, <a class="el" href="user__common_8php-source.html#l00699">InsertRapt()</a>, <a class="el" href="ac__common_8php-source.html#l00076">isNumber()</a>, <a class="el" href="postgres_8php-source.html#l00251">NextSequence()</a>, <a class="el" href="postgres_8php-source.html#l00266">Rollback()</a>, <a class="el" href="jrn_8php-source.html#l00949">SetInternalCode()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Tue Jun 27 01:39:30 2006 for phpcompta by
|
|
<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>
|