Improve doc

This commit is contained in:
sparkyx 2006-06-25 21:07:20 +00:00
parent d8be9bcbd2
commit 5b78118c1e
363 changed files with 9105 additions and 8108 deletions

View file

@ -111,7 +111,7 @@
<body>
<!-- Primary Index -->
<p><br><br>Dumped on 2006-06-24</p>
<p><br><br>Dumped on 2006-06-25</p>
<h1><a name="index">Index of database - account_repository</a></h1>
<ul>

View file

@ -141,6 +141,29 @@
</dia:attribute>
</dia:composite>
<dia:composite type="umlattribute">
<dia:attribute name="name">
<dia:string># ag_ref#</dia:string>
</dia:attribute>
<dia:attribute name="type">
<dia:string>#text#</dia:string>
</dia:attribute>
<dia:attribute name="value">
<dia:string/>
</dia:attribute>
<dia:attribute name="visibility">
<dia:enum val="3"/>
</dia:attribute>
<dia:attribute name="abstract">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="class_scope">
<dia:boolean val="false"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
<dia:attribute name="visible_operations">
@ -314,6 +337,29 @@
</dia:attribute>
</dia:composite>
<dia:composite type="umlattribute">
<dia:attribute name="name">
<dia:string># ag_title#</dia:string>
</dia:attribute>
<dia:attribute name="type">
<dia:string>#character varying(70)#</dia:string>
</dia:attribute>
<dia:attribute name="value">
<dia:string/>
</dia:attribute>
<dia:attribute name="visibility">
<dia:enum val="3"/>
</dia:attribute>
<dia:attribute name="abstract">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="class_scope">
<dia:boolean val="false"/>
</dia:attribute>
</dia:composite>
<dia:composite type="umlattribute">
<dia:attribute name="name">
<dia:string># ag_timestamp#</dia:string>
@ -385,10 +431,10 @@
<dia:composite type="umlattribute">
<dia:attribute name="name">
<dia:string># ag_title#</dia:string>
<dia:string># ag_ref#</dia:string>
</dia:attribute>
<dia:attribute name="type">
<dia:string>#character varying(60)#</dia:string>
<dia:string>#text#</dia:string>
</dia:attribute>
<dia:attribute name="value">
@ -1409,6 +1455,29 @@
</dia:attribute>
</dia:composite>
<dia:composite type="umlattribute">
<dia:attribute name="name">
<dia:string># ag_id#</dia:string>
</dia:attribute>
<dia:attribute name="type">
<dia:string>#integer#</dia:string>
</dia:attribute>
<dia:attribute name="value">
<dia:string/>
</dia:attribute>
<dia:attribute name="visibility">
<dia:enum val="3"/>
</dia:attribute>
<dia:attribute name="abstract">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="class_scope">
<dia:boolean val="false"/>
</dia:attribute>
</dia:composite>
<dia:composite type="umlattribute">
<dia:attribute name="name">
<dia:string># d_lob#</dia:string>
@ -1503,7 +1572,7 @@
<dia:composite type="umlattribute">
<dia:attribute name="name">
<dia:string># ag_id#</dia:string>
<dia:string># d_state#</dia:string>
</dia:attribute>
<dia:attribute name="type">
<dia:string>#integer#</dia:string>
@ -6743,7 +6812,7 @@
</dia:attribute>
<dia:attribute name="comment">
<dia:string>##</dia:string>
<dia:string>#Contains about invoice for customer#</dia:string>
</dia:attribute>
<dia:attribute name="abstract">
<dia:boolean val="false"/>
@ -7943,156 +8012,6 @@
</dia:object>
<dia:object type="UML - Class" version="0" id="O36">
<dia:attribute name="obj_pos">
<dia:point val="0,0"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="-0.05,-0.05;16.4,6.65"/>
</dia:attribute>
<dia:attribute name="elem_corner">
<dia:point val="0,0"/>
</dia:attribute>
<dia:attribute name="elem_width">
<dia:real val="16.350000000000001"/>
</dia:attribute>
<dia:attribute name="elem_height">
<dia:real val="6.6000000000000005"/>
</dia:attribute>
<dia:attribute name="name">
<dia:string>#user_pref#</dia:string>
</dia:attribute>
<dia:attribute name="comment">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="abstract">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="suppress_attributes">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="suppress_operations">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="visible_attributes">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="visible_comments">
<dia:boolean val="true"/>
</dia:attribute>
<dia:attribute name="wrap_operations">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="wrap_after_char">
<dia:int val="40"/>
</dia:attribute>
<dia:attribute name="line_color">
<dia:color val="#000000"/>
</dia:attribute>
<dia:attribute name="fill_color">
<dia:color val="#ffffff"/>
</dia:attribute>
<dia:attribute name="text_color">
<dia:color val="#000000"/>
</dia:attribute>
<dia:attribute name="normal_font">
<dia:font family="monospace" style="0" name="Courier"/>
</dia:attribute>
<dia:attribute name="abstract_font">
<dia:font family="monospace" style="88" name="Courier"/>
</dia:attribute>
<dia:attribute name="polymorphic_font">
<dia:font family="monospace" style="8" name="Courier"/>
</dia:attribute>
<dia:attribute name="classname_font">
<dia:font family="sans" style="80" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="abstract_classname_font">
<dia:font family="sans" style="88" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="comment_font">
<dia:font family="sans" style="8" name="Helvetica"/>
</dia:attribute>
<dia:attribute name="font_height">
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="polymorphic_font_height">
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="abstract_font_height">
<dia:real val="0.80000000000000004"/>
</dia:attribute>
<dia:attribute name="classname_font_height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="abstract_classname_font_height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="comment_font_height">
<dia:real val="1"/>
</dia:attribute>
<dia:attribute name="attributes">
<dia:composite type="umlattribute">
<dia:attribute name="name">
<dia:string># pref_user#</dia:string>
</dia:attribute>
<dia:attribute name="type">
<dia:string>#text#</dia:string>
</dia:attribute>
<dia:attribute name="value">
<dia:string/>
</dia:attribute>
<dia:attribute name="visibility">
<dia:enum val="3"/>
</dia:attribute>
<dia:attribute name="abstract">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="class_scope">
<dia:boolean val="false"/>
</dia:attribute>
</dia:composite>
<dia:composite type="umlattribute">
<dia:attribute name="name">
<dia:string># pref_periode#</dia:string>
</dia:attribute>
<dia:attribute name="type">
<dia:string>#integer#</dia:string>
</dia:attribute>
<dia:attribute name="value">
<dia:string/>
</dia:attribute>
<dia:attribute name="visibility">
<dia:enum val="3"/>
</dia:attribute>
<dia:attribute name="abstract">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="class_scope">
<dia:boolean val="false"/>
</dia:attribute>
</dia:composite>
</dia:attribute>
<dia:attribute name="visible_operations">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="operations"/>
<dia:attribute name="template">
<dia:boolean val="false"/>
</dia:attribute>
<dia:attribute name="templates"/>
</dia:object>
<dia:object type="UML - Class" version="0" id="O37">
<dia:attribute name="obj_pos">
<dia:point val="0,0"/>
</dia:attribute>
@ -8265,7 +8184,7 @@
<dia:attribute name="templates"/>
</dia:object>
<dia:object type="UML - Class" version="0" id="O38">
<dia:object type="UML - Class" version="0" id="O37">
<dia:attribute name="obj_pos">
<dia:point val="0,0"/>
</dia:attribute>
@ -8461,7 +8380,7 @@
<dia:attribute name="templates"/>
</dia:object>
<dia:object type="UML - Class" version="0" id="O39">
<dia:object type="UML - Class" version="0" id="O38">
<dia:attribute name="obj_pos">
<dia:point val="0,0"/>
</dia:attribute>
@ -8588,7 +8507,7 @@
<dia:attribute name="templates"/>
</dia:object>
<dia:object type="UML - Class" version="0" id="O40">
<dia:object type="UML - Class" version="0" id="O39">
<dia:attribute name="obj_pos">
<dia:point val="0,0"/>
</dia:attribute>
@ -8922,7 +8841,7 @@
<dia:attribute name="templates"/>
</dia:object>
<dia:object type="UML - Class" version="0" id="O41">
<dia:object type="UML - Class" version="0" id="O40">
<dia:attribute name="obj_pos">
<dia:point val="0,0"/>
</dia:attribute>
@ -9325,7 +9244,7 @@
<dia:attribute name="templates"/>
</dia:object>
<dia:object type="UML - Class" version="0" id="O42">
<dia:object type="UML - Class" version="0" id="O41">
<dia:attribute name="obj_pos">
<dia:point val="0,0"/>
</dia:attribute>
@ -9613,7 +9532,7 @@
<dia:attribute name="templates"/>
</dia:object>
<dia:object type="UML - Class" version="0" id="O43">
<dia:object type="UML - Class" version="0" id="O42">
<dia:attribute name="obj_pos">
<dia:point val="0,0"/>
</dia:attribute>
@ -9832,7 +9751,7 @@
<dia:attribute name="templates"/>
</dia:object>
<dia:object type="UML - Class" version="0" id="O44">
<dia:object type="UML - Class" version="0" id="O43">
<dia:attribute name="obj_pos">
<dia:point val="0,0"/>
</dia:attribute>
@ -10005,7 +9924,7 @@
<dia:attribute name="templates"/>
</dia:object>
<dia:object type="UML - Class" version="0" id="O45">
<dia:object type="UML - Class" version="0" id="O44">
<dia:attribute name="obj_pos">
<dia:point val="0,0"/>
</dia:attribute>
@ -10342,7 +10261,7 @@
<dia:object type="UML - Constraint" version="0" id="O46">
<dia:object type="UML - Constraint" version="0" id="O45">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10368,7 +10287,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O47">
<dia:object type="UML - Constraint" version="0" id="O46">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10394,7 +10313,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O48">
<dia:object type="UML - Constraint" version="0" id="O47">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10420,7 +10339,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O49">
<dia:object type="UML - Constraint" version="0" id="O48">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10446,7 +10365,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O50">
<dia:object type="UML - Constraint" version="0" id="O49">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10472,7 +10391,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O51">
<dia:object type="UML - Constraint" version="0" id="O50">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10498,7 +10417,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O52">
<dia:object type="UML - Constraint" version="0" id="O51">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10524,7 +10443,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O53">
<dia:object type="UML - Constraint" version="0" id="O52">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10550,7 +10469,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O54">
<dia:object type="UML - Constraint" version="0" id="O53">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10576,7 +10495,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O55">
<dia:object type="UML - Constraint" version="0" id="O54">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10602,7 +10521,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O56">
<dia:object type="UML - Constraint" version="0" id="O55">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10628,7 +10547,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O57">
<dia:object type="UML - Constraint" version="0" id="O56">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10654,7 +10573,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O58">
<dia:object type="UML - Constraint" version="0" id="O57">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10680,7 +10599,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O59">
<dia:object type="UML - Constraint" version="0" id="O58">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10706,7 +10625,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O60">
<dia:object type="UML - Constraint" version="0" id="O59">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10732,7 +10651,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O61">
<dia:object type="UML - Constraint" version="0" id="O60">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10758,7 +10677,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O62">
<dia:object type="UML - Constraint" version="0" id="O61">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10784,7 +10703,7 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O63">
<dia:object type="UML - Constraint" version="0" id="O62">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
@ -10810,6 +10729,32 @@
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O63">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="-0.0515705,2.29861;25.1127,3.55157"/>
</dia:attribute>
<dia:attribute name="conn_endpoints">
<dia:point val="0,3.5"/>
<dia:point val="25.05,2.7"/>
</dia:attribute>
<dia:attribute name="constraint">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="text_pos">
<dia:point val="12.525,3.1"/>
</dia:attribute>
<dia:attribute name="line_colour">
<dia:color val="#000000"/>
</dia:attribute>
<dia:connections>
<dia:connection handle="0" to="O36" connection="12"/>
<dia:connection handle="1" to="O1" connection="9"/>
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O64">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
@ -10832,32 +10777,6 @@
</dia:attribute>
<dia:connections>
<dia:connection handle="0" to="O37" connection="12"/>
<dia:connection handle="1" to="O1" connection="9"/>
</dia:connections>
</dia:object>
<dia:object type="UML - Constraint" version="0" id="O65">
<dia:attribute name="obj_pos">
<dia:point val="0,3.5"/>
</dia:attribute>
<dia:attribute name="obj_bb">
<dia:rectangle val="-0.0515705,2.29861;25.1127,3.55157"/>
</dia:attribute>
<dia:attribute name="conn_endpoints">
<dia:point val="0,3.5"/>
<dia:point val="25.05,2.7"/>
</dia:attribute>
<dia:attribute name="constraint">
<dia:string>##</dia:string>
</dia:attribute>
<dia:attribute name="text_pos">
<dia:point val="12.525,3.1"/>
</dia:attribute>
<dia:attribute name="line_colour">
<dia:color val="#000000"/>
</dia:attribute>
<dia:connections>
<dia:connection handle="0" to="O38" connection="12"/>
<dia:connection handle="1" to="O23" connection="9"/>
</dia:connections>
</dia:object>

View file

@ -111,13 +111,13 @@
<body>
<!-- Primary Index -->
<p><br><br>Dumped on 2006-06-24</p>
<p><br><br>Dumped on 2006-06-25</p>
<h1><a name="index">Index of database - dossier1</a></h1>
<ul>
<li><a name="public.schema">public</a></li><ul>
<li><a href="#public.table.action">action</a></li><li><a href="#public.table.action-gestion">action_gestion</a></li><li><a href="#public.table.attr-def">attr_def</a></li><li><a href="#public.table.attr-min">attr_min</a></li><li><a href="#public.table.attr-value">attr_value</a></li><li><a href="#public.table.centralized">centralized</a></li><li><a href="#public.table.document">document</a></li><li><a href="#public.table.document-modele">document_modele</a></li><li><a href="#public.table.document-state">document_state</a></li><li><a href="#public.table.document-type">document_type</a></li><li><a href="#public.table.fiche">fiche</a></li><li><a href="#public.table.fiche-def">fiche_def</a></li><li><a href="#public.table.fiche-def-ref">fiche_def_ref</a></li><li><a href="#public.table.form">form</a></li><li><a href="#public.table.format-csv-banque">format_csv_banque</a></li><li><a href="#public.table.formdef">formdef</a></li><li><a href="#public.table.import-tmp">import_tmp</a></li><li><a href="#public.table.invoice">invoice</a></li><li><a href="#public.table.jnt-fic-att-value">jnt_fic_att_value</a></li><li><a href="#public.table.jnt-fic-attr">jnt_fic_attr</a></li><li><a href="#public.table.jrn">jrn</a></li><li><a href="#public.table.jrn-action">jrn_action</a></li><li><a href="#public.table.jrn-def">jrn_def</a></li><li><a href="#public.table.jrn-rapt">jrn_rapt</a></li><li><a href="#public.table.jrn-type">jrn_type</a></li><li><a href="#public.table.jrnx">jrnx</a></li><li><a href="#public.table.parameter">parameter</a></li><li><a href="#public.table.parm-code">parm_code</a></li><li><a href="#public.table.parm-money">parm_money</a></li><li><a href="#public.table.parm-periode">parm_periode</a></li><li><a href="#public.table.quant-sold">quant_sold</a></li><li><a href="#public.table.stock-goods">stock_goods</a></li><li><a href="#public.table.tmp-pcmn">tmp_pcmn</a></li><li><a href="#public.table.tva-rate">tva_rate</a></li><li><a href="#public.table.user-local-pref">user_local_pref</a></li><li><a href="#public.table.user-pref">user_pref</a></li><li><a href="#public.table.user-sec-act">user_sec_act</a></li><li><a href="#public.table.user-sec-jrn">user_sec_jrn</a></li><li><a href="#public.table.version">version</a></li><li><a href="#public.view.vw-client">vw_client</a></li><li><a href="#public.view.vw-fiche-attr">vw_fiche_attr</a></li><li><a href="#public.view.vw-fiche-def">vw_fiche_def</a></li><li><a href="#public.view.vw-fiche-min">vw_fiche_min</a></li><li><a href="#public.view.vw-poste-qcode">vw_poste_qcode</a></li><li><a href="#public.view.vw-supplier">vw_supplier</a></li>
<li><a href="#public.function.account-add-p-id-public.poste-comptable-p-name-character-varying">account_add( p_id public.poste_comptable, p_name character varying )</a></li><li><a href="#public.function.account-auto-p-fd-id-integer">account_auto( p_fd_id integer )</a></li><li><a href="#public.function.account-compute-p-f-id-integer">account_compute( p_f_id integer )</a></li><li><a href="#public.function.account-insert-p-f-id-integer-p-account-public.poste-comptable">account_insert( p_f_id integer, p_account public.poste_comptable )</a></li><li><a href="#public.function.account-parent-p-account-public.poste-comptable">account_parent( p_account public.poste_comptable )</a></li><li><a href="#public.function.account-update-p-f-id-integer-p-account-public.poste-comptable">account_update( p_f_id integer, p_account public.poste_comptable )</a></li><li><a href="#public.function.attribut-insert-p-f-id-integer-p-ad-id-integer-p-value-character-varying">attribut_insert( p_f_id integer, p_ad_id integer, p_value character varying )</a></li><li><a href="#public.function.card-class-base-p-f-id-integer">card_class_base( p_f_id integer )</a></li><li><a href="#public.function.check-balance-p-grpt-integer">check_balance( p_grpt integer )</a></li><li><a href="#public.function.fiche-account-parent-p-f-id-integer">fiche_account_parent( p_f_id integer )</a></li><li><a href="#public.function.fiche-delete-p-f-id-integer">fiche_delete( p_f_id integer )</a></li><li><a href="#public.function.fiche-used-p-f-id-integer">fiche_used( p_f_id integer )</a></li><li><a href="#public.function.insert-jrnx-p-date-character-varying-p-montant-numeric-p-poste-integer-p-grpt-integer-p-jrn-def-integer-p-debit-boolean-p-tech-user-text-p-tech-per-integer-p-qcode-text">insert_jrnx( p_date character varying, p_montant numeric, p_poste integer, p_grpt integer, p_jrn_def integer, p_debit boolean, p_tech_user text, p_tech_per integer, p_qcode text )</a></li><li><a href="#public.function.insert-quant-sold-p-internal-text-p-fiche-character-varying-p-quant-integer-p-price-numeric-p-vat-numeric-p-vat-code-integer-p-client-character-varying">insert_quant_sold( p_internal text, p_fiche character varying, p_quant integer, p_price numeric, p_vat numeric, p_vat_code integer, p_client character varying )</a></li><li><a href="#public.function.insert-quick-code-nf-id-integer-tav-text-text">insert_quick_code( nf_id integer, tav_text text )</a></li><li><a href="#public.function.plpgsql-validator-oid">plpgsql_validator( oid )</a></li><li><a href="#public.function.proc-check-balance">proc_check_balance( )</a></li><li><a href="#public.function.t-document-type-insert">t_document_type_insert( )</a></li><li><a href="#public.function.t-jrn-def-sequence">t_jrn_def_sequence( )</a></li><li><a href="#public.function.trim-cvs-quote">trim_cvs_quote( )</a></li><li><a href="#public.function.trim-space-format-csv-banque">trim_space_format_csv_banque( )</a></li><li><a href="#public.function.tva-delete-integer">tva_delete( integer )</a></li><li><a href="#public.function.tva-insert-integer-text-numeric-text-text">tva_insert( integer, text, numeric, text, text )</a></li><li><a href="#public.function.tva-modify-integer-text-numeric-text-text">tva_modify( integer, text, numeric, text, text )</a></li><li><a href="#public.function.update-quick-code-njft-id-integer-tav-text-text">update_quick_code( njft_id integer, tav_text text )</a></li>
<li><a href="#public.table.action">action</a></li><li><a href="#public.table.action-gestion">action_gestion</a></li><li><a href="#public.table.attr-def">attr_def</a></li><li><a href="#public.table.attr-min">attr_min</a></li><li><a href="#public.table.attr-value">attr_value</a></li><li><a href="#public.table.centralized">centralized</a></li><li><a href="#public.table.document">document</a></li><li><a href="#public.table.document-modele">document_modele</a></li><li><a href="#public.table.document-state">document_state</a></li><li><a href="#public.table.document-type">document_type</a></li><li><a href="#public.table.fiche">fiche</a></li><li><a href="#public.table.fiche-def">fiche_def</a></li><li><a href="#public.table.fiche-def-ref">fiche_def_ref</a></li><li><a href="#public.table.form">form</a></li><li><a href="#public.table.format-csv-banque">format_csv_banque</a></li><li><a href="#public.table.formdef">formdef</a></li><li><a href="#public.table.import-tmp">import_tmp</a></li><li><a href="#public.table.invoice">invoice</a></li><li><a href="#public.table.jnt-fic-att-value">jnt_fic_att_value</a></li><li><a href="#public.table.jnt-fic-attr">jnt_fic_attr</a></li><li><a href="#public.table.jrn">jrn</a></li><li><a href="#public.table.jrn-action">jrn_action</a></li><li><a href="#public.table.jrn-def">jrn_def</a></li><li><a href="#public.table.jrn-rapt">jrn_rapt</a></li><li><a href="#public.table.jrn-type">jrn_type</a></li><li><a href="#public.table.jrnx">jrnx</a></li><li><a href="#public.table.parameter">parameter</a></li><li><a href="#public.table.parm-code">parm_code</a></li><li><a href="#public.table.parm-money">parm_money</a></li><li><a href="#public.table.parm-periode">parm_periode</a></li><li><a href="#public.table.quant-sold">quant_sold</a></li><li><a href="#public.table.stock-goods">stock_goods</a></li><li><a href="#public.table.tmp-pcmn">tmp_pcmn</a></li><li><a href="#public.table.tva-rate">tva_rate</a></li><li><a href="#public.table.user-local-pref">user_local_pref</a></li><li><a href="#public.table.user-sec-act">user_sec_act</a></li><li><a href="#public.table.user-sec-jrn">user_sec_jrn</a></li><li><a href="#public.table.version">version</a></li><li><a href="#public.view.vw-client">vw_client</a></li><li><a href="#public.view.vw-fiche-attr">vw_fiche_attr</a></li><li><a href="#public.view.vw-fiche-def">vw_fiche_def</a></li><li><a href="#public.view.vw-fiche-min">vw_fiche_min</a></li><li><a href="#public.view.vw-poste-qcode">vw_poste_qcode</a></li><li><a href="#public.view.vw-supplier">vw_supplier</a></li>
<li><a href="#public.function.account-add-p-id-public.poste-comptable-p-name-character-varying">account_add( p_id public.poste_comptable, p_name character varying )</a></li><li><a href="#public.function.account-auto-p-fd-id-integer">account_auto( p_fd_id integer )</a></li><li><a href="#public.function.account-compute-p-f-id-integer">account_compute( p_f_id integer )</a></li><li><a href="#public.function.account-insert-p-f-id-integer-p-account-public.poste-comptable">account_insert( p_f_id integer, p_account public.poste_comptable )</a></li><li><a href="#public.function.account-parent-p-account-public.poste-comptable">account_parent( p_account public.poste_comptable )</a></li><li><a href="#public.function.account-update-p-f-id-integer-p-account-public.poste-comptable">account_update( p_f_id integer, p_account public.poste_comptable )</a></li><li><a href="#public.function.attribut-insert-p-f-id-integer-p-ad-id-integer-p-value-character-varying">attribut_insert( p_f_id integer, p_ad_id integer, p_value character varying )</a></li><li><a href="#public.function.card-class-base-p-f-id-integer">card_class_base( p_f_id integer )</a></li><li><a href="#public.function.check-balance-p-grpt-integer">check_balance( p_grpt integer )</a></li><li><a href="#public.function.fiche-account-parent-p-f-id-integer">fiche_account_parent( p_f_id integer )</a></li><li><a href="#public.function.insert-jrnx-p-date-character-varying-p-montant-numeric-p-poste-integer-p-grpt-integer-p-jrn-def-integer-p-debit-boolean-p-tech-user-text-p-tech-per-integer-p-qcode-text">insert_jrnx( p_date character varying, p_montant numeric, p_poste integer, p_grpt integer, p_jrn_def integer, p_debit boolean, p_tech_user text, p_tech_per integer, p_qcode text )</a></li><li><a href="#public.function.insert-quant-sold-p-internal-text-p-fiche-character-varying-p-quant-integer-p-price-numeric-p-vat-numeric-p-vat-code-integer-p-client-character-varying">insert_quant_sold( p_internal text, p_fiche character varying, p_quant integer, p_price numeric, p_vat numeric, p_vat_code integer, p_client character varying )</a></li><li><a href="#public.function.insert-quick-code-nf-id-integer-tav-text-text">insert_quick_code( nf_id integer, tav_text text )</a></li><li><a href="#public.function.plpgsql-validator-oid">plpgsql_validator( oid )</a></li><li><a href="#public.function.proc-check-balance">proc_check_balance( )</a></li><li><a href="#public.function.t-document-type-insert">t_document_type_insert( )</a></li><li><a href="#public.function.t-jrn-def-sequence">t_jrn_def_sequence( )</a></li><li><a href="#public.function.trim-cvs-quote">trim_cvs_quote( )</a></li><li><a href="#public.function.trim-space-format-csv-banque">trim_space_format_csv_banque( )</a></li><li><a href="#public.function.tva-delete-integer">tva_delete( integer )</a></li><li><a href="#public.function.tva-insert-integer-text-numeric-text-text">tva_insert( integer, text, numeric, text, text )</a></li><li><a href="#public.function.tva-modify-integer-text-numeric-text-text">tva_modify( integer, text, numeric, text, text )</a></li><li><a href="#public.function.update-quick-code-njft-id-integer-tav-text-text">update_quick_code( njft_id integer, tav_text text )</a></li>
</ul>
</ul>
@ -179,6 +179,22 @@
NOT NULL
</i>
</td>
</tr>
<tr class="tr0">
<td>
</td>
<td>ag_ref</td>
<td>text</td>
<td><i>
</i>
</td>
@ -290,6 +306,22 @@
<tr class="tr1">
<td>
</td>
<td>ag_title</td>
<td>character varying(70)</td>
<td><i>
</i>
</td>
</tr>
<tr class="tr0">
<td>
</td>
<td>ag_timestamp</td>
<td>timestamp without time zone</td>
@ -303,7 +335,7 @@
</td>
</tr>
<tr class="tr0">
<tr class="tr1">
<td>
</td>
@ -319,7 +351,7 @@
</td>
</tr>
<tr class="tr1">
<tr class="tr0">
<td>
</td>
@ -335,12 +367,12 @@
</td>
</tr>
<tr class="tr0">
<tr class="tr1">
<td>
</td>
<td>ag_title</td>
<td>character varying(60)</td>
<td>ag_ref</td>
<td>text</td>
<td><i>
@ -969,6 +1001,22 @@
<tr class="tr1">
<td>
</td>
<td>ag_id</td>
<td>integer</td>
<td><i>
NOT NULL
</i>
</td>
</tr>
<tr class="tr0">
<td>
</td>
<td>d_lob</td>
<td>oid</td>
@ -982,7 +1030,7 @@
</td>
</tr>
<tr class="tr0">
<tr class="tr1">
<td>
</td>
@ -998,7 +1046,7 @@
</td>
</tr>
<tr class="tr1">
<tr class="tr0">
<td>
</td>
@ -1014,7 +1062,7 @@
</td>
</tr>
<tr class="tr0">
<tr class="tr1">
<td>
</td>
@ -1030,11 +1078,11 @@
</td>
</tr>
<tr class="tr1">
<tr class="tr0">
<td>
</td>
<td>ag_id</td>
<td>d_state</td>
<td>integer</td>
<td><i>
@ -4294,6 +4342,8 @@
<a name="public.table.quant-sold">quant_sold</a>
</h2>
<p>Contains about invoice for customer</p>
<table width="100%" cellspacing="0" cellpadding="3">
@ -4308,11 +4358,18 @@
<tr class="tr0">
<td>
</td>
<td>qs_id</td>
<td>integer</td>
<td><i>
PRIMARY KEY
DEFAULT nextval(&#39;s_quantity&#39;::text)
@ -4993,84 +5050,6 @@
<!-- Constraint List -->
<!-- Foreign Key Discovery -->
<!-- View Definition -->
<!-- List off permissions -->
<p>
<a href="#index">Index</a> -
<a href="#public.schema">Schema public</a>
</p>
<hr>
<h2>Table:
<a name="public.table.user-pref">user_pref</a>
</h2>
<table width="100%" cellspacing="0" cellpadding="3">
<caption>user_pref Structure</caption>
<tr>
<th>F-Key</th>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr class="tr0">
<td>
</td>
<td>pref_user</td>
<td>text</td>
<td><i>
PRIMARY KEY
</i>
</td>
</tr>
<tr class="tr1">
<td>
</td>
<td>pref_periode</td>
<td>integer</td>
<td><i>
NOT NULL
</i>
</td>
</tr>
</table>
<!-- Constraint List -->
@ -7248,17 +7227,12 @@ WHERE (a.frd_id = 8);</pre>
<h3>Language: PLPGSQL</h3>
<pre>
-- account_add (p_id tmp_pcmn.pcm_val%type,p_name varchar)
-- parameter
-- p_id id of the account
-- name account&#39;s name
-- purpose insert a new account if it doesn&#39;t exist yet
declare
nParent tmp_pcmn.pcm_val_parent%type;
nCount integer;
begin
select count(*) into nCount from tmp_pcmn where pcm_val=p_id;
if nCount != 0 then
if nCount = 0 then
nParent=account_parent(p_id);
insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent)
values (p_id, p_name,nParent);
@ -7275,9 +7249,6 @@ end ;
<h3>Language: PLPGSQL</h3>
<pre>
-- account_auto
-- param fd_id
-- return true if the card generate automatically an account
declare
l_auto bool;
begin
@ -7298,10 +7269,6 @@ end;
<h3>Language: PLPGSQL</h3>
<pre>
-- account_compute
-- param f_id
-- compute the next account
-- return new account
declare
class_base poste_comptable;
maxcode int8;
@ -7331,12 +7298,6 @@ end;
<pre>
declare
-- account_insert
-- parameter f_id,p_account label of account
-- purpose : create a new account for a card
-- check if the accound needs to be created automatically
-- if p_account is empty or null
-- into tables attr_value
nParent tmp_pcmn.pcm_val_parent%type;
sName varchar;
nNew tmp_pcmn.pcm_val%type;
@ -7439,10 +7400,6 @@ end;
<h3>Language: PLPGSQL</h3>
<pre>
-- account_update
-- parameter f_id, pcm_val
-- purpose update the account of a card and create it into PCMN if it doesn&#39;t exist yet
--
declare
nMax fiche.f_id%type;
nCount integer;
@ -7484,10 +7441,6 @@ end;
<h3>Language: PLPGSQL</h3>
<pre>
-- attribut_integer
-- parameter : f_id, ad_id, p_value
-- purpose add an attribute to a card
-- it inserts a row into jnt_fic_att_value and attr_value
declare
n_jft_id integer;
begin
@ -7510,10 +7463,6 @@ end;
declare
n_poste fiche_def.fd_class_base%type;
begin
-- card_class_base (integer)
-- param: $1 fiche.f_id
-- purpose : retrieve the class of a card
--
select fd_class_base into n_poste from fiche_def join fiche using (fd_id)
where f_id=p_f_id;
@ -7575,8 +7524,6 @@ end;
<pre>
declare
-- fiche_account_parent returns the fd_class_base
-- parameter f_id (from fiche)
ret poste_comptable;
begin
select fd_class_base into ret from fiche_def join fiche using (fd_id) where f_id=p_f_id;
@ -7585,47 +7532,6 @@ begin
end if;
return ret;
end;
</pre>
<hr>
<h2>Function:
<a href="#public.schema"><a name="public.function.fiche-delete-p-f-id-integer">fiche_delete( p_f_id integer )</a>
</h2>
<h3>Returns: void</h3>
<h3>Language: PLPGSQL</h3>
<pre>
begin
delete from attr_value where jft_id in (select jft_id from jnt_fic_att_value where f_id=p_f_id);
delete from jnt_fic_att_value where f_id = p_f_id;
delete from fiche where f_id=p_f_id;
return;
end;
</pre>
<hr>
<h2>Function:
<a href="#public.schema"><a name="public.function.fiche-used-p-f-id-integer">fiche_used( p_f_id integer )</a>
</h2>
<h3>Returns: integer</h3>
<h3>Language: PLPGSQL</h3>
<pre>
declare
-- parameter f_id
nCount integer;
qcode varchar;
begin
-- first retrive quick_code
select av_text into qcode from attr_value join jnt_fic_att_value using (jft_id)
where
ad_id=23
and f_id=p_f_id;
raise notice &#39;Quick code =%&#39;,qcode;
select count(*) into nCount from jrnx where j_qcode=qcode;
return nCount;
end;
</pre>
<hr>

View file

@ -51,15 +51,6 @@
<a name="l00064"></a>00064 <span class="comment">// si $p_date &gt; $p_date_oth return &gt; 0</span>
<a name="l00065"></a>00065 <span class="keywordflow">return</span> $l_mkdate-$l2_mkdate;
<a name="l00066"></a>00066 }
<a name="l00067"></a>00067 <span class="comment">/* </span>
<a name="l00068"></a>00068 <span class="comment"> * \brief check if the argument is a number</span>
<a name="l00069"></a>00069 <span class="comment"> *</span>
<a name="l00070"></a>00070 <span class="comment"> * \param $p_int</span>
<a name="l00071"></a>00071 <span class="comment"> *</span>
<a name="l00072"></a>00072 <span class="comment"> * \return </span>
<a name="l00073"></a>00073 <span class="comment"> * - 1 it's a number</span>
<a name="l00074"></a>00074 <span class="comment"> * - 0 it is not</span>
<a name="l00075"></a>00075 <span class="comment"> */</span>
<a name="l00076"></a><a class="code" href="ac__common_8php.html#a2">00076</a> function <a class="code" href="ac__common_8php.html#a2">isNumber</a>($p_int) {
<a name="l00077"></a>00077 <span class="keywordflow">if</span> ( strlen (trim($p_int)) == 0 ) <span class="keywordflow">return</span> 0;
<a name="l00078"></a>00078 $p_int=trim($p_int);
@ -80,174 +71,175 @@
<a name="l00104"></a>00104 <span class="keywordflow">if</span> ( $l_date[2] &gt; 2020 ) {
<a name="l00105"></a>00105 <span class="keywordflow">return</span> null;
<a name="l00106"></a>00106 }
<a name="l00107"></a>00107 <span class="keywordflow">if</span> ( checkdate ($l_date[1],$l_date[0],$l_date[2]) == <span class="keyword">false</span>) {
<a name="l00108"></a>00108 <span class="keywordflow">return</span> null;
<a name="l00109"></a>00109 }
<a name="l00110"></a>00110
<a name="l00111"></a>00111 }<span class="comment">// !ereg</span>
<a name="l00112"></a>00112 <span class="keywordflow">return</span> $p_date;
<a name="l00113"></a>00113 }
<a name="l00119"></a><a class="code" href="ac__common_8php.html#a4">00119</a> function <a class="code" href="ac__common_8php.html#a4">formatDate</a>($p_date) {
<a name="l00120"></a>00120 <span class="keywordflow">if</span> ( <a class="code" href="ac__common_8php.html#a3">isDate</a>($p_date)== null) <span class="keywordflow">return</span> <span class="stringliteral">"null"</span>;
<a name="l00121"></a>00121 <span class="keywordflow">return</span> <span class="stringliteral">"'"</span>.$p_date.<span class="stringliteral">"'"</span>;
<a name="l00122"></a>00122 }
<a name="l00132"></a><a class="code" href="ac__common_8php.html#a5">00132</a> function <a class="code" href="ac__common_8php.html#a5">html_page_start</a>($p_theme=<span class="stringliteral">""</span>,$p_script=<span class="stringliteral">""</span>,$p_script2=<span class="stringliteral">""</span>)
<a name="l00133"></a>00133 {
<a name="l00134"></a>00134 include_once (<span class="stringliteral">"postgres.php"</span>);
<a name="l00135"></a>00135 ini_set('magic_quotes_gpc<span class="charliteral">','</span>Off');
<a name="l00136"></a>00136
<a name="l00137"></a>00137 <a class="code" href="impress__fiche_8php.html#a0">$cn</a>=<a class="code" href="postgres_8php.html#a1">DbConnect</a>();
<a name="l00138"></a>00138 <span class="keywordflow">if</span> ( $p_theme != <span class="stringliteral">""</span>) {
<a name="l00139"></a>00139 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($cn,<span class="stringliteral">"select the_filestyle from theme</span>
<a name="l00140"></a>00140 <span class="stringliteral"> where the_name='"</span>.$p_theme.<span class="stringliteral">"'"</span>);
<a name="l00141"></a>00141 <span class="keywordflow">if</span> (pg_NumRows($Res)==0)
<a name="l00142"></a>00142 <a class="code" href="pref_8inc_8php.html#a2">$style</a>=<span class="stringliteral">"style.css"</span>;
<a name="l00143"></a>00143 <span class="keywordflow">else</span> {
<a name="l00144"></a>00144 $s=pg_fetch_array($Res,0);
<a name="l00145"></a>00145 <a class="code" href="pref_8inc_8php.html#a2">$style</a>=$s['the_filestyle'];
<a name="l00146"></a>00146 }
<a name="l00147"></a>00147 }<span class="keywordflow">else</span> {
<a name="l00148"></a>00148 <a class="code" href="pref_8inc_8php.html#a2">$style</a>=<span class="stringliteral">"style.css"</span>;
<a name="l00149"></a>00149 } <span class="comment">// end if</span>
<a name="l00150"></a>00150 echo '&lt;!DOCTYPE HTML PUBLIC <span class="stringliteral">"-//W3C//DTD HTML 3.2 FINAL//EN"</span>&gt;';
<a name="l00151"></a>00151 echo <span class="stringliteral">"&lt;HTML&gt;"</span>;
<a name="l00152"></a>00152
<a name="l00153"></a>00153 <span class="keywordflow">if</span> ( $p_script2 != <span class="stringliteral">""</span> )
<a name="l00154"></a>00154 $p_script2='&lt;script src=<span class="stringliteral">"'.$p_script2.'"</span> type=<span class="stringliteral">"text/javascript"</span>&gt;&lt;/script&gt;';
<a name="l00155"></a>00155
<a name="l00156"></a>00156 echo <span class="stringliteral">"&lt;HEAD&gt; </span>
<a name="l00157"></a>00157 <span class="stringliteral"> &lt;TITLE&gt;PhpCompta&lt;/TITLE&gt;</span>
<a name="l00158"></a>00158 <span class="stringliteral"> &lt;META http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"&gt;</span>
<a name="l00159"></a>00159 <span class="stringliteral"> &lt;LINK REL=\"stylesheet\" type=\"text/css\" href=\"$style\" media=\"screen\"&gt;</span>
<a name="l00160"></a>00160 <span class="stringliteral"> &lt;link rel=\"stylesheet\" type=\"text/css\" href=\"style-print.css\" media=\"print\"&gt;"</span>.
<a name="l00161"></a>00161 $p_script2. <span class="stringliteral">"</span>
<a name="l00162"></a>00162 <span class="stringliteral"> &lt;/HEAD&gt;&lt;script src=\"scripts.js\" type=\"text/javascript\"&gt;&lt;/script&gt;"</span>;
<a name="l00163"></a>00163 echo <span class="stringliteral">"&lt;BODY $p_script&gt;"</span>;
<a name="l00164"></a>00164 }
<a name="l00169"></a><a class="code" href="ac__common_8php.html#a6">00169</a> function <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>()
<a name="l00170"></a>00170 {
<a name="l00171"></a>00171 echo <span class="stringliteral">"&lt;/BODY&gt;"</span>;
<a name="l00172"></a>00172 echo <span class="stringliteral">"&lt;/HTML&gt;"</span>;
<a name="l00173"></a>00173 }
<a name="l00181"></a><a class="code" href="ac__common_8php.html#a7">00181</a> function <a class="code" href="ac__common_8php.html#a7">html_button_logout</a>() {
<a name="l00182"></a>00182 echo <span class="stringliteral">"&lt;A class=\"mtitle\" HREF=logout.php&gt; Logout &lt;/A&gt;"</span>;
<a name="l00183"></a>00183 }
<a name="l00191"></a><a class="code" href="ac__common_8php.html#a8">00191</a> function <a class="code" href="ac__common_8php.html#a8">NoAccess</a>() {
<a name="l00192"></a>00192 echo <span class="stringliteral">"&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;"</span>;
<a name="l00193"></a>00193 echo <span class="stringliteral">"&lt;P ALIGN=center&gt;&lt;BLINK&gt;</span>
<a name="l00194"></a>00194 <span class="stringliteral"> &lt;FONT size=+12 COLOR=RED&gt;</span>
<a name="l00195"></a>00195 <span class="stringliteral"> You haven't access</span>
<a name="l00196"></a>00196 <span class="stringliteral"> &lt;/FONT&gt;&lt;/BLINK&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;"</span>;
<a name="l00197"></a>00197
<a name="l00198"></a>00198 <a class="code" href="balance_8php.html#a0">exit</a> -1;
<a name="l00199"></a>00199 }
<a name="l00207"></a><a class="code" href="ac__common_8php.html#a9">00207</a> function <a class="code" href="ac__common_8php.html#a9">FormatString</a>($p_string)
<a name="l00208"></a>00208 {
<a name="l00209"></a>00209 <span class="keywordflow">if</span> ( !isset ($p_string) ) {
<a name="l00210"></a>00210 <a class="code" href="ac__common_8php.html#a0">echo_error</a>(<span class="stringliteral">"ac_common.php FormatString p_string empty"</span>);
<a name="l00211"></a>00211 <span class="keywordflow">return</span> null;
<a name="l00212"></a>00212 }
<a name="l00213"></a>00213 $p_string=trim($p_string);
<a name="l00214"></a>00214 <span class="keywordflow">if</span> (strlen($p_string) == 0 ) <span class="keywordflow">return</span> null;
<a name="l00215"></a>00215 $p_string=str_replace(<span class="stringliteral">"\'"</span>,<span class="stringliteral">"'"</span>,$p_string);
<a name="l00216"></a>00216 $p_string=str_replace(<span class="stringliteral">"''"</span>,<span class="stringliteral">"'"</span>,$p_string);
<a name="l00217"></a>00217 $p_string=str_replace(<span class="stringliteral">"'"</span>,<span class="stringliteral">"\'"</span>,$p_string);
<a name="l00218"></a>00218 <span class="keywordflow">return</span> $p_string;
<a name="l00219"></a>00219 }
<a name="l00220"></a>00220
<a name="l00223"></a>00223 <span class="comment">/* the content of p_array in a table */</span>
<a name="l00224"></a>00224 <span class="comment">/* used to display the menu */</span>
<a name="l00225"></a>00225 <span class="comment">/* \param array */</span>
<a name="l00226"></a>00226 <span class="comment">/* \return : string */</span>
<a name="l00227"></a><a class="code" href="ac__common_8php.html#a10">00227</a> function <a class="code" href="ac__common_8php.html#a10">ShowItem</a>($p_array,$p_dir=<span class="charliteral">'V'</span>,$<span class="keyword">class</span>=<span class="stringliteral">"mtitle"</span>,$class_ref=<span class="stringliteral">"mtitle"</span>,$<span class="keywordflow">default</span>=<span class="stringliteral">""</span>,$p_extra=<span class="stringliteral">""</span>)
<a name="l00228"></a>00228 {
<a name="l00229"></a>00229 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=<span class="stringliteral">"&lt;TABLE $p_extra&gt;"</span>;
<a name="l00230"></a>00230 <span class="comment">// direction Vertical</span>
<a name="l00231"></a>00231 <span class="keywordflow">if</span> ( $p_dir == <span class="charliteral">'V'</span>) {
<a name="l00232"></a>00232 foreach ($p_array as $all=&gt;$href){
<a name="l00233"></a>00233 <a class="code" href="action_8inc_8php.html#a14">$title</a>=<span class="stringliteral">""</span>;
<a name="l00234"></a>00234 <span class="keywordflow">if</span> ( isset ($href[2] ))
<a name="l00235"></a>00235 <a class="code" href="action_8inc_8php.html#a14">$title</a>=$href[2];
<a name="l00236"></a>00236 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.='&lt;TR&gt;&lt;TD CLASS=<span class="stringliteral">"'.$class.'"</span>&gt;&lt;A <span class="keyword">class</span>=<span class="stringliteral">"'.$class_ref.'"</span> HREF=<span class="stringliteral">"'.$href[0].'"</span> title=<span class="stringliteral">"'.$title.'"</span>&gt;'.$href[1].'&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;';
<a name="l00237"></a>00237 }
<a name="l00238"></a>00238 }
<a name="l00239"></a>00239 <span class="comment">//direction Horizontal</span>
<a name="l00240"></a>00240 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( $p_dir == <span class="charliteral">'H'</span> ) {
<a name="l00241"></a>00241 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<span class="stringliteral">"&lt;TR&gt;"</span>;
<a name="l00242"></a>00242 foreach ($p_array as $all=&gt;$href){
<a name="l00243"></a>00243 <a class="code" href="action_8inc_8php.html#a14">$title</a>=<span class="stringliteral">""</span>;
<a name="l00244"></a>00244 <span class="keywordflow">if</span> ( isset ($href[2] ))
<a name="l00245"></a>00245 <a class="code" href="action_8inc_8php.html#a14">$title</a>=$href[2];
<a name="l00246"></a>00246 <span class="keywordflow">if</span> ( $<span class="keywordflow">default</span>== $href[0]) {
<a name="l00247"></a>00247 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.='&lt;TD CLASS=<span class="stringliteral">"selectedcell"</span>&gt;'.$href[1].'&lt;/TD&gt;';
<a name="l00248"></a>00248
<a name="l00249"></a>00249 } <span class="keywordflow">else</span> {
<a name="l00250"></a>00250 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.='&lt;TD CLASS=<span class="stringliteral">"'.$class.'"</span>&gt;&lt;A <span class="keyword">class</span>=<span class="stringliteral">"'.$class_ref.'"</span> HREF=<span class="stringliteral">"'.$href[0].'"</span> title=<span class="stringliteral">"'.$title.'"</span>&gt;'.$href[1].'&lt;/A&gt;&lt;/TD&gt;';
<a name="l00251"></a>00251 }
<a name="l00252"></a>00252 }
<a name="l00253"></a>00253 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<span class="stringliteral">"&lt;/TR&gt;"</span>;
<a name="l00254"></a>00254 }
<a name="l00255"></a>00255 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<span class="stringliteral">"&lt;/TABLE&gt;"</span>;
<a name="l00256"></a>00256 <span class="keywordflow">return</span> <a class="code" href="impress__bilan_8php.html#a0">$ret</a>;
<a name="l00257"></a>00257 }
<a name="l00268"></a><a class="code" href="ac__common_8php.html#a11">00268</a> function <a class="code" href="ac__common_8php.html#a11">echo_warning</a>($p_string)
<a name="l00269"></a>00269 {
<a name="l00270"></a>00270 echo '&lt;H2 <span class="keyword">class</span>=<span class="stringliteral">"info"</span>&gt;'.$p_string.<span class="stringliteral">"&lt;/H2&gt;"</span>;
<a name="l00271"></a>00271 }
<a name="l00281"></a><a class="code" href="ac__common_8php.html#a12">00281</a> function <a class="code" href="ac__common_8php.html#a12">make_array</a>($p_cn,$p_sql,$p_null=0) {
<a name="l00282"></a>00282
<a name="l00283"></a>00283 <a class="code" href="action_8inc_8php.html#a15">$a</a>=pg_exec($p_cn,$p_sql);
<a name="l00284"></a>00284 $max=pg_NumRows($a);
<a name="l00285"></a>00285 <span class="keywordflow">if</span> ( $max==0) <span class="keywordflow">return</span> null;
<a name="l00286"></a>00286 <span class="keywordflow">for</span> ($i=0;$i&lt;$max;$i++) {
<a name="l00287"></a>00287 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_row($a);
<a name="l00288"></a>00288 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a11">$i</a>]['<a class="code" href="action_8inc_8php.html#a4">value</a>']=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[0];
<a name="l00289"></a>00289 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a11">$i</a>]['<a class="code" href="action_8inc_8php.html#a6">label</a>']=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[1];
<a name="l00290"></a>00290 }
<a name="l00291"></a>00291 <span class="comment">// add a blank item ?</span>
<a name="l00292"></a>00292 <span class="keywordflow">if</span> ( $p_null == 1 ) {
<a name="l00293"></a>00293 <span class="keywordflow">for</span> ($i=$max;$i!=0;$i--) {
<a name="l00294"></a>00294 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a11">$i</a>]['<a class="code" href="action_8inc_8php.html#a4">value</a>']= <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a11">$i</a>-1]['<a class="code" href="action_8inc_8php.html#a4">value</a>'];
<a name="l00295"></a>00295 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a11">$i</a>]['<a class="code" href="action_8inc_8php.html#a6">label</a>']= <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a11">$i</a>-1]['<a class="code" href="action_8inc_8php.html#a6">label</a>'];
<a name="l00296"></a>00296 }
<a name="l00297"></a>00297 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[0]['<a class="code" href="action_8inc_8php.html#a4">value</a>']=-1;
<a name="l00298"></a>00298 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[0]['<a class="code" href="action_8inc_8php.html#a6">label</a>']=<span class="stringliteral">" "</span>;
<a name="l00299"></a>00299 } <span class="comment">// if ( $p_null == 1 ) </span>
<a name="l00300"></a>00300
<a name="l00301"></a>00301 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00302"></a>00302 }
<a name="l00314"></a><a class="code" href="ac__common_8php.html#a13">00314</a> function <a class="code" href="ac__common_8php.html#a13">getPeriodeName</a>($p_cn,$p_id,$pos='p_start') {
<a name="l00315"></a>00315 <span class="keywordflow">if</span> ( $pos != 'p_start' and
<a name="l00316"></a>00316 $pos != 'p_end')
<a name="l00317"></a>00317 <a class="code" href="ac__common_8php.html#a0">echo_error</a>('ac_common.php'.<span class="stringliteral">"-"</span>.__LINE__.' UNDEFINED <a class="code" href="constant_8php.html#a13">PERIODE</a>');
<a name="l00318"></a>00318 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=execSql($p_cn,<span class="stringliteral">"select to_char($pos,'Mon YYYY') as t from parm_periode where p_id=$p_id"</span>);
<a name="l00319"></a>00319 <span class="keywordflow">if</span> (pg_NumRows($ret) == 0) <span class="keywordflow">return</span> null;
<a name="l00320"></a>00320 <a class="code" href="action_8inc_8php.html#a15">$a</a>=pg_fetch_array($ret,0);
<a name="l00321"></a>00321 <span class="keywordflow">return</span> <a class="code" href="action_8inc_8php.html#a15">$a</a>[<span class="charliteral">'t'</span>];
<a name="l00322"></a>00322 }
<a name="l00334"></a><a class="code" href="ac__common_8php.html#a14">00334</a> function <a class="code" href="ac__common_8php.html#a14">getPeriodeFromMonth</a>($p_cn,$p_date) {
<a name="l00335"></a>00335 $R=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($p_cn,<span class="stringliteral">"select p_id from parm_periode where</span>
<a name="l00336"></a>00336 <span class="stringliteral"> to_char(p_start,'DD.MM.YYYY') = '01.$p_date'"</span>);
<a name="l00337"></a>00337 <span class="keywordflow">if</span> ( pg_NumRows($R) == 0 )
<a name="l00338"></a>00338 <span class="keywordflow">return</span> -1;
<a name="l00339"></a>00339 <a class="code" href="action_8inc_8php.html#a15">$a</a>=pg_fetch_array($R,0);
<a name="l00340"></a>00340
<a name="l00341"></a>00341 <span class="keywordflow">return</span> <a class="code" href="action_8inc_8php.html#a15">$a</a>['p_id'];
<a name="l00342"></a>00342 }
<a name="l00354"></a><a class="code" href="ac__common_8php.html#a15">00354</a> function <a class="code" href="ac__common_8php.html#a15">getPeriodeFromDate</a>($p_cn,$p_date) {
<a name="l00355"></a>00355 $R=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($p_cn,<span class="stringliteral">"select p_id from parm_periode where</span>
<a name="l00356"></a>00356 <span class="stringliteral"> p_start &lt;= to_date('$p_date','DD.MM.YYYY')</span>
<a name="l00357"></a>00357 <span class="stringliteral"> and p_end &gt;= to_date('$p_date','DD.MM.YYYY')</span>
<a name="l00358"></a>00358 <span class="stringliteral"> "</span>);
<a name="l00359"></a>00359 <span class="keywordflow">if</span> ( pg_NumRows($R) == 0 )
<a name="l00360"></a>00360 <span class="keywordflow">return</span> -1;
<a name="l00361"></a>00361 <a class="code" href="action_8inc_8php.html#a15">$a</a>=pg_fetch_array($R,0);
<a name="l00362"></a>00362
<a name="l00363"></a>00363 <span class="keywordflow">return</span> <a class="code" href="action_8inc_8php.html#a15">$a</a>['p_id'];
<a name="l00364"></a>00364 }
<a name="l00365"></a>00365
<a name="l00366"></a>00366 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00107"></a>00107 <a class="code" href="debug_8php.html#a0">echo_debug</a>('ac_common.php',__LINE__,' date = '.var_export($l_date,<span class="keyword">true</span>));
<a name="l00108"></a>00108 <span class="keywordflow">if</span> ( checkdate ($l_date[1],$l_date[0],$l_date[2]) == <span class="keyword">false</span>) {
<a name="l00109"></a>00109 <span class="keywordflow">return</span> null;
<a name="l00110"></a>00110 }
<a name="l00111"></a>00111
<a name="l00112"></a>00112 }<span class="comment">// !ereg</span>
<a name="l00113"></a>00113 <span class="keywordflow">return</span> $p_date;
<a name="l00114"></a>00114 }
<a name="l00120"></a><a class="code" href="ac__common_8php.html#a4">00120</a> function <a class="code" href="ac__common_8php.html#a4">formatDate</a>($p_date) {
<a name="l00121"></a>00121 <span class="keywordflow">if</span> ( <a class="code" href="ac__common_8php.html#a3">isDate</a>($p_date)== null) <span class="keywordflow">return</span> <span class="stringliteral">"null"</span>;
<a name="l00122"></a>00122 <span class="keywordflow">return</span> <span class="stringliteral">"'"</span>.$p_date.<span class="stringliteral">"'"</span>;
<a name="l00123"></a>00123 }
<a name="l00133"></a><a class="code" href="ac__common_8php.html#a5">00133</a> function <a class="code" href="ac__common_8php.html#a5">html_page_start</a>($p_theme=<span class="stringliteral">""</span>,$p_script=<span class="stringliteral">""</span>,$p_script2=<span class="stringliteral">""</span>)
<a name="l00134"></a>00134 {
<a name="l00135"></a>00135 include_once (<span class="stringliteral">"postgres.php"</span>);
<a name="l00136"></a>00136 ini_set('magic_quotes_gpc<span class="charliteral">','</span>Off');
<a name="l00137"></a>00137
<a name="l00138"></a>00138 <a class="code" href="impress__fiche_8php.html#a0">$cn</a>=<a class="code" href="postgres_8php.html#a1">DbConnect</a>();
<a name="l00139"></a>00139 <span class="keywordflow">if</span> ( $p_theme != <span class="stringliteral">""</span>) {
<a name="l00140"></a>00140 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($cn,<span class="stringliteral">"select the_filestyle from theme</span>
<a name="l00141"></a>00141 <span class="stringliteral"> where the_name='"</span>.$p_theme.<span class="stringliteral">"'"</span>);
<a name="l00142"></a>00142 <span class="keywordflow">if</span> (pg_NumRows($Res)==0)
<a name="l00143"></a>00143 <a class="code" href="pref_8inc_8php.html#a2">$style</a>=<span class="stringliteral">"style.css"</span>;
<a name="l00144"></a>00144 <span class="keywordflow">else</span> {
<a name="l00145"></a>00145 $s=pg_fetch_array($Res,0);
<a name="l00146"></a>00146 <a class="code" href="pref_8inc_8php.html#a2">$style</a>=$s['the_filestyle'];
<a name="l00147"></a>00147 }
<a name="l00148"></a>00148 }<span class="keywordflow">else</span> {
<a name="l00149"></a>00149 <a class="code" href="pref_8inc_8php.html#a2">$style</a>=<span class="stringliteral">"style.css"</span>;
<a name="l00150"></a>00150 } <span class="comment">// end if</span>
<a name="l00151"></a>00151 echo '&lt;!DOCTYPE HTML PUBLIC <span class="stringliteral">"-//W3C//DTD HTML 3.2 FINAL//EN"</span>&gt;';
<a name="l00152"></a>00152 echo <span class="stringliteral">"&lt;HTML&gt;"</span>;
<a name="l00153"></a>00153
<a name="l00154"></a>00154 <span class="keywordflow">if</span> ( $p_script2 != <span class="stringliteral">""</span> )
<a name="l00155"></a>00155 $p_script2='&lt;script src=<span class="stringliteral">"'.$p_script2.'"</span> type=<span class="stringliteral">"text/javascript"</span>&gt;&lt;/script&gt;';
<a name="l00156"></a>00156
<a name="l00157"></a>00157 echo <span class="stringliteral">"&lt;HEAD&gt; </span>
<a name="l00158"></a>00158 <span class="stringliteral"> &lt;TITLE&gt;PhpCompta&lt;/TITLE&gt;</span>
<a name="l00159"></a>00159 <span class="stringliteral"> &lt;META http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"&gt;</span>
<a name="l00160"></a>00160 <span class="stringliteral"> &lt;LINK REL=\"stylesheet\" type=\"text/css\" href=\"$style\" media=\"screen\"&gt;</span>
<a name="l00161"></a>00161 <span class="stringliteral"> &lt;link rel=\"stylesheet\" type=\"text/css\" href=\"style-print.css\" media=\"print\"&gt;"</span>.
<a name="l00162"></a>00162 $p_script2. <span class="stringliteral">"</span>
<a name="l00163"></a>00163 <span class="stringliteral"> &lt;/HEAD&gt;&lt;script src=\"scripts.js\" type=\"text/javascript\"&gt;&lt;/script&gt;"</span>;
<a name="l00164"></a>00164 echo <span class="stringliteral">"&lt;BODY $p_script&gt;"</span>;
<a name="l00165"></a>00165 }
<a name="l00170"></a><a class="code" href="ac__common_8php.html#a6">00170</a> function <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>()
<a name="l00171"></a>00171 {
<a name="l00172"></a>00172 echo <span class="stringliteral">"&lt;/BODY&gt;"</span>;
<a name="l00173"></a>00173 echo <span class="stringliteral">"&lt;/HTML&gt;"</span>;
<a name="l00174"></a>00174 }
<a name="l00182"></a><a class="code" href="ac__common_8php.html#a7">00182</a> function <a class="code" href="ac__common_8php.html#a7">html_button_logout</a>() {
<a name="l00183"></a>00183 echo <span class="stringliteral">"&lt;A class=\"mtitle\" HREF=logout.php&gt; Logout &lt;/A&gt;"</span>;
<a name="l00184"></a>00184 }
<a name="l00192"></a><a class="code" href="ac__common_8php.html#a8">00192</a> function <a class="code" href="ac__common_8php.html#a8">NoAccess</a>() {
<a name="l00193"></a>00193 echo <span class="stringliteral">"&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;"</span>;
<a name="l00194"></a>00194 echo <span class="stringliteral">"&lt;P ALIGN=center&gt;&lt;BLINK&gt;</span>
<a name="l00195"></a>00195 <span class="stringliteral"> &lt;FONT size=+12 COLOR=RED&gt;</span>
<a name="l00196"></a>00196 <span class="stringliteral"> You haven't access</span>
<a name="l00197"></a>00197 <span class="stringliteral"> &lt;/FONT&gt;&lt;/BLINK&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;"</span>;
<a name="l00198"></a>00198
<a name="l00199"></a>00199 <a class="code" href="balance_8php.html#a0">exit</a> -1;
<a name="l00200"></a>00200 }
<a name="l00208"></a><a class="code" href="ac__common_8php.html#a9">00208</a> function <a class="code" href="ac__common_8php.html#a9">FormatString</a>($p_string)
<a name="l00209"></a>00209 {
<a name="l00210"></a>00210 <span class="keywordflow">if</span> ( !isset ($p_string) ) {
<a name="l00211"></a>00211 <a class="code" href="ac__common_8php.html#a0">echo_error</a>(<span class="stringliteral">"ac_common.php FormatString p_string empty"</span>);
<a name="l00212"></a>00212 <span class="keywordflow">return</span> null;
<a name="l00213"></a>00213 }
<a name="l00214"></a>00214 $p_string=trim($p_string);
<a name="l00215"></a>00215 <span class="keywordflow">if</span> (strlen($p_string) == 0 ) <span class="keywordflow">return</span> null;
<a name="l00216"></a>00216 $p_string=str_replace(<span class="stringliteral">"\'"</span>,<span class="stringliteral">"'"</span>,$p_string);
<a name="l00217"></a>00217 $p_string=str_replace(<span class="stringliteral">"''"</span>,<span class="stringliteral">"'"</span>,$p_string);
<a name="l00218"></a>00218 $p_string=str_replace(<span class="stringliteral">"'"</span>,<span class="stringliteral">"\'"</span>,$p_string);
<a name="l00219"></a>00219 <span class="keywordflow">return</span> $p_string;
<a name="l00220"></a>00220 }
<a name="l00221"></a>00221
<a name="l00224"></a>00224 <span class="comment">/* the content of p_array in a table */</span>
<a name="l00225"></a>00225 <span class="comment">/* used to display the menu */</span>
<a name="l00226"></a>00226 <span class="comment">/* \param array */</span>
<a name="l00227"></a>00227 <span class="comment">/* \return : string */</span>
<a name="l00228"></a><a class="code" href="ac__common_8php.html#a10">00228</a> function <a class="code" href="ac__common_8php.html#a10">ShowItem</a>($p_array,$p_dir=<span class="charliteral">'V'</span>,$<span class="keyword">class</span>=<span class="stringliteral">"mtitle"</span>,$class_ref=<span class="stringliteral">"mtitle"</span>,$<span class="keywordflow">default</span>=<span class="stringliteral">""</span>,$p_extra=<span class="stringliteral">""</span>)
<a name="l00229"></a>00229 {
<a name="l00230"></a>00230 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=<span class="stringliteral">"&lt;TABLE $p_extra&gt;"</span>;
<a name="l00231"></a>00231 <span class="comment">// direction Vertical</span>
<a name="l00232"></a>00232 <span class="keywordflow">if</span> ( $p_dir == <span class="charliteral">'V'</span>) {
<a name="l00233"></a>00233 foreach ($p_array as $all=&gt;$href){
<a name="l00234"></a>00234 <a class="code" href="action_8inc_8php.html#a15">$title</a>=<span class="stringliteral">""</span>;
<a name="l00235"></a>00235 <span class="keywordflow">if</span> ( isset ($href[2] ))
<a name="l00236"></a>00236 <a class="code" href="action_8inc_8php.html#a15">$title</a>=$href[2];
<a name="l00237"></a>00237 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.='&lt;TR&gt;&lt;TD CLASS=<span class="stringliteral">"'.$class.'"</span>&gt;&lt;A <span class="keyword">class</span>=<span class="stringliteral">"'.$class_ref.'"</span> HREF=<span class="stringliteral">"'.$href[0].'"</span> title=<span class="stringliteral">"'.$title.'"</span>&gt;'.$href[1].'&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;';
<a name="l00238"></a>00238 }
<a name="l00239"></a>00239 }
<a name="l00240"></a>00240 <span class="comment">//direction Horizontal</span>
<a name="l00241"></a>00241 <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( $p_dir == <span class="charliteral">'H'</span> ) {
<a name="l00242"></a>00242 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<span class="stringliteral">"&lt;TR&gt;"</span>;
<a name="l00243"></a>00243 foreach ($p_array as $all=&gt;$href){
<a name="l00244"></a>00244 <a class="code" href="action_8inc_8php.html#a15">$title</a>=<span class="stringliteral">""</span>;
<a name="l00245"></a>00245 <span class="keywordflow">if</span> ( isset ($href[2] ))
<a name="l00246"></a>00246 <a class="code" href="action_8inc_8php.html#a15">$title</a>=$href[2];
<a name="l00247"></a>00247 <span class="keywordflow">if</span> ( $<span class="keywordflow">default</span>== $href[0]) {
<a name="l00248"></a>00248 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.='&lt;TD CLASS=<span class="stringliteral">"selectedcell"</span>&gt;'.$href[1].'&lt;/TD&gt;';
<a name="l00249"></a>00249
<a name="l00250"></a>00250 } <span class="keywordflow">else</span> {
<a name="l00251"></a>00251 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.='&lt;TD CLASS=<span class="stringliteral">"'.$class.'"</span>&gt;&lt;A <span class="keyword">class</span>=<span class="stringliteral">"'.$class_ref.'"</span> HREF=<span class="stringliteral">"'.$href[0].'"</span> title=<span class="stringliteral">"'.$title.'"</span>&gt;'.$href[1].'&lt;/A&gt;&lt;/TD&gt;';
<a name="l00252"></a>00252 }
<a name="l00253"></a>00253 }
<a name="l00254"></a>00254 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<span class="stringliteral">"&lt;/TR&gt;"</span>;
<a name="l00255"></a>00255 }
<a name="l00256"></a>00256 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<span class="stringliteral">"&lt;/TABLE&gt;"</span>;
<a name="l00257"></a>00257 <span class="keywordflow">return</span> <a class="code" href="impress__bilan_8php.html#a0">$ret</a>;
<a name="l00258"></a>00258 }
<a name="l00269"></a><a class="code" href="ac__common_8php.html#a11">00269</a> function <a class="code" href="ac__common_8php.html#a11">echo_warning</a>($p_string)
<a name="l00270"></a>00270 {
<a name="l00271"></a>00271 echo '&lt;H2 <span class="keyword">class</span>=<span class="stringliteral">"info"</span>&gt;'.$p_string.<span class="stringliteral">"&lt;/H2&gt;"</span>;
<a name="l00272"></a>00272 }
<a name="l00282"></a><a class="code" href="ac__common_8php.html#a12">00282</a> function <a class="code" href="ac__common_8php.html#a12">make_array</a>($p_cn,$p_sql,$p_null=0) {
<a name="l00283"></a>00283
<a name="l00284"></a>00284 <a class="code" href="action_8inc_8php.html#a16">$a</a>=pg_exec($p_cn,$p_sql);
<a name="l00285"></a>00285 $max=pg_NumRows($a);
<a name="l00286"></a>00286 <span class="keywordflow">if</span> ( $max==0) <span class="keywordflow">return</span> null;
<a name="l00287"></a>00287 <span class="keywordflow">for</span> ($i=0;$i&lt;$max;$i++) {
<a name="l00288"></a>00288 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_row($a);
<a name="l00289"></a>00289 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a12">$i</a>]['<a class="code" href="action_8inc_8php.html#a5">value</a>']=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[0];
<a name="l00290"></a>00290 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a12">$i</a>]['<a class="code" href="action_8inc_8php.html#a7">label</a>']=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[1];
<a name="l00291"></a>00291 }
<a name="l00292"></a>00292 <span class="comment">// add a blank item ?</span>
<a name="l00293"></a>00293 <span class="keywordflow">if</span> ( $p_null == 1 ) {
<a name="l00294"></a>00294 <span class="keywordflow">for</span> ($i=$max;$i!=0;$i--) {
<a name="l00295"></a>00295 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a12">$i</a>]['<a class="code" href="action_8inc_8php.html#a5">value</a>']= <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a12">$i</a>-1]['<a class="code" href="action_8inc_8php.html#a5">value</a>'];
<a name="l00296"></a>00296 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a12">$i</a>]['<a class="code" href="action_8inc_8php.html#a7">label</a>']= <a class="code" href="user__action__ach_8php.html#a2">$r</a>[<a class="code" href="balance_8php.html#a12">$i</a>-1]['<a class="code" href="action_8inc_8php.html#a7">label</a>'];
<a name="l00297"></a>00297 }
<a name="l00298"></a>00298 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[0]['<a class="code" href="action_8inc_8php.html#a5">value</a>']=-1;
<a name="l00299"></a>00299 <a class="code" href="user__action__ach_8php.html#a2">$r</a>[0]['<a class="code" href="action_8inc_8php.html#a7">label</a>']=<span class="stringliteral">" "</span>;
<a name="l00300"></a>00300 } <span class="comment">// if ( $p_null == 1 ) </span>
<a name="l00301"></a>00301
<a name="l00302"></a>00302 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00303"></a>00303 }
<a name="l00315"></a><a class="code" href="ac__common_8php.html#a13">00315</a> function <a class="code" href="ac__common_8php.html#a13">getPeriodeName</a>($p_cn,$p_id,$pos='p_start') {
<a name="l00316"></a>00316 <span class="keywordflow">if</span> ( $pos != 'p_start' and
<a name="l00317"></a>00317 $pos != 'p_end')
<a name="l00318"></a>00318 <a class="code" href="ac__common_8php.html#a0">echo_error</a>('ac_common.php'.<span class="stringliteral">"-"</span>.__LINE__.' UNDEFINED <a class="code" href="constant_8php.html#a13">PERIODE</a>');
<a name="l00319"></a>00319 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=execSql($p_cn,<span class="stringliteral">"select to_char($pos,'Mon YYYY') as t from parm_periode where p_id=$p_id"</span>);
<a name="l00320"></a>00320 <span class="keywordflow">if</span> (pg_NumRows($ret) == 0) <span class="keywordflow">return</span> null;
<a name="l00321"></a>00321 <a class="code" href="action_8inc_8php.html#a16">$a</a>=pg_fetch_array($ret,0);
<a name="l00322"></a>00322 <span class="keywordflow">return</span> <a class="code" href="action_8inc_8php.html#a16">$a</a>[<span class="charliteral">'t'</span>];
<a name="l00323"></a>00323 }
<a name="l00335"></a><a class="code" href="ac__common_8php.html#a14">00335</a> function <a class="code" href="ac__common_8php.html#a14">getPeriodeFromMonth</a>($p_cn,$p_date) {
<a name="l00336"></a>00336 $R=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($p_cn,<span class="stringliteral">"select p_id from parm_periode where</span>
<a name="l00337"></a>00337 <span class="stringliteral"> to_char(p_start,'DD.MM.YYYY') = '01.$p_date'"</span>);
<a name="l00338"></a>00338 <span class="keywordflow">if</span> ( pg_NumRows($R) == 0 )
<a name="l00339"></a>00339 <span class="keywordflow">return</span> -1;
<a name="l00340"></a>00340 <a class="code" href="action_8inc_8php.html#a16">$a</a>=pg_fetch_array($R,0);
<a name="l00341"></a>00341
<a name="l00342"></a>00342 <span class="keywordflow">return</span> <a class="code" href="action_8inc_8php.html#a16">$a</a>['p_id'];
<a name="l00343"></a>00343 }
<a name="l00355"></a><a class="code" href="ac__common_8php.html#a15">00355</a> function <a class="code" href="ac__common_8php.html#a15">getPeriodeFromDate</a>($p_cn,$p_date) {
<a name="l00356"></a>00356 $R=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($p_cn,<span class="stringliteral">"select p_id from parm_periode where</span>
<a name="l00357"></a>00357 <span class="stringliteral"> p_start &lt;= to_date('$p_date','DD.MM.YYYY')</span>
<a name="l00358"></a>00358 <span class="stringliteral"> and p_end &gt;= to_date('$p_date','DD.MM.YYYY')</span>
<a name="l00359"></a>00359 <span class="stringliteral"> "</span>);
<a name="l00360"></a>00360 <span class="keywordflow">if</span> ( pg_NumRows($R) == 0 )
<a name="l00361"></a>00361 <span class="keywordflow">return</span> -1;
<a name="l00362"></a>00362 <a class="code" href="action_8inc_8php.html#a16">$a</a>=pg_fetch_array($R,0);
<a name="l00363"></a>00363
<a name="l00364"></a>00364 <span class="keywordflow">return</span> <a class="code" href="action_8inc_8php.html#a16">$a</a>['p_id'];
<a name="l00365"></a>00365 }
<a name="l00366"></a>00366
<a name="l00367"></a>00367 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -22,6 +22,7 @@
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare 2 dates. <a href="#a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ac__common_8php.html#a2">isNumber</a> ($p_int)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">check if the argument is a number <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ac__common_8php.html#a3">isDate</a> ($p_date)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Verifie qu'une date est bien formaté en d.m.y et est valable. <a href="#a3"></a><br></td></tr>
@ -161,7 +162,7 @@ Definition at line <a class="el" href="ac__common_8php-source.html#l00036">36</a
<p>
References <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>.
<p>
Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00267">AddForm()</a>, <a class="el" href="fiche__inc_8php-source.html#l00758">AddModele()</a>, <a class="el" href="user__common_8php-source.html#l00731">DeleteRapt()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="user__form__ach_8php-source.html#l00269">form_verify_input()</a>, <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, <a class="el" href="user__form__ach_8php-source.html#l00471">FormAchView()</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="user__form__fin_8php-source.html#l00146">FormFin()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, <a class="el" href="fiche__inc_8php-source.html#l01054">GetFicheJrn()</a>, <a class="el" href="ac__common_8php-source.html#l00314">getPeriodeName()</a>, <a class="el" href="user__common_8php-source.html#l00211">GetTvaPoste()</a>, <a class="el" href="impress__inc_8php-source.html#l00095">Imp()</a>, <a class="el" href="user__common_8php-source.html#l00700">InsertRapt()</a>, <a class="el" href="user__common_8php-source.html#l00835">isValid()</a>, <a class="el" href="fiche__inc_8php-source.html#l00935">Remove()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="postgres_8php-source.html#l00371">save_upload_document()</a>, <a class="el" href="class__fiche_8php-source.html#l00633">fiche::update()</a>, <a class="el" href="fiche__inc_8php-source.html#l00526">UpdateFiche()</a>, <a class="el" href="jrn_8php-source.html#l00282">UpdateJrn()</a>, <a class="el" href="fiche__inc_8php-source.html#l00866">UpdateModele()</a>, <a class="el" href="jrn_8php-source.html#l00834">VerifData()</a>, and <a class="el" href="user__common_8php-source.html#l00654">VerifyOperationDate()</a>. </td>
Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00267">AddForm()</a>, <a class="el" href="fiche__inc_8php-source.html#l00761">AddModele()</a>, <a class="el" href="user__common_8php-source.html#l00727">DeleteRapt()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="user__form__ach_8php-source.html#l00269">form_verify_input()</a>, <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, <a class="el" href="user__form__ach_8php-source.html#l00471">FormAchView()</a>, <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>, <a class="el" href="user__form__fin_8php-source.html#l00146">FormFin()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, <a class="el" href="fiche__inc_8php-source.html#l01057">GetFicheJrn()</a>, <a class="el" href="ac__common_8php-source.html#l00315">getPeriodeName()</a>, <a class="el" href="user__common_8php-source.html#l00211">GetTvaPoste()</a>, <a class="el" href="impress__inc_8php-source.html#l00095">Imp()</a>, <a class="el" href="user__common_8php-source.html#l00699">InsertRapt()</a>, <a class="el" href="user__common_8php-source.html#l00831">isValid()</a>, <a class="el" href="fiche__inc_8php-source.html#l00938">Remove()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="postgres_8php-source.html#l00371">save_upload_document()</a>, <a class="el" href="class__fiche_8php-source.html#l00640">fiche::update()</a>, <a class="el" href="fiche__inc_8php-source.html#l00530">UpdateFiche()</a>, <a class="el" href="jrn_8php-source.html#l00282">UpdateJrn()</a>, <a class="el" href="fiche__inc_8php-source.html#l00869">UpdateModele()</a>, <a class="el" href="jrn_8php-source.html#l00834">VerifData()</a>, and <a class="el" href="user__common_8php-source.html#l00654">VerifyOperationDate()</a>. </td>
</tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="ac_common.php::echo_warning" ref="a11" args="($p_string)" --><p>
@ -203,9 +204,9 @@ warns
</dd></dl>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00268">268</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
Definition at line <a class="el" href="ac__common_8php-source.html#l00269">269</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
Referenced by <a class="el" href="fiche__inc_8php-source.html#l01054">GetFicheJrn()</a>, and <a class="el" href="fiche__inc_8php-source.html#l01511">IsFicheOfJrn()</a>. </td>
Referenced by <a class="el" href="fiche__inc_8php-source.html#l01057">GetFicheJrn()</a>, and <a class="el" href="fiche__inc_8php-source.html#l01514">IsFicheOfJrn()</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="ac_common.php::formatDate" ref="a4" args="($p_date)" --><p>
@ -238,7 +239,7 @@ call cmpDate
<dl compact><dt><b>Returns:</b></dt><dd>the date or the quoted string null</dd></dl>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00119">119</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
Definition at line <a class="el" href="ac__common_8php-source.html#l00120">120</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
References <a class="el" href="ac__common_8php-source.html#l00097">isDate()</a>. </td>
</tr>
@ -278,11 +279,11 @@ Fix the problem with the quote char for the database.
<dl compact><dt><b>Returns:</b></dt><dd>a string which won't let strange char for the database</dd></dl>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00207">207</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
Definition at line <a class="el" href="ac__common_8php-source.html#l00208">208</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
References <a class="el" href="ac__common_8php-source.html#l00036">echo_error()</a>.
<p>
Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00267">AddForm()</a>, <a class="el" href="fiche__inc_8php-source.html#l00758">AddModele()</a>, <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="class__fiche_8php-source.html#l00289">fiche::CountByDef()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="class__fiche_8php-source.html#l00167">fiche::GetByQCode()</a>, <a class="el" href="class__fiche_8php-source.html#l00533">fiche::insert()</a>, <a class="el" href="user__common_8php-source.html#l00288">InsertJrn()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="user__form__fin_8php-source.html#l00358">RecordFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00627">RecordInvoice()</a>, <a class="el" href="user__form__ach_8php-source.html#l00661">RecordSell()</a>, <a class="el" href="fiche__inc_8php-source.html#l00935">Remove()</a>, <a class="el" href="class__parm__code_8php-source.html#l00076">parm_code::Save()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="class__action_8php-source.html#l00241">action::SaveStage2()</a>, <a class="el" href="class__supplier_8php-source.html#l00083">Supplier::Summary()</a>, <a class="el" href="class__customer_8php-source.html#l00195">Customer::Summary()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="class__admin_8php-source.html#l00065">Admin::Summary()</a>, <a class="el" href="class__fiche_8php-source.html#l00633">fiche::update()</a>, <a class="el" href="user__common_8php-source.html#l00815">UpdateComment()</a>, <a class="el" href="fiche__inc_8php-source.html#l00526">UpdateFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00208">UpdateForm()</a>, <a class="el" href="class__own_8php-source.html#l00051">Own::UpdateRow()</a>, and <a class="el" href="jrn_8php-source.html#l00583">ViewJrn()</a>. </td>
Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00267">AddForm()</a>, <a class="el" href="fiche__inc_8php-source.html#l00761">AddModele()</a>, <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="class__fiche_8php-source.html#l00289">fiche::CountByDef()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="class__fiche_8php-source.html#l00167">fiche::GetByQCode()</a>, <a class="el" href="class__fiche_8php-source.html#l00540">fiche::insert()</a>, <a class="el" href="user__common_8php-source.html#l00288">InsertJrn()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="user__form__fin_8php-source.html#l00358">RecordFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00627">RecordInvoice()</a>, <a class="el" href="user__form__ach_8php-source.html#l00661">RecordSell()</a>, <a class="el" href="fiche__inc_8php-source.html#l00938">Remove()</a>, <a class="el" href="class__parm__code_8php-source.html#l00076">parm_code::Save()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="class__action_8php-source.html#l00291">action::SaveStage2()</a>, <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>, <a class="el" href="class__supplier_8php-source.html#l00083">Supplier::Summary()</a>, <a class="el" href="class__customer_8php-source.html#l00195">Customer::Summary()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="class__admin_8php-source.html#l00065">Admin::Summary()</a>, <a class="el" href="class__fiche_8php-source.html#l00640">fiche::update()</a>, <a class="el" href="user__common_8php-source.html#l00811">UpdateComment()</a>, <a class="el" href="fiche__inc_8php-source.html#l00530">UpdateFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00208">UpdateForm()</a>, <a class="el" href="class__own_8php-source.html#l00051">Own::UpdateRow()</a>, and <a class="el" href="jrn_8php-source.html#l00583">ViewJrn()</a>. </td>
</tr>
</table>
<a class="anchor" name="a15"></a><!-- doxytag: member="ac_common.php::getPeriodeFromDate" ref="a15" args="($p_cn, $p_date)" --><p>
@ -333,9 +334,9 @@ Return the period corresponding to the date.
</li></ul>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00354">354</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
Definition at line <a class="el" href="ac__common_8php-source.html#l00355">355</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a14"></a><!-- doxytag: member="ac_common.php::getPeriodeFromMonth" ref="a14" args="($p_cn, $p_date)" --><p>
@ -383,9 +384,9 @@ Return the period corresponding to the date.
<dl compact><dt><b>Returns:</b></dt><dd>: parm_periode.p_id</dd></dl>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00334">334</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
Definition at line <a class="el" href="ac__common_8php-source.html#l00335">335</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
<p>
Referenced by <a class="el" href="impress__inc_8php-source.html#l00724">ParseFormula()</a>. </td>
</tr>
@ -442,9 +443,9 @@ Show the periode which found thanks its id.
<dl compact><dt><b>Returns:</b></dt><dd>: string</dd></dl>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00314">314</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
Definition at line <a class="el" href="ac__common_8php-source.html#l00315">315</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, and <a class="el" href="ac__common_8php-source.html#l00036">echo_error()</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, and <a class="el" href="ac__common_8php-source.html#l00036">echo_error()</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="ac_common.php::html_button_logout" ref="a7" args="()" --><p>
@ -476,7 +477,7 @@ Button logout.
<dl compact><dt><b>Returns:</b></dt><dd>nothing</dd></dl>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00181">181</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>. </td>
Definition at line <a class="el" href="ac__common_8php-source.html#l00182">182</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="ac_common.php::html_page_start" ref="a5" args="($p_theme=&quot;&quot;, $p_script=&quot;&quot;, $p_script2=&quot;&quot;)" --><p>
@ -531,9 +532,9 @@ Default page header for each page.
<dl compact><dt><b>Returns:</b></dt><dd>none</dd></dl>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00132">132</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
Definition at line <a class="el" href="ac__common_8php-source.html#l00133">133</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="pref_8inc_8php-source.html#l00060">$style</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="pref_8inc_8php-source.html#l00063">$style</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="ac_common.php::html_page_stop" ref="a6" args="()" --><p>
@ -564,7 +565,7 @@ end tag
<p>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00169">169</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>. </td>
Definition at line <a class="el" href="ac__common_8php-source.html#l00170">170</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="ac_common.php::isDate" ref="a3" args="($p_date)" --><p>
@ -608,7 +609,9 @@ Verifie qu'une date est bien format
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00097">97</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
Referenced by <a class="el" href="ac__common_8php-source.html#l00053">cmpDate()</a>, <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="user__form__ach_8php-source.html#l00269">form_verify_input()</a>, <a class="el" href="ac__common_8php-source.html#l00119">formatDate()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="jrn_8php-source.html#l00834">VerifData()</a>, <a class="el" href="user__common_8php-source.html#l00654">VerifyOperationDate()</a>, and <a class="el" href="jrn_8php-source.html#l00583">ViewJrn()</a>. </td>
References <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>.
<p>
Referenced by <a class="el" href="ac__common_8php-source.html#l00053">cmpDate()</a>, <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="user__form__ach_8php-source.html#l00269">form_verify_input()</a>, <a class="el" href="ac__common_8php-source.html#l00120">formatDate()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="jrn_8php-source.html#l00834">VerifData()</a>, <a class="el" href="user__common_8php-source.html#l00654">VerifyOperationDate()</a>, and <a class="el" href="jrn_8php-source.html#l00583">ViewJrn()</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="ac_common.php::isNumber" ref="a2" args="($p_int)" --><p>
@ -636,11 +639,21 @@ Referenced by <a class="el" href="ac__common_8php-source.html#l00053">cmpDate()<
<td>
<p>
check if the argument is a number
<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_int</em>&nbsp;</td><td>number to test</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><ul>
<li>1 it's a number</li><li>0 it is not</li></ul>
</dd></dl>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00076">76</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>, <a class="el" href="fiche__inc_8php-source.html#l00758">AddModele()</a>, <a class="el" href="user__common_8php-source.html#l00069">ComputeTotalVat()</a>, <a class="el" href="user__common_8php-source.html#l00172">ComputeVat()</a>, <a class="el" href="user__common_8php-source.html#l00731">DeleteRapt()</a>, <a class="el" href="user__form__ach_8php-source.html#l00269">form_verify_input()</a>, <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, <a class="el" href="user__form__ach_8php-source.html#l00471">FormAchView()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, <a class="el" href="class__fiche_8php-source.html#l00533">fiche::insert()</a>, <a class="el" href="user__common_8php-source.html#l00700">InsertRapt()</a>, <a class="el" href="user__form__fin_8php-source.html#l00358">RecordFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00627">RecordInvoice()</a>, <a class="el" href="user__form__ods_8php-source.html#l00247">RecordODS()</a>, <a class="el" href="user__form__ach_8php-source.html#l00661">RecordSell()</a>, <a class="el" href="fiche__inc_8php-source.html#l00935">Remove()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, and <a class="el" href="class__fiche_8php-source.html#l00633">fiche::update()</a>. </td>
Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>, <a class="el" href="fiche__inc_8php-source.html#l00761">AddModele()</a>, <a class="el" href="user__common_8php-source.html#l00069">ComputeTotalVat()</a>, <a class="el" href="user__common_8php-source.html#l00172">ComputeVat()</a>, <a class="el" href="user__common_8php-source.html#l00727">DeleteRapt()</a>, <a class="el" href="user__form__ach_8php-source.html#l00269">form_verify_input()</a>, <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, <a class="el" href="user__form__ach_8php-source.html#l00471">FormAchView()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, <a class="el" href="class__fiche_8php-source.html#l00540">fiche::insert()</a>, <a class="el" href="user__common_8php-source.html#l00699">InsertRapt()</a>, <a class="el" href="user__form__fin_8php-source.html#l00358">RecordFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00627">RecordInvoice()</a>, <a class="el" href="user__form__ods_8php-source.html#l00247">RecordODS()</a>, <a class="el" href="user__form__ach_8php-source.html#l00661">RecordSell()</a>, <a class="el" href="fiche__inc_8php-source.html#l00938">Remove()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, and <a class="el" href="class__fiche_8php-source.html#l00640">fiche::update()</a>. </td>
</tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="ac_common.php::make_array" ref="a12" args="($p_cn, $p_sql, $p_null=0)" --><p>
@ -694,11 +707,11 @@ make a array with the sql
<dl compact><dt><b>Returns:</b></dt><dd>: a double array [value,label]</dd></dl>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00281">281</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
Definition at line <a class="el" href="ac__common_8php-source.html#l00282">282</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="action_8inc_8php-source.html#l00143">label</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>.
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="action_8inc_8php-source.html#l00166">label</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="class__document__modele_8php-source.html#l00251">Document_modele::form()</a>, <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, and <a class="el" href="import__inc_8php-source.html#l00174">ShowFormTransfert()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="class__document__modele_8php-source.html#l00252">Document_modele::form()</a>, <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, and <a class="el" href="import__inc_8php-source.html#l00174">ShowFormTransfert()</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="ac_common.php::NoAccess" ref="a8" args="()" --><p>
@ -730,9 +743,9 @@ Echo no access and stop.
<dl compact><dt><b>Returns:</b></dt><dd>nothing</dd></dl>
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00191">191</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
Definition at line <a class="el" href="ac__common_8php-source.html#l00192">192</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00033">exit</a>. </td>
References <a class="el" href="balance_8php-source.html#l00036">exit</a>. </td>
</tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="ac_common.php::ShowItem" ref="a10" args="($p_array, $p_dir='V', $class=&quot;mtitle&quot;, $class_ref=&quot;mtitle&quot;, $default=&quot;&quot;, $p_extra=&quot;&quot;)" --><p>
@ -797,14 +810,14 @@ store the string which print
<p>
/*
<p>
Definition at line <a class="el" href="ac__common_8php-source.html#l00227">227</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
Definition at line <a class="el" href="ac__common_8php-source.html#l00228">228</a> of file <a class="el" href="ac__common_8php-source.html">ac_common.php</a>.
<p>
References <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, and <a class="el" href="action_8inc_8php-source.html#l00176">$title</a>.
References <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, and <a class="el" href="action_8inc_8php-source.html#l00199">$title</a>.
<p>
Referenced by <a class="el" href="user__menu_8php-source.html#l00544">MenuAdmin()</a>, <a class="el" href="user__menu_8php-source.html#l00490">ShowJrn()</a>, <a class="el" href="user__menu_8php-source.html#l00464">ShowMenuAdvanced()</a>, <a class="el" href="user__menu_8php-source.html#l00132">ShowMenuCompta()</a>, <a class="el" href="user__menu_8php-source.html#l00564">ShowMenuDocument()</a>, and <a class="el" href="user__menu_8php-source.html#l00584">ShowMenuParam()</a>. </td>
Referenced by <a class="el" href="user__menu_8php-source.html#l00556">MenuAdmin()</a>, <a class="el" href="user__menu_8php-source.html#l00502">ShowJrn()</a>, <a class="el" href="user__menu_8php-source.html#l00476">ShowMenuAdvanced()</a>, <a class="el" href="user__menu_8php-source.html#l00132">ShowMenuCompta()</a>, <a class="el" href="user__menu_8php-source.html#l00576">ShowMenuDocument()</a>, and <a class="el" href="user__menu_8php-source.html#l00596">ShowMenuParam()</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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -39,229 +39,253 @@
<a name="l00042"></a>00042 &lt;span&gt;
<a name="l00043"></a>00043 &lt;form method=<span class="stringliteral">"get"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>&gt;
<a name="l00044"></a>00044 &lt;?
<a name="l00045"></a>00045 <a class="code" href="action_8inc_8php.html#a15">$a</a>=(isset($_GET['query']))?$_GET['query']:<span class="stringliteral">""</span>;
<a name="l00046"></a>00046 printf ('&lt;span&gt;Titre : &lt;input type=<span class="stringliteral">"text"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"query"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"%s"</span>&gt;&lt;/span&gt;',
<a name="l00045"></a>00045 <a class="code" href="action_8inc_8php.html#a16">$a</a>=(isset($_GET['query']))?$_GET['query']:<span class="stringliteral">""</span>;
<a name="l00046"></a>00046 printf ('&lt;span&gt;Titre ou référence: &lt;input type="text" name="query" value="%s"&gt;&lt;/span&gt;',
<a name="l00047"></a>00047 $a);
<a name="l00048"></a>00048 <a class="code" href="bank_8inc_8php.html#a9">$qcode</a>=(isset($_GET['<a class="code" href="action_8inc_8php.html#a20">qcode</a>']))?$_GET['qcode']:<span class="stringliteral">""</span>;
<a name="l00049"></a>00049 printf ('&lt;span&gt;Tiers QuickCode: &lt;input type="text" name="qcode" value="%s"&gt;&lt;/span&gt;',
<a name="l00050"></a>00050 $qcode);
<a name="l00051"></a>00051
<a name="l00052"></a>00052 ?&gt;
<a name="l00053"></a>00053 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"submit_query"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"recherche"</span>&gt;
<a name="l00054"></a>00054 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"list"</span>&gt;
<a name="l00055"></a>00055 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;
<a name="l00056"></a>00056 &lt;/form&gt;
<a name="l00057"></a>00057 &lt;/span&gt;
<a name="l00058"></a>00058
<a name="l00059"></a>00059 &lt;?
<a name="l00060"></a>00060 ?&gt;
<a name="l00061"></a>00061 &lt;span&gt;
<a name="l00062"></a>00062 &lt;form method=<span class="stringliteral">"get"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>&gt;
<a name="l00063"></a>00063 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"submit_query"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Ajout Action"</span>&gt;
<a name="l00064"></a>00064 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;
<a name="l00065"></a>00065 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"add_action"</span>&gt;
<a name="l00066"></a>00066 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"tiers"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=&lt;? echo <span class="charliteral">'"'</span>.$qcode.<span class="charliteral">'"'</span>;?&gt;&gt;
<a name="l00067"></a>00067 &lt;? <span class="comment">// if called from another menu, url is set</span>
<a name="l00068"></a>00068 echo <a class="code" href="action_8inc_8php.html#a2">$h_url</a>;
<a name="l00069"></a>00069 echo <a class="code" href="action_8inc_8php.html#a1">$retour</a>; ?&gt;
<a name="l00070"></a>00070 &lt;/form&gt;
<a name="l00071"></a>00071
<a name="l00072"></a>00072
<a name="l00073"></a>00073 &lt;/span&gt;
<a name="l00074"></a>00074 &lt;?
<a name="l00075"></a>00075 <span class="comment">// show the action in </span>
<a name="l00076"></a>00076 <a class="code" href="action_8inc_8php.html#a24">$act</a>=<span class="keyword">new</span> <a class="code" href="classaction.html">action</a>($cn);
<a name="l00077"></a>00077
<a name="l00078"></a>00078 $query=(isset ($_REQUEST['query']))?<span class="stringliteral">"and ag_title ~* '"</span>.FormatString($_REQUEST['query']).<span class="stringliteral">"'"</span>:<span class="stringliteral">""</span>;
<a name="l00079"></a>00079 $str=<span class="stringliteral">""</span>;
<a name="l00080"></a>00080 <span class="keywordflow">if</span> ( isset($_REQUEST['qcode'] ))
<a name="l00081"></a>00081 {
<a name="l00082"></a>00082 <span class="comment">// verify that qcode is not empty</span>
<a name="l00083"></a>00083 <span class="keywordflow">if</span> ( strlen(trim($_REQUEST['qcode'] )) != 0 )
<a name="l00084"></a>00084 {
<a name="l00085"></a>00085 <a class="code" href="impress__fiche_8php.html#a9">$fiche</a>=<span class="keyword">new</span> Fiche($cn);
<a name="l00086"></a>00086 <a class="code" href="impress__fiche_8php.html#a9">$fiche</a>-&gt;GetByQCode($_REQUEST['qcode']);
<a name="l00087"></a>00087 $str=<span class="stringliteral">" and f_id= "</span>.$fiche-&gt;id;
<a name="l00088"></a>00088 }
<a name="l00089"></a>00089 }
<a name="l00090"></a>00090
<a name="l00091"></a>00091 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$act-&gt;myList(<a class="code" href="constant_8php.html#a39">ACTION</a>,$query.$str);
<a name="l00092"></a>00092 echo <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00093"></a>00093 }
<a name="l00094"></a>00094
<a name="l00095"></a>00095 <span class="comment">// We need a sub action (3rd level)</span>
<a name="l00096"></a>00096 <span class="comment">// show a list of already taken action </span>
<a name="l00097"></a>00097 <span class="comment">// propose to add one </span>
<a name="l00098"></a>00098 <span class="comment">// permit also a search</span>
<a name="l00099"></a>00099 <span class="comment">// show detail</span>
<a name="l00100"></a><a class="code" href="action_8inc_8php.html#a0">00100</a> <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=(isset($_REQUEST['sa']))?$_REQUEST['sa']:<span class="stringliteral">""</span>;
<a name="l00101"></a>00101 var_dump($_REQUEST);echo '&lt;hr&gt;';
<a name="l00102"></a>00102 <span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">""</span> ) <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=<span class="stringliteral">"list"</span>;
<a name="l00048"></a>00048 <a class="code" href="bank_8inc_8php.html#a9">$qcode</a>=(isset($_GET['<a class="code" href="action_8inc_8php.html#a21">qcode</a>']))?$_GET['qcode']:<span class="stringliteral">""</span>;
<a name="l00049"></a>00049 echo <a class="code" href="constant_8php.html#a80">JS_SEARCH_CARD</a>;
<a name="l00050"></a>00050 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>('js_search_only');
<a name="l00051"></a>00051 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name='qcode';
<a name="l00052"></a>00052 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=<a class="code" href="bank_8inc_8php.html#a9">$qcode</a>;
<a name="l00053"></a>00053 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;label='Quick Code';
<a name="l00054"></a>00054 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;extra='4,9,14,16,8';
<a name="l00055"></a>00055 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;table=0;
<a name="l00056"></a>00056 <a class="code" href="contact_8inc_8php.html#a10">$sp</a>= <span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"span"</span>);
<a name="l00057"></a>00057 echo <a class="code" href="contact_8inc_8php.html#a10">$sp</a>-&gt;IOValue(<span class="stringliteral">"qcode_label"</span>,<span class="stringliteral">""</span>,$qcode);
<a name="l00058"></a>00058 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00059"></a>00059
<a name="l00060"></a>00060 <span class="comment">// printf ('&lt;span&gt;Tiers QuickCode: &lt;input type="text" name="qcode" value="%s"&gt;&lt;/span&gt;',</span>
<a name="l00061"></a>00061 <span class="comment">// $qcode);</span>
<a name="l00062"></a>00062
<a name="l00063"></a>00063 ?&gt;
<a name="l00064"></a>00064 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"submit_query"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"recherche"</span>&gt;
<a name="l00065"></a>00065 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"list"</span>&gt;
<a name="l00066"></a>00066 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;
<a name="l00067"></a>00067 &lt;/form&gt;
<a name="l00068"></a>00068 &lt;/span&gt;
<a name="l00069"></a>00069
<a name="l00070"></a>00070 &lt;?
<a name="l00071"></a>00071 ?&gt;
<a name="l00072"></a>00072 &lt;span&gt;
<a name="l00073"></a>00073 &lt;form method=<span class="stringliteral">"get"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>&gt;
<a name="l00074"></a>00074 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"submit_query"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Ajout Action"</span>&gt;
<a name="l00075"></a>00075 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;
<a name="l00076"></a>00076 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"add_action"</span>&gt;
<a name="l00077"></a>00077 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"tiers"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=&lt;? echo <span class="charliteral">'"'</span>.$qcode.<span class="charliteral">'"'</span>;?&gt;&gt;
<a name="l00078"></a>00078 &lt;? <span class="comment">// if called from another menu, url is set</span>
<a name="l00079"></a>00079 echo <a class="code" href="action_8inc_8php.html#a2">$h_url</a>;
<a name="l00080"></a>00080 echo <a class="code" href="action_8inc_8php.html#a1">$retour</a>; ?&gt;
<a name="l00081"></a>00081 &lt;/form&gt;
<a name="l00082"></a>00082
<a name="l00083"></a>00083
<a name="l00084"></a>00084 &lt;/span&gt;
<a name="l00085"></a>00085 &lt;?
<a name="l00086"></a>00086 <span class="comment">// show the action in </span>
<a name="l00087"></a>00087 <a class="code" href="action_8inc_8php.html#a25">$act</a>=<span class="keyword">new</span> <a class="code" href="classaction.html">action</a>($cn);
<a name="l00088"></a>00088
<a name="l00089"></a>00089 $query=(isset ($_REQUEST['query']))?<span class="stringliteral">"and (ag_title ~* '"</span>.FormatString($_REQUEST['query']).<span class="stringliteral">"' or ag_ref ='"</span>.trim(<a class="code" href="ac__common_8php.html#a9">FormatString</a>($_REQUEST['query'])).<span class="stringliteral">"')"</span>:<span class="stringliteral">""</span>;
<a name="l00090"></a>00090 $str=<span class="stringliteral">""</span>;
<a name="l00091"></a>00091 <span class="keywordflow">if</span> ( isset($_REQUEST['qcode'] ))
<a name="l00092"></a>00092 {
<a name="l00093"></a>00093
<a name="l00094"></a>00094 <span class="comment">// verify that qcode is not empty</span>
<a name="l00095"></a>00095 <span class="keywordflow">if</span> ( strlen(trim($_REQUEST['qcode'] )) != 0 )
<a name="l00096"></a>00096 {
<a name="l00097"></a>00097
<a name="l00098"></a>00098 <a class="code" href="impress__fiche_8php.html#a9">$fiche</a>=<span class="keyword">new</span> Fiche($cn);
<a name="l00099"></a>00099 <a class="code" href="impress__fiche_8php.html#a9">$fiche</a>-&gt;GetByQCode($_REQUEST['qcode']);
<a name="l00100"></a>00100 $str=<span class="stringliteral">" and f_id= "</span>.$fiche-&gt;id;
<a name="l00101"></a>00101 }
<a name="l00102"></a>00102 }
<a name="l00103"></a>00103
<a name="l00104"></a>00104 <span class="comment">// if correction is asked go to directly to add_action</span>
<a name="l00105"></a>00105 <span class="keywordflow">if</span> (isset($_POST['corr'] ))
<a name="l00106"></a>00106 <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=<span class="stringliteral">"add_action"</span>;
<a name="l00104"></a>00104 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$act-&gt;myList(<a class="code" href="constant_8php.html#a39">ACTION</a>,$query.$str);
<a name="l00105"></a>00105 echo <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00106"></a>00106 }
<a name="l00107"></a>00107
<a name="l00108"></a>00108 <span class="comment">// if this page is called from another menu (customer, supplier,...)</span>
<a name="l00109"></a>00109 <span class="comment">// a button back is added</span>
<a name="l00110"></a>00110 <span class="comment">// TODO add function for generating url, hidden tags...</span>
<a name="l00111"></a><a class="code" href="action_8inc_8php.html#a1">00111</a> <a class="code" href="action_8inc_8php.html#a1">$retour</a>=<span class="stringliteral">""</span>;
<a name="l00112"></a><a class="code" href="action_8inc_8php.html#a2">00112</a> <a class="code" href="action_8inc_8php.html#a2">$h_url</a>=<span class="stringliteral">""</span>;
<a name="l00113"></a>00113
<a name="l00114"></a>00114 <span class="keywordflow">if</span> ( isset ($_REQUEST['url']))
<a name="l00115"></a>00115 {
<a name="l00116"></a>00116 <a class="code" href="action_8inc_8php.html#a1">$retour</a>=sprintf('&lt;A HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',urldecode($_REQUEST['url']));
<a name="l00117"></a>00117 <a class="code" href="action_8inc_8php.html#a2">$h_url</a>=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"%s"</span>&gt;',urldecode($_REQUEST['url']));
<a name="l00118"></a>00118 }
<a name="l00119"></a>00119
<a name="l00121"></a>00121 <span class="comment">// Show a list of the action</span>
<a name="l00122"></a>00122 <span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">"list"</span> )
<a name="l00123"></a>00123 <a class="code" href="action_8inc_8php.html#a27">ShowActionList</a>($cn,$retour,$h_url);
<a name="l00124"></a>00124
<a name="l00126"></a>00126 <span class="comment">// Add an action</span>
<a name="l00127"></a>00127 <span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">"add_action"</span> )
<a name="l00108"></a>00108 <span class="comment">// We need a sub action (3rd level)</span>
<a name="l00109"></a>00109 <span class="comment">// show a list of already taken action </span>
<a name="l00110"></a>00110 <span class="comment">// propose to add one </span>
<a name="l00111"></a>00111 <span class="comment">// permit also a search</span>
<a name="l00112"></a>00112 <span class="comment">// show detail</span>
<a name="l00113"></a><a class="code" href="action_8inc_8php.html#a0">00113</a> <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=(isset($_REQUEST['sa']))?$_REQUEST['sa']:<span class="stringliteral">""</span>;
<a name="l00114"></a>00114
<a name="l00115"></a>00115 <span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">""</span> ) <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=<span class="stringliteral">"list"</span>;
<a name="l00116"></a>00116
<a name="l00117"></a>00117 <span class="comment">// if correction is asked go to directly to add_action</span>
<a name="l00118"></a>00118 <span class="keywordflow">if</span> (isset($_POST['corr'] ))
<a name="l00119"></a>00119 <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=<span class="stringliteral">"add_action"</span>;
<a name="l00120"></a>00120
<a name="l00121"></a>00121 <span class="comment">// if this page is called from another menu (customer, supplier,...)</span>
<a name="l00122"></a>00122 <span class="comment">// a button back is added</span>
<a name="l00123"></a>00123 <span class="comment">// TODO add function for generating url, hidden tags...</span>
<a name="l00124"></a><a class="code" href="action_8inc_8php.html#a1">00124</a> <a class="code" href="action_8inc_8php.html#a1">$retour</a>='&lt;A HREF=<span class="stringliteral">"commercial.php?p_action=suivi_courrier"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;';
<a name="l00125"></a><a class="code" href="action_8inc_8php.html#a2">00125</a> <a class="code" href="action_8inc_8php.html#a2">$h_url</a>=<span class="stringliteral">""</span>;
<a name="l00126"></a>00126
<a name="l00127"></a>00127 <span class="keywordflow">if</span> ( isset ($_REQUEST['url']))
<a name="l00128"></a>00128 {
<a name="l00129"></a>00129 echo <a class="code" href="action_8inc_8php.html#a1">$retour</a>;
<a name="l00130"></a>00130
<a name="l00131"></a>00131 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00132"></a>00132 echo <a class="code" href="constant_8php.html#a79">JS_SEARCH_CARD</a>;
<a name="l00133"></a>00133 <span class="comment">// Add hidden tag</span>
<a name="l00134"></a>00134 echo '&lt;form <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"RTEDemo"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php?p_action=suivi_courrier"</span> method=<span class="stringliteral">"post"</span> onsubmit=<span class="stringliteral">"return submitForm();"</span>&gt;';
<a name="l00135"></a>00135 echo <a class="code" href="action_8inc_8php.html#a2">$h_url</a>;
<a name="l00136"></a>00136 $date=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00137"></a><a class="code" href="action_8inc_8php.html#a3">00137</a> $date-&gt;name=<span class="stringliteral">"ag_date"</span>;
<a name="l00138"></a><a class="code" href="action_8inc_8php.html#a4">00138</a> $date-&gt;value=(isset($_POST['<a class="code" href="action_8inc_8php.html#a17">ag_date</a>']))?$_POST['<a class="code" href="action_8inc_8php.html#a17">ag_date</a>']:<span class="stringliteral">""</span>;
<a name="l00139"></a>00139 echo <span class="stringliteral">"&lt;p&gt;Date : "</span>;
<a name="l00140"></a>00140 echo $date-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00141"></a>00141 <span class="comment">// Tiers</span>
<a name="l00142"></a><a class="code" href="action_8inc_8php.html#a5">00142</a> <a class="code" href="action_8inc_8php.html#a5">$W1</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"js_search"</span>);
<a name="l00143"></a><a class="code" href="action_8inc_8php.html#a6">00143</a> <a class="code" href="action_8inc_8php.html#a5">$W1</a>-&gt;label=<span class="stringliteral">"Tiers"</span>;
<a name="l00144"></a>00144 <a class="code" href="action_8inc_8php.html#a5">$W1</a>-&gt;name=<span class="stringliteral">"tiers"</span>;
<a name="l00145"></a>00145 <a class="code" href="action_8inc_8php.html#a5">$W1</a>-&gt;value=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:<span class="stringliteral">""</span>;
<a name="l00146"></a><a class="code" href="action_8inc_8php.html#a7">00146</a> <a class="code" href="action_8inc_8php.html#a5">$W1</a>-&gt;extra=<span class="stringliteral">"8,9,14"</span>; <span class="comment">// filter on frd_id</span>
<a name="l00147"></a><a class="code" href="action_8inc_8php.html#a8">00147</a> <a class="code" href="action_8inc_8php.html#a5">$W1</a>-&gt;extra2=0; <span class="comment">// jrn = 0</span>
<a name="l00148"></a>00148 echo <span class="stringliteral">"&lt;div class=\"no\"&gt;"</span>.$W1-&gt;IOValue();
<a name="l00149"></a><a class="code" href="action_8inc_8php.html#a9">00149</a> <a class="code" href="action_8inc_8php.html#a9">$client_label</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"span"</span>);
<a name="l00150"></a><a class="code" href="action_8inc_8php.html#a10">00150</a> <a class="code" href="action_8inc_8php.html#a10">$tiers_label</a>=<span class="stringliteral">""</span>;
<a name="l00151"></a>00151 <span class="comment">// Retrieve name</span>
<a name="l00152"></a>00152 <span class="keywordflow">if</span> ( $W1-&gt;value != <span class="stringliteral">""</span> )
<a name="l00153"></a>00153 {
<a name="l00154"></a>00154 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($cn);
<a name="l00155"></a>00155 $tiers-&gt;GetByQCode($W1-&gt;value);
<a name="l00156"></a>00156 <a class="code" href="action_8inc_8php.html#a10">$tiers_label</a>=$tiers-&gt;strAttribut(1);
<a name="l00157"></a>00157
<a name="l00158"></a>00158 }
<a name="l00159"></a>00159 echo <a class="code" href="action_8inc_8php.html#a9">$client_label</a>-&gt;IOValue(<span class="stringliteral">"tiers_label"</span>,$tiers_label).<span class="stringliteral">"&lt;/div&gt;"</span>;
<a name="l00160"></a>00160
<a name="l00161"></a><a class="code" href="action_8inc_8php.html#a11">00161</a> <a class="code" href="action_8inc_8php.html#a11">$doc_type</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00162"></a>00162 <a class="code" href="action_8inc_8php.html#a11">$doc_type</a>-&gt;name=<span class="stringliteral">"dt_id"</span>;
<a name="l00163"></a>00163 <a class="code" href="action_8inc_8php.html#a11">$doc_type</a>-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select dt_id,dt_value from document_type where dt_id in ("</span>.<a class="code" href="constant_8php.html#a39">ACTION</a>.<span class="stringliteral">")"</span>);
<a name="l00164"></a>00164 echo 'Type d\' <a class="code" href="classaction.html">action</a>';
<a name="l00165"></a><a class="code" href="action_8inc_8php.html#a12">00165</a> <a class="code" href="action_8inc_8php.html#a11">$doc_type</a>-&gt;selected=(isset($_POST['<a class="code" href="action_8inc_8php.html#a19">dt_id</a>']))?$_POST['<a class="code" href="action_8inc_8php.html#a19">dt_id</a>']:<span class="stringliteral">""</span>;
<a name="l00166"></a>00166 echo <a class="code" href="action_8inc_8php.html#a11">$doc_type</a>-&gt;IOValue();
<a name="l00167"></a>00167
<a name="l00168"></a>00168 <span class="comment">// state </span>
<a name="l00169"></a><a class="code" href="action_8inc_8php.html#a13">00169</a> <a class="code" href="action_8inc_8php.html#a13">$doc_state</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00170"></a>00170 <a class="code" href="action_8inc_8php.html#a13">$doc_state</a>-&gt;name=<span class="stringliteral">"d_state"</span>;
<a name="l00171"></a>00171 <a class="code" href="action_8inc_8php.html#a13">$doc_state</a>-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select s_id,s_value from document_state"</span>);
<a name="l00172"></a>00172 <a class="code" href="action_8inc_8php.html#a13">$doc_state</a>-&gt;selected=(isset($_POST['<a class="code" href="action_8inc_8php.html#a18">d_state</a>']))?$_POST['<a class="code" href="action_8inc_8php.html#a18">d_state</a>']:<span class="stringliteral">""</span>;
<a name="l00173"></a>00173 echo <span class="stringliteral">"Etat : "</span>.$doc_state-&gt;IOValue();
<a name="l00174"></a>00174 echo '&lt;input type=<span class="stringliteral">"hidden"</span> name=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;';
<a name="l00175"></a>00175 echo '&lt;input type=<span class="stringliteral">"hidden"</span> name=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"save_action_st1"</span>&gt;';
<a name="l00176"></a><a class="code" href="action_8inc_8php.html#a14">00176</a> <a class="code" href="action_8inc_8php.html#a14">$title</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00177"></a>00177 <a class="code" href="action_8inc_8php.html#a14">$title</a>-&gt;name=<span class="stringliteral">"ag_title"</span>;
<a name="l00178"></a>00178 <a class="code" href="action_8inc_8php.html#a14">$title</a>-&gt;value=(isset($_POST['<a class="code" href="action_8inc_8php.html#a21">ag_title</a>']))?$_POST['<a class="code" href="action_8inc_8php.html#a21">ag_title</a>']:<span class="stringliteral">""</span>;
<a name="l00179"></a>00179 echo <span class="stringliteral">"&lt;p&gt;Titre : "</span>;
<a name="l00180"></a>00180 echo <a class="code" href="action_8inc_8php.html#a14">$title</a>-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00181"></a>00181
<a name="l00182"></a>00182 ?&gt;
<a name="l00129"></a>00129 <a class="code" href="action_8inc_8php.html#a1">$retour</a>=sprintf('&lt;A HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',urldecode($_REQUEST['url']));
<a name="l00130"></a>00130 <a class="code" href="action_8inc_8php.html#a2">$h_url</a>=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"%s"</span>&gt;',urldecode($_REQUEST['url']));
<a name="l00131"></a>00131 }
<a name="l00133"></a>00133 <span class="comment">// Show the detail of an action</span>
<a name="l00134"></a>00134 <span class="keywordflow">if</span> ( $sub_action=='detail' )
<a name="l00135"></a>00135 {
<a name="l00136"></a>00136 <a class="code" href="action_8inc_8php.html#a25">$act</a>=<span class="keyword">new</span> <a class="code" href="classaction.html">action</a>($cn);
<a name="l00137"></a><a class="code" href="action_8inc_8php.html#a3">00137</a> <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;ag_id=$_REQUEST['<a class="code" href="action_8inc_8php.html#a3">ag_id</a>'];
<a name="l00138"></a>00138 echo <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;get();
<a name="l00139"></a>00139 echo <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;display();
<a name="l00140"></a>00140 echo <a class="code" href="action_8inc_8php.html#a1">$retour</a>;
<a name="l00141"></a>00141
<a name="l00142"></a>00142 }
<a name="l00144"></a>00144 <span class="comment">// Show a list of the action</span>
<a name="l00145"></a>00145 <span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">"list"</span> )
<a name="l00146"></a>00146 <a class="code" href="action_8inc_8php.html#a27">ShowActionList</a>($cn,$retour,$h_url);
<a name="l00147"></a>00147
<a name="l00149"></a>00149 <span class="comment">// Add an action</span>
<a name="l00150"></a>00150 <span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">"add_action"</span> )
<a name="l00151"></a>00151 {
<a name="l00152"></a>00152 echo <a class="code" href="action_8inc_8php.html#a1">$retour</a>;
<a name="l00153"></a>00153
<a name="l00154"></a>00154 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00155"></a>00155 echo <a class="code" href="constant_8php.html#a80">JS_SEARCH_CARD</a>;
<a name="l00156"></a>00156 <span class="comment">// Add hidden tag</span>
<a name="l00157"></a>00157 echo '&lt;form <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"RTEDemo"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php?p_action=suivi_courrier"</span> method=<span class="stringliteral">"post"</span> onsubmit=<span class="stringliteral">"return submitForm();"</span>&gt;';
<a name="l00158"></a>00158 echo <a class="code" href="action_8inc_8php.html#a2">$h_url</a>;
<a name="l00159"></a>00159 $date=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00160"></a><a class="code" href="action_8inc_8php.html#a4">00160</a> $date-&gt;name=<span class="stringliteral">"ag_timestamp"</span>;
<a name="l00161"></a><a class="code" href="action_8inc_8php.html#a5">00161</a> $date-&gt;value=(isset($_POST['<a class="code" href="action_8inc_8php.html#a18">ag_timestamp</a>']))?$_POST['<a class="code" href="action_8inc_8php.html#a18">ag_timestamp</a>']:<span class="stringliteral">""</span>;
<a name="l00162"></a>00162 echo <span class="stringliteral">"&lt;p&gt;Date : "</span>;
<a name="l00163"></a>00163 echo $date-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00164"></a>00164 <span class="comment">// Tiers</span>
<a name="l00165"></a><a class="code" href="action_8inc_8php.html#a6">00165</a> <a class="code" href="action_8inc_8php.html#a6">$W1</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"js_search"</span>);
<a name="l00166"></a><a class="code" href="action_8inc_8php.html#a7">00166</a> <a class="code" href="action_8inc_8php.html#a6">$W1</a>-&gt;label=<span class="stringliteral">"Tiers"</span>;
<a name="l00167"></a>00167 <a class="code" href="action_8inc_8php.html#a6">$W1</a>-&gt;name=<span class="stringliteral">"tiers"</span>;
<a name="l00168"></a>00168 <a class="code" href="action_8inc_8php.html#a6">$W1</a>-&gt;value=isset($_REQUEST['tiers'])?$_REQUEST['tiers']:<span class="stringliteral">""</span>;
<a name="l00169"></a><a class="code" href="action_8inc_8php.html#a8">00169</a> <a class="code" href="action_8inc_8php.html#a6">$W1</a>-&gt;extra=<span class="stringliteral">"8,9,14"</span>; <span class="comment">// filter on frd_id</span>
<a name="l00170"></a><a class="code" href="action_8inc_8php.html#a9">00170</a> <a class="code" href="action_8inc_8php.html#a6">$W1</a>-&gt;extra2=0; <span class="comment">// jrn = 0</span>
<a name="l00171"></a>00171 echo <span class="stringliteral">"&lt;div class=\"no\"&gt;"</span>.$W1-&gt;IOValue();
<a name="l00172"></a><a class="code" href="action_8inc_8php.html#a10">00172</a> <a class="code" href="action_8inc_8php.html#a10">$client_label</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"span"</span>);
<a name="l00173"></a><a class="code" href="action_8inc_8php.html#a11">00173</a> <a class="code" href="action_8inc_8php.html#a11">$tiers_label</a>=<span class="stringliteral">""</span>;
<a name="l00174"></a>00174 <span class="comment">// Retrieve name</span>
<a name="l00175"></a>00175 <span class="keywordflow">if</span> ( $W1-&gt;value != <span class="stringliteral">""</span> )
<a name="l00176"></a>00176 {
<a name="l00177"></a>00177 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($cn);
<a name="l00178"></a>00178 $tiers-&gt;GetByQCode($W1-&gt;value);
<a name="l00179"></a>00179 <a class="code" href="action_8inc_8php.html#a11">$tiers_label</a>=$tiers-&gt;strAttribut(1);
<a name="l00180"></a>00180
<a name="l00181"></a>00181 }
<a name="l00182"></a>00182 echo <a class="code" href="action_8inc_8php.html#a10">$client_label</a>-&gt;IOValue(<span class="stringliteral">"tiers_label"</span>,$tiers_label).<span class="stringliteral">"&lt;/div&gt;"</span>;
<a name="l00183"></a>00183
<a name="l00184"></a>00184 &lt;?
<a name="l00186"></a>00186 <span class="comment">// add here for who the action is taken (contact, client or supplier)</span>
<a name="l00187"></a>00187
<a name="l00188"></a>00188 ?&gt;
<a name="l00189"></a>00189
<a name="l00184"></a><a class="code" href="action_8inc_8php.html#a12">00184</a> <a class="code" href="action_8inc_8php.html#a12">$doc_type</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00185"></a>00185 <a class="code" href="action_8inc_8php.html#a12">$doc_type</a>-&gt;name=<span class="stringliteral">"dt_id"</span>;
<a name="l00186"></a>00186 <a class="code" href="action_8inc_8php.html#a12">$doc_type</a>-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select dt_id,dt_value from document_type where dt_id in ("</span>.<a class="code" href="constant_8php.html#a39">ACTION</a>.<span class="stringliteral">")"</span>);
<a name="l00187"></a>00187 echo 'Type d\' <a class="code" href="classaction.html">action</a>';
<a name="l00188"></a><a class="code" href="action_8inc_8php.html#a13">00188</a> <a class="code" href="action_8inc_8php.html#a12">$doc_type</a>-&gt;selected=(isset($_POST['<a class="code" href="action_8inc_8php.html#a20">dt_id</a>']))?$_POST['<a class="code" href="action_8inc_8php.html#a20">dt_id</a>']:<span class="stringliteral">""</span>;
<a name="l00189"></a>00189 echo <a class="code" href="action_8inc_8php.html#a12">$doc_type</a>-&gt;IOValue();
<a name="l00190"></a>00190
<a name="l00191"></a>00191
<a name="l00192"></a>00192 &lt;script language=<span class="stringliteral">"JavaScript"</span> type=<span class="stringliteral">"text/javascript"</span>&gt;
<a name="l00193"></a>00193 &lt;!--
<a name="l00194"></a>00194 function submitForm() {
<a name="l00195"></a>00195 <span class="comment">//make sure hidden and iframe values are in sync before submitting form</span>
<a name="l00196"></a>00196 <span class="comment">//to sync only 1 rte, use updateRTE(rte)</span>
<a name="l00197"></a>00197 <span class="comment">//to sync all rtes, use updateRTEs</span>
<a name="l00198"></a>00198 updateRTE('<a class="code" href="action_8inc_8php.html#a16">ag_desc</a>');
<a name="l00199"></a>00199 <span class="comment">//updateRTE();</span>
<a name="l00200"></a>00200 <span class="comment">//change the following line to true to submit form</span>
<a name="l00201"></a>00201 <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00202"></a>00202 }
<a name="l00203"></a>00203
<a name="l00204"></a>00204 <span class="comment">//Usage: initRTE(imagesPath, includesPath, cssFile)</span>
<a name="l00205"></a>00205 initRTE(<span class="stringliteral">"images/"</span>, <span class="stringliteral">""</span>, <span class="stringliteral">""</span>);
<a name="l00206"></a>00206 <span class="comment">//--&gt;</span>
<a name="l00207"></a>00207 &lt;/script&gt;
<a name="l00208"></a>00208 &lt;noscript&gt;&lt;p&gt;&lt;b&gt;Javascript must be enabled to use <span class="keyword">this</span> form.&lt;/b&gt;&lt;/p&gt;&lt;/noscript&gt;
<a name="l00209"></a>00209 Note Interne :
<a name="l00210"></a>00210 &lt;script language=<span class="stringliteral">"JavaScript"</span> type=<span class="stringliteral">"text/javascript"</span>&gt;
<a name="l00211"></a>00211 &lt;!--
<a name="l00212"></a>00212 <span class="comment">//Usage: writeRichText(fieldname, html, width, height, buttons, readOnly)</span>
<a name="l00213"></a><a class="code" href="action_8inc_8php.html#a15">00213</a> &lt;? <a class="code" href="action_8inc_8php.html#a15">$a</a>=(isset($_POST['<a class="code" href="action_8inc_8php.html#a16">ag_desc</a>']))?<a class="code" href="ac__common_8php.html#a9">FormatString</a>(urldecode($_POST['<a class="code" href="action_8inc_8php.html#a16">ag_desc</a>'])):<span class="stringliteral">""</span>; ?&gt;
<a name="l00214"></a>00214 writeRichText('ag_desc', &lt;? printf (<span class="stringliteral">"'%s'"</span>,$a); ?&gt;, 520, 200, <span class="keyword">true</span>, <span class="keyword">false</span>);
<a name="l00215"></a>00215 &lt;? <a class="code" href="debug_8php.html#a0">echo_debug</a>('<a class="code" href="classaction.html">action</a>.inc',__LINE__, <span class="stringliteral">" A = "</span>.$a); ?&gt;
<a name="l00216"></a>00216 <span class="comment">//--&gt;</span>
<a name="l00217"></a>00217 &lt;/script&gt;
<a name="l00218"></a>00218
<a name="l00219"></a>00219 &lt;input type=<span class="stringliteral">"submit"</span> name=<span class="stringliteral">"save_action_st1"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Sauver"</span>&gt;&lt;/p&gt;
<a name="l00220"></a>00220 &lt;/form&gt;
<a name="l00221"></a>00221 &lt;/div&gt;
<a name="l00222"></a>00222 &lt;?
<a name="l00223"></a>00223 }
<a name="l00225"></a>00225 <span class="comment">// Save Action</span>
<a name="l00226"></a>00226 <span class="comment">// Stage 1 : show the result and confirm</span>
<a name="l00228"></a>00228 <span class="comment"></span><span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">"save_action_st1"</span> )
<a name="l00229"></a>00229 {
<a name="l00230"></a>00230 <a class="code" href="action_8inc_8php.html#a24">$act</a>=<span class="keyword">new</span> <a class="code" href="classaction.html">action</a>($cn);
<a name="l00231"></a><a class="code" href="action_8inc_8php.html#a16">00231</a> <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;ag_desc=$_POST['ag_desc'];
<a name="l00232"></a><a class="code" href="action_8inc_8php.html#a17">00232</a> <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;ag_date=$_POST['<a class="code" href="action_8inc_8php.html#a17">ag_date</a>'];
<a name="l00233"></a><a class="code" href="action_8inc_8php.html#a18">00233</a> <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;d_state=$_POST['<a class="code" href="action_8inc_8php.html#a18">d_state</a>'];
<a name="l00234"></a><a class="code" href="action_8inc_8php.html#a19">00234</a> <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;dt_id=$_POST['<a class="code" href="action_8inc_8php.html#a19">dt_id</a>'];
<a name="l00235"></a><a class="code" href="action_8inc_8php.html#a20">00235</a> <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;qcode=$_POST['tiers'];
<a name="l00236"></a><a class="code" href="action_8inc_8php.html#a21">00236</a> <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;ag_title=$_POST['<a class="code" href="action_8inc_8php.html#a21">ag_title</a>'];
<a name="l00237"></a>00237 echo <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;Confirm();
<a name="l00238"></a>00238 }
<a name="l00240"></a>00240 <span class="comment">// Save Action</span>
<a name="l00241"></a>00241 <span class="comment">// Stage 2 : Save the action and propose to save a file</span>
<a name="l00243"></a>00243 <span class="comment"></span><span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">"save_action_st2"</span> )
<a name="l00244"></a>00244 {
<a name="l00245"></a>00245 <a class="code" href="action_8inc_8php.html#a24">$act</a>=<span class="keyword">new</span> <a class="code" href="classaction.html">action</a>($cn);
<a name="l00246"></a>00246 <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;ag_desc=$_POST['ag_desc'];
<a name="l00247"></a>00247 <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;ag_date=$_POST['<a class="code" href="action_8inc_8php.html#a17">ag_date</a>'];
<a name="l00248"></a>00248 <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;d_state=$_POST['<a class="code" href="action_8inc_8php.html#a18">d_state</a>'];
<a name="l00249"></a>00249 <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;dt_id=$_POST['<a class="code" href="action_8inc_8php.html#a19">dt_id</a>'];
<a name="l00250"></a>00250 <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;qcode=$_POST['tiers'];
<a name="l00251"></a>00251 <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;ag_title=$_POST['<a class="code" href="action_8inc_8php.html#a21">ag_title</a>'];
<a name="l00252"></a><a class="code" href="action_8inc_8php.html#a22">00252</a> <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;md_id=(isset($_POST['gen_doc']))?$_POST['gen_doc']:0;
<a name="l00253"></a>00253
<a name="l00254"></a><a class="code" href="action_8inc_8php.html#a23">00254</a> <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;gen=isset($_POST['p_gen'])?'on<span class="charliteral">':'</span>off';
<a name="l00255"></a>00255
<a name="l00256"></a>00256 echo <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;SaveStage2();
<a name="l00257"></a>00257 echo '&lt;A HREF=<span class="stringliteral">"commercial.php?p_action=suivi_courrier"</span>&gt;&lt;INPUT TYPE=<span class="stringliteral">"BUTTON"</span> VALUE=<span class="stringliteral">"Retour Liste"</span>&gt;&lt;/A&gt;';
<a name="l00258"></a>00258 }
<a name="l00259"></a>00259
<a name="l00261"></a>00261 <span class="comment">// Save Document</span>
<a name="l00262"></a>00262 <span class="comment">// Stage 3 : Save the document</span>
<a name="l00264"></a>00264 <span class="comment"></span><span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">"save_action_st3"</span> )
<a name="l00265"></a>00265 {
<a name="l00266"></a>00266 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"action.inc.php"</span>,__LINE__,'Stage 3');
<a name="l00267"></a><a class="code" href="action_8inc_8php.html#a24">00267</a> <a class="code" href="action_8inc_8php.html#a24">$act</a>=<span class="keyword">new</span> <a class="code" href="classaction.html">action</a>($cn);
<a name="l00268"></a><a class="code" href="action_8inc_8php.html#a25">00268</a> <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;ag_id=$_POST['<a class="code" href="action_8inc_8php.html#a25">ag_id</a>'];
<a name="l00269"></a><a class="code" href="action_8inc_8php.html#a26">00269</a> <a class="code" href="action_8inc_8php.html#a26">$d_id</a>=(isset($_POST['d_id']))?$_POST['d_id']:0;
<a name="l00270"></a>00270 echo <a class="code" href="action_8inc_8php.html#a24">$act</a>-&gt;SaveStage3($d_id);
<a name="l00271"></a>00271
<a name="l00272"></a>00272 <a class="code" href="action_8inc_8php.html#a27">ShowActionList</a>($cn,$retour,$h_url);
<a name="l00273"></a>00273
<a name="l00274"></a>00274 }
<a name="l00191"></a>00191 <span class="comment">// state </span>
<a name="l00192"></a><a class="code" href="action_8inc_8php.html#a14">00192</a> <a class="code" href="action_8inc_8php.html#a14">$doc_state</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00193"></a>00193 <a class="code" href="action_8inc_8php.html#a14">$doc_state</a>-&gt;name=<span class="stringliteral">"d_state"</span>;
<a name="l00194"></a>00194 <a class="code" href="action_8inc_8php.html#a14">$doc_state</a>-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select s_id,s_value from document_state"</span>);
<a name="l00195"></a>00195 <a class="code" href="action_8inc_8php.html#a14">$doc_state</a>-&gt;selected=(isset($_POST['<a class="code" href="action_8inc_8php.html#a19">d_state</a>']))?$_POST['<a class="code" href="action_8inc_8php.html#a19">d_state</a>']:<span class="stringliteral">""</span>;
<a name="l00196"></a>00196 echo <span class="stringliteral">"Etat : "</span>.$doc_state-&gt;IOValue();
<a name="l00197"></a>00197 echo '&lt;input type=<span class="stringliteral">"hidden"</span> name=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;';
<a name="l00198"></a>00198 echo '&lt;input type=<span class="stringliteral">"hidden"</span> name=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"save_action_st1"</span>&gt;';
<a name="l00199"></a><a class="code" href="action_8inc_8php.html#a15">00199</a> <a class="code" href="action_8inc_8php.html#a15">$title</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00200"></a>00200 <a class="code" href="action_8inc_8php.html#a15">$title</a>-&gt;name=<span class="stringliteral">"ag_title"</span>;
<a name="l00201"></a>00201 <a class="code" href="action_8inc_8php.html#a15">$title</a>-&gt;value=(isset($_POST['<a class="code" href="action_8inc_8php.html#a22">ag_title</a>']))?$_POST['<a class="code" href="action_8inc_8php.html#a22">ag_title</a>']:<span class="stringliteral">""</span>;
<a name="l00202"></a>00202 echo <span class="stringliteral">"&lt;p&gt;Titre : "</span>;
<a name="l00203"></a>00203 echo <a class="code" href="action_8inc_8php.html#a15">$title</a>-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00204"></a>00204
<a name="l00205"></a>00205 ?&gt;
<a name="l00206"></a>00206
<a name="l00207"></a>00207 &lt;?
<a name="l00209"></a>00209 <span class="comment">// add here for who the action is taken (contact, client or supplier)</span>
<a name="l00210"></a>00210
<a name="l00211"></a>00211 ?&gt;
<a name="l00212"></a>00212
<a name="l00213"></a>00213
<a name="l00214"></a>00214
<a name="l00215"></a>00215 &lt;script language=<span class="stringliteral">"JavaScript"</span> type=<span class="stringliteral">"text/javascript"</span>&gt;
<a name="l00216"></a>00216 &lt;!--
<a name="l00217"></a>00217 function submitForm() {
<a name="l00218"></a>00218 <span class="comment">//make sure hidden and iframe values are in sync before submitting form</span>
<a name="l00219"></a>00219 <span class="comment">//to sync only 1 rte, use updateRTE(rte)</span>
<a name="l00220"></a>00220 <span class="comment">//to sync all rtes, use updateRTEs</span>
<a name="l00221"></a>00221 updateRTE('<a class="code" href="action_8inc_8php.html#a17">ag_comment</a>');
<a name="l00222"></a>00222 <span class="comment">//updateRTE();</span>
<a name="l00223"></a>00223 <span class="comment">//change the following line to true to submit form</span>
<a name="l00224"></a>00224 <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00225"></a>00225 }
<a name="l00226"></a>00226
<a name="l00227"></a>00227 <span class="comment">//Usage: initRTE(imagesPath, includesPath, cssFile)</span>
<a name="l00228"></a>00228 initRTE(<span class="stringliteral">"images/"</span>, <span class="stringliteral">""</span>, <span class="stringliteral">""</span>);
<a name="l00229"></a>00229 <span class="comment">//--&gt;</span>
<a name="l00230"></a>00230 &lt;/script&gt;
<a name="l00231"></a>00231 &lt;noscript&gt;&lt;p&gt;&lt;b&gt;Javascript must be enabled to use <span class="keyword">this</span> form.&lt;/b&gt;&lt;/p&gt;&lt;/noscript&gt;
<a name="l00232"></a>00232 Note Interne :
<a name="l00233"></a>00233 &lt;script language=<span class="stringliteral">"JavaScript"</span> type=<span class="stringliteral">"text/javascript"</span>&gt;
<a name="l00234"></a>00234 &lt;!--
<a name="l00235"></a>00235 <span class="comment">//Usage: writeRichText(fieldname, html, width, height, buttons, readOnly)</span>
<a name="l00236"></a><a class="code" href="action_8inc_8php.html#a16">00236</a> &lt;? <a class="code" href="action_8inc_8php.html#a16">$a</a>=(isset($_POST['<a class="code" href="action_8inc_8php.html#a17">ag_comment</a>']))?<a class="code" href="ac__common_8php.html#a9">FormatString</a>(urldecode($_POST['<a class="code" href="action_8inc_8php.html#a17">ag_comment</a>'])):<span class="stringliteral">""</span>; ?&gt;
<a name="l00237"></a>00237 writeRichText('ag_comment', &lt;? printf (<span class="stringliteral">"'%s'"</span>,$a); ?&gt;, 520, 200, <span class="keyword">true</span>, <span class="keyword">false</span>);
<a name="l00238"></a>00238 &lt;? <a class="code" href="debug_8php.html#a0">echo_debug</a>('<a class="code" href="classaction.html">action</a>.inc',__LINE__, <span class="stringliteral">" A = "</span>.$a); ?&gt;
<a name="l00239"></a>00239 <span class="comment">//--&gt;</span>
<a name="l00240"></a>00240 &lt;/script&gt;
<a name="l00241"></a>00241
<a name="l00242"></a>00242 &lt;input type=<span class="stringliteral">"submit"</span> name=<span class="stringliteral">"save_action_st1"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Sauver"</span>&gt;&lt;/p&gt;
<a name="l00243"></a>00243 &lt;/form&gt;
<a name="l00244"></a>00244 &lt;/div&gt;
<a name="l00245"></a>00245 &lt;?
<a name="l00246"></a>00246 }
<a name="l00248"></a>00248 <span class="comment">// Save Action</span>
<a name="l00249"></a>00249 <span class="comment">// Stage 1 : show the result and confirm</span>
<a name="l00251"></a>00251 <span class="comment"></span><span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">"save_action_st1"</span> )
<a name="l00252"></a>00252 {
<a name="l00253"></a>00253 <a class="code" href="action_8inc_8php.html#a25">$act</a>=<span class="keyword">new</span> <a class="code" href="classaction.html">action</a>($cn);
<a name="l00254"></a><a class="code" href="action_8inc_8php.html#a17">00254</a> <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;ag_comment=$_POST['ag_comment'];
<a name="l00255"></a><a class="code" href="action_8inc_8php.html#a18">00255</a> <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;ag_timestamp=$_POST['<a class="code" href="action_8inc_8php.html#a18">ag_timestamp</a>'];
<a name="l00256"></a><a class="code" href="action_8inc_8php.html#a19">00256</a> <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;d_state=$_POST['<a class="code" href="action_8inc_8php.html#a19">d_state</a>'];
<a name="l00257"></a><a class="code" href="action_8inc_8php.html#a20">00257</a> <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;dt_id=$_POST['<a class="code" href="action_8inc_8php.html#a20">dt_id</a>'];
<a name="l00258"></a><a class="code" href="action_8inc_8php.html#a21">00258</a> <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;qcode=$_POST['tiers'];
<a name="l00259"></a><a class="code" href="action_8inc_8php.html#a22">00259</a> <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;ag_title=$_POST['<a class="code" href="action_8inc_8php.html#a22">ag_title</a>'];
<a name="l00260"></a>00260 echo <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;Confirm();
<a name="l00261"></a>00261 }
<a name="l00263"></a>00263 <span class="comment">// Save Action</span>
<a name="l00264"></a>00264 <span class="comment">// Stage 2 : Save the action and propose to save a file</span>
<a name="l00266"></a>00266 <span class="comment"></span><span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">"save_action_st2"</span> )
<a name="l00267"></a>00267 {
<a name="l00268"></a>00268 <a class="code" href="action_8inc_8php.html#a25">$act</a>=<span class="keyword">new</span> <a class="code" href="classaction.html">action</a>($cn);
<a name="l00269"></a>00269 <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;ag_comment=$_POST['ag_comment'];
<a name="l00270"></a>00270 <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;ag_timestamp=$_POST['<a class="code" href="action_8inc_8php.html#a18">ag_timestamp</a>'];
<a name="l00271"></a>00271 <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;d_state=$_POST['<a class="code" href="action_8inc_8php.html#a19">d_state</a>'];
<a name="l00272"></a>00272 <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;dt_id=$_POST['<a class="code" href="action_8inc_8php.html#a20">dt_id</a>'];
<a name="l00273"></a>00273 <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;qcode=$_POST['tiers'];
<a name="l00274"></a>00274 <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;ag_title=$_POST['<a class="code" href="action_8inc_8php.html#a22">ag_title</a>'];
<a name="l00275"></a>00275
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00276"></a>00276
<a name="l00277"></a><a class="code" href="action_8inc_8php.html#a23">00277</a> <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;md_id=(isset($_POST['gen_doc']))?$_POST['gen_doc']:0;
<a name="l00278"></a>00278
<a name="l00279"></a><a class="code" href="action_8inc_8php.html#a24">00279</a> <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;gen=isset($_POST['p_gen'])?'on<span class="charliteral">':'</span>off';
<a name="l00280"></a>00280
<a name="l00281"></a>00281 echo <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;SaveStage2();
<a name="l00282"></a>00282 echo '&lt;A HREF=<span class="stringliteral">"commercial.php?p_action=suivi_courrier"</span>&gt;&lt;INPUT TYPE=<span class="stringliteral">"BUTTON"</span> VALUE=<span class="stringliteral">"Retour Liste"</span>&gt;&lt;/A&gt;';
<a name="l00283"></a>00283 }
<a name="l00284"></a>00284
<a name="l00286"></a>00286 <span class="comment">// Save Document</span>
<a name="l00287"></a>00287 <span class="comment">// Stage 3 : Save the document</span>
<a name="l00289"></a>00289 <span class="comment"></span><span class="keywordflow">if</span> ( $sub_action == <span class="stringliteral">"save_action_st3"</span> )
<a name="l00290"></a>00290 {
<a name="l00291"></a>00291 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"action.inc.php"</span>,__LINE__,'Stage 3');
<a name="l00292"></a><a class="code" href="action_8inc_8php.html#a25">00292</a> <a class="code" href="action_8inc_8php.html#a25">$act</a>=<span class="keyword">new</span> <a class="code" href="classaction.html">action</a>($cn);
<a name="l00293"></a>00293 <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;ag_id=$_POST['<a class="code" href="action_8inc_8php.html#a3">ag_id</a>'];
<a name="l00294"></a><a class="code" href="action_8inc_8php.html#a26">00294</a> <a class="code" href="action_8inc_8php.html#a26">$d_id</a>=(isset($_POST['d_id']))?$_POST['d_id']:0;
<a name="l00295"></a>00295 echo <a class="code" href="action_8inc_8php.html#a25">$act</a>-&gt;SaveStage3($d_id);
<a name="l00296"></a>00296
<a name="l00297"></a>00297 <a class="code" href="action_8inc_8php.html#a27">ShowActionList</a>($cn,$retour,$h_url);
<a name="l00298"></a>00298
<a name="l00299"></a>00299 }
<a name="l00300"></a>00300
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -20,56 +20,56 @@
<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="action_8inc_8php.html#a0">$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="action_8inc_8php.html#a1">$retour</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="action_8inc_8php.html#a1">$retour</a> = '&lt;A HREF=&quot;commercial.php?p_action=suivi_courrier&quot;&gt;&lt;input type=&quot;button&quot; value=&quot;Retour&quot;&gt;&lt;/A&gt;'</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a2">$h_url</a> = &quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$date&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a3">name</a> = &quot;ag_date&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a3">ag_id</a> = $_REQUEST['<a class="el" href="facture_8inc_8php.html#a21">ag_id</a>']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$date&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a4">value</a> = (isset($_POST['<a class="el" href="action_8inc_8php.html#a17">ag_date</a>']))?$_POST['<a class="el" href="action_8inc_8php.html#a17">ag_date</a>']:&quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$date&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a4">name</a> = &quot;ag_timestamp&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a5">$W1</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;js_search&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$date&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a5">value</a> = (isset($_POST['<a class="el" href="action_8inc_8php.html#a18">ag_timestamp</a>']))?$_POST['<a class="el" href="action_8inc_8php.html#a18">ag_timestamp</a>']:&quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$W1&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a6">label</a> = &quot;Tiers&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a6">$W1</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;js_search&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$W1&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a7">extra</a> = &quot;8,9,14&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$W1&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a7">label</a> = &quot;Tiers&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$W1&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a8">extra2</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$W1&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a8">extra</a> = &quot;8,9,14&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a9">$client_label</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;span&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$W1&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a9">extra2</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a10">$tiers_label</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="action_8inc_8php.html#a10">$client_label</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="action_8inc_8php.html#a11">$doc_type</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="action_8inc_8php.html#a11">$tiers_label</a> = &quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$doc_type&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a12">selected</a> = (isset($_POST['<a class="el" href="action_8inc_8php.html#a19">dt_id</a>']))?$_POST['<a class="el" href="action_8inc_8php.html#a19">dt_id</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="action_8inc_8php.html#a12">$doc_type</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="action_8inc_8php.html#a13">$doc_state</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;select&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$doc_type&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a13">selected</a> = (isset($_POST['<a class="el" href="action_8inc_8php.html#a20">dt_id</a>']))?$_POST['<a class="el" href="action_8inc_8php.html#a20">dt_id</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="action_8inc_8php.html#a14">$title</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;text&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a14">$doc_state</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="action_8inc_8php.html#a15">$a</a> = (isset($_POST['<a class="el" href="action_8inc_8php.html#a16">ag_desc</a>']))?FormatString(urldecode($_POST['<a class="el" href="action_8inc_8php.html#a16">ag_desc</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="action_8inc_8php.html#a15">$title</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;text&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a16">ag_desc</a> = $_POST['<a class="el" href="action_8inc_8php.html#a16">ag_desc</a>']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a16">$a</a> = (isset($_POST['<a class="el" href="action_8inc_8php.html#a17">ag_comment</a>']))?FormatString(urldecode($_POST['<a class="el" href="action_8inc_8php.html#a17">ag_comment</a>'])):&quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a17">ag_date</a> = $_POST['<a class="el" href="action_8inc_8php.html#a17">ag_date</a>']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a17">ag_comment</a> = $_POST['<a class="el" href="action_8inc_8php.html#a17">ag_comment</a>']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a18">d_state</a> = $_POST['<a class="el" href="action_8inc_8php.html#a18">d_state</a>']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a18">ag_timestamp</a> = $_POST['<a class="el" href="action_8inc_8php.html#a18">ag_timestamp</a>']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a19">dt_id</a> = $_POST['<a class="el" href="action_8inc_8php.html#a19">dt_id</a>']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a19">d_state</a> = $_POST['<a class="el" href="action_8inc_8php.html#a19">d_state</a>']</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">class for the table document_type pk document_type <a href="#a19"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a20">qcode</a> = $_POST['tiers']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a20">dt_id</a> = $_POST['<a class="el" href="action_8inc_8php.html#a20">dt_id</a>']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a21">ag_title</a> = $_POST['<a class="el" href="action_8inc_8php.html#a21">ag_title</a>']</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">class for the table document_type pk document_type <a href="#a20"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a21">qcode</a> = $_POST['tiers']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a22">md_id</a> = (isset($_POST['gen_doc']))?$_POST['gen_doc']:0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a22">ag_title</a> = $_POST['<a class="el" href="action_8inc_8php.html#a22">ag_title</a>']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a23">gen</a> = isset($_POST['p_gen'])?'on':'off'</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a23">md_id</a> = (isset($_POST['gen_doc']))?$_POST['gen_doc']:0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a24">$act</a> = new <a class="el" href="classaction.html">action</a>($cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a24">gen</a> = isset($_POST['p_gen'])?'on':'off'</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$act&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a25">ag_id</a> = $_POST['<a class="el" href="facture_8inc_8php.html#a21">ag_id</a>']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a25">$act</a> = new <a class="el" href="classaction.html">action</a>($cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="action_8inc_8php.html#a26">$d_id</a> = (isset($_POST['d_id']))?$_POST['d_id']:0</td></tr>
@ -133,17 +133,17 @@ Show the list of action, this code should be common to several webpage. But for
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00037">37</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="action_8inc_8php-source.html#l00267">$act</a>, <a class="el" href="impress__fiche_8php-source.html#l00078">$fiche</a>, <a class="el" href="action_8inc_8php-source.html#l00112">$h_url</a>, <a class="el" href="bank_8inc_8php-source.html#l00089">$qcode</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="action_8inc_8php-source.html#l00111">$retour</a>, <a class="el" href="action_8inc_8php-source.html#l00137">name</a>, <a class="el" href="action_8inc_8php-source.html#l00235">qcode</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="action_8inc_8php-source.html#l00292">$act</a>, <a class="el" href="impress__fiche_8php-source.html#l00081">$fiche</a>, <a class="el" href="action_8inc_8php-source.html#l00125">$h_url</a>, <a class="el" href="bank_8inc_8php-source.html#l00089">$qcode</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="action_8inc_8php-source.html#l00124">$retour</a>, <a class="el" href="contact_8inc_8php-source.html#l00157">$sp</a>, <a class="el" href="admin_8inc_8php-source.html#l00115">$w</a>, <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>, <a class="el" href="action_8inc_8php-source.html#l00160">name</a>, <a class="el" href="action_8inc_8php-source.html#l00258">qcode</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>. </td>
</tr>
</table>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="a15"></a><!-- doxytag: member="action.inc.php::$a" ref="a15" args="" --><p>
<a class="anchor" name="a16"></a><!-- doxytag: member="action.inc.php::$a" 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">$a = (isset($_POST['<a class="el" href="action_8inc_8php.html#a16">ag_desc</a>']))?FormatString(urldecode($_POST['<a class="el" href="action_8inc_8php.html#a16">ag_desc</a>'])):&quot;&quot; </td>
<td class="md" nowrap valign="top">$a = (isset($_POST['<a class="el" href="action_8inc_8php.html#a17">ag_comment</a>']))?FormatString(urldecode($_POST['<a class="el" href="action_8inc_8php.html#a17">ag_comment</a>'])):&quot;&quot; </td>
</tr>
</table>
</td>
@ -159,12 +159,12 @@ References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a c
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00213">213</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00236">236</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l01473">Cezpdf::alink()</a>, <a class="el" href="class_8pdf_8php-source.html#l01138">Cpdf::ARC4()</a>, <a class="el" href="class__fiche_8php-source.html#l00397">fiche::blank()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00028">Cezpdf::Cezpdf()</a>, <a class="el" href="user__common_8php-source.html#l00069">ComputeTotalVat()</a>, <a class="el" href="user__common_8php-source.html#l00172">ComputeVat()</a>, <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="class__fiche_8php-source.html#l00289">fiche::CountByDef()</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="class__fiche_8php-source.html#l00459">fiche::Display()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="class_8pdf_8php-source.html#l01713">Cpdf::ellipse()</a>, <a class="el" href="impress__inc_8php-source.html#l00421">GetDataJrnPdf()</a>, <a class="el" href="fiche__inc_8php-source.html#l01054">GetFicheJrn()</a>, <a class="el" href="stock__inc_8php-source.html#l00111">getFicheNameCode()</a>, <a class="el" href="class__rapport_8php-source.html#l00040">rapport::GetName()</a>, <a class="el" href="fiche__inc_8php-source.html#l01447">GetParent()</a>, <a class="el" href="ac__common_8php-source.html#l00354">getPeriodeFromDate()</a>, <a class="el" href="ac__common_8php-source.html#l00334">getPeriodeFromMonth()</a>, <a class="el" href="ac__common_8php-source.html#l00314">getPeriodeName()</a>, <a class="el" href="impress__inc_8php-source.html#l00614">GetRappel()</a>, <a class="el" href="class__jrn_8php-source.html#l00065">jrn::GetRow()</a>, <a class="el" href="class__balance_8php-source.html#l00053">Balance::GetRow()</a>, <a class="el" href="user__common_8php-source.html#l00211">GetTvaPoste()</a>, <a class="el" href="postgres_8php-source.html#l00315">GetUserProperty()</a>, <a class="el" href="setup_8php-source.html#l00080">GetVersion()</a>, <a class="el" href="user__common_8php-source.html#l00835">isValid()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>, <a class="el" href="decla_8BE_8inc_8php-source.html#l00036">MakeListingVat()</a>, <a class="el" href="class__document__modele_8php-source.html#l00049">Document_modele::myList()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>, <a class="el" href="class__supplier_8php-source.html#l00083">Supplier::Summary()</a>, <a class="el" href="class__customer_8php-source.html#l00195">Customer::Summary()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01518">Cezpdf::uline()</a>, <a class="el" href="fiche__inc_8php-source.html#l00526">UpdateFiche()</a>, <a class="el" href="jrn_8php-source.html#l00282">UpdateJrn()</a>, and <a class="el" href="user__common_8php-source.html#l00631">withStock()</a>. </td>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l01473">Cezpdf::alink()</a>, <a class="el" href="class_8pdf_8php-source.html#l01138">Cpdf::ARC4()</a>, <a class="el" href="class__fiche_8php-source.html#l00397">fiche::blank()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00028">Cezpdf::Cezpdf()</a>, <a class="el" href="user__common_8php-source.html#l00069">ComputeTotalVat()</a>, <a class="el" href="user__common_8php-source.html#l00172">ComputeVat()</a>, <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="class__fiche_8php-source.html#l00289">fiche::CountByDef()</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="class__fiche_8php-source.html#l00459">fiche::Display()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="class_8pdf_8php-source.html#l01713">Cpdf::ellipse()</a>, <a class="el" href="class__action_8php-source.html#l00162">action::get()</a>, <a class="el" href="impress__inc_8php-source.html#l00421">GetDataJrnPdf()</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__rapport_8php-source.html#l00040">rapport::GetName()</a>, <a class="el" href="fiche__inc_8php-source.html#l01450">GetParent()</a>, <a class="el" href="ac__common_8php-source.html#l00355">getPeriodeFromDate()</a>, <a class="el" href="ac__common_8php-source.html#l00335">getPeriodeFromMonth()</a>, <a class="el" href="ac__common_8php-source.html#l00315">getPeriodeName()</a>, <a class="el" href="impress__inc_8php-source.html#l00614">GetRappel()</a>, <a class="el" href="class__jrn_8php-source.html#l00065">jrn::GetRow()</a>, <a class="el" href="class__balance_8php-source.html#l00053">Balance::GetRow()</a>, <a class="el" href="user__common_8php-source.html#l00211">GetTvaPoste()</a>, <a class="el" href="postgres_8php-source.html#l00315">GetUserProperty()</a>, <a class="el" href="setup_8php-source.html#l00080">GetVersion()</a>, <a class="el" href="user__common_8php-source.html#l00831">isValid()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="ac__common_8php-source.html#l00282">make_array()</a>, <a class="el" href="decla_8BE_8inc_8php-source.html#l00036">MakeListingVat()</a>, <a class="el" href="class__document__modele_8php-source.html#l00049">Document_modele::myList()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>, <a class="el" href="class__supplier_8php-source.html#l00083">Supplier::Summary()</a>, <a class="el" href="class__customer_8php-source.html#l00195">Customer::Summary()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01518">Cezpdf::uline()</a>, <a class="el" href="fiche__inc_8php-source.html#l00530">UpdateFiche()</a>, <a class="el" href="jrn_8php-source.html#l00282">UpdateJrn()</a>, and <a class="el" href="user__common_8php-source.html#l00631">withStock()</a>. </td>
</tr>
</table>
<a class="anchor" name="a24"></a><!-- doxytag: member="action.inc.php::$act" ref="a24" args="" --><p>
<a class="anchor" name="a25"></a><!-- doxytag: member="action.inc.php::$act" ref="a25" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -186,12 +186,12 @@ Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l01473">Cezpdf::
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00267">267</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00292">292</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>. </td>
Referenced by <a class="el" href="class__document_8php-source.html#l00407">Document::Replace()</a>, and <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="action.inc.php::$client_label" ref="a9" args="" --><p>
<a class="anchor" name="a10"></a><!-- doxytag: member="action.inc.php::$client_label" ref="a10" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -213,7 +213,7 @@ Referenced by <a class="el" href="action_8inc_8php-source.html#l00037">ShowActio
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00149">149</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00172">172</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, and <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>. </td>
</tr>
@ -240,12 +240,12 @@ Referenced by <a class="el" href="user__form__ach_8php-source.html#l00044">FormA
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00269">269</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00294">294</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00306">action::SaveStage3()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00370">action::SaveStage3()</a>. </td>
</tr>
</table>
<a class="anchor" name="a13"></a><!-- doxytag: member="action.inc.php::$doc_state" ref="a13" args="" --><p>
<a class="anchor" name="a14"></a><!-- doxytag: member="action.inc.php::$doc_state" ref="a14" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -267,10 +267,10 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00306">action:
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00169">169</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>. </td>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00192">192</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="action.inc.php::$doc_type" ref="a11" args="" --><p>
<a class="anchor" name="a12"></a><!-- doxytag: member="action.inc.php::$doc_type" ref="a12" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -292,9 +292,9 @@ Definition at line <a class="el" href="action_8inc_8php-source.html#l00169">169<
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00161">161</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00184">184</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, and <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, and <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="action.inc.php::$h_url" ref="a2" args="" --><p>
@ -319,9 +319,9 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00151">action:
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00112">112</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00125">125</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, and <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, and <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="action.inc.php::$retour" ref="a1" args="" --><p>
@ -330,7 +330,7 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00151">action:
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$retour = &quot;&quot; </td>
<td class="md" nowrap valign="top">$retour = '&lt;A HREF=&quot;commercial.php?p_action=suivi_courrier&quot;&gt;&lt;input type=&quot;button&quot; value=&quot;Retour&quot;&gt;&lt;/A&gt;' </td>
</tr>
</table>
</td>
@ -346,9 +346,9 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00151">action:
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00111">111</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00124">124</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, and <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, and <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="action.inc.php::$sub_action" ref="a0" args="" --><p>
@ -373,10 +373,10 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00151">action:
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00100">100</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>. </td>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00113">113</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="action.inc.php::$tiers_label" ref="a10" args="" --><p>
<a class="anchor" name="a11"></a><!-- doxytag: member="action.inc.php::$tiers_label" ref="a11" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -398,12 +398,12 @@ Definition at line <a class="el" href="action_8inc_8php-source.html#l00100">100<
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00150">150</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00173">173</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="user__form__fin_8php-source.html#l00146">FormFin()</a>. </td>
</tr>
</table>
<a class="anchor" name="a14"></a><!-- doxytag: member="action.inc.php::$title" ref="a14" args="" --><p>
<a class="anchor" name="a15"></a><!-- doxytag: member="action.inc.php::$title" ref="a15" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -425,12 +425,12 @@ Referenced by <a class="el" href="user__form__fin_8php-source.html#l00146">FormF
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00176">176</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00199">199</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="user__menu_8php-source.html#l00341">get_quick_key()</a>, and <a class="el" href="ac__common_8php-source.html#l00227">ShowItem()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="user__menu_8php-source.html#l00341">get_quick_key()</a>, and <a class="el" href="ac__common_8php-source.html#l00228">ShowItem()</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="action.inc.php::$W1" ref="a5" args="" --><p>
<a class="anchor" name="a6"></a><!-- doxytag: member="action.inc.php::$W1" ref="a6" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -452,18 +452,18 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00151">action:
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00142">142</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00165">165</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, <a class="el" href="user__form__fin_8php-source.html#l00146">FormFin()</a>, and <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>. </td>
</tr>
</table>
<a class="anchor" name="a17"></a><!-- doxytag: member="action.inc.php::ag_date" ref="a17" args="" --><p>
<a class="anchor" name="a17"></a><!-- doxytag: member="action.inc.php::ag_comment" 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">act <a class="el" href="action_8inc_8php.html#a17">ag_date</a> = $_POST['<a class="el" href="action_8inc_8php.html#a17">ag_date</a>'] </td>
<td class="md" nowrap valign="top">act <a class="el" href="action_8inc_8php.html#a17">ag_comment</a> = $_POST['<a class="el" href="action_8inc_8php.html#a17">ag_comment</a>'] </td>
</tr>
</table>
</td>
@ -479,18 +479,18 @@ Referenced by <a class="el" href="user__form__ach_8php-source.html#l00044">FormA
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00232">232</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00254">254</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, and <a class="el" href="class__document_8php-source.html#l00363">Document::Replace()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, and <a class="el" href="class__action_8php-source.html#l00162">action::get()</a>. </td>
</tr>
</table>
<a class="anchor" name="a16"></a><!-- doxytag: member="action.inc.php::ag_desc" ref="a16" args="" --><p>
<a class="anchor" name="a3"></a><!-- doxytag: member="action.inc.php::ag_id" 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">act <a class="el" href="action_8inc_8php.html#a16">ag_desc</a> = $_POST['<a class="el" href="action_8inc_8php.html#a16">ag_desc</a>'] </td>
<td class="md" nowrap valign="top">act <a class="el" href="facture_8inc_8php.html#a21">ag_id</a> = $_REQUEST['<a class="el" href="facture_8inc_8php.html#a21">ag_id</a>'] </td>
</tr>
</table>
</td>
@ -506,18 +506,18 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00151">action:
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00231">231</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00137">137</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, and <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>. </td>
Referenced by <a class="el" href="class__document_8php-source.html#l00359">Document::get()</a>, <a class="el" href="class__document_8php-source.html#l00407">Document::Replace()</a>, and <a class="el" href="class__action_8php-source.html#l00291">action::SaveStage2()</a>. </td>
</tr>
</table>
<a class="anchor" name="a25"></a><!-- doxytag: member="action.inc.php::ag_id" ref="a25" args="" --><p>
<a class="anchor" name="a18"></a><!-- doxytag: member="action.inc.php::ag_timestamp" 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">$act <a class="el" href="facture_8inc_8php.html#a21">ag_id</a> = $_POST['<a class="el" href="facture_8inc_8php.html#a21">ag_id</a>'] </td>
<td class="md" nowrap valign="top">act <a class="el" href="action_8inc_8php.html#a18">ag_timestamp</a> = $_POST['<a class="el" href="action_8inc_8php.html#a18">ag_timestamp</a>'] </td>
</tr>
</table>
</td>
@ -533,18 +533,18 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00151">action:
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00268">268</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00255">255</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00241">action::SaveStage2()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, and <a class="el" href="class__action_8php-source.html#l00162">action::get()</a>. </td>
</tr>
</table>
<a class="anchor" name="a21"></a><!-- doxytag: member="action.inc.php::ag_title" ref="a21" args="" --><p>
<a class="anchor" name="a22"></a><!-- doxytag: member="action.inc.php::ag_title" 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">act <a class="el" href="action_8inc_8php.html#a21">ag_title</a> = $_POST['<a class="el" href="action_8inc_8php.html#a21">ag_title</a>'] </td>
<td class="md" nowrap valign="top">act <a class="el" href="action_8inc_8php.html#a22">ag_title</a> = $_POST['<a class="el" href="action_8inc_8php.html#a22">ag_title</a>'] </td>
</tr>
</table>
</td>
@ -560,18 +560,18 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00241">action:
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00236">236</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00259">259</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00329">action::myList()</a>, and <a class="el" href="class__action_8php-source.html#l00241">action::SaveStage2()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00162">action::get()</a>, <a class="el" href="class__action_8php-source.html#l00393">action::myList()</a>, and <a class="el" href="class__action_8php-source.html#l00291">action::SaveStage2()</a>. </td>
</tr>
</table>
<a class="anchor" name="a18"></a><!-- doxytag: member="action.inc.php::d_state" ref="a18" args="" --><p>
<a class="anchor" name="a19"></a><!-- doxytag: member="action.inc.php::d_state" 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">act <a class="el" href="action_8inc_8php.html#a18">d_state</a> = $_POST['<a class="el" href="action_8inc_8php.html#a18">d_state</a>'] </td>
<td class="md" nowrap valign="top">act <a class="el" href="action_8inc_8php.html#a19">d_state</a> = $_POST['<a class="el" href="action_8inc_8php.html#a19">d_state</a>'] </td>
</tr>
</table>
</td>
@ -587,18 +587,18 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00329">action:
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00233">233</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00256">256</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, and <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="class__document_8php-source.html#l00359">Document::get()</a>, <a class="el" href="class__action_8php-source.html#l00162">action::get()</a>, and <a class="el" href="class__action_8php-source.html#l00291">action::SaveStage2()</a>. </td>
</tr>
</table>
<a class="anchor" name="a19"></a><!-- doxytag: member="action.inc.php::dt_id" ref="a19" args="" --><p>
<a class="anchor" name="a20"></a><!-- doxytag: member="action.inc.php::dt_id" 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">act <a class="el" href="action_8inc_8php.html#a19">dt_id</a> = $_POST['<a class="el" href="action_8inc_8php.html#a19">dt_id</a>'] </td>
<td class="md" nowrap valign="top">act <a class="el" href="action_8inc_8php.html#a20">dt_id</a> = $_POST['<a class="el" href="action_8inc_8php.html#a20">dt_id</a>'] </td>
</tr>
</table>
</td>
@ -616,18 +616,18 @@ class for the table document_type pk document_type
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00234">234</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00257">257</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="class__document__type_8php-source.html#l00035">Document_type::document_type()</a>, <a class="el" href="class__document__modele_8php-source.html#l00251">Document_modele::form()</a>, <a class="el" href="class__document__type_8php-source.html#l00043">Document_type::get()</a>, and <a class="el" href="class__action_8php-source.html#l00241">action::SaveStage2()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, <a class="el" href="class__document__type_8php-source.html#l00035">Document_type::document_type()</a>, <a class="el" href="class__document__modele_8php-source.html#l00252">Document_modele::form()</a>, <a class="el" href="class__document__type_8php-source.html#l00043">Document_type::get()</a>, <a class="el" href="class__action_8php-source.html#l00162">action::get()</a>, and <a class="el" href="class__action_8php-source.html#l00291">action::SaveStage2()</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="action.inc.php::extra" ref="a7" args="" --><p>
<a class="anchor" name="a8"></a><!-- doxytag: member="action.inc.php::extra" 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">$W1 <a class="el" href="action_8inc_8php.html#a7">extra</a> = &quot;8,9,14&quot; </td>
<td class="md" nowrap valign="top">$W1 <a class="el" href="contact_8inc_8php.html#a9">extra</a> = &quot;8,9,14&quot; </td>
</tr>
</table>
</td>
@ -643,18 +643,18 @@ Referenced by <a class="el" href="class__action_8php-source.html#l00151">action:
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00146">146</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00169">169</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class_8pdf_8php-source.html#l01417">Cpdf::selectFont()</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="action.inc.php::extra2" ref="a8" args="" --><p>
<a class="anchor" name="a9"></a><!-- doxytag: member="action.inc.php::extra2" 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">$W1 <a class="el" href="action_8inc_8php.html#a8">extra2</a> = 0 </td>
<td class="md" nowrap valign="top">$W1 <a class="el" href="action_8inc_8php.html#a9">extra2</a> = 0 </td>
</tr>
</table>
</td>
@ -670,16 +670,16 @@ Referenced by <a class="el" href="class_8pdf_8php-source.html#l01417">Cpdf::sele
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00147">147</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>. </td>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00170">170</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a23"></a><!-- doxytag: member="action.inc.php::gen" ref="a23" args="" --><p>
<a class="anchor" name="a24"></a><!-- doxytag: member="action.inc.php::gen" 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">$act <a class="el" href="action_8inc_8php.html#a23">gen</a> = isset($_POST['p_gen'])?'on':'off' </td>
<td class="md" nowrap valign="top">$act <a class="el" href="action_8inc_8php.html#a24">gen</a> = isset($_POST['p_gen'])?'on':'off' </td>
</tr>
</table>
</td>
@ -695,16 +695,16 @@ Definition at line <a class="el" href="action_8inc_8php-source.html#l00147">147<
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00254">254</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>. </td>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00279">279</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="action.inc.php::label" ref="a6" args="" --><p>
<a class="anchor" name="a7"></a><!-- doxytag: member="action.inc.php::label" 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#a5">label</a> = &quot;Tiers&quot; </td>
<td class="md" nowrap valign="top">w <a class="el" href="export__ouv_8php.html#a10">label</a> = &quot;Tiers&quot; </td>
</tr>
</table>
</td>
@ -720,12 +720,12 @@ Definition at line <a class="el" href="action_8inc_8php-source.html#l00254">254<
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00143">143</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00166">166</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class_8pdf_8php-source.html#l01173">Cpdf::addInternalLink()</a>, <a class="el" href="fiche__inc_8php-source.html#l01387">DisplayDetailModele()</a>, <a class="el" href="class__fiche_8php-source.html#l00074">fiche_def::Get()</a>, <a class="el" href="fiche__inc_8php-source.html#l00892">GetDataModele()</a>, <a class="el" href="class__balance_8php-source.html#l00053">Balance::GetRow()</a>, <a class="el" href="class__widget_8php-source.html#l00084">widget::IOValue()</a>, <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>, <a class="el" href="class_8pdf_8php-source.html#l00726">Cpdf::o_action()</a>, <a class="el" href="class_8pdf_8php-source.html#l00769">Cpdf::o_annotation()</a>, <a class="el" href="class_8pdf_8php-source.html#l00559">Cpdf::o_fontDescriptor()</a>, <a class="el" href="class_8pdf_8php-source.html#l00610">Cpdf::o_fontEncoding()</a>, <a class="el" href="class_8pdf_8php-source.html#l00940">Cpdf::o_image()</a>, <a class="el" href="class_8pdf_8php-source.html#l00347">Cpdf::o_pages()</a>, <a class="el" href="class_8pdf_8php-source.html#l00647">Cpdf::o_procset()</a>, <a class="el" href="fiche__inc_8php-source.html#l00526">UpdateFiche()</a>, and <a class="el" href="class__widget_8php-source.html#l00059">widget::widget()</a>. </td>
Referenced by <a class="el" href="class_8pdf_8php-source.html#l01173">Cpdf::addInternalLink()</a>, <a class="el" href="fiche__inc_8php-source.html#l01390">DisplayDetailModele()</a>, <a class="el" href="class__poste_8php-source.html#l00100">poste::get()</a>, <a class="el" href="class__fiche_8php-source.html#l00074">fiche_def::Get()</a>, <a class="el" href="fiche__inc_8php-source.html#l00895">GetDataModele()</a>, <a class="el" href="class__balance_8php-source.html#l00053">Balance::GetRow()</a>, <a class="el" href="class__widget_8php-source.html#l00090">widget::IOValue()</a>, <a class="el" href="ac__common_8php-source.html#l00282">make_array()</a>, <a class="el" href="class_8pdf_8php-source.html#l00726">Cpdf::o_action()</a>, <a class="el" href="class_8pdf_8php-source.html#l00769">Cpdf::o_annotation()</a>, <a class="el" href="class_8pdf_8php-source.html#l00559">Cpdf::o_fontDescriptor()</a>, <a class="el" href="class_8pdf_8php-source.html#l00610">Cpdf::o_fontEncoding()</a>, <a class="el" href="class_8pdf_8php-source.html#l00940">Cpdf::o_image()</a>, <a class="el" href="class_8pdf_8php-source.html#l00347">Cpdf::o_pages()</a>, <a class="el" href="class_8pdf_8php-source.html#l00647">Cpdf::o_procset()</a>, <a class="el" href="fiche__inc_8php-source.html#l00530">UpdateFiche()</a>, and <a class="el" href="class__widget_8php-source.html#l00065">widget::widget()</a>. </td>
</tr>
</table>
<a class="anchor" name="a22"></a><!-- doxytag: member="action.inc.php::md_id" ref="a22" args="" --><p>
<a class="anchor" name="a23"></a><!-- doxytag: member="action.inc.php::md_id" ref="a23" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -747,18 +747,18 @@ Referenced by <a class="el" href="class_8pdf_8php-source.html#l01173">Cpdf::addI
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00252">252</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00277">277</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__document__modele_8php-source.html#l00037">Document_modele::Document_modele()</a>, <a class="el" href="class__document__modele_8php-source.html#l00049">Document_modele::myList()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, and <a class="el" href="class__action_8php-source.html#l00241">action::SaveStage2()</a>. </td>
Referenced by <a class="el" href="class__document__modele_8php-source.html#l00037">Document_modele::Document_modele()</a>, <a class="el" href="class__document__modele_8php-source.html#l00049">Document_modele::myList()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, and <a class="el" href="class__action_8php-source.html#l00291">action::SaveStage2()</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="action.inc.php::name" ref="a3" args="" --><p>
<a class="anchor" name="a4"></a><!-- doxytag: member="action.inc.php::name" 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">w <a class="el" href="ecrit__ouv_8php.html#a8">name</a> = &quot;ag_date&quot; </td>
<td class="md" nowrap valign="top">w <a class="el" href="ecrit__ouv_8php.html#a8">name</a> = &quot;ag_timestamp&quot; </td>
</tr>
</table>
</td>
@ -774,18 +774,18 @@ Referenced by <a class="el" href="class__document__modele_8php-source.html#l0003
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00137">137</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00160">160</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="stock__inc_8php-source.html#l00259">ChangeStock()</a>, <a class="el" href="class__user_8php-source.html#l00085">cl_user::Check()</a>, <a class="el" href="class__user_8php-source.html#l00040">cl_user::cl_user()</a>, <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="fiche__inc_8php-source.html#l00225">EncodeFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00034">EncodeForm()</a>, <a class="el" href="fiche__inc_8php-source.html#l00660">EncodeModele()</a>, <a class="el" href="user__form__ach_8php-source.html#l00269">form_verify_input()</a>, <a class="el" href="user__form__ach_8php-source.html#l00471">FormAchView()</a>, <a class="el" href="user__form__fin_8php-source.html#l00146">FormFin()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</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="class__user_8php-source.html#l00257">cl_user::GetGlobalPref()</a>, <a class="el" href="class__rapport_8php-source.html#l00040">rapport::GetName()</a>, <a class="el" href="class__poste_8php-source.html#l00080">poste::GetName()</a>, <a class="el" href="class__jrn_8php-source.html#l00034">jrn::GetName()</a>, <a class="el" href="class__fiche_8php-source.html#l00533">fiche::insert()</a>, <a class="el" href="class__user_8php-source.html#l00299">cl_user::insert_default_global_pref()</a>, <a class="el" href="class__widget_8php-source.html#l00084">widget::IOValue()</a>, <a class="el" href="user__common_8php-source.html#l00862">jrn_navigation_bar()</a>, <a class="el" href="decla_8BE_8inc_8php-source.html#l00036">MakeListingVat()</a>, <a class="el" href="fiche__new_8php-source.html#l00060">new_fiche()</a>, <a class="el" href="class_8pdf_8php-source.html#l00475">Cpdf::o_font()</a>, <a class="el" href="class_8pdf_8php-source.html#l01306">Cpdf::openFont()</a>, <a class="el" href="class__rapport_8php-source.html#l00033">rapport::rapport()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="postgres_8php-source.html#l00371">save_upload_document()</a>, <a class="el" href="class__action_8php-source.html#l00241">action::SaveStage2()</a>, <a class="el" href="class_8pdf_8php-source.html#l01417">Cpdf::selectFont()</a>, <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>, <a class="el" href="import__inc_8php-source.html#l00174">ShowFormTransfert()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="user__menu_8php-source.html#l00371">u_ShowMenuRecherche()</a>, <a class="el" href="class__fiche_8php-source.html#l00633">fiche::update()</a>, <a class="el" href="jrn_8php-source.html#l00282">UpdateJrn()</a>, <a class="el" href="class__document_8php-source.html#l00231">Document::Upload()</a>, <a class="el" href="class__customer_8php-source.html#l00084">Customer::VatListing()</a>, <a class="el" href="jrn_8php-source.html#l00834">VerifData()</a>, <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>, <a class="el" href="fiche__inc_8php-source.html#l00394">ViewFiche()</a>, and <a class="el" href="impress__inc_8php-source.html#l00036">ViewImp()</a>. </td>
Referenced by <a class="el" href="stock__inc_8php-source.html#l00259">ChangeStock()</a>, <a class="el" href="class__user_8php-source.html#l00085">cl_user::Check()</a>, <a class="el" href="class__user_8php-source.html#l00040">cl_user::cl_user()</a>, <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="fiche__inc_8php-source.html#l00225">EncodeFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00034">EncodeForm()</a>, <a class="el" href="fiche__inc_8php-source.html#l00664">EncodeModele()</a>, <a class="el" href="user__form__ach_8php-source.html#l00269">form_verify_input()</a>, <a class="el" href="user__form__ach_8php-source.html#l00471">FormAchView()</a>, <a class="el" href="user__form__fin_8php-source.html#l00146">FormFin()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</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="class__user_8php-source.html#l00257">cl_user::GetGlobalPref()</a>, <a class="el" href="class__rapport_8php-source.html#l00040">rapport::GetName()</a>, <a class="el" href="class__poste_8php-source.html#l00084">poste::GetName()</a>, <a class="el" href="class__jrn_8php-source.html#l00034">jrn::GetName()</a>, <a class="el" href="class__fiche_8php-source.html#l00540">fiche::insert()</a>, <a class="el" href="class__user_8php-source.html#l00299">cl_user::insert_default_global_pref()</a>, <a class="el" href="class__widget_8php-source.html#l00090">widget::IOValue()</a>, <a class="el" href="user__common_8php-source.html#l00858">jrn_navigation_bar()</a>, <a class="el" href="decla_8BE_8inc_8php-source.html#l00036">MakeListingVat()</a>, <a class="el" href="fiche__new_8php-source.html#l00060">new_fiche()</a>, <a class="el" href="class_8pdf_8php-source.html#l00475">Cpdf::o_font()</a>, <a class="el" href="class_8pdf_8php-source.html#l01306">Cpdf::openFont()</a>, <a class="el" href="class__rapport_8php-source.html#l00033">rapport::rapport()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="postgres_8php-source.html#l00371">save_upload_document()</a>, <a class="el" href="class__action_8php-source.html#l00291">action::SaveStage2()</a>, <a class="el" href="class_8pdf_8php-source.html#l01417">Cpdf::selectFont()</a>, <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>, <a class="el" href="import__inc_8php-source.html#l00174">ShowFormTransfert()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="user__menu_8php-source.html#l00371">u_ShowMenuRecherche()</a>, <a class="el" href="class__fiche_8php-source.html#l00640">fiche::update()</a>, <a class="el" href="jrn_8php-source.html#l00282">UpdateJrn()</a>, <a class="el" href="class__document_8php-source.html#l00257">Document::Upload()</a>, <a class="el" href="class__customer_8php-source.html#l00084">Customer::VatListing()</a>, <a class="el" href="jrn_8php-source.html#l00834">VerifData()</a>, <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>, <a class="el" href="fiche__inc_8php-source.html#l00394">ViewFiche()</a>, and <a class="el" href="impress__inc_8php-source.html#l00036">ViewImp()</a>. </td>
</tr>
</table>
<a class="anchor" name="a20"></a><!-- doxytag: member="action.inc.php::qcode" ref="a20" args="" --><p>
<a class="anchor" name="a21"></a><!-- doxytag: member="action.inc.php::qcode" 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">act <a class="el" href="action_8inc_8php.html#a20">qcode</a> = $_POST['tiers'] </td>
<td class="md" nowrap valign="top">act <a class="el" href="action_8inc_8php.html#a21">qcode</a> = $_POST['tiers'] </td>
</tr>
</table>
</td>
@ -801,18 +801,18 @@ Referenced by <a class="el" href="stock__inc_8php-source.html#l00259">ChangeStoc
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00235">235</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00258">258</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__document_8php-source.html#l00363">Document::Replace()</a>, and <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00162">action::get()</a>, <a class="el" href="class__document_8php-source.html#l00407">Document::Replace()</a>, <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>, and <a class="el" href="user__menu_8php-source.html#l00371">u_ShowMenuRecherche()</a>. </td>
</tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="action.inc.php::selected" ref="a12" args="" --><p>
<a class="anchor" name="a13"></a><!-- doxytag: member="action.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> = (isset($_POST['<a class="el" href="action_8inc_8php.html#a19">dt_id</a>']))?$_POST['<a class="el" href="action_8inc_8php.html#a19">dt_id</a>']:&quot;&quot; </td>
<td class="md" nowrap valign="top">w <a class="el" href="user__action__ven_8php.html#a13">selected</a> = (isset($_POST['<a class="el" href="action_8inc_8php.html#a20">dt_id</a>']))?$_POST['<a class="el" href="action_8inc_8php.html#a20">dt_id</a>']:&quot;&quot; </td>
</tr>
</table>
</td>
@ -828,18 +828,18 @@ Referenced by <a class="el" href="class__document_8php-source.html#l00363">Docum
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00165">165</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00188">188</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="class__widget_8php-source.html#l00084">widget::IOValue()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, and <a class="el" href="class__widget_8php-source.html#l00059">widget::widget()</a>. </td>
Referenced by <a class="el" href="class__widget_8php-source.html#l00090">widget::IOValue()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, and <a class="el" href="class__widget_8php-source.html#l00065">widget::widget()</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="action.inc.php::value" ref="a4" args="" --><p>
<a class="anchor" name="a5"></a><!-- doxytag: member="action.inc.php::value" 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">x <a class="el" href="ecrit__ouv_8php.html#a7">value</a> = (isset($_POST['<a class="el" href="action_8inc_8php.html#a17">ag_date</a>']))?$_POST['<a class="el" href="action_8inc_8php.html#a17">ag_date</a>']:&quot;&quot; </td>
<td class="md" nowrap valign="top">x <a class="el" href="ecrit__ouv_8php.html#a7">value</a> = (isset($_POST['<a class="el" href="action_8inc_8php.html#a18">ag_timestamp</a>']))?$_POST['<a class="el" href="action_8inc_8php.html#a18">ag_timestamp</a>']:&quot;&quot; </td>
</tr>
</table>
</td>
@ -855,12 +855,12 @@ Referenced by <a class="el" href="class__widget_8php-source.html#l00084">widget:
<p>
<p>
Definition at line <a class="el" href="action_8inc_8php-source.html#l00138">138</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
Definition at line <a class="el" href="action_8inc_8php-source.html#l00161">161</a> of file <a class="el" href="action_8inc_8php-source.html">action.inc.php</a>.
<p>
Referenced by <a class="el" href="stock__inc_8php-source.html#l00259">ChangeStock()</a>, <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="class__widget_8php-source.html#l00371">widget::debug()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00078">fiche_def_ref::Display()</a>, <a class="el" href="fiche__inc_8php-source.html#l01387">DisplayDetailModele()</a>, <a class="el" href="fiche__inc_8php-source.html#l00225">EncodeFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00034">EncodeForm()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</a>, <a class="el" href="user__form__fin_8php-source.html#l00146">FormFin()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, <a class="el" href="class__jrn_8php-source.html#l00321">jrn::GetDefLine()</a>, <a class="el" href="class__fiche_8php-source.html#l00533">fiche::insert()</a>, <a class="el" href="class__user_8php-source.html#l00299">cl_user::insert_default_global_pref()</a>, <a class="el" href="class__widget_8php-source.html#l00084">widget::IOValue()</a>, <a class="el" href="user__common_8php-source.html#l00862">jrn_navigation_bar()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00051">fiche_def_ref::LoadAll()</a>, <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>, <a class="el" href="fiche__new_8php-source.html#l00060">new_fiche()</a>, <a class="el" href="class_8pdf_8php-source.html#l00559">Cpdf::o_fontDescriptor()</a>, <a class="el" href="class__document_8php-source.html#l00125">Document::ParseDocument()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, <a class="el" href="class__action_8php-source.html#l00241">action::SaveStage2()</a>, <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="user__menu_8php-source.html#l00371">u_ShowMenuRecherche()</a>, <a class="el" href="class__fiche_8php-source.html#l00633">fiche::update()</a>, <a class="el" href="class__user_8php-source.html#l00331">cl_user::update_global_pref()</a>, <a class="el" href="jrn_8php-source.html#l00282">UpdateJrn()</a>, <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>, <a class="el" href="fiche__inc_8php-source.html#l00394">ViewFiche()</a>, <a class="el" href="impress__inc_8php-source.html#l00036">ViewImp()</a>, and <a class="el" href="class__widget_8php-source.html#l00059">widget::widget()</a>. </td>
Referenced by <a class="el" href="stock__inc_8php-source.html#l00259">ChangeStock()</a>, <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="class__widget_8php-source.html#l00435">widget::debug()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00078">fiche_def_ref::Display()</a>, <a class="el" href="fiche__inc_8php-source.html#l01390">DisplayDetailModele()</a>, <a class="el" href="fiche__inc_8php-source.html#l00225">EncodeFiche()</a>, <a class="el" href="form__inc_8php-source.html#l00034">EncodeForm()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</a>, <a class="el" href="user__form__fin_8php-source.html#l00146">FormFin()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, <a class="el" href="class__jrn_8php-source.html#l00321">jrn::GetDefLine()</a>, <a class="el" href="class__fiche_8php-source.html#l00540">fiche::insert()</a>, <a class="el" href="class__user_8php-source.html#l00299">cl_user::insert_default_global_pref()</a>, <a class="el" href="class__widget_8php-source.html#l00090">widget::IOValue()</a>, <a class="el" href="user__common_8php-source.html#l00858">jrn_navigation_bar()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00051">fiche_def_ref::LoadAll()</a>, <a class="el" href="ac__common_8php-source.html#l00282">make_array()</a>, <a class="el" href="fiche__new_8php-source.html#l00060">new_fiche()</a>, <a class="el" href="class_8pdf_8php-source.html#l00559">Cpdf::o_fontDescriptor()</a>, <a class="el" href="class__document_8php-source.html#l00131">Document::ParseDocument()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, <a class="el" href="class__action_8php-source.html#l00291">action::SaveStage2()</a>, <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="user__menu_8php-source.html#l00371">u_ShowMenuRecherche()</a>, <a class="el" href="class__fiche_8php-source.html#l00640">fiche::update()</a>, <a class="el" href="class__user_8php-source.html#l00331">cl_user::update_global_pref()</a>, <a class="el" href="jrn_8php-source.html#l00282">UpdateJrn()</a>, <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>, <a class="el" href="fiche__inc_8php-source.html#l00394">ViewFiche()</a>, <a class="el" href="impress__inc_8php-source.html#l00036">ViewImp()</a>, and <a class="el" href="class__widget_8php-source.html#l00065">widget::widget()</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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -318,7 +318,7 @@
<a name="l00314"></a>00314
<a name="l00315"></a>00315 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00316"></a>00316 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:32 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:34 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>

View file

@ -262,7 +262,7 @@ Referenced by <a class="el" href="form__inc_8php-source.html#l00180">GetNumberLi
<p>
Definition at line <a class="el" href="admin__repo_8php-source.html#l00119">119</a> of file <a class="el" href="admin__repo_8php-source.html">admin_repo.php</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00151">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, and <a class="el" href="user__menu_8php-source.html#l00037">u_ShowDossier()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00199">action::Confirm()</a>, <a class="el" href="class__action_8php-source.html#l00085">action::Display()</a>, and <a class="el" href="user__menu_8php-source.html#l00037">u_ShowDossier()</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="admin_repo.php::$dos" ref="a7" args="" --><p>
@ -571,7 +571,7 @@ Definition at line <a class="el" href="admin__repo_8php-source.html#l00117">117<
Definition at line <a class="el" href="admin__repo_8php-source.html#l00042">42</a> of file <a class="el" href="admin__repo_8php-source.html">admin_repo.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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -32,7 +32,7 @@
<tr><td class="indexkey"><a class="el" href="classSupplier.html">Supplier</a></td><td class="indexvalue">Class Supplier are a specific kind of card </td></tr>
<tr><td class="indexkey"><a class="el" href="classwidget.html">widget</a></td><td class="indexvalue">Class widget This class is used to create all the HTML INPUT TYPE and some specials which works with javascript like js_search </td></tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:34 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -84,16 +84,16 @@
<a name="l00078"></a>00078 &lt;span&gt;
<a name="l00079"></a>00079 &lt;<a class="code" href="constant_8php.html#a7">FORM</a> <a class="code" href="pref_8inc_8php.html#a0">METHOD</a>=<span class="stringliteral">"POST"</span> <a class="code" href="constant_8php.html#a39">ACTION</a>=<span class="stringliteral">"annulation.php?p_jrn=&lt;?echo $_GET['p_jrn'];?&gt;&amp;jrn_op=&lt;?echo $_GET['jrn_op'];?&gt;"</span>&gt;
<a name="l00080"></a>00080 &lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> NAME=<span class="stringliteral">"annul"</span>&gt;
<a name="l00081"></a>00081 &lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> NAME=<span class="stringliteral">"p_id"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"&lt;? echo $_POST['p_id']; ?&gt;"</span>&gt;
<a name="l00082"></a>00082 &lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> NAME=<span class="stringliteral">"op_date"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"&lt;? echo $_POST['op_date']; ?&gt;"</span>&gt;
<a name="l00083"></a>00083 &lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> NAME=<span class="stringliteral">"confirm"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Oui"</span>&gt;
<a name="l00081"></a>00081 &lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> NAME=<span class="stringliteral">"p_id"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"&lt;? echo $_POST['p_id']; ?&gt;"</span>&gt;
<a name="l00082"></a>00082 &lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> NAME=<span class="stringliteral">"op_date"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"&lt;? echo $_POST['op_date']; ?&gt;"</span>&gt;
<a name="l00083"></a>00083 &lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> NAME=<span class="stringliteral">"confirm"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Oui"</span>&gt;
<a name="l00084"></a>00084 &lt;/<a class="code" href="constant_8php.html#a7">FORM</a>&gt;
<a name="l00085"></a>00085
<a name="l00086"></a>00086 &lt;<a class="code" href="constant_8php.html#a7">FORM</a> METHOD=<span class="stringliteral">"GET"</span> <a class="code" href="constant_8php.html#a39">ACTION</a>=<span class="stringliteral">"annulation.php"</span>&gt;
<a name="l00087"></a>00087 &lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> NAME=<span class="stringliteral">"p_jrn"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"&lt;? echo $_REQUEST['p_jrn']; ?&gt;"</span>&gt;
<a name="l00088"></a>00088 &lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> NAME=<span class="stringliteral">"p_id"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"&lt;? echo $_REQUEST['p_id']; ?&gt;"</span>&gt;
<a name="l00089"></a>00089 &lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> NAME=<span class="stringliteral">"jrn_op"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"&lt;? echo $_REQUEST['jrn_op']; ?&gt;"</span>&gt;
<a name="l00090"></a>00090 &lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> NAME=<span class="stringliteral">"not_confirm"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"non"</span>&gt;
<a name="l00087"></a>00087 &lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> NAME=<span class="stringliteral">"p_jrn"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"&lt;? echo $_REQUEST['p_jrn']; ?&gt;"</span>&gt;
<a name="l00088"></a>00088 &lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> NAME=<span class="stringliteral">"p_id"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"&lt;? echo $_REQUEST['p_id']; ?&gt;"</span>&gt;
<a name="l00089"></a>00089 &lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> NAME=<span class="stringliteral">"jrn_op"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"&lt;? echo $_REQUEST['jrn_op']; ?&gt;"</span>&gt;
<a name="l00090"></a>00090 &lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> NAME=<span class="stringliteral">"not_confirm"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"non"</span>&gt;
<a name="l00091"></a>00091 &lt;/form&gt;
<a name="l00092"></a>00092 &lt;/span&gt;
<a name="l00093"></a>00093 &lt;?
@ -110,7 +110,7 @@
<a name="l00104"></a>00104
<a name="l00105"></a>00105 <span class="comment">// Test if date is valid</span>
<a name="l00106"></a>00106 <span class="keywordflow">if</span> ( <a class="code" href="ac__common_8php.html#a3">isDate</a> ($e_op_date) == null ) {
<a name="l00107"></a>00107 $msg='Invalid Date';
<a name="l00107"></a>00107 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>='Invalid Date';
<a name="l00108"></a>00108 echo <span class="stringliteral">"&lt;script&gt; alert('$msg');&lt;/script&gt;"</span>;
<a name="l00109"></a>00109 <span class="comment">// set an incorrect pid to get out from here</span>
<a name="l00110"></a><a class="code" href="annulation_8php.html#a2">00110</a> <a class="code" href="user__update_8php.html#a1">$p_id</a>=-1;
@ -123,7 +123,7 @@
<a name="l00117"></a>00117 <span class="comment">// Periode fermée </span>
<a name="l00118"></a>00118 <span class="keywordflow">if</span> ( <a class="code" href="preference_8php.html#a3">PeriodeClosed</a> ($cn,$userPref)==<span class="charliteral">'t'</span> )
<a name="l00119"></a>00119 {
<a name="l00120"></a>00120 $msg=<span class="stringliteral">"Votre periode par defaut est fermee, changez vos preferences"</span>;
<a name="l00120"></a>00120 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=<span class="stringliteral">"Votre periode par defaut est fermee, changez vos preferences"</span>;
<a name="l00121"></a>00121 <a class="code" href="ac__common_8php.html#a0">echo_error</a>($msg);
<a name="l00122"></a>00122 echo <span class="stringliteral">"&lt;SCRIPT&gt;alert('$msg');&lt;/SCRIPT&gt;"</span>;
<a name="l00123"></a>00123 <span class="comment">// set an incorrect pid to get out from here</span>
@ -246,16 +246,16 @@
<a name="l00240"></a>00240 &lt;div&gt;
<a name="l00241"></a>00241 &lt;form <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"'.$_SERVER['REQUEST_URI'].'"</span> method=<span class="stringliteral">"post"</span> &gt;';
<a name="l00242"></a>00242
<a name="l00243"></a><a class="code" href="annulation_8php.html#a8">00243</a> <a class="code" href="action_8inc_8php.html#a15">$a</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00243"></a><a class="code" href="annulation_8php.html#a8">00243</a> <a class="code" href="action_8inc_8php.html#a16">$a</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00244"></a>00244 <span class="comment">// $a=InputType("Date","text", "op_date",$e_op_date,false);</span>
<a name="l00245"></a>00245 <span class="comment">//echo 'Date : '.$e_op_date;</span>
<a name="l00246"></a>00246 <a class="code" href="action_8inc_8php.html#a15">$a</a>-&gt;SetReadOnly(<span class="keyword">false</span>);
<a name="l00247"></a>00247 echo <a class="code" href="action_8inc_8php.html#a15">$a</a>-&gt;IOValue(<span class="stringliteral">"op_date"</span>,$e_op_date,<span class="stringliteral">"Date"</span>);
<a name="l00246"></a>00246 <a class="code" href="action_8inc_8php.html#a16">$a</a>-&gt;SetReadOnly(<span class="keyword">false</span>);
<a name="l00247"></a>00247 echo <a class="code" href="action_8inc_8php.html#a16">$a</a>-&gt;IOValue(<span class="stringliteral">"op_date"</span>,$e_op_date,<span class="stringliteral">"Date"</span>);
<a name="l00248"></a>00248
<a name="l00249"></a>00249 echo '&lt;div style=<span class="stringliteral">"border-style:solid;border-width:1pt;"</span>&gt;';
<a name="l00250"></a>00250 <span class="comment">//$a=InputType("Description:","text_big","comment",$e_comment,false);</span>
<a name="l00251"></a><a class="code" href="annulation_8php.html#a9">00251</a> <a class="code" href="action_8inc_8php.html#a15">$a</a>-&gt;size=80;
<a name="l00252"></a>00252 echo <a class="code" href="action_8inc_8php.html#a15">$a</a>-&gt;IOValue(<span class="stringliteral">"comment"</span>,$e_comment,<span class="stringliteral">"Description"</span>);
<a name="l00251"></a><a class="code" href="annulation_8php.html#a9">00251</a> <a class="code" href="action_8inc_8php.html#a16">$a</a>-&gt;size=80;
<a name="l00252"></a>00252 echo <a class="code" href="action_8inc_8php.html#a16">$a</a>-&gt;IOValue(<span class="stringliteral">"comment"</span>,$e_comment,<span class="stringliteral">"Description"</span>);
<a name="l00253"></a>00253 echo '&lt;/DIV&gt;';
<a name="l00254"></a>00254
<a name="l00255"></a>00255 <span class="keywordflow">if</span> ( isset ($e_ech) ) {
@ -275,7 +275,7 @@
<a name="l00269"></a>00269 }
<a name="l00270"></a>00270 <span class="comment">//echo "operation concernée $e_rapt&lt;br&gt;&lt;br&gt;</span>
<a name="l00271"></a>00271 <span class="comment">//";</span>
<a name="l00272"></a>00272 <a class="code" href="action_8inc_8php.html#a15">$a</a>=<a class="code" href="user__common_8php.html#a12">GetConcerned</a>($cn,$e_jr_id);
<a name="l00272"></a>00272 <a class="code" href="action_8inc_8php.html#a16">$a</a>=<a class="code" href="user__common_8php.html#a12">GetConcerned</a>($cn,$e_jr_id);
<a name="l00273"></a>00273
<a name="l00274"></a>00274 <span class="keywordflow">if</span> ( $a != null ) {
<a name="l00275"></a>00275 foreach ($a as $key =&gt; $element) {
@ -287,14 +287,14 @@
<a name="l00281"></a>00281
<a name="l00282"></a>00282 echo '
<a name="l00283"></a>00283
<a name="l00284"></a>00284 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_id"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"'.$_GET['jrn_op'].'"</span>&gt;
<a name="l00285"></a>00285 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"annul"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Mise à zéro"</span>&gt;
<a name="l00286"></a>00286 &lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"cancel"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Retour"</span> onClick=<span class="stringliteral">"window.close();"</span>&gt;
<a name="l00284"></a>00284 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_id"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$_GET['jrn_op'].'"</span>&gt;
<a name="l00285"></a>00285 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"annul"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Mise à zéro"</span>&gt;
<a name="l00286"></a>00286 &lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"cancel"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Retour"</span> onClick=<span class="stringliteral">"window.close();"</span>&gt;
<a name="l00287"></a>00287 &lt;/form&gt;';
<a name="l00288"></a>00288
<a name="l00289"></a>00289 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00290"></a>00290 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:32 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:34 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>

View file

@ -303,7 +303,7 @@ Definition at line <a class="el" href="annulation_8php-source.html#l00055">55</a
Definition at line <a class="el" href="annulation_8php-source.html#l00251">251</a> of file <a class="el" href="annulation_8php-source.html">annulation.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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -47,11 +47,11 @@
<a name="l00041"></a>00041 }
<a name="l00042"></a><a class="code" href="bal__csv_8php.html#a3">00042</a> <a class="code" href="bal__csv_8php.html#a3">$bal</a>=<span class="keyword">new</span> <a class="code" href="classBalance.html">Balance</a>($cn);
<a name="l00043"></a>00043
<a name="l00044"></a><a class="code" href="bal__csv_8php.html#a4">00044</a> <a class="code" href="balance_8php.html#a8">$t_cent</a>=<span class="stringliteral">""</span>;
<a name="l00044"></a><a class="code" href="bal__csv_8php.html#a4">00044</a> <a class="code" href="balance_8php.html#a9">$t_cent</a>=<span class="stringliteral">""</span>;
<a name="l00045"></a>00045 <span class="comment">//$per=join(',',$periode);</span>
<a name="l00046"></a>00046 <span class="keywordflow">if</span> ( isset($_POST['central']) ) {
<a name="l00047"></a>00047 <a class="code" href="bal__csv_8php.html#a3">$bal</a>-&gt;central=<span class="charliteral">'Y'</span>;
<a name="l00048"></a>00048 <a class="code" href="balance_8php.html#a8">$t_cent</a>=<span class="stringliteral">"centralisée"</span>;
<a name="l00048"></a>00048 <a class="code" href="balance_8php.html#a9">$t_cent</a>=<span class="stringliteral">"centralisée"</span>;
<a name="l00049"></a>00049 }
<a name="l00050"></a>00050 <span class="keywordflow">else</span>
<a name="l00051"></a>00051 <a class="code" href="bal__csv_8php.html#a3">$bal</a>-&gt;central=<span class="charliteral">'N'</span>;
@ -61,7 +61,7 @@
<a name="l00055"></a>00055 foreach ($row as $r) {
<a name="l00056"></a>00056
<a name="l00057"></a>00057 echo <a class="code" href="user__action__ach_8php.html#a2">$r</a>['<a class="code" href="classposte.html">poste</a>'].<span class="charliteral">';'</span>.
<a name="l00058"></a>00058 <a class="code" href="user__action__ach_8php.html#a2">$r</a>['<a class="code" href="action_8inc_8php.html#a6">label</a>'].<span class="charliteral">';'</span>.
<a name="l00058"></a>00058 <a class="code" href="user__action__ach_8php.html#a2">$r</a>['<a class="code" href="action_8inc_8php.html#a7">label</a>'].<span class="charliteral">';'</span>.
<a name="l00059"></a>00059 <a class="code" href="user__action__ach_8php.html#a2">$r</a>['sum_deb'].<span class="charliteral">';'</span>.
<a name="l00060"></a>00060 <a class="code" href="user__action__ach_8php.html#a2">$r</a>['sum_cred'].<span class="charliteral">';'</span>.
<a name="l00061"></a>00061 <a class="code" href="user__action__ach_8php.html#a2">$r</a>['solde_deb'].<span class="charliteral">';'</span>.
@ -71,7 +71,7 @@
<a name="l00065"></a>00065
<a name="l00066"></a>00066
<a name="l00067"></a>00067 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:32 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:34 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>

View file

@ -156,7 +156,7 @@ Definition at line <a class="el" href="bal__csv_8php-source.html#l00035">35</a>
Definition at line <a class="el" href="bal__csv_8php-source.html#l00040">40</a> of file <a class="el" href="bal__csv_8php-source.html">bal_csv.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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -28,112 +28,114 @@
<a name="l00019"></a>00019 <span class="comment">*/</span>
<a name="l00020"></a>00020 <span class="comment">// Auteur Dany De Bontridder ddebontridder@yahoo.fr</span>
<a name="l00021"></a>00021 <span class="comment">// /* $Revision$ */</span>
<a name="l00026"></a>00026 <span class="comment"></span>include_once (<span class="stringliteral">"ac_common.php"</span>);
<a name="l00027"></a>00027 include_once(<span class="stringliteral">"preference.php"</span>);
<a name="l00028"></a>00028 include_once (<span class="stringliteral">"class_widget.php"</span>);
<a name="l00029"></a>00029 include_once(<span class="stringliteral">"class_balance.php"</span>);
<a name="l00030"></a>00030 <span class="keywordflow">if</span> ( $User-&gt;CheckAction($cn,<a class="code" href="constant_8php.html#a14">BALANCE</a>) == 0)
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032 <a class="code" href="ac__common_8php.html#a8">NoAccess</a>();
<a name="l00033"></a><a class="code" href="balance_8php.html#a0">00033</a> <a class="code" href="balance_8php.html#a0">exit</a>;
<a name="l00034"></a>00034 }
<a name="l00035"></a>00035 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_content"</span>&gt;';
<a name="l00036"></a>00036
<a name="l00038"></a>00038 <span class="comment">// Form</span>
<a name="l00040"></a>00040 <span class="comment"></span><span class="comment">// Show the export button</span>
<a name="l00041"></a>00041 <span class="keywordflow">if</span> ( isset ($_POST['view'] ) ) {
<a name="l00042"></a>00042 <a class="code" href="bank_8inc_8php.html#a16">$submit</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>();
<a name="l00043"></a><a class="code" href="balance_8php.html#a1">00043</a> <a class="code" href="balance_8php.html#a1">$hid</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00044"></a>00044
<a name="l00045"></a>00045 echo <span class="stringliteral">"&lt;table&gt;"</span>;
<a name="l00046"></a>00046 echo '&lt;TR&gt;';
<a name="l00047"></a>00047 echo '&lt;TD&gt;&lt;form method=<span class="stringliteral">"POST"</span> <a class="code" href="constant_8php.html#a39">ACTION</a>=<span class="stringliteral">"print_balance.php"</span>&gt;'.
<a name="l00048"></a>00048 <a class="code" href="bank_8inc_8php.html#a16">$submit</a>-&gt;Submit('bt_pdf',<span class="stringliteral">"Export PDF"</span>).
<a name="l00049"></a>00049 <a class="code" href="balance_8php.html#a1">$hid</a>-&gt;IOValue(<span class="stringliteral">"from_periode"</span>,$_POST['from_periode']).
<a name="l00050"></a>00050 <a class="code" href="balance_8php.html#a1">$hid</a>-&gt;IOValue(<span class="stringliteral">"to_periode"</span>,$_POST['to_periode']);
<a name="l00051"></a>00051
<a name="l00052"></a>00052 echo <span class="stringliteral">"&lt;/form&gt;&lt;/TD&gt;"</span>;
<a name="l00053"></a>00053 echo '&lt;TD&gt;&lt;form method=<span class="stringliteral">"POST"</span> <a class="code" href="constant_8php.html#a39">ACTION</a>=<span class="stringliteral">"bal_csv.php"</span>&gt;'.
<a name="l00054"></a>00054 <a class="code" href="bank_8inc_8php.html#a16">$submit</a>-&gt;Submit('bt_csv',<span class="stringliteral">"Export CSV"</span>).
<a name="l00055"></a>00055 <a class="code" href="balance_8php.html#a1">$hid</a>-&gt;IOValue(<span class="stringliteral">"from_periode"</span>,$_POST['from_periode']).
<a name="l00056"></a>00056 <a class="code" href="balance_8php.html#a1">$hid</a>-&gt;IOValue(<span class="stringliteral">"to_periode"</span>,$_POST['to_periode']);
<a name="l00057"></a>00057
<a name="l00058"></a>00058 echo <span class="stringliteral">"&lt;/form&gt;&lt;/TD&gt;"</span>;
<a name="l00059"></a>00059
<a name="l00060"></a>00060 echo <span class="stringliteral">"&lt;/TR&gt;"</span>;
<a name="l00061"></a>00061
<a name="l00062"></a>00062 echo <span class="stringliteral">"&lt;/table&gt;"</span>;
<a name="l00063"></a>00063 }
<a name="l00029"></a>00029 <span class="comment"></span>include_once (<span class="stringliteral">"ac_common.php"</span>);
<a name="l00030"></a>00030 include_once(<span class="stringliteral">"preference.php"</span>);
<a name="l00031"></a>00031 include_once (<span class="stringliteral">"class_widget.php"</span>);
<a name="l00032"></a>00032 include_once(<span class="stringliteral">"class_balance.php"</span>);
<a name="l00033"></a>00033 <span class="keywordflow">if</span> ( $User-&gt;CheckAction($cn,<a class="code" href="constant_8php.html#a14">BALANCE</a>) == 0)
<a name="l00034"></a>00034 {
<a name="l00035"></a>00035 <a class="code" href="ac__common_8php.html#a8">NoAccess</a>();
<a name="l00036"></a><a class="code" href="balance_8php.html#a0">00036</a> <a class="code" href="balance_8php.html#a0">exit</a>;
<a name="l00037"></a>00037 }
<a name="l00038"></a>00038 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_content"</span>&gt;';
<a name="l00039"></a>00039
<a name="l00041"></a>00041 <span class="comment">// Form</span>
<a name="l00043"></a>00043 <span class="comment"></span><span class="comment">// Show the export button</span>
<a name="l00044"></a>00044 <span class="keywordflow">if</span> ( isset ($_POST['view'] ) ) {
<a name="l00045"></a>00045 <a class="code" href="bank_8inc_8php.html#a16">$submit</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>();
<a name="l00046"></a><a class="code" href="balance_8php.html#a1">00046</a> <a class="code" href="balance_8php.html#a1">$hid</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00047"></a>00047
<a name="l00048"></a>00048 echo <span class="stringliteral">"&lt;table&gt;"</span>;
<a name="l00049"></a>00049 echo '&lt;TR&gt;';
<a name="l00050"></a>00050 echo '&lt;TD&gt;&lt;form method=<span class="stringliteral">"POST"</span> <a class="code" href="constant_8php.html#a39">ACTION</a>=<span class="stringliteral">"print_balance.php"</span>&gt;'.
<a name="l00051"></a>00051 <a class="code" href="bank_8inc_8php.html#a16">$submit</a>-&gt;Submit('bt_pdf',<span class="stringliteral">"Export PDF"</span>).
<a name="l00052"></a>00052 <a class="code" href="balance_8php.html#a1">$hid</a>-&gt;IOValue(<span class="stringliteral">"from_periode"</span>,$_POST['from_periode']).
<a name="l00053"></a>00053 <a class="code" href="balance_8php.html#a1">$hid</a>-&gt;IOValue(<span class="stringliteral">"to_periode"</span>,$_POST['to_periode']);
<a name="l00054"></a>00054
<a name="l00055"></a>00055 echo <span class="stringliteral">"&lt;/form&gt;&lt;/TD&gt;"</span>;
<a name="l00056"></a>00056 echo '&lt;TD&gt;&lt;form method=<span class="stringliteral">"POST"</span> <a class="code" href="constant_8php.html#a39">ACTION</a>=<span class="stringliteral">"bal_csv.php"</span>&gt;'.
<a name="l00057"></a>00057 <a class="code" href="bank_8inc_8php.html#a16">$submit</a>-&gt;Submit('bt_csv',<span class="stringliteral">"Export CSV"</span>).
<a name="l00058"></a>00058 <a class="code" href="balance_8php.html#a1">$hid</a>-&gt;IOValue(<span class="stringliteral">"from_periode"</span>,$_POST['from_periode']).
<a name="l00059"></a>00059 <a class="code" href="balance_8php.html#a1">$hid</a>-&gt;IOValue(<span class="stringliteral">"to_periode"</span>,$_POST['to_periode']);
<a name="l00060"></a>00060
<a name="l00061"></a>00061 echo <span class="stringliteral">"&lt;/form&gt;&lt;/TD&gt;"</span>;
<a name="l00062"></a>00062
<a name="l00063"></a>00063 echo <span class="stringliteral">"&lt;/TR&gt;"</span>;
<a name="l00064"></a>00064
<a name="l00065"></a>00065 <span class="comment">// Show the form for period</span>
<a name="l00066"></a>00066 echo '&lt;<a class="code" href="constant_8php.html#a7">FORM</a> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"user_impress.php?type=bal"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00067"></a><a class="code" href="balance_8php.html#a2">00067</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00068"></a><a class="code" href="balance_8php.html#a3">00068</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;table=1;
<a name="l00069"></a>00069
<a name="l00070"></a><a class="code" href="balance_8php.html#a4">00070</a> <a class="code" href="balance_8php.html#a4">$periode_start</a>=<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') from parm_periode order by p_id"</span>);
<a name="l00071"></a><a class="code" href="balance_8php.html#a5">00071</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;label=<span class="stringliteral">"Depuis"</span>;
<a name="l00072"></a>00072 <span class="keywordflow">if</span> ( isset ($_POST['from_periode']) )
<a name="l00073"></a>00073 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;selected=$_POST['from_periode'];
<a name="l00065"></a>00065 echo <span class="stringliteral">"&lt;/table&gt;"</span>;
<a name="l00066"></a>00066 }
<a name="l00067"></a>00067
<a name="l00068"></a>00068 <span class="comment">// Show the form for period</span>
<a name="l00069"></a>00069 echo '&lt;<a class="code" href="constant_8php.html#a7">FORM</a> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"user_impress.php?type=bal"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00070"></a><a class="code" href="balance_8php.html#a2">00070</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00071"></a><a class="code" href="balance_8php.html#a3">00071</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;table=1;
<a name="l00072"></a>00072 <span class="comment">// filter on the current year</span>
<a name="l00073"></a><a class="code" href="balance_8php.html#a4">00073</a> <a class="code" href="balance_8php.html#a4">$filter_year</a>=<span class="stringliteral">" where p_exercice='"</span>.$User-&gt;getExercice().<span class="stringliteral">"'"</span>;
<a name="l00074"></a>00074
<a name="l00075"></a>00075 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue('from_periode',$periode_start);
<a name="l00076"></a>00076 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;label=<span class="stringliteral">" jusqu'à "</span>;
<a name="l00077"></a><a class="code" href="balance_8php.html#a6">00077</a> <a class="code" href="balance_8php.html#a6">$periode_end</a>=<a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select p_id,to_char(p_end,'DD-MM-YYYY') from parm_periode order by p_id"</span>);
<a name="l00078"></a>00078 <span class="keywordflow">if</span> ( isset ($_POST['to_periode']) )
<a name="l00079"></a>00079 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;selected=$_POST['to_periode'];
<a name="l00080"></a>00080
<a name="l00081"></a>00081 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue('to_periode',$periode_end);
<a name="l00082"></a><a class="code" href="balance_8php.html#a7">00082</a> <a class="code" href="admin_8inc_8php.html#a2">$c</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"checkbox"</span>);
<a name="l00083"></a>00083 <a class="code" href="admin_8inc_8php.html#a2">$c</a>-&gt;label=<span class="stringliteral">"centralisé"</span>;
<a name="l00084"></a>00084 echo <a class="code" href="admin_8inc_8php.html#a2">$c</a>-&gt;IOValue('central');
<a name="l00075"></a><a class="code" href="balance_8php.html#a5">00075</a> <a class="code" href="balance_8php.html#a5">$periode_start</a>=<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') from parm_periode $filter_year order by p_id"</span>);
<a name="l00076"></a><a class="code" href="balance_8php.html#a6">00076</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;label=<span class="stringliteral">"Depuis"</span>;
<a name="l00077"></a>00077 <span class="keywordflow">if</span> ( isset ($_POST['from_periode']) )
<a name="l00078"></a>00078 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;selected=$_POST['from_periode'];
<a name="l00079"></a>00079
<a name="l00080"></a>00080 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue('from_periode',$periode_start);
<a name="l00081"></a>00081 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;label=<span class="stringliteral">" jusqu'à "</span>;
<a name="l00082"></a><a class="code" href="balance_8php.html#a7">00082</a> <a class="code" href="balance_8php.html#a7">$periode_end</a>=<a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select p_id,to_char(p_end,'DD-MM-YYYY') from parm_periode $filter_year order by p_id"</span>);
<a name="l00083"></a>00083 <span class="keywordflow">if</span> ( isset ($_POST['to_periode']) )
<a name="l00084"></a>00084 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;selected=$_POST['to_periode'];
<a name="l00085"></a>00085
<a name="l00086"></a>00086 <span class="comment">//$a=FormPeriodeMult($cn);</span>
<a name="l00087"></a>00087 <span class="comment">//echo $a;</span>
<a name="l00088"></a>00088 echo '&lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"view"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"ok"</span>&gt;';
<a name="l00089"></a>00089
<a name="l00086"></a>00086 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue('to_periode',$periode_end);
<a name="l00087"></a><a class="code" href="balance_8php.html#a8">00087</a> <a class="code" href="admin_8inc_8php.html#a2">$c</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"checkbox"</span>);
<a name="l00088"></a>00088 <a class="code" href="admin_8inc_8php.html#a2">$c</a>-&gt;label=<span class="stringliteral">"centralisé"</span>;
<a name="l00089"></a>00089 echo <a class="code" href="admin_8inc_8php.html#a2">$c</a>-&gt;IOValue('central');
<a name="l00090"></a>00090
<a name="l00092"></a>00092 <span class="comment">// Display result</span>
<a name="l00094"></a>00094 <span class="comment"></span><span class="keywordflow">if</span> ( isset($_POST['view'] ) ) {
<a name="l00095"></a>00095 <a class="code" href="bal__csv_8php.html#a3">$bal</a>=<span class="keyword">new</span> <a class="code" href="classBalance.html">Balance</a>($cn);
<a name="l00096"></a>00096
<a name="l00097"></a><a class="code" href="balance_8php.html#a8">00097</a> <a class="code" href="balance_8php.html#a8">$t_cent</a>=<span class="stringliteral">""</span>;
<a name="l00098"></a>00098 <span class="comment">//$per=join(',',$periode);</span>
<a name="l00099"></a>00099 <span class="keywordflow">if</span> ( isset($_POST['central']) ) {
<a name="l00100"></a>00100 <a class="code" href="bal__csv_8php.html#a3">$bal</a>-&gt;central=<span class="charliteral">'Y'</span>;
<a name="l00101"></a>00101 <a class="code" href="balance_8php.html#a8">$t_cent</a>=<span class="stringliteral">"centralisée"</span>;
<a name="l00102"></a>00102 }
<a name="l00103"></a>00103 <span class="keywordflow">else</span>
<a name="l00104"></a>00104 <a class="code" href="bal__csv_8php.html#a3">$bal</a>-&gt;central=<span class="charliteral">'N'</span>;
<a name="l00105"></a>00105
<a name="l00106"></a>00106 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=<a class="code" href="bal__csv_8php.html#a3">$bal</a>-&gt;GetRow($_POST['from_periode'],
<a name="l00107"></a>00107 $_POST['to_periode']);
<a name="l00108"></a><a class="code" href="balance_8php.html#a9">00108</a> <a class="code" href="action_8inc_8php.html#a15">$a</a>=<a class="code" href="preference_8php.html#a2">GetPeriode</a>($cn,$_POST['from_periode']);
<a name="l00109"></a><a class="code" href="balance_8php.html#a10">00109</a> <a class="code" href="balance_8php.html#a10">$b</a>=<a class="code" href="preference_8php.html#a2">GetPeriode</a>($cn,$_POST['to_periode']);
<a name="l00110"></a>00110 echo <span class="stringliteral">"&lt;h2 class=\"info\"&gt; période du "</span>.$a['p_start'].<span class="stringliteral">" au "</span>.<a class="code" href="balance_8php.html#a10">$b</a>['p_end'].<span class="stringliteral">"&lt;/h2&gt;"</span>;
<a name="l00111"></a>00111
<a name="l00112"></a>00112 echo '&lt;<a class="code" href="balance_8php.html#a3">table</a> <a class="code" href="tva_8inc_8php.html#a17">width</a>=<span class="stringliteral">"100%"</span>&gt;';
<a name="l00113"></a><a class="code" href="balance_8php.html#a11">00113</a> <a class="code" href="balance_8php.html#a11">$i</a>=0;
<a name="l00114"></a>00114 foreach ($row as $r) {
<a name="l00115"></a>00115 <a class="code" href="balance_8php.html#a11">$i</a>++;
<a name="l00116"></a>00116 <span class="keywordflow">if</span> ( $i%2 == 0 )
<a name="l00117"></a>00117 <a class="code" href="balance_8php.html#a12">$tr</a>=<span class="stringliteral">"even"</span>;
<a name="l00118"></a>00118 <span class="keywordflow">else</span>
<a name="l00119"></a><a class="code" href="balance_8php.html#a12">00119</a> <a class="code" href="balance_8php.html#a12">$tr</a>=<span class="stringliteral">"odd"</span>;
<a name="l00120"></a>00120
<a name="l00121"></a>00121 echo '&lt;TR <span class="keyword">class</span>=<span class="stringliteral">"'.$tr.'"</span>&gt;';
<a name="l00122"></a>00122 echo '&lt;TD&gt;'.$r['<a class="code" href="classposte.html">poste</a>'].'&lt;/TD&gt;';
<a name="l00123"></a>00123 echo '&lt;TD&gt;'.$r['<a class="code" href="action_8inc_8php.html#a6">label</a>'].'&lt;/TD&gt;';
<a name="l00124"></a>00124 echo '&lt;TD&gt;'.$r['sum_deb'].'&lt;/TD&gt;';
<a name="l00125"></a>00125 echo '&lt;TD&gt;'.$r['sum_cred'].'&lt;/TD&gt;';
<a name="l00126"></a>00126 echo '&lt;TD&gt;'.$r['solde_deb'].'&lt;/TD&gt;';
<a name="l00127"></a>00127 echo '&lt;TD&gt;'.$r['solde_cred'].'&lt;/TD&gt;';
<a name="l00128"></a>00128 echo '&lt;/TR&gt;';
<a name="l00129"></a>00129 }
<a name="l00130"></a>00130 echo '&lt;/<a class="code" href="balance_8php.html#a3">table</a>&gt;';
<a name="l00131"></a>00131
<a name="l00132"></a>00132 }<span class="comment">// end submit</span>
<a name="l00133"></a>00133 echo <span class="stringliteral">"&lt;/div&gt;"</span>;
<a name="l00134"></a>00134 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00091"></a>00091 <span class="comment">//$a=FormPeriodeMult($cn);</span>
<a name="l00092"></a>00092 <span class="comment">//echo $a;</span>
<a name="l00093"></a>00093 echo '&lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"view"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"ok"</span>&gt;';
<a name="l00094"></a>00094
<a name="l00095"></a>00095
<a name="l00097"></a>00097 <span class="comment">// Display result</span>
<a name="l00099"></a>00099 <span class="comment"></span><span class="keywordflow">if</span> ( isset($_POST['view'] ) ) {
<a name="l00100"></a>00100 <a class="code" href="bal__csv_8php.html#a3">$bal</a>=<span class="keyword">new</span> <a class="code" href="classBalance.html">Balance</a>($cn);
<a name="l00101"></a>00101
<a name="l00102"></a><a class="code" href="balance_8php.html#a9">00102</a> <a class="code" href="balance_8php.html#a9">$t_cent</a>=<span class="stringliteral">""</span>;
<a name="l00103"></a>00103 <span class="comment">//$per=join(',',$periode);</span>
<a name="l00104"></a>00104 <span class="keywordflow">if</span> ( isset($_POST['central']) ) {
<a name="l00105"></a>00105 <a class="code" href="bal__csv_8php.html#a3">$bal</a>-&gt;central=<span class="charliteral">'Y'</span>;
<a name="l00106"></a>00106 <a class="code" href="balance_8php.html#a9">$t_cent</a>=<span class="stringliteral">"centralisée"</span>;
<a name="l00107"></a>00107 }
<a name="l00108"></a>00108 <span class="keywordflow">else</span>
<a name="l00109"></a>00109 <a class="code" href="bal__csv_8php.html#a3">$bal</a>-&gt;central=<span class="charliteral">'N'</span>;
<a name="l00110"></a>00110
<a name="l00111"></a>00111 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=<a class="code" href="bal__csv_8php.html#a3">$bal</a>-&gt;GetRow($_POST['from_periode'],
<a name="l00112"></a>00112 $_POST['to_periode']);
<a name="l00113"></a><a class="code" href="balance_8php.html#a10">00113</a> <a class="code" href="action_8inc_8php.html#a16">$a</a>=<a class="code" href="preference_8php.html#a2">GetPeriode</a>($cn,$_POST['from_periode']);
<a name="l00114"></a><a class="code" href="balance_8php.html#a11">00114</a> <a class="code" href="balance_8php.html#a11">$b</a>=<a class="code" href="preference_8php.html#a2">GetPeriode</a>($cn,$_POST['to_periode']);
<a name="l00115"></a>00115 echo <span class="stringliteral">"&lt;h2 class=\"info\"&gt; période du "</span>.$a['p_start'].<span class="stringliteral">" au "</span>.<a class="code" href="balance_8php.html#a11">$b</a>['p_end'].<span class="stringliteral">"&lt;/h2&gt;"</span>;
<a name="l00116"></a>00116
<a name="l00117"></a>00117 echo '&lt;<a class="code" href="balance_8php.html#a3">table</a> <a class="code" href="tva_8inc_8php.html#a17">width</a>=<span class="stringliteral">"100%"</span>&gt;';
<a name="l00118"></a><a class="code" href="balance_8php.html#a12">00118</a> <a class="code" href="balance_8php.html#a12">$i</a>=0;
<a name="l00119"></a>00119 foreach ($row as $r) {
<a name="l00120"></a>00120 <a class="code" href="balance_8php.html#a12">$i</a>++;
<a name="l00121"></a>00121 <span class="keywordflow">if</span> ( $i%2 == 0 )
<a name="l00122"></a>00122 <a class="code" href="balance_8php.html#a13">$tr</a>=<span class="stringliteral">"even"</span>;
<a name="l00123"></a>00123 <span class="keywordflow">else</span>
<a name="l00124"></a><a class="code" href="balance_8php.html#a13">00124</a> <a class="code" href="balance_8php.html#a13">$tr</a>=<span class="stringliteral">"odd"</span>;
<a name="l00125"></a>00125
<a name="l00126"></a>00126 echo '&lt;TR <span class="keyword">class</span>=<span class="stringliteral">"'.$tr.'"</span>&gt;';
<a name="l00127"></a>00127 echo '&lt;TD&gt;'.$r['<a class="code" href="classposte.html">poste</a>'].'&lt;/TD&gt;';
<a name="l00128"></a>00128 echo '&lt;TD&gt;'.$r['<a class="code" href="action_8inc_8php.html#a7">label</a>'].'&lt;/TD&gt;';
<a name="l00129"></a>00129 echo '&lt;TD&gt;'.$r['sum_deb'].'&lt;/TD&gt;';
<a name="l00130"></a>00130 echo '&lt;TD&gt;'.$r['sum_cred'].'&lt;/TD&gt;';
<a name="l00131"></a>00131 echo '&lt;TD&gt;'.$r['solde_deb'].'&lt;/TD&gt;';
<a name="l00132"></a>00132 echo '&lt;TD&gt;'.$r['solde_cred'].'&lt;/TD&gt;';
<a name="l00133"></a>00133 echo '&lt;/TR&gt;';
<a name="l00134"></a>00134 }
<a name="l00135"></a>00135 echo '&lt;/<a class="code" href="balance_8php.html#a3">table</a>&gt;';
<a name="l00136"></a>00136
<a name="l00137"></a>00137 }<span class="comment">// end submit</span>
<a name="l00138"></a>00138 echo <span class="stringliteral">"&lt;/div&gt;"</span>;
<a name="l00139"></a>00139 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -7,7 +7,7 @@
<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_000006.html">include</a></div>
<h1>balance.php File Reference</h1>Show the balance and let you print it or export to PDF. <a href="#_details">More...</a>
<h1>balance.php File Reference</h1>Show the balance and let you print it or export to PDF file included by user_impress. <a href="#_details">More...</a>
<p>
<p>
@ -22,32 +22,34 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a3">table</a> = 1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a4">$periode_start</a> = make_array($cn,&quot;select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a4">$filter_year</a> = &quot; where p_exercice='&quot;.$User-&gt;getExercice().&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="balance_8php.html#a5">label</a> = &quot;Depuis&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a5">$periode_start</a> = make_array($cn,&quot;select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode $filter_year order by p_id&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a6">$periode_end</a> = make_array($cn,&quot;select p_id,to_char(p_end,'DD-MM-YYYY') from parm_periode order by p_id&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a6">label</a> = &quot;Depuis&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a7">$c</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;checkbox&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a7">$periode_end</a> = make_array($cn,&quot;select p_id,to_char(p_end,'DD-MM-YYYY') from parm_periode $filter_year order by p_id&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a8">$t_cent</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="balance_8php.html#a8">$c</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;checkbox&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a9">$a</a> = GetPeriode($cn,$_POST['from_periode'])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a9">$t_cent</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="balance_8php.html#a10">$b</a> = GetPeriode($cn,$_POST['to_periode'])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a10">$a</a> = GetPeriode($cn,$_POST['from_periode'])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a11">$i</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a11">$b</a> = GetPeriode($cn,$_POST['to_periode'])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="user__sec_8php.html#a13">else</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a12">$tr</a> = &quot;odd&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a12">$i</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="user__sec_8php.html#a13">else</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="balance_8php.html#a13">$tr</a> = &quot;odd&quot;</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Show the balance and let you print it or export to PDF.
Show the balance and let you print it or export to PDF file included by user_impress.
<p>
some variable are already defined ($cn, $User ...)
<p>
Definition in file <a class="el" href="balance_8php-source.html">balance.php</a>.<hr><h2>Variable Documentation</h2>
<a class="anchor" name="a9"></a><!-- doxytag: member="balance.php::$a" ref="a9" args="" --><p>
<a class="anchor" name="a10"></a><!-- doxytag: member="balance.php::$a" ref="a10" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -69,10 +71,10 @@ Definition in file <a class="el" href="balance_8php-source.html">balance.php</a>
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00108">108</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
Definition at line <a class="el" href="balance_8php-source.html#l00113">113</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="balance.php::$b" ref="a10" args="" --><p>
<a class="anchor" name="a11"></a><!-- doxytag: member="balance.php::$b" ref="a11" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -94,12 +96,12 @@ Definition at line <a class="el" href="balance_8php-source.html#l00108">108</a>
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00109">109</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>.
Definition at line <a class="el" href="balance_8php-source.html#l00114">114</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>.
<p>
Referenced by <a class="el" href="class_8pdf_8php-source.html#l01138">Cpdf::ARC4()</a>, and <a class="el" href="decla_8BE_8inc_8php-source.html#l00036">MakeListingVat()</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="balance.php::$c" ref="a7" args="" --><p>
<a class="anchor" name="a8"></a><!-- doxytag: member="balance.php::$c" ref="a8" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -121,7 +123,32 @@ Referenced by <a class="el" href="class_8pdf_8php-source.html#l01138">Cpdf::ARC4
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00082">82</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
Definition at line <a class="el" href="balance_8php-source.html#l00087">87</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="balance.php::$filter_year" 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">$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="balance_8php-source.html#l00073">73</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="balance.php::$hid" ref="a1" args="" --><p>
@ -146,10 +173,10 @@ Definition at line <a class="el" href="balance_8php-source.html#l00082">82</a> o
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00043">43</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
Definition at line <a class="el" href="balance_8php-source.html#l00046">46</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="balance.php::$i" ref="a11" args="" --><p>
<a class="anchor" name="a12"></a><!-- doxytag: member="balance.php::$i" ref="a12" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -171,18 +198,18 @@ Definition at line <a class="el" href="balance_8php-source.html#l00043">43</a> o
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00113">113</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>.
Definition at line <a class="el" href="balance_8php-source.html#l00118">118</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>.
<p>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l01473">Cezpdf::alink()</a>, <a class="el" href="class_8pdf_8php-source.html#l01112">Cpdf::ARC4_init()</a>, <a class="el" href="fiche__inc_8php-source.html#l01387">DisplayDetailModele()</a>, <a class="el" href="class_8pdf_8php-source.html#l01713">Cpdf::ellipse()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00360">Cezpdf::ezPRVTpageNumberSearch()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00273">Cezpdf::ezStartPageNumbers()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00331">Cezpdf::ezStopPageNumbers()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="fiche__inc_8php-source.html#l01178">Get_attr_def()</a>, <a class="el" href="fiche__inc_8php-source.html#l01146">Get_attr_min()</a>, <a class="el" href="fiche__inc_8php-source.html#l01112">Get_fiche_def_ref()</a>, <a class="el" href="class__fiche_8php-source.html#l00094">fiche_def::GetAll()</a>, <a class="el" href="class__fiche_8php-source.html#l00188">fiche::getAttribut()</a>, <a class="el" href="class__fiche_8php-source.html#l00051">fiche_def::GetAttribut()</a>, <a class="el" href="class__fiche_8php-source.html#l00315">fiche::GetByDef()</a>, <a class="el" href="class__fiche_8php-source.html#l00258">fiche::GetByType()</a>, <a class="el" href="user__common_8php-source.html#l00762">GetConcerned()</a>, <a class="el" href="jrn_8php-source.html#l00973">GetDataJrnJrId()</a>, <a class="el" href="impress__inc_8php-source.html#l00265">GetDataPoste()</a>, <a class="el" href="fiche__inc_8php-source.html#l01054">GetFicheJrn()</a>, <a class="el" href="stock__inc_8php-source.html#l00111">getFicheNameCode()</a>, <a class="el" href="postgres_8php-source.html#l00147">GetPriv()</a>, <a class="el" href="class__poste_8php-source.html#l00046">poste::GetRow()</a>, <a class="el" href="class__balance_8php-source.html#l00053">Balance::GetRow()</a>, <a class="el" href="impress__inc_8php-source.html#l00117">ImpHtml()</a>, <a class="el" href="class__widget_8php-source.html#l00084">widget::IOValue()</a>, <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>, <a class="el" href="class_8pdf_8php-source.html#l00347">Cpdf::o_pages()</a>, <a class="el" href="class_8pdf_8php-source.html#l01306">Cpdf::openFont()</a>, <a class="el" href="impress__inc_8php-source.html#l00724">ParseFormula()</a>, <a class="el" href="user__form__ven_8php-source.html#l00627">RecordInvoice()</a>, <a class="el" href="user__form__ach_8php-source.html#l00661">RecordSell()</a>, <a class="el" href="class_8pdf_8php-source.html#l01417">Cpdf::selectFont()</a>, <a class="el" href="impress__rapport_8php-source.html#l00160">ShowReportResult()</a>, <a class="el" href="class__attribut_8php-source.html#l00050">SortAttributeById()</a>, <a class="el" href="user__menu_8php-source.html#l00037">u_ShowDossier()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01518">Cezpdf::uline()</a>, <a class="el" href="form__inc_8php-source.html#l00208">UpdateForm()</a>, <a class="el" href="jrn_8php-source.html#l00282">UpdateJrn()</a>, and <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>. </td>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l01473">Cezpdf::alink()</a>, <a class="el" href="class_8pdf_8php-source.html#l01112">Cpdf::ARC4_init()</a>, <a class="el" href="fiche__inc_8php-source.html#l01390">DisplayDetailModele()</a>, <a class="el" href="class_8pdf_8php-source.html#l01713">Cpdf::ellipse()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00360">Cezpdf::ezPRVTpageNumberSearch()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00273">Cezpdf::ezStartPageNumbers()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00331">Cezpdf::ezStopPageNumbers()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="fiche__inc_8php-source.html#l01181">Get_attr_def()</a>, <a class="el" href="fiche__inc_8php-source.html#l01149">Get_attr_min()</a>, <a class="el" href="fiche__inc_8php-source.html#l01115">Get_fiche_def_ref()</a>, <a class="el" href="class__fiche_8php-source.html#l00094">fiche_def::GetAll()</a>, <a class="el" href="class__fiche_8php-source.html#l00188">fiche::getAttribut()</a>, <a class="el" href="class__fiche_8php-source.html#l00051">fiche_def::GetAttribut()</a>, <a class="el" href="class__fiche_8php-source.html#l00315">fiche::GetByDef()</a>, <a class="el" href="class__fiche_8php-source.html#l00258">fiche::GetByType()</a>, <a class="el" href="user__common_8php-source.html#l00758">GetConcerned()</a>, <a class="el" href="jrn_8php-source.html#l00973">GetDataJrnJrId()</a>, <a class="el" href="impress__inc_8php-source.html#l00265">GetDataPoste()</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="postgres_8php-source.html#l00147">GetPriv()</a>, <a class="el" href="class__poste_8php-source.html#l00048">poste::GetRow()</a>, <a class="el" href="class__balance_8php-source.html#l00053">Balance::GetRow()</a>, <a class="el" href="impress__inc_8php-source.html#l00117">ImpHtml()</a>, <a class="el" href="class__widget_8php-source.html#l00090">widget::IOValue()</a>, <a class="el" href="ac__common_8php-source.html#l00282">make_array()</a>, <a class="el" href="class_8pdf_8php-source.html#l00347">Cpdf::o_pages()</a>, <a class="el" href="class_8pdf_8php-source.html#l01306">Cpdf::openFont()</a>, <a class="el" href="impress__inc_8php-source.html#l00724">ParseFormula()</a>, <a class="el" href="user__form__ven_8php-source.html#l00627">RecordInvoice()</a>, <a class="el" href="user__form__ach_8php-source.html#l00661">RecordSell()</a>, <a class="el" href="class_8pdf_8php-source.html#l01417">Cpdf::selectFont()</a>, <a class="el" href="impress__rapport_8php-source.html#l00167">ShowReportResult()</a>, <a class="el" href="class__attribut_8php-source.html#l00050">SortAttributeById()</a>, <a class="el" href="user__menu_8php-source.html#l00037">u_ShowDossier()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01518">Cezpdf::uline()</a>, <a class="el" href="form__inc_8php-source.html#l00208">UpdateForm()</a>, <a class="el" href="jrn_8php-source.html#l00282">UpdateJrn()</a>, and <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="balance.php::$periode_end" ref="a6" args="" --><p>
<a class="anchor" name="a7"></a><!-- doxytag: member="balance.php::$periode_end" 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">$periode_end = make_array($cn,&quot;select p_id,to_char(p_end,'DD-MM-YYYY') from parm_periode order by p_id&quot;) </td>
<td class="md" nowrap valign="top">$periode_end = make_array($cn,&quot;select p_id,to_char(p_end,'DD-MM-YYYY') from parm_periode $filter_year order by p_id&quot;) </td>
</tr>
</table>
</td>
@ -198,16 +225,16 @@ Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l01473">Cezpdf::
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00077">77</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
Definition at line <a class="el" href="balance_8php-source.html#l00082">82</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="balance.php::$periode_start" ref="a4" args="" --><p>
<a class="anchor" name="a5"></a><!-- doxytag: member="balance.php::$periode_start" 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">$periode_start = make_array($cn,&quot;select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id&quot;) </td>
<td class="md" nowrap valign="top">$periode_start = make_array($cn,&quot;select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode $filter_year order by p_id&quot;) </td>
</tr>
</table>
</td>
@ -223,10 +250,10 @@ Definition at line <a class="el" href="balance_8php-source.html#l00077">77</a> o
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00070">70</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
Definition at line <a class="el" href="balance_8php-source.html#l00075">75</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="balance.php::$t_cent" ref="a8" args="" --><p>
<a class="anchor" name="a9"></a><!-- doxytag: member="balance.php::$t_cent" ref="a9" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -248,10 +275,10 @@ Definition at line <a class="el" href="balance_8php-source.html#l00070">70</a> o
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00097">97</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
Definition at line <a class="el" href="balance_8php-source.html#l00102">102</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="balance.php::$tr" ref="a12" args="" --><p>
<a class="anchor" name="a13"></a><!-- doxytag: member="balance.php::$tr" ref="a13" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -273,7 +300,7 @@ Definition at line <a class="el" href="balance_8php-source.html#l00097">97</a> o
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00119">119</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>.
Definition at line <a class="el" href="balance_8php-source.html#l00124">124</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>.
<p>
Referenced by <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, and <a class="el" href="user__menu_8php-source.html#l00037">u_ShowDossier()</a>. </td>
</tr>
@ -300,7 +327,7 @@ Referenced by <a class="el" href="user__common_8php-source.html#l00322">ListJrn(
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00067">67</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
Definition at line <a class="el" href="balance_8php-source.html#l00070">70</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="balance.php::exit" ref="a0" args="" --><p>
@ -325,18 +352,18 @@ Definition at line <a class="el" href="balance_8php-source.html#l00067">67</a> o
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00033">33</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>.
Definition at line <a class="el" href="balance_8php-source.html#l00036">36</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>.
<p>
Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>, <a class="el" href="class__user_8php-source.html#l00085">cl_user::Check()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="setup_8php-source.html#l00097">ExecuteScript()</a>, <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, <a class="el" href="user__form__ach_8php-source.html#l00471">FormAchView()</a>, <a class="el" href="user__form__fin_8php-source.html#l00146">FormFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, <a class="el" href="fiche__inc_8php-source.html#l01054">GetFicheJrn()</a>, <a class="el" href="ac__common_8php-source.html#l00191">NoAccess()</a>, <a class="el" href="class__document_8php-source.html#l00125">Document::ParseDocument()</a>, <a class="el" href="user__form__fin_8php-source.html#l00358">RecordFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00627">RecordInvoice()</a>, <a class="el" href="user__form__ods_8php-source.html#l00247">RecordODS()</a>, <a class="el" href="user__form__ach_8php-source.html#l00661">RecordSell()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, and <a class="el" href="import__inc_8php-source.html#l00090">TransferCSV()</a>. </td>
Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>, <a class="el" href="class__user_8php-source.html#l00085">cl_user::Check()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="setup_8php-source.html#l00097">ExecuteScript()</a>, <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, <a class="el" href="user__form__ach_8php-source.html#l00471">FormAchView()</a>, <a class="el" href="user__form__fin_8php-source.html#l00146">FormFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, <a class="el" href="fiche__inc_8php-source.html#l01057">GetFicheJrn()</a>, <a class="el" href="ac__common_8php-source.html#l00192">NoAccess()</a>, <a class="el" href="class__document_8php-source.html#l00131">Document::ParseDocument()</a>, <a class="el" href="user__form__fin_8php-source.html#l00358">RecordFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00627">RecordInvoice()</a>, <a class="el" href="user__form__ods_8php-source.html#l00247">RecordODS()</a>, <a class="el" href="user__form__ach_8php-source.html#l00661">RecordSell()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, and <a class="el" href="import__inc_8php-source.html#l00090">TransferCSV()</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="balance.php::label" ref="a5" args="" --><p>
<a class="anchor" name="a6"></a><!-- doxytag: member="balance.php::label" 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">$c <a class="el" href="ecrit__ouv_8php.html#a5">label</a> = &quot;Depuis&quot; </td>
<td class="md" nowrap valign="top">$c <a class="el" href="export__ouv_8php.html#a10">label</a> = &quot;Depuis&quot; </td>
</tr>
</table>
</td>
@ -352,7 +379,7 @@ Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00071">71</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
Definition at line <a class="el" href="balance_8php-source.html#l00076">76</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="balance.php::table" ref="a3" args="" --><p>
@ -361,7 +388,7 @@ Definition at line <a class="el" href="balance_8php-source.html#l00071">71</a> o
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">centralise <a class="el" href="parametre_8php.html#a16">table</a> = 1 </td>
<td class="md" nowrap valign="top">centralise <a class="el" href="parametre_8php.html#a19">table</a> = 1 </td>
</tr>
</table>
</td>
@ -377,12 +404,12 @@ Definition at line <a class="el" href="balance_8php-source.html#l00071">71</a> o
<p>
<p>
Definition at line <a class="el" href="balance_8php-source.html#l00068">68</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>.
Definition at line <a class="el" href="balance_8php-source.html#l00071">71</a> of file <a class="el" href="balance_8php-source.html">balance.php</a>.
<p>
Referenced by <a class="el" href="class__fiche_8php-source.html#l00397">fiche::blank()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="class__supplier_8php-source.html#l00083">Supplier::Summary()</a>, <a class="el" href="class__customer_8php-source.html#l00195">Customer::Summary()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="class__admin_8php-source.html#l00065">Admin::Summary()</a>, <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>, <a class="el" href="jrn_8php-source.html#l00457">ViewRecord()</a>, and <a class="el" href="class__widget_8php-source.html#l00059">widget::widget()</a>. </td>
Referenced by <a class="el" href="class__fiche_8php-source.html#l00397">fiche::blank()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="class__supplier_8php-source.html#l00083">Supplier::Summary()</a>, <a class="el" href="class__customer_8php-source.html#l00195">Customer::Summary()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, <a class="el" href="class__admin_8php-source.html#l00065">Admin::Summary()</a>, <a class="el" href="import__inc_8php-source.html#l00067">VerifImport()</a>, <a class="el" href="fiche__inc_8php-source.html#l00394">ViewFiche()</a>, <a class="el" href="jrn_8php-source.html#l00457">ViewRecord()</a>, and <a class="el" href="class__widget_8php-source.html#l00065">widget::widget()</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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -91,8 +91,8 @@
<a name="l00085"></a>00085 <span class="comment">//ereg("\\$[a-zA-Z]+[0-9]*=",$buffer,$e);</span>
<a name="l00086"></a>00086 <span class="comment">// echo $e[0];</span>
<a name="l00087"></a>00087 <span class="comment">//echo "&lt;br&gt;".$form;</span>
<a name="l00088"></a><a class="code" href="bilan_8php.html#a6">00088</a> <a class="code" href="action_8inc_8php.html#a15">$a</a>=<a class="code" href="impress__inc_8php.html#a9">ParseFormula</a>($cn,<span class="stringliteral">"$buffer"</span>,$buffer,$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>,$end,<span class="keyword">false</span>);
<a name="l00089"></a><a class="code" href="bilan_8php.html#a7">00089</a> <a class="code" href="balance_8php.html#a10">$b</a>=str_replace(<span class="stringliteral">"$"</span>,<span class="stringliteral">"\$"</span>,$a);
<a name="l00088"></a><a class="code" href="bilan_8php.html#a6">00088</a> <a class="code" href="action_8inc_8php.html#a16">$a</a>=<a class="code" href="impress__inc_8php.html#a9">ParseFormula</a>($cn,<span class="stringliteral">"$buffer"</span>,$buffer,$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>,$end,<span class="keyword">false</span>);
<a name="l00089"></a><a class="code" href="bilan_8php.html#a7">00089</a> <a class="code" href="balance_8php.html#a11">$b</a>=str_replace(<span class="stringliteral">"$"</span>,<span class="stringliteral">"\$"</span>,$a);
<a name="l00090"></a>00090
<a name="l00091"></a>00091 <span class="comment">// echo "Formule to eval".$b.'&lt;hr&gt;';</span>
<a name="l00092"></a>00092 eval(<span class="stringliteral">"$b;"</span>);
@ -129,7 +129,7 @@
<a name="l00124"></a>00124 <a class="code" href="bilan_8php.html#a9">$f2_value</a>=str_replace(<span class="stringliteral">"$"</span>,<span class="stringliteral">""</span>,$f2_value);
<a name="l00125"></a>00125 <span class="comment">// DEBUG</span>
<a name="l00126"></a>00126 <span class="comment">//echo "f2_value=$f2_value";</span>
<a name="l00127"></a>00127 <a class="code" href="action_8inc_8php.html#a15">$a</a>=${<span class="stringliteral">"$f2_value"</span>};
<a name="l00127"></a>00127 <a class="code" href="action_8inc_8php.html#a16">$a</a>=${<span class="stringliteral">"$f2_value"</span>};
<a name="l00128"></a>00128 <span class="comment">// DEBUG echo " a = $a";</span>
<a name="l00129"></a><a class="code" href="bilan_8php.html#a10">00129</a> <a class="code" href="bilan_8php.html#a10">$line_rtf</a>=str_replace($f2_str,$a,$line_rtf);
<a name="l00130"></a>00130
@ -142,7 +142,7 @@
<a name="l00137"></a>00137
<a name="l00138"></a>00138 }<span class="comment">// rtf file is read</span>
<a name="l00139"></a>00139 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:32 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -296,7 +296,7 @@ Definition at line <a class="el" href="bilan_8php-source.html#l00129">129</a> of
<p>
Definition at line <a class="el" href="bilan_8php-source.html#l00058">58</a> of file <a class="el" href="bilan_8php-source.html">bilan.php</a>.
<p>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l01473">Cezpdf::alink()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01205">Cezpdf::ezText()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00299">Cezpdf::ezWhatPageNumber()</a>, <a class="el" href="class__document__modele_8php-source.html#l00251">Document_modele::form()</a>, <a class="el" href="import__inc_8php-source.html#l00090">TransferCSV()</a>, and <a class="el" href="class_8ezpdf_8php-source.html#l01518">Cezpdf::uline()</a>. </td>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l01473">Cezpdf::alink()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01205">Cezpdf::ezText()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00299">Cezpdf::ezWhatPageNumber()</a>, <a class="el" href="class__document__modele_8php-source.html#l00252">Document_modele::form()</a>, <a class="el" href="import__inc_8php-source.html#l00090">TransferCSV()</a>, and <a class="el" href="class_8ezpdf_8php-source.html#l01518">Cezpdf::uline()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="bilan.php::$User" ref="a1" args="" --><p>
@ -324,7 +324,7 @@ Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l01473">Cezpdf::
Definition at line <a class="el" href="bilan_8php-source.html#l00033">33</a> of file <a class="el" href="bilan_8php-source.html">bilan.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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -64,7 +64,7 @@
<a name="l00064"></a>00064 fclose($handle);
<a name="l00065"></a>00065 echo <span class="stringliteral">"Encore rien désolé"</span>;
<a name="l00066"></a>00066 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -47,10 +47,10 @@ Definition in file <a class="el" href="cbc__be_8inc_8php-source.html">cbc_be.inc
<p>
Definition at line <a class="el" href="cbc__be_8inc_8php-source.html#l00028">28</a> of file <a class="el" href="cbc__be_8inc_8php-source.html">cbc_be.inc.php</a>.
<p>
Referenced by <a class="el" href="central__inc_8php-source.html#l00036">Centralise()</a>, <a class="el" href="class__user_8php-source.html#l00040">cl_user::cl_user()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</a>, <a class="el" href="class__document_8php-source.html#l00055">Document::Generate()</a>, <a class="el" href="class__parm__code_8php-source.html#l00141">parm_code::Get()</a>, <a class="el" href="class__fiche_8php-source.html#l00074">fiche_def::Get()</a>, <a class="el" href="class__document__modele_8php-source.html#l00203">Document_modele::Get()</a>, <a class="el" href="class__document_8php-source.html#l00295">Document::Get()</a>, <a class="el" href="class__fiche_8php-source.html#l00094">fiche_def::GetAll()</a>, <a class="el" href="class__fiche_8php-source.html#l00188">fiche::getAttribut()</a>, <a class="el" href="class__fiche_8php-source.html#l00051">fiche_def::GetAttribut()</a>, <a class="el" href="class__fiche_8php-source.html#l00315">fiche::GetByDef()</a>, <a class="el" href="class__fiche_8php-source.html#l00258">fiche::GetByType()</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="class__user_8php-source.html#l00257">cl_user::GetGlobalPref()</a>, <a class="el" href="class__user_8php-source.html#l00204">cl_user::GetPreferences()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00051">fiche_def_ref::LoadAll()</a>, <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>, <a class="el" href="class__document__modele_8php-source.html#l00049">Document_modele::myList()</a>, <a class="el" href="class__action_8php-source.html#l00329">action::myList()</a>, <a class="el" href="class_8pdf_8php-source.html#l01306">Cpdf::openFont()</a>, <a class="el" href="class__own_8php-source.html#l00031">Own::Own()</a>, <a class="el" href="postgres_8php-source.html#l00032">ShowDossier()</a>, and <a class="el" href="class__fiche_8php-source.html#l00364">fiche::strAttribut()</a>. </td>
Referenced by <a class="el" href="central__inc_8php-source.html#l00036">Centralise()</a>, <a class="el" href="class__user_8php-source.html#l00040">cl_user::cl_user()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</a>, <a class="el" href="class__document_8php-source.html#l00057">Document::Generate()</a>, <a class="el" href="class__parm__code_8php-source.html#l00141">parm_code::Get()</a>, <a class="el" href="class__fiche_8php-source.html#l00074">fiche_def::Get()</a>, <a class="el" href="class__document__modele_8php-source.html#l00204">Document_modele::Get()</a>, <a class="el" href="class__document_8php-source.html#l00359">Document::get()</a>, <a class="el" href="class__action_8php-source.html#l00162">action::get()</a>, <a class="el" href="class__fiche_8php-source.html#l00094">fiche_def::GetAll()</a>, <a class="el" href="class__fiche_8php-source.html#l00188">fiche::getAttribut()</a>, <a class="el" href="class__fiche_8php-source.html#l00051">fiche_def::GetAttribut()</a>, <a class="el" href="class__fiche_8php-source.html#l00315">fiche::GetByDef()</a>, <a class="el" href="class__fiche_8php-source.html#l00258">fiche::GetByType()</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="class__user_8php-source.html#l00257">cl_user::GetGlobalPref()</a>, <a class="el" href="class__user_8php-source.html#l00204">cl_user::GetPreferences()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00051">fiche_def_ref::LoadAll()</a>, <a class="el" href="ac__common_8php-source.html#l00282">make_array()</a>, <a class="el" href="class__document__modele_8php-source.html#l00049">Document_modele::myList()</a>, <a class="el" href="class__action_8php-source.html#l00393">action::myList()</a>, <a class="el" href="class_8pdf_8php-source.html#l01306">Cpdf::openFont()</a>, <a class="el" href="class__own_8php-source.html#l00031">Own::Own()</a>, <a class="el" href="class__document_8php-source.html#l00321">Document::Send()</a>, <a class="el" href="postgres_8php-source.html#l00032">ShowDossier()</a>, and <a class="el" href="class__fiche_8php-source.html#l00364">fiche::strAttribut()</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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -81,7 +81,7 @@
<a name="l00075"></a>00075 <span class="keywordflow">if</span> ( $ret != null) {
<a name="l00076"></a>00076 echo '&lt;<a class="code" href="constant_8php.html#a7">FORM</a> <a class="code" href="pref_8inc_8php.html#a0">METHOD</a>=<span class="stringliteral">"POST"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"central.php"</span>&gt;';
<a name="l00077"></a>00077 echo <a class="code" href="impress__bilan_8php.html#a0">$ret</a>;
<a name="l00078"></a>00078 echo '&lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"central"</span> VALUE=<span class="stringliteral">"Centralise"</span>&gt;';
<a name="l00078"></a>00078 echo '&lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"central"</span> VALUE=<span class="stringliteral">"Centralise"</span>&gt;';
<a name="l00079"></a>00079 echo '&lt;/<a class="code" href="constant_8php.html#a7">FORM</a>&gt;';
<a name="l00080"></a>00080 } <span class="keywordflow">else</span> {
<a name="l00081"></a>00081 echo '&lt;H2 <span class="keyword">class</span>=<span class="stringliteral">"info"</span>&gt; Aucune période à centraliser&lt;/H2&gt;';
@ -90,7 +90,7 @@
<a name="l00084"></a>00084 echo <span class="stringliteral">"&lt;/DIV&gt;"</span>;
<a name="l00085"></a>00085 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00086"></a>00086 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:32 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -102,7 +102,7 @@ Definition at line <a class="el" href="central_8php-source.html#l00035">35</a> o
Definition at line <a class="el" href="central_8php-source.html#l00037">37</a> of file <a class="el" href="central_8php-source.html">central.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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -145,7 +145,7 @@
<a name="l00162"></a>00162 }
<a name="l00163"></a>00163
<a name="l00164"></a>00164 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -74,9 +74,9 @@ Met les donnees centralisees dans la table centralize.
<p>
Definition at line <a class="el" href="central__inc_8php-source.html#l00036">36</a> of file <a class="el" href="central__inc_8php-source.html">central_inc.php</a>.
<p>
References <a class="el" href="user__sec_8php-source.html#l00163">$MaxJrn</a>, <a class="el" href="jrn__search_8php-source.html#l00147">$MaxLine</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="setup_8php-source.html#l00403">$Res2</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00260">EndSql()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>.
References <a class="el" href="user__sec_8php-source.html#l00163">$MaxJrn</a>, <a class="el" href="jrn__search_8php-source.html#l00147">$MaxLine</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="setup_8php-source.html#l00408">$Res2</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00260">EndSql()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>.
<p>
Referenced by <a class="el" href="user__menu_8php-source.html#l00464">ShowMenuAdvanced()</a>. </td>
Referenced by <a class="el" href="user__menu_8php-source.html#l00476">ShowMenuAdvanced()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="central_inc.php::isCentralize" ref="a1" args="($p_cn, $p_jrn_id)" --><p>
@ -127,7 +127,7 @@ Definition at line <a class="el" href="central__inc_8php-source.html#l00159">159
References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -158,7 +158,7 @@
<a name="l00206"></a>00206 }
<a name="l00207"></a>00207
<a name="l00208"></a>00208 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -250,12 +250,12 @@ $p_user le login user<ul>
<p>
Definition at line <a class="el" href="check__priv_8php-source.html#l00046">46</a> of file <a class="el" href="check__priv_8php-source.html">check_priv.php</a>.
<p>
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="setup_8php-source.html#l00403">$Res2</a>, <a class="el" href="check__priv_8php-source.html#l00167">CheckIsAdmin()</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="setup_8php-source.html#l00408">$Res2</a>, <a class="el" href="check__priv_8php-source.html#l00167">CheckIsAdmin()</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
<p>
Referenced by <a class="el" href="user__menu_8php-source.html#l00212">ShowMenuJrnUser()</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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -162,7 +162,7 @@ Definition at line <a class="el" href="class__attribut_8php-source.html#l00032">
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__attribut_8php-source.html">class_attribut.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:34 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -110,7 +110,7 @@ retrieve all the row from the ledger in the range of a periode
<p>
Definition at line <a class="el" href="class__balance_8php-source.html#l00053">53</a> of file <a class="el" href="class__balance_8php-source.html">class_balance.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="setup_8php-source.html#l00408">$M</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="poste_8php-source.html#l00036">GetPosteLibelle()</a>, and <a class="el" href="action_8inc_8php-source.html#l00143">label</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="setup_8php-source.html#l00413">$M</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="poste_8php-source.html#l00036">GetPosteLibelle()</a>, and <a class="el" href="action_8inc_8php-source.html#l00166">label</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -191,7 +191,7 @@ Definition at line <a class="el" href="class__balance_8php-source.html#l00032">3
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__balance_8php-source.html">class_balance.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:34 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -128,7 +128,7 @@ Definition at line <a class="el" href="class_8ezpdf_8php-source.html#l00005">5</
<p>
Definition at line <a class="el" href="class_8ezpdf_8php-source.html#l00028">28</a> of file <a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="readme_8php-source.html#l00185">$size</a>, <a class="el" href="class_8pdf_8php-source.html#l00197">Cpdf::Cpdf()</a>, <a class="el" href="class_8pdf_8php-source.html#l01639">Cpdf::getFirstPageId()</a>, and <a class="el" href="tva_8inc_8php-source.html#l00212">size</a>.
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="readme_8php-source.html#l00185">$size</a>, <a class="el" href="class_8pdf_8php-source.html#l00197">Cpdf::Cpdf()</a>, <a class="el" href="class_8pdf_8php-source.html#l01639">Cpdf::getFirstPageId()</a>, and <a class="el" href="tva_8inc_8php-source.html#l00212">size</a>.
<p>
Referenced by <a class="el" href="readme_8php-source.html#l00028">Creport::Creport()</a>. </td>
</tr>
@ -172,7 +172,7 @@ Referenced by <a class="el" href="readme_8php-source.html#l00028">Creport::Crepo
<p>
Definition at line <a class="el" href="class_8ezpdf_8php-source.html#l01473">1473</a> of file <a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="bilan_8php-source.html#l00058">$start</a>, and <a class="el" href="document__modele_8inc_8php-source.html#l00047">start</a>.
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="bilan_8php-source.html#l00058">$start</a>, and <a class="el" href="document__modele_8inc_8php-source.html#l00045">start</a>.
<p>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00607">ezTable()</a>. </td>
</tr>
@ -668,7 +668,7 @@ Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00607">ezTable(
<p>
Definition at line <a class="el" href="class_8ezpdf_8php-source.html#l00360">360</a> of file <a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00113">$i</a>.
References <a class="el" href="balance_8php-source.html#l00118">$i</a>.
<p>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00377">ezPRVTaddPageNumbers()</a>. </td>
</tr>
@ -753,7 +753,7 @@ Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00377">ezPRVTad
<p>
Definition at line <a class="el" href="class_8ezpdf_8php-source.html#l00526">526</a> of file <a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a>.
<p>
References <a class="el" href="readme_8php-source.html#l00239">$ok</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">Cpdf::$options</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00022">$y</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00204">ezNewPage()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00468">ezSetY()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01205">ezText()</a>, <a class="el" href="tva_8inc_8php-source.html#l00212">size</a>, <a class="el" href="document__modele_8inc_8php-source.html#l00047">start</a>, and <a class="el" href="class_8pdf_8php-source.html#l03029">Cpdf::transaction()</a>.
References <a class="el" href="readme_8php-source.html#l00239">$ok</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">Cpdf::$options</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00022">$y</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00204">ezNewPage()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00468">ezSetY()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01205">ezText()</a>, <a class="el" href="tva_8inc_8php-source.html#l00212">size</a>, <a class="el" href="document__modele_8inc_8php-source.html#l00045">start</a>, and <a class="el" href="class_8pdf_8php-source.html#l03029">Cpdf::transaction()</a>.
<p>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00607">ezTable()</a>. </td>
</tr>
@ -850,7 +850,7 @@ Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00607">ezTable(
<p>
Definition at line <a class="el" href="class_8ezpdf_8php-source.html#l00497">497</a> of file <a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a>.
<p>
References <a class="el" href="fiche__new_8php-source.html#l00131">$n</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00090">$x</a>, <a class="el" href="class_8pdf_8php-source.html#l01675">Cpdf::line()</a>, <a class="el" href="class_8pdf_8php-source.html#l01789">Cpdf::setLineStyle()</a>, and <a class="el" href="class_8pdf_8php-source.html#l01665">Cpdf::setStrokeColor()</a>.
References <a class="el" href="fiche__new_8php-source.html#l00131">$n</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00091">$x</a>, <a class="el" href="class_8pdf_8php-source.html#l01675">Cpdf::line()</a>, <a class="el" href="class_8pdf_8php-source.html#l01789">Cpdf::setLineStyle()</a>, and <a class="el" href="class_8pdf_8php-source.html#l01665">Cpdf::setStrokeColor()</a>.
<p>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00607">ezTable()</a>. </td>
</tr>
@ -1088,7 +1088,7 @@ Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00526">ezPrvtTa
<p>
Definition at line <a class="el" href="class_8ezpdf_8php-source.html#l00273">273</a> of file <a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00113">$i</a>, and <a class="el" href="tva_8inc_8php-source.html#l00212">size</a>.
References <a class="el" href="balance_8php-source.html#l00118">$i</a>, and <a class="el" href="tva_8inc_8php-source.html#l00212">size</a>.
<p>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00299">ezWhatPageNumber()</a>. </td>
</tr>
@ -1137,7 +1137,7 @@ Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00299">ezWhatPa
<p>
Definition at line <a class="el" href="class_8ezpdf_8php-source.html#l00331">331</a> of file <a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00113">$i</a>. </td>
References <a class="el" href="balance_8php-source.html#l00118">$i</a>. </td>
</tr>
</table>
<a class="anchor" name="a14"></a><!-- doxytag: member="Cezpdf::ezStream" ref="a14" args="($options='')" --><p>
@ -1222,7 +1222,7 @@ References <a class="el" href="class_8ezpdf_8php-source.html#l00448">ezPRVTclean
<p>
Definition at line <a class="el" href="class_8ezpdf_8php-source.html#l00607">607</a> of file <a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a>.
<p>
References <a class="el" href="readme_8php-source.html#l00186">$height</a>, <a class="el" href="readme_8php-source.html#l00239">$ok</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">Cpdf::$options</a>, <a class="el" href="line__update_8php-source.html#l00095">$p</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bilan_8php-source.html#l00058">$start</a>, <a class="el" href="impress__rapport_8php-source.html#l00058">$t</a>, <a class="el" href="admin_8inc_8php-source.html#l00115">$w</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00090">$x</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00022">$y</a>, <a class="el" href="class_8pdf_8php-source.html#l02544">Cpdf::addObject()</a>, <a class="el" href="class_8pdf_8php-source.html#l02156">Cpdf::addText()</a>, <a class="el" href="class_8pdf_8php-source.html#l02331">Cpdf::addTextWrap()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01473">alink()</a>, <a class="el" href="class_8pdf_8php-source.html#l02518">Cpdf::closeObject()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00204">ezNewPage()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01195">ezProcessText()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00591">ezPrvtGetTextWidth()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00526">ezPrvtTableColumnHeadings()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00497">ezPrvtTableDrawLines()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00468">ezSetY()</a>, <a class="el" href="class_8pdf_8php-source.html#l01835">Cpdf::filledRectangle()</a>, <a class="el" href="class_8pdf_8php-source.html#l01943">Cpdf::getFontDecender()</a>, <a class="el" href="class_8pdf_8php-source.html#l01929">Cpdf::getFontHeight()</a>, <a class="el" href="class_8pdf_8php-source.html#l02248">Cpdf::getTextWidth()</a>, <a class="el" href="class_8pdf_8php-source.html#l01675">Cpdf::line()</a>, <a class="el" href="class_8pdf_8php-source.html#l01851">Cpdf::newPage()</a>, <a class="el" href="class_8pdf_8php-source.html#l02490">Cpdf::openObject()</a>, <a class="el" href="class_8pdf_8php-source.html#l02505">Cpdf::reopenObject()</a>, <a class="el" href="class_8pdf_8php-source.html#l02471">Cpdf::restoreState()</a>, <a class="el" href="class_8pdf_8php-source.html#l02447">Cpdf::saveState()</a>, <a class="el" href="class_8pdf_8php-source.html#l01655">Cpdf::setColor()</a>, <a class="el" href="class_8pdf_8php-source.html#l01789">Cpdf::setLineStyle()</a>, <a class="el" href="class_8pdf_8php-source.html#l01665">Cpdf::setStrokeColor()</a>, <a class="el" href="document__modele_8inc_8php-source.html#l00047">start</a>, <a class="el" href="class_8pdf_8php-source.html#l03029">Cpdf::transaction()</a>, <a class="el" href="action_8inc_8php-source.html#l00138">value</a>, and <a class="el" href="tva_8inc_8php-source.html#l00215">width</a>. </td>
References <a class="el" href="readme_8php-source.html#l00186">$height</a>, <a class="el" href="readme_8php-source.html#l00239">$ok</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">Cpdf::$options</a>, <a class="el" href="line__update_8php-source.html#l00095">$p</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bilan_8php-source.html#l00058">$start</a>, <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>, <a class="el" href="admin_8inc_8php-source.html#l00115">$w</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00091">$x</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00022">$y</a>, <a class="el" href="class_8pdf_8php-source.html#l02544">Cpdf::addObject()</a>, <a class="el" href="class_8pdf_8php-source.html#l02156">Cpdf::addText()</a>, <a class="el" href="class_8pdf_8php-source.html#l02331">Cpdf::addTextWrap()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01473">alink()</a>, <a class="el" href="class_8pdf_8php-source.html#l02518">Cpdf::closeObject()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00204">ezNewPage()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01195">ezProcessText()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00591">ezPrvtGetTextWidth()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00526">ezPrvtTableColumnHeadings()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00497">ezPrvtTableDrawLines()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00468">ezSetY()</a>, <a class="el" href="class_8pdf_8php-source.html#l01835">Cpdf::filledRectangle()</a>, <a class="el" href="class_8pdf_8php-source.html#l01943">Cpdf::getFontDecender()</a>, <a class="el" href="class_8pdf_8php-source.html#l01929">Cpdf::getFontHeight()</a>, <a class="el" href="class_8pdf_8php-source.html#l02248">Cpdf::getTextWidth()</a>, <a class="el" href="class_8pdf_8php-source.html#l01675">Cpdf::line()</a>, <a class="el" href="class_8pdf_8php-source.html#l01851">Cpdf::newPage()</a>, <a class="el" href="class_8pdf_8php-source.html#l02490">Cpdf::openObject()</a>, <a class="el" href="class_8pdf_8php-source.html#l02505">Cpdf::reopenObject()</a>, <a class="el" href="class_8pdf_8php-source.html#l02471">Cpdf::restoreState()</a>, <a class="el" href="class_8pdf_8php-source.html#l02447">Cpdf::saveState()</a>, <a class="el" href="class_8pdf_8php-source.html#l01655">Cpdf::setColor()</a>, <a class="el" href="class_8pdf_8php-source.html#l01789">Cpdf::setLineStyle()</a>, <a class="el" href="class_8pdf_8php-source.html#l01665">Cpdf::setStrokeColor()</a>, <a class="el" href="document__modele_8inc_8php-source.html#l00045">start</a>, <a class="el" href="class_8pdf_8php-source.html#l03029">Cpdf::transaction()</a>, <a class="el" href="action_8inc_8php-source.html#l00161">value</a>, and <a class="el" href="tva_8inc_8php-source.html#l00215">width</a>. </td>
</tr>
</table>
<a class="anchor" name="a23"></a><!-- doxytag: member="Cezpdf::ezText" ref="a23" args="($text, $size=0, $options=array(), $test=0)" --><p>
@ -1275,7 +1275,7 @@ References <a class="el" href="readme_8php-source.html#l00186">$height</a>, <a c
<p>
Definition at line <a class="el" href="class_8ezpdf_8php-source.html#l01205">1205</a> of file <a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a>.
<p>
References <a class="el" href="readme_8php-source.html#l00186">$height</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">Cpdf::$options</a>, <a class="el" href="user__sec_8php-source.html#l00175">$right</a>, <a class="el" href="readme_8php-source.html#l00185">$size</a>, <a class="el" href="bilan_8php-source.html#l00058">$start</a>, <a class="el" href="class_8pdf_8php-source.html#l02331">Cpdf::addTextWrap()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00204">ezNewPage()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01195">ezProcessText()</a>, <a class="el" href="class_8pdf_8php-source.html#l01929">Cpdf::getFontHeight()</a>, <a class="el" href="class_8pdf_8php-source.html#l01675">Cpdf::line()</a>, <a class="el" href="tva_8inc_8php-source.html#l00212">size</a>, and <a class="el" href="document__modele_8inc_8php-source.html#l00047">start</a>.
References <a class="el" href="readme_8php-source.html#l00186">$height</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">Cpdf::$options</a>, <a class="el" href="user__sec_8php-source.html#l00175">$right</a>, <a class="el" href="readme_8php-source.html#l00185">$size</a>, <a class="el" href="bilan_8php-source.html#l00058">$start</a>, <a class="el" href="class_8pdf_8php-source.html#l02331">Cpdf::addTextWrap()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00204">ezNewPage()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l01195">ezProcessText()</a>, <a class="el" href="class_8pdf_8php-source.html#l01929">Cpdf::getFontHeight()</a>, <a class="el" href="class_8pdf_8php-source.html#l01675">Cpdf::line()</a>, <a class="el" href="tva_8inc_8php-source.html#l00212">size</a>, and <a class="el" href="document__modele_8inc_8php-source.html#l00045">start</a>.
<p>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00526">ezPrvtTableColumnHeadings()</a>. </td>
</tr>
@ -1414,7 +1414,7 @@ References <a class="el" href="eub__be_8inc_8php-source.html#l00052">$code</a>.
<p>
Definition at line <a class="el" href="class_8ezpdf_8php-source.html#l01518">1518</a> of file <a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="bilan_8php-source.html#l00058">$start</a>, and <a class="el" href="document__modele_8inc_8php-source.html#l00047">start</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="bilan_8php-source.html#l00058">$start</a>, and <a class="el" href="document__modele_8inc_8php-source.html#l00045">start</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -1522,7 +1522,7 @@ Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00526">ezPrvtTa
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/html/addon/<a class="el" href="class_8ezpdf_8php-source.html">class.ezpdf.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:34 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:37 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>

View file

@ -58,7 +58,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a21">addLink</a> ($url, $x0, $y0, $x1, $y1)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a22">addInternalLink</a> ($<a class="el" href="ecrit__ouv_8php.html#a5">label</a>, $x0, $y0, $x1, $y1)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a22">addInternalLink</a> ($<a class="el" href="export__ouv_8php.html#a10">label</a>, $x0, $y0, $x1, $y1)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a23">setEncryption</a> ($userPass='', $ownerPass='', $pc=array())</td></tr>
@ -138,9 +138,9 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a61">addObject</a> ($<a class="el" href="impress__fiche_8php.html#a6">id</a>, $options='add')</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a62">addInfo</a> ($<a class="el" href="ecrit__ouv_8php.html#a5">label</a>, $<a class="el" href="ecrit__ouv_8php.html#a7">value</a>=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a62">addInfo</a> ($<a class="el" href="export__ouv_8php.html#a10">label</a>, $<a class="el" href="ecrit__ouv_8php.html#a7">value</a>=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a63">setPreferences</a> ($<a class="el" href="ecrit__ouv_8php.html#a5">label</a>, $<a class="el" href="ecrit__ouv_8php.html#a7">value</a>=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a63">setPreferences</a> ($<a class="el" href="export__ouv_8php.html#a10">label</a>, $<a class="el" href="ecrit__ouv_8php.html#a7">value</a>=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a64">PRVT_getBytes</a> (&amp;$data, $pos, $num)</td></tr>
@ -154,7 +154,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a69">openHere</a> ($style, $a=0, $b=0, $c=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a70">addDestination</a> ($<a class="el" href="ecrit__ouv_8php.html#a5">label</a>, $style, $a=0, $b=0, $c=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a70">addDestination</a> ($<a class="el" href="export__ouv_8php.html#a10">label</a>, $style, $a=0, $b=0, $c=0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html#a71">setFontFamily</a> ($family, $options='')</td></tr>
@ -531,7 +531,7 @@ add a link in the document to an internal destination (ie. within the document)
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l01173">1173</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00143">label</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00166">label</a>. </td>
</tr>
</table>
<a class="anchor" name="a66"></a><!-- doxytag: member="Cpdf::addJpegFromFile" ref="a66" args="($img, $x, $y, $w=0, $h=0)" --><p>
@ -1025,7 +1025,7 @@ ARC4 encrypt a text string
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l01138">1138</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="balance_8php-source.html#l00109">$b</a>, <a class="el" href="admin_8inc_8php-source.html#l00080">$c</a>, and <a class="el" href="impress__rapport_8php-source.html#l00058">$t</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="balance_8php-source.html#l00114">$b</a>, <a class="el" href="admin_8inc_8php-source.html#l00080">$c</a>, and <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>. </td>
</tr>
</table>
<a class="anchor" name="a19"></a><!-- doxytag: member="Cpdf::ARC4_init" ref="a19" args="($key='')" --><p>
@ -1057,7 +1057,7 @@ initialize the ARC4 encryption
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l01112">1112</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00113">$i</a>, and <a class="el" href="impress__rapport_8php-source.html#l00058">$t</a>. </td>
References <a class="el" href="balance_8php-source.html#l00118">$i</a>, and <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>. </td>
</tr>
</table>
<a class="anchor" name="a24"></a><!-- doxytag: member="Cpdf::checkAllHere" ref="a24" args="()" --><p>
@ -1282,7 +1282,7 @@ draws an ellipse in the current line style centered at $x0,$y0, radii $r1,$r2 if
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l01713">1713</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="poste__search_8php-source.html#l00053">$c1</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, and <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="poste__search_8php-source.html#l00053">$c1</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, and <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>. </td>
</tr>
</table>
<a class="anchor" name="a18"></a><!-- doxytag: member="Cpdf::encryptInit" ref="a18" args="($id)" --><p>
@ -1831,7 +1831,7 @@ an action object, used to link to URLS initially
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00726">726</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, and <a class="el" href="action_8inc_8php-source.html#l00143">label</a>. </td>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, and <a class="el" href="action_8inc_8php-source.html#l00166">label</a>. </td>
</tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="Cpdf::o_annotation" ref="a12" args="($id, $action, $options='')" --><p>
@ -1878,7 +1878,7 @@ an annotation object, this will add an annotation to the current page. initially
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00769">769</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="pref_8inc_8php-source.html#l00128">$label</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, and <a class="el" href="action_8inc_8php-source.html#l00143">label</a>. </td>
References <a class="el" href="pref_8inc_8php-source.html#l00138">$label</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, and <a class="el" href="action_8inc_8php-source.html#l00166">label</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="Cpdf::o_catalog" ref="a3" args="($id, $action, $options='')" --><p>
@ -1925,7 +1925,7 @@ define the document catalog, the overall controller for the document
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00297">297</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="periode_8inc_8php-source.html#l00031">$action</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, <a class="el" href="class_8pdf_8php-source.html#l00259">o_viewerPreferences()</a>, and <a class="el" href="class_8pdf_8php-source.html#l02949">openHere()</a>.
References <a class="el" href="periode_8inc_8php-source.html#l00031">$action</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, <a class="el" href="class_8pdf_8php-source.html#l00259">o_viewerPreferences()</a>, and <a class="el" href="class_8pdf_8php-source.html#l02949">openHere()</a>.
<p>
Referenced by <a class="el" href="class_8pdf_8php-source.html#l00445">o_outlines()</a>, and <a class="el" href="class_8pdf_8php-source.html#l00347">o_pages()</a>. </td>
</tr>
@ -1974,7 +1974,7 @@ the contents objects hold all of the content which appears on pages
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00890">890</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, and <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>. </td>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, and <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="Cpdf::o_destination" ref="a1" args="($id, $action, $options='')" --><p>
@ -2021,7 +2021,7 @@ destination object, used to specify the location for the user to jump to, presen
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00224">224</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="periode_8inc_8php-source.html#l00031">$action</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, and <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>. </td>
References <a class="el" href="periode_8inc_8php-source.html#l00031">$action</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, and <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>. </td>
</tr>
</table>
<a class="anchor" name="a16"></a><!-- doxytag: member="Cpdf::o_encryption" ref="a16" args="($id, $action, $options='')" --><p>
@ -2068,7 +2068,7 @@ encryption object.
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l01015">1015</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="periode_8inc_8php-source.html#l00031">$action</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, and <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>. </td>
References <a class="el" href="periode_8inc_8php-source.html#l00031">$action</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, and <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="Cpdf::o_font" ref="a6" args="($id, $action, $options='')" --><p>
@ -2115,7 +2115,7 @@ an object to hold the font description
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00475">475</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, <a class="el" href="class_8pdf_8php-source.html#l03022">addMessage()</a>, <a class="el" href="action_8inc_8php-source.html#l00137">name</a>, <a class="el" href="class_8pdf_8php-source.html#l00610">o_fontEncoding()</a>, and <a class="el" href="class_8pdf_8php-source.html#l00347">o_pages()</a>. </td>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, <a class="el" href="class_8pdf_8php-source.html#l03022">addMessage()</a>, <a class="el" href="action_8inc_8php-source.html#l00160">name</a>, <a class="el" href="class_8pdf_8php-source.html#l00610">o_fontEncoding()</a>, and <a class="el" href="class_8pdf_8php-source.html#l00347">o_pages()</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="Cpdf::o_fontDescriptor" ref="a7" args="($id, $action, $options='')" --><p>
@ -2162,7 +2162,7 @@ a font descriptor, needed for including additional fonts
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00559">559</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, <a class="el" href="action_8inc_8php-source.html#l00143">label</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>. </td>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, <a class="el" href="action_8inc_8php-source.html#l00166">label</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="Cpdf::o_fontEncoding" ref="a8" args="($id, $action, $options='')" --><p>
@ -2209,7 +2209,7 @@ the font encoding
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00610">610</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="pref_8inc_8php-source.html#l00128">$label</a>, <a class="el" href="jrn__add_8php-source.html#l00181">$num</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, and <a class="el" href="action_8inc_8php-source.html#l00143">label</a>.
References <a class="el" href="pref_8inc_8php-source.html#l00138">$label</a>, <a class="el" href="jrn__add_8php-source.html#l00181">$num</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, and <a class="el" href="action_8inc_8php-source.html#l00166">label</a>.
<p>
Referenced by <a class="el" href="class_8pdf_8php-source.html#l00475">o_font()</a>. </td>
</tr>
@ -2258,7 +2258,7 @@ an image object, will be an XObject in the document, includes description and da
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00940">940</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="periode_8inc_8php-source.html#l00031">$action</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, and <a class="el" href="action_8inc_8php-source.html#l00143">label</a>. </td>
References <a class="el" href="periode_8inc_8php-source.html#l00031">$action</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, and <a class="el" href="action_8inc_8php-source.html#l00166">label</a>. </td>
</tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="Cpdf::o_info" ref="a10" args="($id, $action, $options='')" --><p>
@ -2305,7 +2305,7 @@ define the document information
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00682">682</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, and <a class="el" href="class_8pdf_8php-source.html#l01958">filterText()</a>. </td>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, and <a class="el" href="class_8pdf_8php-source.html#l01958">filterText()</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="Cpdf::o_outlines" ref="a5" args="($id, $action, $options='')" --><p>
@ -2352,7 +2352,7 @@ define the outlines in the doc, empty for now
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00445">445</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, and <a class="el" href="class_8pdf_8php-source.html#l00297">o_catalog()</a>. </td>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, and <a class="el" href="class_8pdf_8php-source.html#l00297">o_catalog()</a>. </td>
</tr>
</table>
<a class="anchor" name="a13"></a><!-- doxytag: member="Cpdf::o_page" ref="a13" args="($id, $action, $options='')" --><p>
@ -2399,7 +2399,7 @@ a page object, it also creates a contents object to hold its contents
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00821">821</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="admin__repo_8php-source.html#l00163">$count</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, and <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>. </td>
References <a class="el" href="admin__repo_8php-source.html#l00163">$count</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, and <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="Cpdf::o_pages" ref="a4" args="($id, $action, $options='')" --><p>
@ -2446,7 +2446,7 @@ object which is a parent to the pages in the document
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00347">347</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, <a class="el" href="action_8inc_8php-source.html#l00143">label</a>, and <a class="el" href="class_8pdf_8php-source.html#l00297">o_catalog()</a>.
References <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, <a class="el" href="action_8inc_8php-source.html#l00166">label</a>, and <a class="el" href="class_8pdf_8php-source.html#l00297">o_catalog()</a>.
<p>
Referenced by <a class="el" href="class_8pdf_8php-source.html#l00475">o_font()</a>, and <a class="el" href="class_8pdf_8php-source.html#l00647">o_procset()</a>. </td>
</tr>
@ -2495,7 +2495,7 @@ the document procset, solves some problems with printing to old PS printers
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00647">647</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, <a class="el" href="action_8inc_8php-source.html#l00143">label</a>, and <a class="el" href="class_8pdf_8php-source.html#l00347">o_pages()</a>. </td>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="class_8pdf_8php-source.html#l00125">$options</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, <a class="el" href="action_8inc_8php-source.html#l00166">label</a>, and <a class="el" href="class_8pdf_8php-source.html#l00347">o_pages()</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="Cpdf::o_viewerPreferences" ref="a2" args="($id, $action, $options='')" --><p>
@ -2542,7 +2542,7 @@ set the viewer preferences
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l00259">259</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, and <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>.
References <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, and <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>.
<p>
Referenced by <a class="el" href="class_8pdf_8php-source.html#l00297">o_catalog()</a>. </td>
</tr>
@ -2577,7 +2577,7 @@ private
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l01306">1306</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="readme_8php-source.html#l00174">$bits</a>, <a class="el" href="readme_8php-source.html#l00150">$data</a>, <a class="el" href="show__document__modele_8php-source.html#l00060">$file</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, and <a class="el" href="action_8inc_8php-source.html#l00137">name</a>. </td>
References <a class="el" href="readme_8php-source.html#l00174">$bits</a>, <a class="el" href="readme_8php-source.html#l00150">$data</a>, <a class="el" href="show__document__modele_8php-source.html#l00060">$file</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, and <a class="el" href="action_8inc_8php-source.html#l00160">name</a>. </td>
</tr>
</table>
<a class="anchor" name="a69"></a><!-- doxytag: member="Cpdf::openHere" ref="a69" args="($style, $a=0, $b=0, $c=0)" --><p>
@ -3313,7 +3313,7 @@ if the font is not loaded then load it and make the required object else just ma
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l01417">1417</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="impress__jrn_8php-source.html#l00035">$d</a>, <a class="el" href="readme_8php-source.html#l00150">$data</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="fiche__new_8php-source.html#l00136">$list</a>, <a class="el" href="jrn__add_8php-source.html#l00181">$num</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, <a class="el" href="action_8inc_8php-source.html#l00146">extra</a>, <a class="el" href="action_8inc_8php-source.html#l00137">name</a>, and <a class="el" href="tva_8inc_8php-source.html#l00215">width</a>. </td>
References <a class="el" href="impress__jrn_8php-source.html#l00035">$d</a>, <a class="el" href="readme_8php-source.html#l00150">$data</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="fiche__new_8php-source.html#l00136">$list</a>, <a class="el" href="jrn__add_8php-source.html#l00181">$num</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, <a class="el" href="action_8inc_8php-source.html#l00169">extra</a>, <a class="el" href="action_8inc_8php-source.html#l00160">name</a>, and <a class="el" href="tva_8inc_8php-source.html#l00215">width</a>. </td>
</tr>
</table>
<a class="anchor" name="a32"></a><!-- doxytag: member="Cpdf::setColor" ref="a32" args="($r, $g, $b, $force=0)" --><p>
@ -3444,7 +3444,7 @@ set the encryption of the document can be used to turn it on and/or set the pass
<p>
Definition at line <a class="el" href="class_8pdf_8php-source.html#l01184">1184</a> of file <a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a>.
<p>
References <a class="el" href="line__update_8php-source.html#l00095">$p</a>, and <a class="el" href="impress__bilan_8php-source.html#l00038">print</a>. </td>
References <a class="el" href="line__update_8php-source.html#l00095">$p</a>, and <a class="el" href="impress__bilan_8php-source.html#l00041">print</a>. </td>
</tr>
</table>
<a class="anchor" name="a71"></a><!-- doxytag: member="Cpdf::setFontFamily" ref="a71" args="($family, $options='')" --><p>
@ -4717,7 +4717,7 @@ Definition at line <a class="el" href="class_8pdf_8php-source.html#l00134">134</
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/html/addon/<a class="el" href="class_8pdf_8php-source.html">class.pdf.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:37 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>

View file

@ -164,7 +164,7 @@ Definition at line <a class="el" href="readme_8php-source.html#l00026">26</a> of
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/html/addon/<a class="el" href="readme_8php-source.html">readme.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:37 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>

View file

@ -122,7 +122,7 @@ Get all info contains in the view thanks to the poste elt (account).
<p>
Definition at line <a class="el" href="class__customer_8php-source.html#l00057">57</a> of file <a class="el" href="class__customer_8php-source.html">class_customer.php</a>.
<p>
References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="facture_8inc_8php-source.html#l00194">f_id</a>, and <a class="el" href="action_8inc_8php-source.html#l00137">name</a>.
References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="facture_8inc_8php-source.html#l00194">f_id</a>, and <a class="el" href="action_8inc_8php-source.html#l00160">name</a>.
<p>
Referenced by <a class="el" href="class__customer_8php-source.html#l00084">VatListing()</a>. </td>
</tr>
@ -160,7 +160,7 @@ parm :<ul>
<p>
Definition at line <a class="el" href="class__customer_8php-source.html#l00195">195</a> of file <a class="el" href="class__customer_8php-source.html">class_customer.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="bank_8inc_8php-source.html#l00110">$bar</a>, <a class="el" href="impress__fiche_8php-source.html#l00079">$e</a>, <a class="el" href="bank_8inc_8php-source.html#l00098">$offset</a>, <a class="el" href="bank_8inc_8php-source.html#l00097">$page</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="admin_8inc_8php-source.html#l00128">$search</a>, <a class="el" href="admin_8inc_8php-source.html#l00111">$url</a>, <a class="el" href="class__fiche_8php-source.html#l00289">fiche::CountByDef()</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="class__fiche_8php-source.html#l00771">fiche::GetAll()</a>, <a class="el" href="user__common_8php-source.html#l00862">jrn_navigation_bar()</a>, <a class="el" href="user__impress_8php-source.html#l00082">poste</a>, and <a class="el" href="balance_8php-source.html#l00068">table</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="bank_8inc_8php-source.html#l00110">$bar</a>, <a class="el" href="impress__fiche_8php-source.html#l00082">$e</a>, <a class="el" href="bank_8inc_8php-source.html#l00098">$offset</a>, <a class="el" href="bank_8inc_8php-source.html#l00097">$page</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="admin_8inc_8php-source.html#l00128">$search</a>, <a class="el" href="admin_8inc_8php-source.html#l00111">$url</a>, <a class="el" href="class__fiche_8php-source.html#l00289">fiche::CountByDef()</a>, <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>, <a class="el" href="class__fiche_8php-source.html#l00778">fiche::GetAll()</a>, <a class="el" href="user__common_8php-source.html#l00858">jrn_navigation_bar()</a>, <a class="el" href="user__impress_8php-source.html#l00082">poste</a>, and <a class="el" href="balance_8php-source.html#l00071">table</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="Customer::VatListing" ref="a2" args="($p_year)" --><p>
@ -190,7 +190,7 @@ References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a c
<p>
Get all the info for making a vat listing for the vat administration.
<p>
<dl compact><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>optimize SQL</dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000003">Todo:</a></b></dt><dd>optimize SQL</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>periode</em>&nbsp;</td><td></td></tr>
@ -201,7 +201,7 @@ Get all the info for making a vat listing for the vat administration.
<p>
Definition at line <a class="el" href="class__customer_8php-source.html#l00084">84</a> of file <a class="el" href="class__customer_8php-source.html">class_customer.php</a>.
<p>
References <a class="el" href="impress__listing__client_8php-source.html#l00035">$a_Res</a>, <a class="el" href="admin_8inc_8php-source.html#l00080">$c</a>, <a class="el" href="client_8inc_8php-source.html#l00049">$customer</a>, <a class="el" href="impress__fiche_8php-source.html#l00079">$e</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="setup_8php-source.html#l00403">$Res2</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="impress__rapport_8php-source.html#l00058">$t</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="class__customer_8php-source.html#l00057">GetFromPoste()</a>, and <a class="el" href="action_8inc_8php-source.html#l00137">name</a>. </td>
References <a class="el" href="impress__listing__client_8php-source.html#l00035">$a_Res</a>, <a class="el" href="admin_8inc_8php-source.html#l00080">$c</a>, <a class="el" href="client_8inc_8php-source.html#l00049">$customer</a>, <a class="el" href="impress__fiche_8php-source.html#l00082">$e</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="setup_8php-source.html#l00408">$Res2</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="class__customer_8php-source.html#l00057">GetFromPoste()</a>, and <a class="el" href="action_8inc_8php-source.html#l00160">name</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -357,7 +357,7 @@ Definition at line <a class="el" href="class__customer_8php-source.html#l00045">
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__customer_8php-source.html">class_customer.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -16,7 +16,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a1">Generate</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generate the document, Call $this-&gt;Replace to replace tag by value. <a href="#a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a2">ParseDocument</a> ($p_dir, $p_file)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a2">ParseDocument</a> ($p_dir, $p_file, $p_type)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function parse a document and replace all the predefined tags by a value. This functions generate diffent documents (invoice, order, letter) with the info from the database. <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a3">SaveGenerated</a> ($p_file)</td></tr>
@ -28,19 +28,22 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a5">a_ref</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">create and compute a string for reference the doc &lt;A ...&gt; <a href="#a5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a6">Get</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a6">Send</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a7">Replace</a> ($p_tag)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a7">get</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get complete all the data member thx info from the database. <a href="#a7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a8">Replace</a> ($p_tag)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">replace the TAG by the real value, this value can be into the database or in $_POST The possible tags are<ul>
<li>[CUST_NAME] customer's name</li><li>[CUST_ADDR_1] customer's address line 1</li><li>[CUST_CP] customer's ZIP code</li><li>[CUST_CO] customer's country</li><li>[CUST_VAT] customer's VAT</li><li>[MARCH_NEXT] end this item and increment the counter $i</li><li>[VEN_ART_NAME]</li><li>[VEN_ART_PRICE]</li><li>[VEN_ART_QUANT]</li><li>[VEN_ART_TVA_CODE]</li><li>[VEN_ART_TVA_AMOUNT]</li><li>[VEN_ART_STOCK_CODE]</li><li>[VEN_HTVA]</li><li>[VEN_TVAC]</li><li>[VEN_TVA]</li><li>[TOTAL_VEN_HTVA]</li><li>[DATE]</li><li>[NUMBER_ID]</li><li>[MY_NAME]</li><li>[MY_CP]</li><li>[MY_COMMUNE]</li><li>[MY_TVA]</li><li>[MY_STREET]</li><li>[MY_NUMBER] </li></ul>
<a href="#a7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a8">remove</a> ()</td></tr>
<a href="#a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a9">remove</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">remove a row from the table document, the lob object is not deleted because can be linked elsewhere <a href="#a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a9">MoveDocumentPj</a> ($p_internal)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">remove a row from the table document, the lob object is not deleted because can be linked elsewhere <a href="#a9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#a10">MoveDocumentPj</a> ($p_internal)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Move a document from the table document into the concerned row the document is not copied : it is only a link. <a href="#a9"></a><br></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Move a document from the table document into the concerned row the document is not copied : it is only a link. <a href="#a10"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#o0">$db</a></td></tr>
@ -56,13 +59,15 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#o6">$md_id</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDocument.html#o7">$d_state</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Class Document corresponds to the table document.
<p>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00027">27</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
Definition at line <a class="el" href="class__document_8php-source.html#l00028">28</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="Document::Document" ref="a0" args="($p_cn, $p_d_id=0)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@ -99,9 +104,9 @@ Definition at line <a class="el" href="class__document_8php-source.html#l00027">
<p>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00040">40</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
Definition at line <a class="el" href="class__document_8php-source.html#l00042">42</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
Referenced by <a class="el" href="class__document_8php-source.html#l00200">SaveGenerated()</a>. </td>
Referenced by <a class="el" href="class__document_8php-source.html#l00224">SaveGenerated()</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
@ -135,7 +140,7 @@ a_ref<p>
<dl compact><dt><b>Returns:</b></dt><dd>a string</dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00284">284</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
Definition at line <a class="el" href="class__document_8php-source.html#l00310">310</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>. </td>
</tr>
@ -172,21 +177,21 @@ Generate the document, Call $this-&gt;Replace to replace tag by value.
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>an array : the url where the generated doc can be found, the name of the file and his mimetype</dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000003">Todo:</a></b></dt><dd>Carefull : the slash is not windows compliant </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>Carefull : the slash is not windows compliant </dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00055">55</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
Definition at line <a class="el" href="class__document_8php-source.html#l00057">57</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</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="postgres_8php-source.html#l00251">NextSequence()</a>, <a class="el" href="class__document_8php-source.html#l00125">ParseDocument()</a>, <a class="el" href="class__document_8php-source.html#l00200">SaveGenerated()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</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="document__modele_8inc_8php-source.html#l00044">md_type</a>, <a class="el" href="postgres_8php-source.html#l00251">NextSequence()</a>, <a class="el" href="class__document_8php-source.html#l00131">ParseDocument()</a>, <a class="el" href="class__document_8php-source.html#l00224">SaveGenerated()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="Document::Get" ref="a6" args="()" --><p>
<a class="anchor" name="a7"></a><!-- doxytag: member="Document::get" 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">Document::Get </td>
<td class="md" nowrap valign="top">Document::get </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
@ -204,14 +209,16 @@ References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <
<td>
<p>
Get complete all the data member thx info from the database.
<p>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00295">295</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
Definition at line <a class="el" href="class__document_8php-source.html#l00359">359</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="show__document__modele_8php-source.html#l00060">$file</a>, <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
References <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="action_8inc_8php-source.html#l00137">ag_id</a>, and <a class="el" href="action_8inc_8php-source.html#l00256">d_state</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="Document::MoveDocumentPj" ref="a9" args="($p_internal)" --><p>
<a class="anchor" name="a10"></a><!-- doxytag: member="Document::MoveDocumentPj" ref="a10" args="($p_internal)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -245,12 +252,12 @@ Move a document from the table document into the concerned row the document is n
</dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00602">602</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
Definition at line <a class="el" href="class__document_8php-source.html#l00717">717</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="Document::ParseDocument" ref="a2" args="($p_dir, $p_file)" --><p>
<a class="anchor" name="a2"></a><!-- doxytag: member="Document::ParseDocument" ref="a2" args="($p_dir, $p_file, $p_type)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -265,7 +272,13 @@ References <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, and
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_file</em></td>
<td class="mdname" nowrap> <em>p_file</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_type</em></td>
</tr>
<tr>
<td class="md"></td>
@ -290,7 +303,8 @@ ParseDocument<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_dir</em>&nbsp;</td><td>directory name </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_file</em>&nbsp;</td><td>filename</td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_file</em>&nbsp;</td><td>filename </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_type</em>&nbsp;</td><td>For the OOo document the tag are &amp;lt and &amp;gt instead of &lt; and &gt;</td></tr>
</table>
</dl>
<dl compact><dt><b>Note:</b></dt><dd>Replace in the doc the tags by their values.<ul>
@ -298,14 +312,14 @@ ParseDocument<p>
</dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00125">125</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
Definition at line <a class="el" href="class__document_8php-source.html#l00131">131</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="poste_8inc_8php-source.html#l00069">$h</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="balance_8php-source.html#l00033">exit</a>, <a class="el" href="class__document_8php-source.html#l00363">Replace()</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>.
References <a class="el" href="poste_8inc_8php-source.html#l00069">$h</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="balance_8php-source.html#l00036">exit</a>, <a class="el" href="class__document_8php-source.html#l00407">Replace()</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>.
<p>
Referenced by <a class="el" href="class__document_8php-source.html#l00055">Generate()</a>. </td>
Referenced by <a class="el" href="class__document_8php-source.html#l00057">Generate()</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="Document::remove" ref="a8" args="()" --><p>
<a class="anchor" name="a9"></a><!-- doxytag: member="Document::remove" ref="a9" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -333,12 +347,12 @@ remove a row from the table document, the lob object is not deleted because can
<p>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00591">591</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
Definition at line <a class="el" href="class__document_8php-source.html#l00706">706</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="Document::Replace" ref="a7" args="($p_tag)" --><p>
<a class="anchor" name="a8"></a><!-- doxytag: member="Document::Replace" ref="a8" args="($p_tag)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -373,17 +387,17 @@ replace the TAG by the real value, this value can be into the database or in $_P
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>String which must replace the tag</dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>verify that price and quant are numeric </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>carefull round problem ? </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>verify that price and quant are numeric </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000004">Todo:</a></b></dt><dd>carefull round problem ? </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000005">Todo:</a></b></dt><dd>verify that price and quant are numeric </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000005">Todo:</a></b></dt><dd>carefull round problem ? </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000005">Todo:</a></b></dt><dd>verify that price and quant are numeric </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000005">Todo:</a></b></dt><dd>carefull round problem ? </dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00363">363</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
Definition at line <a class="el" href="class__document_8php-source.html#l00407">407</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="parametre_8php-source.html#l00164">$my</a>, <a class="el" href="bank_8inc_8php-source.html#l00089">$qcode</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="action_8inc_8php-source.html#l00232">ag_date</a>, <a class="el" href="readme_8php-source.html#l00200">break</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="user__common_8php-source.html#l00040">GetTvaRate()</a>, <a class="el" href="parametre_8php-source.html#l00160">MY_COMMUNE</a>, <a class="el" href="parametre_8php-source.html#l00159">MY_CP</a>, <a class="el" href="parametre_8php-source.html#l00155">MY_NAME</a>, <a class="el" href="parametre_8php-source.html#l00158">MY_NUMBER</a>, <a class="el" href="parametre_8php-source.html#l00157">MY_STREET</a>, <a class="el" href="parametre_8php-source.html#l00156">MY_TVA</a>, and <a class="el" href="action_8inc_8php-source.html#l00235">qcode</a>.
References <a class="el" href="action_8inc_8php-source.html#l00292">$act</a>, <a class="el" href="parametre_8php-source.html#l00167">$my</a>, <a class="el" href="line__update_8php-source.html#l00095">$p</a>, <a class="el" href="send__poste__pdf_8php-source.html#l00044">$poste</a>, <a class="el" href="bank_8inc_8php-source.html#l00089">$qcode</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="action_8inc_8php-source.html#l00137">ag_id</a>, <a class="el" href="readme_8php-source.html#l00200">break</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="user__common_8php-source.html#l00040">GetTvaRate()</a>, <a class="el" href="parametre_8php-source.html#l00160">MY_COMMUNE</a>, <a class="el" href="parametre_8php-source.html#l00159">MY_CP</a>, <a class="el" href="parametre_8php-source.html#l00162">MY_FAX</a>, <a class="el" href="parametre_8php-source.html#l00155">MY_NAME</a>, <a class="el" href="parametre_8php-source.html#l00158">MY_NUMBER</a>, <a class="el" href="parametre_8php-source.html#l00163">MY_PAYS</a>, <a class="el" href="parametre_8php-source.html#l00157">MY_STREET</a>, <a class="el" href="parametre_8php-source.html#l00161">MY_TEL</a>, <a class="el" href="parametre_8php-source.html#l00156">MY_TVA</a>, and <a class="el" href="action_8inc_8php-source.html#l00258">qcode</a>.
<p>
Referenced by <a class="el" href="class__document_8php-source.html#l00125">ParseDocument()</a>. </td>
Referenced by <a class="el" href="class__document_8php-source.html#l00131">ParseDocument()</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="Document::SaveGenerated" ref="a3" args="($p_file)" --><p>
@ -421,11 +435,42 @@ SaveGenerated <dl compact><dt><b>Parameters:</b></dt><dd>
<dl compact><dt><b>Returns:</b></dt><dd>0 if no error otherwise 1</dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00200">200</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
Definition at line <a class="el" href="class__document_8php-source.html#l00224">224</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="document__modele_8inc_8php-source.html#l00033">$doc</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="class__document_8php-source.html#l00040">Document()</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="postgres_8php-source.html#l00242">GetSequence()</a>, <a class="el" href="postgres_8php-source.html#l00266">Rollback()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>.
References <a class="el" href="document__modele_8inc_8php-source.html#l00031">$doc</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="class__document_8php-source.html#l00042">Document()</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="postgres_8php-source.html#l00242">GetSequence()</a>, <a class="el" href="postgres_8php-source.html#l00266">Rollback()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>.
<p>
Referenced by <a class="el" href="class__document_8php-source.html#l00055">Generate()</a>. </td>
Referenced by <a class="el" href="class__document_8php-source.html#l00057">Generate()</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="Document::Send" 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">Document::Send </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></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="class__document_8php-source.html#l00321">321</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="show__document__modele_8php-source.html#l00060">$file</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="Document::Upload" ref="a4" args="()" --><p>
@ -458,9 +503,9 @@ Upload<p>
<dl compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00231">231</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
Definition at line <a class="el" href="class__document_8php-source.html#l00257">257</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>.
<p>
References <a class="el" href="modify__op_8php-source.html#l00125">$old_oid</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="action_8inc_8php-source.html#l00137">name</a>, <a class="el" href="postgres_8php-source.html#l00266">Rollback()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
References <a class="el" href="modify__op_8php-source.html#l00125">$old_oid</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="action_8inc_8php-source.html#l00160">name</a>, <a class="el" href="postgres_8php-source.html#l00266">Rollback()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -486,7 +531,7 @@ References <a class="el" href="modify__op_8php-source.html#l00125">$old_oid</a>,
<p>
<a class="el" href="facture_8inc_8php.html#a21">action_gestion.ag_id</a> (pk)
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00031">31</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
Definition at line <a class="el" href="class__document_8php-source.html#l00032">32</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o3"></a><!-- doxytag: member="Document::$d_filename" ref="o3" args="" --><p>
@ -511,7 +556,7 @@ Definition at line <a class="el" href="class__document_8php-source.html#l00031">
<p>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00033">33</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
Definition at line <a class="el" href="class__document_8php-source.html#l00034">34</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o4"></a><!-- doxytag: member="Document::$d_lob" ref="o4" args="" --><p>
@ -536,7 +581,7 @@ Definition at line <a class="el" href="class__document_8php-source.html#l00033">
<p>
the oid of the lob
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00034">34</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
Definition at line <a class="el" href="class__document_8php-source.html#l00035">35</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o2"></a><!-- doxytag: member="Document::$d_mimetype" ref="o2" args="" --><p>
@ -561,7 +606,7 @@ Definition at line <a class="el" href="class__document_8php-source.html#l00034">
<p>
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00032">32</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
Definition at line <a class="el" href="class__document_8php-source.html#l00033">33</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o5"></a><!-- doxytag: member="Document::$d_number" ref="o5" args="" --><p>
@ -586,7 +631,32 @@ Definition at line <a class="el" href="class__document_8php-source.html#l00032">
<p>
number of the document
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00035">35</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
Definition at line <a class="el" href="class__document_8php-source.html#l00036">36</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o7"></a><!-- doxytag: member="Document::$d_state" ref="o7" 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">Document::$<a class="el" href="action_8inc_8php.html#a19">d_state</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<a class="el" href="action_8inc_8php.html#a19">document.d_state</a> status of the document
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00038">38</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o0"></a><!-- doxytag: member="Document::$db" ref="o0" args="" --><p>
@ -611,7 +681,7 @@ Definition at line <a class="el" href="class__document_8php-source.html#l00035">
<p>
Database connexion var $d_id; /*!
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00029">29</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
Definition at line <a class="el" href="class__document_8php-source.html#l00030">30</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o6"></a><!-- doxytag: member="Document::$md_id" ref="o6" args="" --><p>
@ -636,12 +706,12 @@ Definition at line <a class="el" href="class__document_8php-source.html#l00029">
<p>
document's template
<p>
Definition at line <a class="el" href="class__document_8php-source.html#l00036">36</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
Definition at line <a class="el" href="class__document_8php-source.html#l00037">37</a> of file <a class="el" href="class__document_8php-source.html">class_document.php</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__document_8php-source.html">class_document.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -88,7 +88,7 @@ Definition at line <a class="el" href="class__document__modele_8php-source.html#
<p>
Definition at line <a class="el" href="class__document__modele_8php-source.html#l00037">37</a> of file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.
<p>
References <a class="el" href="user__update_8php-source.html#l00032">$p_id</a>, and <a class="el" href="action_8inc_8php-source.html#l00252">md_id</a>. </td>
References <a class="el" href="user__update_8php-source.html#l00032">$p_id</a>, and <a class="el" href="action_8inc_8php-source.html#l00277">md_id</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
@ -121,9 +121,9 @@ Remove a template.
<dl compact><dt><b>Returns:</b></dt><dd>nothing</dd></dl>
<p>
Definition at line <a class="el" href="class__document__modele_8php-source.html#l00178">178</a> of file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.
Definition at line <a class="el" href="class__document__modele_8php-source.html#l00179">179</a> of file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="Document_modele::form" ref="a5" args="($p_action)" --><p>
@ -162,9 +162,9 @@ show the form for loading a template
<dl compact><dt><b>Returns:</b></dt><dd>string containing the forms</dd></dl>
<p>
Definition at line <a class="el" href="class__document__modele_8php-source.html#l00251">251</a> of file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.
Definition at line <a class="el" href="class__document__modele_8php-source.html#l00252">252</a> of file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.
<p>
References <a class="el" href="poste_8inc_8php-source.html#l00069">$h</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="bilan_8php-source.html#l00058">$start</a>, <a class="el" href="impress__rapport_8php-source.html#l00058">$t</a>, <a class="el" href="admin_8inc_8php-source.html#l00115">$w</a>, <a class="el" href="action_8inc_8php-source.html#l00234">dt_id</a>, and <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>.
References <a class="el" href="poste_8inc_8php-source.html#l00069">$h</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="bilan_8php-source.html#l00058">$start</a>, <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>, <a class="el" href="admin_8inc_8php-source.html#l00115">$w</a>, <a class="el" href="action_8inc_8php-source.html#l00257">dt_id</a>, and <a class="el" href="ac__common_8php-source.html#l00282">make_array()</a>.
<p>
Referenced by <a class="el" href="class__document__modele_8php-source.html#l00049">myList()</a>. </td>
</tr>
@ -213,9 +213,9 @@ Parse and remplace the tag in the invoice By the value found in quant_sold.
</dl>
<p>
Definition at line <a class="el" href="class__document__modele_8php-source.html#l00203">203</a> of file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.
Definition at line <a class="el" href="class__document__modele_8php-source.html#l00204">204</a> of file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.
<p>
References <a class="el" href="show__document__modele_8php-source.html#l00060">$file</a>, <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
References <a class="el" href="show__document__modele_8php-source.html#l00060">$file</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="Document_modele::myList" ref="a1" args="()" --><p>
@ -249,7 +249,7 @@ References <a class="el" href="show__document__modele_8php-source.html#l00060">$
<p>
Definition at line <a class="el" href="class__document__modele_8php-source.html#l00049">49</a> of file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00037">$all</a>, <a class="el" href="admin_8inc_8php-source.html#l00080">$c</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="class__document__modele_8php-source.html#l00251">form()</a>, <a class="el" href="action_8inc_8php-source.html#l00252">md_id</a>, and <a class="el" href="document__modele_8inc_8php-source.html#l00044">md_name</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00037">$all</a>, <a class="el" href="admin_8inc_8php-source.html#l00080">$c</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="class__document__modele_8php-source.html#l00252">form()</a>, <a class="el" href="action_8inc_8php-source.html#l00277">md_id</a>, and <a class="el" href="document__modele_8inc_8php-source.html#l00042">md_name</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="Document_modele::Save" ref="a2" args="()" --><p>
@ -286,7 +286,7 @@ none
<p>
Definition at line <a class="el" href="class__document__modele_8php-source.html#l00103">103</a> of file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.
<p>
References <a class="el" href="modify__op_8php-source.html#l00125">$old_oid</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</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="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="balance_8php-source.html#l00033">exit</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="ac__common_8php-source.html#l00076">isNumber()</a>, <a class="el" href="action_8inc_8php-source.html#l00252">md_id</a>, <a class="el" href="action_8inc_8php-source.html#l00137">name</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="document__modele_8inc_8php-source.html#l00047">start</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
References <a class="el" href="modify__op_8php-source.html#l00125">$old_oid</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</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="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="ac__common_8php-source.html#l00076">isNumber()</a>, <a class="el" href="action_8inc_8php-source.html#l00277">md_id</a>, <a class="el" href="action_8inc_8php-source.html#l00160">name</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="document__modele_8inc_8php-source.html#l00045">start</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -467,7 +467,7 @@ Definition at line <a class="el" href="class__document__modele_8php-source.html#
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -57,7 +57,7 @@ document_type <dl compact><dt><b>Parameters:</b></dt><dd>
<p>
Definition at line <a class="el" href="class__document__type_8php-source.html#l00035">35</a> of file <a class="el" href="class__document__type_8php-source.html">class_document_type.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00234">dt_id</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00257">dt_id</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="Document_type::get" ref="a1" args="()" --><p>
@ -90,12 +90,12 @@ Get all the data for this dt_id.
<p>
Definition at line <a class="el" href="class__document__type_8php-source.html#l00043">43</a> of file <a class="el" href="class__document__type_8php-source.html">class_document_type.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="action_8inc_8php-source.html#l00234">dt_id</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="action_8inc_8php-source.html#l00257">dt_id</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__document__type_8php-source.html">class_document_type.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -92,7 +92,7 @@ save data
<p>
Definition at line <a class="el" href="class__own_8php-source.html#l00062">62</a> of file <a class="el" href="class__own_8php-source.html">class_own.php</a>.
<p>
References <a class="el" href="parametre_8php-source.html#l00160">MY_COMMUNE</a>, <a class="el" href="parametre_8php-source.html#l00159">MY_CP</a>, <a class="el" href="parametre_8php-source.html#l00155">MY_NAME</a>, <a class="el" href="parametre_8php-source.html#l00158">MY_NUMBER</a>, <a class="el" href="parametre_8php-source.html#l00157">MY_STREET</a>, and <a class="el" href="parametre_8php-source.html#l00156">MY_TVA</a>. </td>
References <a class="el" href="parametre_8php-source.html#l00160">MY_COMMUNE</a>, <a class="el" href="parametre_8php-source.html#l00159">MY_CP</a>, <a class="el" href="parametre_8php-source.html#l00162">MY_FAX</a>, <a class="el" href="parametre_8php-source.html#l00155">MY_NAME</a>, <a class="el" href="parametre_8php-source.html#l00158">MY_NUMBER</a>, <a class="el" href="parametre_8php-source.html#l00163">MY_PAYS</a>, <a class="el" href="parametre_8php-source.html#l00157">MY_STREET</a>, <a class="el" href="parametre_8php-source.html#l00161">MY_TEL</a>, and <a class="el" href="parametre_8php-source.html#l00156">MY_TVA</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="Own::UpdateRow" ref="a1" args="($p_attr)" --><p>
@ -131,7 +131,7 @@ Update a row.
<p>
Definition at line <a class="el" href="class__own_8php-source.html#l00051">51</a> of file <a class="el" href="class__own_8php-source.html">class_own.php</a>.
<p>
References <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>. </td>
References <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -162,7 +162,7 @@ Definition at line <a class="el" href="class__own_8php-source.html#l00029">29</a
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__own_8php-source.html">class_own.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -103,9 +103,9 @@
<a name="l00094"></a>00094 }
<a name="l00095"></a>00095 <span class="keywordflow">switch</span> (strtolower($orientation)){
<a name="l00096"></a>00096 <span class="keywordflow">case</span> 'landscape':
<a name="l00097"></a>00097 <a class="code" href="action_8inc_8php.html#a15">$a</a>=<a class="code" href="readme_8php.html#a8">$size</a>[3];
<a name="l00097"></a>00097 <a class="code" href="action_8inc_8php.html#a16">$a</a>=<a class="code" href="readme_8php.html#a8">$size</a>[3];
<a name="l00098"></a>00098 <a class="code" href="readme_8php.html#a8">$size</a>[3]=<a class="code" href="readme_8php.html#a8">$size</a>[2];
<a name="l00099"></a>00099 <a class="code" href="readme_8php.html#a8">$size</a>[2]=<a class="code" href="action_8inc_8php.html#a15">$a</a>;
<a name="l00099"></a>00099 <a class="code" href="readme_8php.html#a8">$size</a>[2]=<a class="code" href="action_8inc_8php.html#a16">$a</a>;
<a name="l00100"></a>00100 <span class="keywordflow">break</span>;
<a name="l00101"></a>00101 }
<a name="l00102"></a>00102 } <span class="keywordflow">else</span> {
@ -298,9 +298,9 @@
<a name="l00289"></a>00289 <span class="keywordflow">if</span> (!isset($this-&gt;ez['pageNumbering'])){
<a name="l00290"></a>00290 $this-&gt;ez['pageNumbering']=array();
<a name="l00291"></a>00291 }
<a name="l00292"></a>00292 <a class="code" href="balance_8php.html#a11">$i</a> = count($this-&gt;ez['pageNumbering']);
<a name="l00293"></a>00293 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a11">$i</a>][$this-&gt;ezPageCount]=array(<span class="charliteral">'x'</span>=&gt;$x,<span class="charliteral">'y'</span>=&gt;$y,'pos'=&gt;$pos,'pattern'=&gt;$pattern,'num'=&gt;$num,'<a class="code" href="tva_8inc_8php.html#a15">size</a>'=&gt;$<a class="code" href="tva_8inc_8php.html#a15">size</a>);
<a name="l00294"></a>00294 <span class="keywordflow">return</span> <a class="code" href="balance_8php.html#a11">$i</a>;
<a name="l00292"></a>00292 <a class="code" href="balance_8php.html#a12">$i</a> = count($this-&gt;ez['pageNumbering']);
<a name="l00293"></a>00293 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a12">$i</a>][$this-&gt;ezPageCount]=array(<span class="charliteral">'x'</span>=&gt;$x,<span class="charliteral">'y'</span>=&gt;$y,'pos'=&gt;$pos,'pattern'=&gt;$pattern,'num'=&gt;$num,'<a class="code" href="tva_8inc_8php.html#a15">size</a>'=&gt;$<a class="code" href="tva_8inc_8php.html#a15">size</a>);
<a name="l00294"></a>00294 <span class="keywordflow">return</span> <a class="code" href="balance_8php.html#a12">$i</a>;
<a name="l00295"></a>00295 }
<a name="l00296"></a>00296
<a name="l00297"></a>00297 <span class="comment">// ------------------------------------------------------------------------------</span>
@ -348,18 +348,18 @@
<a name="l00339"></a>00339 <span class="comment">// then this has only just been started, this will over-write the start, and nothing will appear</span>
<a name="l00340"></a>00340 <span class="comment">// add a special command to the start block, telling it to stop as well</span>
<a name="l00341"></a>00341 <span class="keywordflow">if</span> ($stopTotal){
<a name="l00342"></a>00342 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a11">$i</a>][$this-&gt;ezPageCount]['stoptn']=1;
<a name="l00342"></a>00342 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a12">$i</a>][$this-&gt;ezPageCount]['stoptn']=1;
<a name="l00343"></a>00343 } <span class="keywordflow">else</span> {
<a name="l00344"></a>00344 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a11">$i</a>][$this-&gt;ezPageCount]['stopn']=1;
<a name="l00344"></a>00344 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a12">$i</a>][$this-&gt;ezPageCount]['stopn']=1;
<a name="l00345"></a>00345 }
<a name="l00346"></a>00346 } <span class="keywordflow">else</span> {
<a name="l00347"></a>00347 <span class="keywordflow">if</span> ($stopTotal){
<a name="l00348"></a>00348 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a11">$i</a>][$this-&gt;ezPageCount]='stopt';
<a name="l00348"></a>00348 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a12">$i</a>][$this-&gt;ezPageCount]='stopt';
<a name="l00349"></a>00349 } <span class="keywordflow">else</span> {
<a name="l00350"></a>00350 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a11">$i</a>][$this-&gt;ezPageCount]='stop';
<a name="l00350"></a>00350 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a12">$i</a>][$this-&gt;ezPageCount]='stop';
<a name="l00351"></a>00351 }
<a name="l00352"></a>00352 <span class="keywordflow">if</span> ($next){
<a name="l00353"></a>00353 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a11">$i</a>][$this-&gt;ezPageCount].=<span class="charliteral">'n'</span>;
<a name="l00353"></a>00353 $this-&gt;ez['pageNumbering'][<a class="code" href="balance_8php.html#a12">$i</a>][$this-&gt;ezPageCount].=<span class="charliteral">'n'</span>;
<a name="l00354"></a>00354 }
<a name="l00355"></a>00355 }
<a name="l00356"></a>00356 }
@ -370,11 +370,11 @@
<a name="l00361"></a>00361 foreach($tmp as $i=&gt;$v){
<a name="l00362"></a>00362 <span class="keywordflow">if</span> (is_array($v)){
<a name="l00363"></a>00363 <span class="keywordflow">if</span> (isset($v[$lbl])){
<a name="l00364"></a>00364 <span class="keywordflow">return</span> <a class="code" href="balance_8php.html#a11">$i</a>;
<a name="l00364"></a>00364 <span class="keywordflow">return</span> <a class="code" href="balance_8php.html#a12">$i</a>;
<a name="l00365"></a>00365 }
<a name="l00366"></a>00366 } <span class="keywordflow">else</span> {
<a name="l00367"></a>00367 <span class="keywordflow">if</span> ($v==$lbl){
<a name="l00368"></a>00368 <span class="keywordflow">return</span> <a class="code" href="balance_8php.html#a11">$i</a>;
<a name="l00368"></a>00368 <span class="keywordflow">return</span> <a class="code" href="balance_8php.html#a12">$i</a>;
<a name="l00369"></a>00369 }
<a name="l00370"></a>00370 }
<a name="l00371"></a>00371 }
@ -679,8 +679,8 @@
<a name="l00670"></a>00670 ,'innerLineThickness'=&gt;1,'outerLineThickness'=&gt;1,'splitRows'=&gt;0,'protectRows'=&gt;1
<a name="l00671"></a>00671 );
<a name="l00672"></a>00672
<a name="l00673"></a>00673 foreach($defaults as $key=&gt;$<a class="code" href="action_8inc_8php.html#a4">value</a>){
<a name="l00674"></a>00674 <span class="keywordflow">if</span> (is_array($<a class="code" href="action_8inc_8php.html#a4">value</a>)){
<a name="l00673"></a>00673 foreach($defaults as $key=&gt;$<a class="code" href="action_8inc_8php.html#a5">value</a>){
<a name="l00674"></a>00674 <span class="keywordflow">if</span> (is_array($<a class="code" href="action_8inc_8php.html#a5">value</a>)){
<a name="l00675"></a>00675 <span class="keywordflow">if</span> (!isset($options[$key]) || !is_array($options[$key])){
<a name="l00676"></a>00676 <a class="code" href="classCpdf.html#o23">$options</a>[$key]=$value;
<a name="l00677"></a>00677 }
@ -1490,8 +1490,8 @@
<a name="l01481"></a>01481 <span class="keywordflow">if</span> (!isset($this-&gt;ez['links'])){
<a name="l01482"></a>01482 $this-&gt;ez['links']=array();
<a name="l01483"></a>01483 }
<a name="l01484"></a>01484 <a class="code" href="balance_8php.html#a11">$i</a> = $info['nCallback'];
<a name="l01485"></a>01485 $this-&gt;ez['links'][<a class="code" href="balance_8php.html#a11">$i</a>] = array(<span class="charliteral">'x'</span>=&gt;$info[<span class="charliteral">'x'</span>],<span class="charliteral">'y'</span>=&gt;$info[<span class="charliteral">'y'</span>],'angle'=&gt;$info['angle'],'decender'=&gt;$info['decender'],'height'=&gt;$info['height'],'url'=&gt;$info[<span class="charliteral">'p'</span>]);
<a name="l01484"></a>01484 <a class="code" href="balance_8php.html#a12">$i</a> = $info['nCallback'];
<a name="l01485"></a>01485 $this-&gt;ez['links'][<a class="code" href="balance_8php.html#a12">$i</a>] = array(<span class="charliteral">'x'</span>=&gt;$info[<span class="charliteral">'x'</span>],<span class="charliteral">'y'</span>=&gt;$info[<span class="charliteral">'y'</span>],'angle'=&gt;$info['angle'],'decender'=&gt;$info['decender'],'height'=&gt;$info['height'],'url'=&gt;$info[<span class="charliteral">'p'</span>]);
<a name="l01486"></a>01486 <span class="keywordflow">if</span> ($internal==0){
<a name="l01487"></a>01487 $this-&gt;saveState();
<a name="l01488"></a>01488 $this-&gt;setColor(0,0,1);
@ -1504,13 +1504,13 @@
<a name="l01495"></a>01495 <span class="keywordflow">case</span> 'eol':
<a name="l01496"></a>01496 <span class="comment">// the end of the link</span>
<a name="l01497"></a>01497 <span class="comment">// assume that it is the most recent opening which has closed</span>
<a name="l01498"></a>01498 <a class="code" href="balance_8php.html#a11">$i</a> = $info['nCallback'];
<a name="l01499"></a>01499 <a class="code" href="bilan_8php.html#a2">$start</a> = $this-&gt;ez['links'][<a class="code" href="balance_8php.html#a11">$i</a>];
<a name="l01498"></a>01498 <a class="code" href="balance_8php.html#a12">$i</a> = $info['nCallback'];
<a name="l01499"></a>01499 <a class="code" href="bilan_8php.html#a2">$start</a> = $this-&gt;ez['links'][<a class="code" href="balance_8php.html#a12">$i</a>];
<a name="l01500"></a>01500 <span class="comment">// add underlining</span>
<a name="l01501"></a>01501 <span class="keywordflow">if</span> ($internal){
<a name="l01502"></a>01502 $this-&gt;addInternalLink($<a class="code" href="document__modele_8inc_8php.html#a5">start</a>['url'],$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>[<span class="charliteral">'x'</span>],$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>[<span class="charliteral">'y'</span>]+$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>['decender'],$info[<span class="charliteral">'x'</span>],$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>[<span class="charliteral">'y'</span>]+$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>['decender']+$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>['height']);
<a name="l01503"></a>01503 } <span class="keywordflow">else</span> {
<a name="l01504"></a>01504 <a class="code" href="action_8inc_8php.html#a15">$a</a> = deg2rad((<span class="keywordtype">float</span>)$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>['angle']-90.0);
<a name="l01504"></a>01504 <a class="code" href="action_8inc_8php.html#a16">$a</a> = deg2rad((<span class="keywordtype">float</span>)$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>['angle']-90.0);
<a name="l01505"></a>01505 $drop = <a class="code" href="bilan_8php.html#a2">$start</a>['height']*$lineFactor*1.5;
<a name="l01506"></a>01506 $dropx = cos($a)*$drop;
<a name="l01507"></a>01507 $dropy = -sin($a)*$drop;
@ -1535,8 +1535,8 @@
<a name="l01526"></a>01526 <span class="keywordflow">if</span> (!isset($this-&gt;ez['links'])){
<a name="l01527"></a>01527 $this-&gt;ez['links']=array();
<a name="l01528"></a>01528 }
<a name="l01529"></a>01529 <a class="code" href="balance_8php.html#a11">$i</a> = $info['nCallback'];
<a name="l01530"></a>01530 $this-&gt;ez['links'][<a class="code" href="balance_8php.html#a11">$i</a>] = array(<span class="charliteral">'x'</span>=&gt;$info[<span class="charliteral">'x'</span>],<span class="charliteral">'y'</span>=&gt;$info[<span class="charliteral">'y'</span>],'angle'=&gt;$info['angle'],'decender'=&gt;$info['decender'],'height'=&gt;$info['height']);
<a name="l01529"></a>01529 <a class="code" href="balance_8php.html#a12">$i</a> = $info['nCallback'];
<a name="l01530"></a>01530 $this-&gt;ez['links'][<a class="code" href="balance_8php.html#a12">$i</a>] = array(<span class="charliteral">'x'</span>=&gt;$info[<span class="charliteral">'x'</span>],<span class="charliteral">'y'</span>=&gt;$info[<span class="charliteral">'y'</span>],'angle'=&gt;$info['angle'],'decender'=&gt;$info['decender'],'height'=&gt;$info['height']);
<a name="l01531"></a>01531 $this-&gt;saveState();
<a name="l01532"></a>01532 $thick = $info['height']*$lineFactor;
<a name="l01533"></a>01533 $this-&gt;setLineStyle($thick);
@ -1545,10 +1545,10 @@
<a name="l01536"></a>01536 <span class="keywordflow">case</span> 'eol':
<a name="l01537"></a>01537 <span class="comment">// the end of the link</span>
<a name="l01538"></a>01538 <span class="comment">// assume that it is the most recent opening which has closed</span>
<a name="l01539"></a>01539 <a class="code" href="balance_8php.html#a11">$i</a> = $info['nCallback'];
<a name="l01540"></a>01540 <a class="code" href="bilan_8php.html#a2">$start</a> = $this-&gt;ez['links'][<a class="code" href="balance_8php.html#a11">$i</a>];
<a name="l01539"></a>01539 <a class="code" href="balance_8php.html#a12">$i</a> = $info['nCallback'];
<a name="l01540"></a>01540 <a class="code" href="bilan_8php.html#a2">$start</a> = $this-&gt;ez['links'][<a class="code" href="balance_8php.html#a12">$i</a>];
<a name="l01541"></a>01541 <span class="comment">// add underlining</span>
<a name="l01542"></a>01542 <a class="code" href="action_8inc_8php.html#a15">$a</a> = deg2rad((<span class="keywordtype">float</span>)$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>['angle']-90.0);
<a name="l01542"></a>01542 <a class="code" href="action_8inc_8php.html#a16">$a</a> = deg2rad((<span class="keywordtype">float</span>)$<a class="code" href="document__modele_8inc_8php.html#a5">start</a>['angle']-90.0);
<a name="l01543"></a>01543 $drop = <a class="code" href="bilan_8php.html#a2">$start</a>['height']*$lineFactor*1.5;
<a name="l01544"></a>01544 $dropx = cos($a)*$drop;
<a name="l01545"></a>01545 $dropy = -sin($a)*$drop;
@ -1562,7 +1562,7 @@
<a name="l01553"></a>01553
<a name="l01554"></a>01554 }
<a name="l01555"></a>01555 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:32 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:34 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>

View file

@ -15,7 +15,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCezpdf.html">Cezpdf</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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -189,16 +189,16 @@
<a name="l00361"></a>00361 <span class="comment">// then it should be an array having 'id','rid','pos', where rid=the page to which this one will be placed relative</span>
<a name="l00362"></a>00362 <span class="comment">// and pos is either 'before' or 'after', saying where this page will fit.</span>
<a name="l00363"></a>00363 <span class="keywordflow">if</span> (isset($options['<span class="keywordtype">id</span>']) &amp;&amp; isset($options['rid']) &amp;&amp; isset($options['pos'])){
<a name="l00364"></a>00364 <a class="code" href="balance_8php.html#a11">$i</a> = array_search($options['rid'],$o['info']['pages']);
<a name="l00364"></a>00364 <a class="code" href="balance_8php.html#a12">$i</a> = array_search($options['rid'],$o['info']['pages']);
<a name="l00365"></a>00365 <span class="keywordflow">if</span> (isset($o['info']['pages'][$i]) &amp;&amp; $o['info']['pages'][$i]==$options['rid']){
<a name="l00366"></a>00366 <span class="comment">// then there is a match</span>
<a name="l00367"></a>00367 <span class="comment">// make a space</span>
<a name="l00368"></a>00368 <span class="keywordflow">switch</span> ($options['pos']){
<a name="l00369"></a>00369 <span class="keywordflow">case</span> 'before':
<a name="l00370"></a>00370 $k = <a class="code" href="balance_8php.html#a11">$i</a>;
<a name="l00370"></a>00370 $k = <a class="code" href="balance_8php.html#a12">$i</a>;
<a name="l00371"></a>00371 <span class="keywordflow">break</span>;
<a name="l00372"></a>00372 <span class="keywordflow">case</span> 'after':
<a name="l00373"></a>00373 $k=<a class="code" href="balance_8php.html#a11">$i</a>+1;
<a name="l00373"></a>00373 $k=<a class="code" href="balance_8php.html#a12">$i</a>+1;
<a name="l00374"></a>00374 <span class="keywordflow">break</span>;
<a name="l00375"></a>00375 <span class="keywordflow">default</span>:
<a name="l00376"></a>00376 $k=-1;
@ -224,7 +224,7 @@
<a name="l00396"></a>00396 <a class="code" href="fiche__csv_8php.html#a5">$o</a>['info']['fonts'][]=array('objNum'=&gt;$options['objNum'],'fontNum'=&gt;$options['fontNum']);
<a name="l00397"></a>00397 <span class="keywordflow">break</span>;
<a name="l00398"></a>00398 <span class="keywordflow">case</span> 'xObject':
<a name="l00399"></a>00399 <a class="code" href="fiche__csv_8php.html#a5">$o</a>['info']['xObjects'][]=array('objNum'=&gt;$options['objNum'],'<a class="code" href="action_8inc_8php.html#a6">label</a>'=&gt;$options['<a class="code" href="action_8inc_8php.html#a6">label</a>']);
<a name="l00399"></a>00399 <a class="code" href="fiche__csv_8php.html#a5">$o</a>['info']['xObjects'][]=array('objNum'=&gt;$options['objNum'],'<a class="code" href="action_8inc_8php.html#a7">label</a>'=&gt;$options['<a class="code" href="action_8inc_8php.html#a7">label</a>']);
<a name="l00400"></a>00400 <span class="keywordflow">break</span>;
<a name="l00401"></a>00401 <span class="keywordflow">case</span> 'out':
<a name="l00402"></a>00402 <span class="keywordflow">if</span> (count($o['info']['pages'])){
@ -300,7 +300,7 @@
<a name="l00478"></a>00478 }
<a name="l00479"></a>00479 <span class="keywordflow">switch</span> ($<a class="code" href="classaction.html">action</a>){
<a name="l00480"></a>00480 <span class="keywordflow">case</span> '<span class="keyword">new</span>':
<a name="l00481"></a>00481 $this-&gt;objects[$id]=array(<span class="charliteral">'t'</span>=&gt;'font<span class="charliteral">','</span>info'=&gt;array('<a class="code" href="action_8inc_8php.html#a3">name</a>'=&gt;$options['<a class="code" href="action_8inc_8php.html#a3">name</a>'],'SubType'=&gt;'Type1'));
<a name="l00481"></a>00481 $this-&gt;objects[$id]=array(<span class="charliteral">'t'</span>=&gt;'font<span class="charliteral">','</span>info'=&gt;array('<a class="code" href="action_8inc_8php.html#a4">name</a>'=&gt;$options['<a class="code" href="action_8inc_8php.html#a4">name</a>'],'SubType'=&gt;'Type1'));
<a name="l00482"></a>00482 $fontNum=$this-&gt;numFonts;
<a name="l00483"></a>00483 $this-&gt;objects[$id]['info']['fontNum']=$fontNum;
<a name="l00484"></a>00484 <span class="comment">// deal with the encoding and the differences</span>
@ -385,8 +385,8 @@
<a name="l00566"></a>00566 <span class="keywordflow">break</span>;
<a name="l00567"></a>00567 <span class="keywordflow">case</span> 'out':
<a name="l00568"></a>00568 <a class="code" href="pref_8inc_8php.html#a1">$res</a>=<span class="stringliteral">"\n"</span>.$id.<span class="stringliteral">" 0 obj\n&lt;&lt; /Type /FontDescriptor\n"</span>;
<a name="l00569"></a>00569 foreach ($o['info'] as $<a class="code" href="action_8inc_8php.html#a6">label</a> =&gt; $<a class="code" href="action_8inc_8php.html#a4">value</a>){
<a name="l00570"></a>00570 <span class="keywordflow">switch</span> ($<a class="code" href="action_8inc_8php.html#a6">label</a>){
<a name="l00569"></a>00569 foreach ($o['info'] as $<a class="code" href="action_8inc_8php.html#a7">label</a> =&gt; $<a class="code" href="action_8inc_8php.html#a5">value</a>){
<a name="l00570"></a>00570 <span class="keywordflow">switch</span> ($<a class="code" href="action_8inc_8php.html#a7">label</a>){
<a name="l00571"></a>00571 <span class="keywordflow">case</span> 'Ascent':
<a name="l00572"></a>00572 <span class="keywordflow">case</span> 'CapHeight':
<a name="l00573"></a>00573 <span class="keywordflow">case</span> 'Descent':
@ -400,7 +400,7 @@
<a name="l00581"></a>00581 <span class="keywordflow">case</span> 'StemH':
<a name="l00582"></a>00582 <span class="keywordflow">case</span> 'XHeight':
<a name="l00583"></a>00583 <span class="keywordflow">case</span> 'CharSet':
<a name="l00584"></a>00584 <span class="keywordflow">if</span> (strlen($<a class="code" href="action_8inc_8php.html#a4">value</a>)){
<a name="l00584"></a>00584 <span class="keywordflow">if</span> (strlen($<a class="code" href="action_8inc_8php.html#a5">value</a>)){
<a name="l00585"></a>00585 <a class="code" href="pref_8inc_8php.html#a1">$res</a>.=<span class="charliteral">'/'</span>.$label.<span class="charliteral">' '</span>.$value.<span class="stringliteral">"\n"</span>;
<a name="l00586"></a>00586 }
<a name="l00587"></a>00587 <span class="keywordflow">break</span>;
@ -442,7 +442,7 @@
<a name="l00626"></a>00626 }
<a name="l00627"></a>00627 <a class="code" href="pref_8inc_8php.html#a1">$res</a>.=<span class="stringliteral">"/Differences \n["</span>;
<a name="l00628"></a>00628 $onum=-100;
<a name="l00629"></a>00629 foreach($o['info']['differences'] as $num=&gt;$<a class="code" href="action_8inc_8php.html#a6">label</a>){
<a name="l00629"></a>00629 foreach($o['info']['differences'] as $num=&gt;$<a class="code" href="action_8inc_8php.html#a7">label</a>){
<a name="l00630"></a>00630 <span class="keywordflow">if</span> ($num!=$onum+1){
<a name="l00631"></a>00631 <span class="comment">// we cannot make use of consecutive numbering</span>
<a name="l00632"></a>00632 <a class="code" href="pref_8inc_8php.html#a1">$res</a>.= <span class="stringliteral">"\n"</span>.$num.<span class="stringliteral">" /"</span>.<a class="code" href="pref_8inc_8php.html#a6">$label</a>;
@ -480,7 +480,7 @@
<a name="l00667"></a>00667 <span class="keywordflow">break</span>;
<a name="l00668"></a>00668 <span class="keywordflow">case</span> 'out':
<a name="l00669"></a>00669 <a class="code" href="pref_8inc_8php.html#a1">$res</a>=<span class="stringliteral">"\n"</span>.$id.<span class="stringliteral">" 0 obj\n["</span>;
<a name="l00670"></a>00670 foreach ($o['info'] as $<a class="code" href="action_8inc_8php.html#a6">label</a>=&gt;$val){
<a name="l00670"></a>00670 foreach ($o['info'] as $<a class="code" href="action_8inc_8php.html#a7">label</a>=&gt;$val){
<a name="l00671"></a>00671 <a class="code" href="pref_8inc_8php.html#a1">$res</a>.=<span class="charliteral">'/'</span>.$label.<span class="charliteral">' '</span>;
<a name="l00672"></a>00672 }
<a name="l00673"></a>00673 <a class="code" href="pref_8inc_8php.html#a1">$res</a>.=<span class="stringliteral">"]\nendobj"</span>;
@ -551,7 +551,7 @@
<a name="l00744"></a>00744 <span class="keywordflow">switch</span>(<a class="code" href="fiche__csv_8php.html#a5">$o</a>['type']){
<a name="l00745"></a>00745 <span class="keywordflow">case</span> 'ilink':
<a name="l00746"></a>00746 <span class="comment">// there will be an 'label' setting, this is the name of the destination</span>
<a name="l00747"></a>00747 <a class="code" href="pref_8inc_8php.html#a1">$res</a>.=<span class="stringliteral">"\n/S /GoTo\n/D "</span>.$this-&gt;destinations[(string)<a class="code" href="fiche__csv_8php.html#a5">$o</a>['info']['<a class="code" href="action_8inc_8php.html#a6">label</a>']].<span class="stringliteral">" 0 R"</span>;
<a name="l00747"></a>00747 <a class="code" href="pref_8inc_8php.html#a1">$res</a>.=<span class="stringliteral">"\n/S /GoTo\n/D "</span>.$this-&gt;destinations[(string)<a class="code" href="fiche__csv_8php.html#a5">$o</a>['info']['<a class="code" href="action_8inc_8php.html#a7">label</a>']].<span class="stringliteral">" 0 R"</span>;
<a name="l00748"></a>00748 <span class="keywordflow">break</span>;
<a name="l00749"></a>00749 <span class="keywordflow">case</span> 'URI':
<a name="l00750"></a>00750 <a class="code" href="pref_8inc_8php.html#a1">$res</a>.=<span class="stringliteral">"\n/S /URI\n/URI ("</span>;
@ -588,10 +588,10 @@
<a name="l00785"></a>00785 <span class="keywordflow">break</span>;
<a name="l00786"></a>00786 <span class="keywordflow">case</span> 'ilink':
<a name="l00787"></a>00787 <span class="comment">// this is to a named internal link</span>
<a name="l00788"></a>00788 <a class="code" href="pref_8inc_8php.html#a6">$label</a> = $options['<a class="code" href="action_8inc_8php.html#a6">label</a>'];
<a name="l00788"></a>00788 <a class="code" href="pref_8inc_8php.html#a6">$label</a> = $options['<a class="code" href="action_8inc_8php.html#a7">label</a>'];
<a name="l00789"></a>00789 $this-&gt;objects[$id]=array(<span class="charliteral">'t'</span>=&gt;'annotation<span class="charliteral">','</span>info'=&gt;$options);
<a name="l00790"></a>00790 $this-&gt;numObj++;
<a name="l00791"></a>00791 $this-&gt;o_action($this-&gt;numObj,'<span class="keyword">new</span>',array('type'=&gt;'ilink<span class="charliteral">','</span><a class="code" href="action_8inc_8php.html#a6">label</a>'=&gt;$<a class="code" href="action_8inc_8php.html#a6">label</a>));
<a name="l00791"></a>00791 $this-&gt;o_action($this-&gt;numObj,'<span class="keyword">new</span>',array('type'=&gt;'ilink<span class="charliteral">','</span><a class="code" href="action_8inc_8php.html#a7">label</a>'=&gt;$<a class="code" href="action_8inc_8php.html#a7">label</a>));
<a name="l00792"></a>00792 $this-&gt;objects[$id]['info']['actionId']=$this-&gt;numObj;
<a name="l00793"></a>00793 <span class="keywordflow">break</span>;
<a name="l00794"></a>00794 }
@ -783,7 +783,7 @@
<a name="l00989"></a>00989 }
<a name="l00990"></a>00990 <span class="comment">// assign it a place in the named resource dictionary as an external object, according to</span>
<a name="l00991"></a>00991 <span class="comment">// the label passed in with it.</span>
<a name="l00992"></a>00992 $this-&gt;o_pages($this-&gt;currentNode,'xObject',array('<a class="code" href="action_8inc_8php.html#a6">label</a>'=&gt;$options['<a class="code" href="action_8inc_8php.html#a6">label</a>'],'objNum'=&gt;$<span class="keywordtype">id</span>));
<a name="l00992"></a>00992 $this-&gt;o_pages($this-&gt;currentNode,'xObject',array('<a class="code" href="action_8inc_8php.html#a7">label</a>'=&gt;$options['<a class="code" href="action_8inc_8php.html#a7">label</a>'],'objNum'=&gt;$<span class="keywordtype">id</span>));
<a name="l00993"></a>00993 <span class="comment">// also make sure that we have the right procset object for it.</span>
<a name="l00994"></a>00994 $this-&gt;o_procset($this-&gt;procsetObjectId,'add<span class="charliteral">','</span>ImageC');
<a name="l00995"></a>00995 <span class="keywordflow">break</span>;
@ -902,25 +902,25 @@
<a name="l01125"></a>01125 }
<a name="l01126"></a>01126 $j=0;
<a name="l01127"></a>01127 <span class="keywordflow">for</span> ($i=0;$i&lt;256;$i++){
<a name="l01128"></a>01128 <a class="code" href="impress__rapport_8php.html#a3">$t</a> = $this-&gt;arc4[<a class="code" href="balance_8php.html#a11">$i</a>];
<a name="l01128"></a>01128 <a class="code" href="impress__rapport_8php.html#a3">$t</a> = $this-&gt;arc4[<a class="code" href="balance_8php.html#a12">$i</a>];
<a name="l01129"></a>01129 $j = ($j + ord($t) + ord($k[$i]))%256;
<a name="l01130"></a>01130 $this-&gt;arc4[<a class="code" href="balance_8php.html#a11">$i</a>]=$this-&gt;arc4[$j];
<a name="l01130"></a>01130 $this-&gt;arc4[<a class="code" href="balance_8php.html#a12">$i</a>]=$this-&gt;arc4[$j];
<a name="l01131"></a>01131 $this-&gt;arc4[$j]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l01132"></a>01132 }
<a name="l01133"></a>01133 }
<a name="l01134"></a>01134
<a name="l01138"></a><a class="code" href="classCpdf.html#a20">01138</a> function ARC4($text){
<a name="l01139"></a>01139 $len=strlen($text);
<a name="l01140"></a>01140 <a class="code" href="action_8inc_8php.html#a15">$a</a>=0;
<a name="l01141"></a>01141 <a class="code" href="balance_8php.html#a10">$b</a>=0;
<a name="l01140"></a>01140 <a class="code" href="action_8inc_8php.html#a16">$a</a>=0;
<a name="l01141"></a>01141 <a class="code" href="balance_8php.html#a11">$b</a>=0;
<a name="l01142"></a>01142 <a class="code" href="admin_8inc_8php.html#a2">$c</a> = $this-&gt;arc4;
<a name="l01143"></a>01143 $out='';
<a name="l01144"></a>01144 <span class="keywordflow">for</span> ($i=0;$i&lt;$len;$i++){
<a name="l01145"></a>01145 <a class="code" href="action_8inc_8php.html#a15">$a</a> = (<a class="code" href="action_8inc_8php.html#a15">$a</a>+1)%256;
<a name="l01146"></a>01146 <a class="code" href="impress__rapport_8php.html#a3">$t</a>= <a class="code" href="admin_8inc_8php.html#a2">$c</a>[<a class="code" href="action_8inc_8php.html#a15">$a</a>];
<a name="l01147"></a>01147 <a class="code" href="balance_8php.html#a10">$b</a> = (<a class="code" href="balance_8php.html#a10">$b</a>+ord($t))%256;
<a name="l01148"></a>01148 <a class="code" href="admin_8inc_8php.html#a2">$c</a>[<a class="code" href="action_8inc_8php.html#a15">$a</a>]=<a class="code" href="admin_8inc_8php.html#a2">$c</a>[<a class="code" href="balance_8php.html#a10">$b</a>];
<a name="l01149"></a>01149 <a class="code" href="admin_8inc_8php.html#a2">$c</a>[<a class="code" href="balance_8php.html#a10">$b</a>]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l01145"></a>01145 <a class="code" href="action_8inc_8php.html#a16">$a</a> = (<a class="code" href="action_8inc_8php.html#a16">$a</a>+1)%256;
<a name="l01146"></a>01146 <a class="code" href="impress__rapport_8php.html#a3">$t</a>= <a class="code" href="admin_8inc_8php.html#a2">$c</a>[<a class="code" href="action_8inc_8php.html#a16">$a</a>];
<a name="l01147"></a>01147 <a class="code" href="balance_8php.html#a11">$b</a> = (<a class="code" href="balance_8php.html#a11">$b</a>+ord($t))%256;
<a name="l01148"></a>01148 <a class="code" href="admin_8inc_8php.html#a2">$c</a>[<a class="code" href="action_8inc_8php.html#a16">$a</a>]=<a class="code" href="admin_8inc_8php.html#a2">$c</a>[<a class="code" href="balance_8php.html#a11">$b</a>];
<a name="l01149"></a>01149 <a class="code" href="admin_8inc_8php.html#a2">$c</a>[<a class="code" href="balance_8php.html#a11">$b</a>]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l01150"></a>01150 $k = ord($c[(ord($c[$a])+ord($c[$b]))%256]);
<a name="l01151"></a>01151 $out.=chr(ord($text[$i]) ^ $k);
<a name="l01152"></a>01152 }
@ -934,9 +934,9 @@
<a name="l01167"></a>01167 $this-&gt;o_annotation($this-&gt;numObj,'<span class="keyword">new</span>',$info);
<a name="l01168"></a>01168 }
<a name="l01169"></a>01169
<a name="l01173"></a><a class="code" href="classCpdf.html#a22">01173</a> function addInternalLink($<a class="code" href="action_8inc_8php.html#a6">label</a>,$x0,$y0,$x1,$y1){
<a name="l01173"></a><a class="code" href="classCpdf.html#a22">01173</a> function addInternalLink($<a class="code" href="action_8inc_8php.html#a7">label</a>,$x0,$y0,$x1,$y1){
<a name="l01174"></a>01174 $this-&gt;numObj++;
<a name="l01175"></a>01175 $info = array('type'=&gt;'ilink<span class="charliteral">','</span><a class="code" href="action_8inc_8php.html#a6">label</a>'=&gt;$<a class="code" href="action_8inc_8php.html#a6">label</a>,'rect'=&gt;array($x0,$y0,$x1,$y1));
<a name="l01175"></a>01175 $info = array('type'=&gt;'ilink<span class="charliteral">','</span><a class="code" href="action_8inc_8php.html#a7">label</a>'=&gt;$<a class="code" href="action_8inc_8php.html#a7">label</a>,'rect'=&gt;array($x0,$y0,$x1,$y1));
<a name="l01176"></a>01176 $this-&gt;o_annotation($this-&gt;numObj,'<span class="keyword">new</span>',$info);
<a name="l01177"></a>01177 }
<a name="l01178"></a>01178
@ -1051,8 +1051,8 @@
<a name="l01314"></a>01314 $name=substr($font,$pos+1);
<a name="l01315"></a>01315 }
<a name="l01316"></a>01316
<a name="l01317"></a>01317 <span class="keywordflow">if</span> (substr($<a class="code" href="action_8inc_8php.html#a3">name</a>,-4)=='.afm'){
<a name="l01318"></a>01318 $name=substr($<a class="code" href="action_8inc_8php.html#a3">name</a>,0,strlen($<a class="code" href="action_8inc_8php.html#a3">name</a>)-4);
<a name="l01317"></a>01317 <span class="keywordflow">if</span> (substr($<a class="code" href="action_8inc_8php.html#a4">name</a>,-4)=='.afm'){
<a name="l01318"></a>01318 $name=substr($<a class="code" href="action_8inc_8php.html#a4">name</a>,0,strlen($<a class="code" href="action_8inc_8php.html#a4">name</a>)-4);
<a name="l01319"></a>01319 }
<a name="l01320"></a>01320 $this-&gt;addMessage('openFont: '.$font.' - '.$name);
<a name="l01321"></a>01321 <span class="keywordflow">if</span> (file_exists($dir.'php_'.$name.'.afm')){
@ -1110,7 +1110,7 @@
<a name="l01373"></a>01373 <span class="keywordflow">if</span> (count($bits2)&gt;2){
<a name="l01374"></a>01374 $dtmp[$bits2[0]]=array();
<a name="l01375"></a>01375 <span class="keywordflow">for</span> ($i=1;$i&lt;count($bits2);$i++){
<a name="l01376"></a>01376 $dtmp[$bits2[0]][]=$bits2[<a class="code" href="balance_8php.html#a11">$i</a>];
<a name="l01376"></a>01376 $dtmp[$bits2[0]][]=$bits2[<a class="code" href="balance_8php.html#a12">$i</a>];
<a name="l01377"></a>01377 }
<a name="l01378"></a>01378 } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (count($bits2)==2){
<a name="l01379"></a>01379 $dtmp[$bits2[0]]=$bits2[1];
@ -1153,10 +1153,10 @@
<a name="l01424"></a>01424 $pos=strrpos($fontName,<span class="charliteral">'/'</span>);
<a name="l01425"></a>01425 <span class="comment">// $dir=substr($fontName,0,$pos+1);</span>
<a name="l01426"></a>01426 $name=substr($fontName,$pos+1);
<a name="l01427"></a>01427 <span class="keywordflow">if</span> (substr($<a class="code" href="action_8inc_8php.html#a3">name</a>,-4)=='.afm'){
<a name="l01428"></a>01428 $name=substr($<a class="code" href="action_8inc_8php.html#a3">name</a>,0,strlen($<a class="code" href="action_8inc_8php.html#a3">name</a>)-4);
<a name="l01427"></a>01427 <span class="keywordflow">if</span> (substr($<a class="code" href="action_8inc_8php.html#a4">name</a>,-4)=='.afm'){
<a name="l01428"></a>01428 $name=substr($<a class="code" href="action_8inc_8php.html#a4">name</a>,0,strlen($<a class="code" href="action_8inc_8php.html#a4">name</a>)-4);
<a name="l01429"></a>01429 }
<a name="l01430"></a>01430 $options=array('<a class="code" href="action_8inc_8php.html#a3">name</a>'=&gt;$<a class="code" href="action_8inc_8php.html#a3">name</a>);
<a name="l01430"></a>01430 $options=array('<a class="code" href="action_8inc_8php.html#a4">name</a>'=&gt;$<a class="code" href="action_8inc_8php.html#a4">name</a>);
<a name="l01431"></a>01431 <span class="keywordflow">if</span> (is_array($encoding)){
<a name="l01432"></a>01432 <span class="comment">// then encoding and differences might be set</span>
<a name="l01433"></a>01433 <span class="keywordflow">if</span> (isset($encoding['encoding'])){
@ -1199,7 +1199,7 @@
<a name="l01470"></a>01470 foreach ($this-&gt;fonts[$fontName][<span class="charliteral">'C'</span>] as $num=&gt;$d){
<a name="l01471"></a>01471 <span class="keywordflow">if</span> (intval($num)&gt;0 || $num==<span class="charliteral">'0'</span>){
<a name="l01472"></a>01472 <span class="keywordflow">if</span> ($lastChar&gt;0 &amp;&amp; $num&gt;$lastChar+1){
<a name="l01473"></a>01473 <span class="keywordflow">for</span>(<a class="code" href="balance_8php.html#a11">$i</a>=$lastChar+1;<a class="code" href="balance_8php.html#a11">$i</a>&lt;<a class="code" href="jrn__add_8php.html#a17">$num</a>;<a class="code" href="balance_8php.html#a11">$i</a>++){
<a name="l01473"></a>01473 <span class="keywordflow">for</span>(<a class="code" href="balance_8php.html#a12">$i</a>=$lastChar+1;<a class="code" href="balance_8php.html#a12">$i</a>&lt;<a class="code" href="jrn__add_8php.html#a17">$num</a>;<a class="code" href="balance_8php.html#a12">$i</a>++){
<a name="l01474"></a>01474 $widths[] = 0;
<a name="l01475"></a>01475 }
<a name="l01476"></a>01476 }
@ -1214,7 +1214,7 @@
<a name="l01485"></a>01485 <span class="keywordflow">if</span> (isset($options['differences'])){
<a name="l01486"></a>01486 foreach($options['differences'] as $charNum=&gt;$charName){
<a name="l01487"></a>01487 <span class="keywordflow">if</span> ($charNum&gt;$lastChar){
<a name="l01488"></a>01488 <span class="keywordflow">for</span>(<a class="code" href="balance_8php.html#a11">$i</a>=$lastChar+1;<a class="code" href="balance_8php.html#a11">$i</a>&lt;=$charNum;<a class="code" href="balance_8php.html#a11">$i</a>++){
<a name="l01488"></a>01488 <span class="keywordflow">for</span>(<a class="code" href="balance_8php.html#a12">$i</a>=$lastChar+1;<a class="code" href="balance_8php.html#a12">$i</a>&lt;=$charNum;<a class="code" href="balance_8php.html#a12">$i</a>++){
<a name="l01489"></a>01489 $widths[]=0;
<a name="l01490"></a>01490 }
<a name="l01491"></a>01491 $lastChar=$charNum;
@ -1297,7 +1297,7 @@
<a name="l01568"></a>01568 <span class="keywordflow">if</span> ($fbtype=='ttf'){
<a name="l01569"></a>01569 <a class="code" href="show__document__modele_8php.html#a5">$tmp</a>['SubType']='TrueType';
<a name="l01570"></a>01570 }
<a name="l01571"></a>01571 $this-&gt;addMessage('adding <a class="code" href="action_8inc_8php.html#a7">extra</a> info to font.('.$fontObj.<span class="charliteral">')'</span>);
<a name="l01571"></a>01571 $this-&gt;addMessage('adding <a class="code" href="action_8inc_8php.html#a8">extra</a> info to font.('.$fontObj.<span class="charliteral">')'</span>);
<a name="l01572"></a>01572 foreach($tmp as $fk=&gt;$fv){
<a name="l01573"></a>01573 $this-&gt;addMessage($fk.<span class="stringliteral">" : "</span>.$fv);
<a name="l01574"></a>01574 }
@ -1409,7 +1409,7 @@
<a name="l01729"></a>01729 $dtm = $dt/3;
<a name="l01730"></a>01730
<a name="l01731"></a>01731 <span class="keywordflow">if</span> ($angle != 0){
<a name="l01732"></a>01732 <a class="code" href="action_8inc_8php.html#a15">$a</a> = -1*deg2rad((<span class="keywordtype">float</span>)$angle);
<a name="l01732"></a>01732 <a class="code" href="action_8inc_8php.html#a16">$a</a> = -1*deg2rad((<span class="keywordtype">float</span>)$angle);
<a name="l01733"></a>01733 <a class="code" href="show__document__modele_8php.html#a5">$tmp</a> = <span class="stringliteral">"\n q "</span>;
<a name="l01734"></a>01734 <a class="code" href="show__document__modele_8php.html#a5">$tmp</a> .= sprintf('%.3f',cos($a)).<span class="charliteral">' '</span>.sprintf('%.3f',(-1.0*sin($a))).<span class="charliteral">' '</span>.sprintf('%.3f',sin($a)).<span class="charliteral">' '</span>.sprintf('%.3f',cos($a)).<span class="charliteral">' '</span>;
<a name="l01735"></a>01735 <a class="code" href="show__document__modele_8php.html#a5">$tmp</a> .= sprintf('%.3f',$x0).<span class="charliteral">' '</span>.sprintf('%.3f',$y0).' cm';
@ -1427,7 +1427,7 @@
<a name="l01747"></a>01747 $this-&gt;objects[$this-&gt;currentContents][<span class="charliteral">'c'</span>].=<span class="stringliteral">"\n"</span>.sprintf('%.3f',$a0).<span class="charliteral">' '</span>.sprintf('%.3f',$b0).' m ';
<a name="l01748"></a>01748 <span class="keywordflow">for</span> ($i=1;$i&lt;=$nSeg;$i++){
<a name="l01749"></a>01749 <span class="comment">// draw this bit of the total curve</span>
<a name="l01750"></a>01750 $t1 = <a class="code" href="balance_8php.html#a11">$i</a>*$dt+$astart;
<a name="l01750"></a>01750 $t1 = <a class="code" href="balance_8php.html#a12">$i</a>*$dt+$astart;
<a name="l01751"></a>01751 $a1 = $x0+$r1*cos($t1);
<a name="l01752"></a>01752 $b1 = $y0+$r2*sin($t1);
<a name="l01753"></a>01753 <a class="code" href="poste__search_8php.html#a2">$c1</a> = -$r1*sin($t1);
@ -2509,7 +2509,7 @@
<a name="l02974"></a>02974 <span class="stringliteral"> $this-&gt;o_destination($this-&gt;numObj,'new',array('page'=&gt;$this-&gt;currentPage,'type'=&gt;$style,'p1'=&gt;$a,'p2'=&gt;$b,'p3'=&gt;$c));</span>
<a name="l02975"></a>02975 <span class="stringliteral"> $id = $this-&gt;numObj;</span>
<a name="l02976"></a>02976 <span class="stringliteral"> // store the label-&gt;idf relationship, note that this means that labels can be used only once</span>
<a name="l02977"></a>02977 <span class="stringliteral"> $this-&gt;destinations["</span>$<a class="code" href="action_8inc_8php.html#a6">label</a><span class="stringliteral">"]=$id;</span>
<a name="l02977"></a>02977 <span class="stringliteral"> $this-&gt;destinations["</span>$<a class="code" href="action_8inc_8php.html#a7">label</a><span class="stringliteral">"]=$id;</span>
<a name="l02978"></a>02978 <span class="stringliteral">}</span>
<a name="l02979"></a>02979 <span class="stringliteral"></span>
<a name="l02985"></a><a class="code" href="classCpdf.html#a71">02985</a> <span class="stringliteral">function setFontFamily($family,$options=''){</span>
@ -2597,7 +2597,7 @@
<a name="l03073"></a>03073 <span class="stringliteral">} // end of class</span>
<a name="l03074"></a>03074 <span class="stringliteral"></span>
<a name="l03075"></a>03075 <span class="stringliteral">?&gt;</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:32 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:34 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>

View file

@ -18,7 +18,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCpdf.html">Cpdf</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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -34,17 +34,16 @@
<a name="l00025"></a>00025 require_once(<span class="stringliteral">"user_common.php"</span>);
<a name="l00047"></a><a class="code" href="classaction.html">00047</a> <span class="keyword">class </span><a class="code" href="classaction.html">action</a>
<a name="l00048"></a>00048 {
<a name="l00060"></a><a class="code" href="classaction.html#o0">00060</a> var <a class="code" href="classaction.html#o0">$db</a>;
<a name="l00061"></a><a class="code" href="classaction.html#o1">00061</a> var <a class="code" href="classaction.html#o1">$ag_desc</a>;
<a name="l00062"></a><a class="code" href="classaction.html#o2">00062</a> var <a class="code" href="classaction.html#o2">$ag_date</a>;
<a name="l00063"></a><a class="code" href="classaction.html#o3">00063</a> var <a class="code" href="classaction.html#o3">$d_lob</a>;
<a name="l00064"></a><a class="code" href="classaction.html#o4">00064</a> var <a class="code" href="classaction.html#o4">$dt_id</a>;
<a name="l00065"></a><a class="code" href="classaction.html#o5">00065</a> var <a class="code" href="classaction.html#o5">$d_state</a>;
<a name="l00066"></a><a class="code" href="classaction.html#o6">00066</a> var <a class="code" href="classaction.html#o6">$d_number</a>;
<a name="l00067"></a><a class="code" href="classaction.html#o7">00067</a> var <a class="code" href="classaction.html#o7">$d_filename</a>;
<a name="l00068"></a><a class="code" href="classaction.html#o8">00068</a> var <a class="code" href="classaction.html#o8">$d_mimetype</a>;
<a name="l00069"></a><a class="code" href="classaction.html#o9">00069</a> var <a class="code" href="classaction.html#o9">$ag_title</a>;
<a name="l00070"></a><a class="code" href="classaction.html#o10">00070</a> var <a class="code" href="classaction.html#o10">$f_id</a>;
<a name="l00061"></a><a class="code" href="classaction.html#o0">00061</a> var <a class="code" href="classaction.html#o0">$db</a>;
<a name="l00062"></a><a class="code" href="classaction.html#o1">00062</a> var <a class="code" href="classaction.html#o1">$ag_comment</a>;
<a name="l00063"></a><a class="code" href="classaction.html#o2">00063</a> var <a class="code" href="classaction.html#o2">$ag_timestamp</a>;
<a name="l00064"></a><a class="code" href="classaction.html#o3">00064</a> var <a class="code" href="classaction.html#o3">$dt_id</a>;
<a name="l00065"></a><a class="code" href="classaction.html#o4">00065</a> var <a class="code" href="classaction.html#o4">$d_state</a>;
<a name="l00066"></a><a class="code" href="classaction.html#o5">00066</a> var <a class="code" href="classaction.html#o5">$d_number</a>;
<a name="l00067"></a><a class="code" href="classaction.html#o6">00067</a> var <a class="code" href="classaction.html#o6">$d_filename</a>;
<a name="l00068"></a><a class="code" href="classaction.html#o7">00068</a> var <a class="code" href="classaction.html#o7">$d_mimetype</a>;
<a name="l00069"></a><a class="code" href="classaction.html#o8">00069</a> var <a class="code" href="classaction.html#o8">$ag_title</a>;
<a name="l00070"></a><a class="code" href="classaction.html#o9">00070</a> var <a class="code" href="classaction.html#o9">$f_id</a>;
<a name="l00075"></a><a class="code" href="classaction.html#a0">00075</a> function <a class="code" href="classaction.html#a0">action</a> ($p_cn)
<a name="l00076"></a>00076 {
<a name="l00077"></a>00077 $this-&gt;db=$p_cn;
@ -57,278 +56,346 @@
<a name="l00089"></a>00089 <span class="comment">// Date </span>
<a name="l00090"></a>00090 $date=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00091"></a>00091 $date-&gt;readonly=<span class="keyword">true</span>;
<a name="l00092"></a>00092 $date-&gt;name=<span class="stringliteral">"ag_date"</span>;
<a name="l00093"></a>00093 $date-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a17">ag_date</a>;
<a name="l00092"></a>00092 $date-&gt;name=<span class="stringliteral">"ag_timestamp"</span>;
<a name="l00093"></a>00093 $date-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a18">ag_timestamp</a>;
<a name="l00094"></a>00094 <span class="comment">// Doc Type</span>
<a name="l00095"></a>00095 <a class="code" href="action_8inc_8php.html#a11">$doc_type</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00096"></a>00096 <a class="code" href="action_8inc_8php.html#a11">$doc_type</a>-&gt;name=<span class="stringliteral">"dt_id"</span>;
<a name="l00097"></a>00097 <a class="code" href="action_8inc_8php.html#a11">$doc_type</a>-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a19">dt_id</a>;
<a name="l00098"></a>00098 <a class="code" href="action_8inc_8php.html#a15">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select dt_value from document_type where dt_id="</span>.$this-&gt;dt_id);
<a name="l00095"></a>00095 <a class="code" href="action_8inc_8php.html#a12">$doc_type</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00096"></a>00096 <a class="code" href="action_8inc_8php.html#a12">$doc_type</a>-&gt;name=<span class="stringliteral">"dt_id"</span>;
<a name="l00097"></a>00097 <a class="code" href="action_8inc_8php.html#a12">$doc_type</a>-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a20">dt_id</a>;
<a name="l00098"></a>00098 <a class="code" href="action_8inc_8php.html#a16">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select dt_value from document_type where dt_id="</span>.$this-&gt;dt_id);
<a name="l00099"></a>00099 $v=pg_fetch_array($a,0);
<a name="l00100"></a>00100 $str_type=$v[0];
<a name="l00101"></a>00101
<a name="l00102"></a>00102 <span class="comment">// state</span>
<a name="l00103"></a>00103 <span class="comment">// Retrieve the value</span>
<a name="l00104"></a>00104 <a class="code" href="action_8inc_8php.html#a15">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select s_value from document_state where s_id="</span>.$this-&gt;d_state);
<a name="l00105"></a>00105 $v=pg_fetch_array($a,0);
<a name="l00106"></a>00106 $str_state=$v[0];
<a name="l00107"></a>00107 $state=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00108"></a>00108 $state-&gt;name=<span class="stringliteral">"d_state"</span>;
<a name="l00109"></a>00109 $state-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a18">d_state</a>;
<a name="l00110"></a>00110 <span class="comment">// title</span>
<a name="l00111"></a>00111 <a class="code" href="action_8inc_8php.html#a14">$title</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00112"></a>00112 <a class="code" href="action_8inc_8php.html#a14">$title</a>-&gt;readonly=<span class="keyword">true</span>;
<a name="l00113"></a>00113 <a class="code" href="action_8inc_8php.html#a14">$title</a>-&gt;name=<span class="stringliteral">"ag_title"</span>;
<a name="l00114"></a>00114 <a class="code" href="action_8inc_8php.html#a14">$title</a>-&gt;value=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;ag_title);
<a name="l00115"></a>00115
<a name="l00116"></a>00116 <span class="comment">// Description</span>
<a name="l00117"></a>00117 <a class="code" href="admin__repo_8php.html#a9">$desc</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>('textarea');
<a name="l00118"></a>00118 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;name=<span class="stringliteral">"ag_desc"</span>;
<a name="l00119"></a>00119 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;readonly=<span class="stringliteral">" disabled "</span>;
<a name="l00120"></a>00120 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a16">ag_desc</a>;
<a name="l00121"></a>00121 <span class="comment">// Propose to generate a document</span>
<a name="l00122"></a>00122 $gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a> (<span class="stringliteral">"checkbox"</span>);
<a name="l00123"></a>00123 $gen-&gt;name=<span class="stringliteral">"p_gen"</span>;
<a name="l00124"></a>00124 $doc_gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00125"></a>00125 $doc_gen-&gt;name=<span class="stringliteral">"gen_doc"</span>;
<a name="l00126"></a>00126 $doc_gen-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($this-&gt;db,
<a name="l00127"></a>00127 <span class="stringliteral">"select md_id,md_name from document_modele where md_type="</span>.$this-&gt;dt_id);
<a name="l00128"></a>00128 <span class="comment">// f_id</span>
<a name="l00129"></a>00129 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00130"></a>00130 $tiers-&gt;GetByQCode($this-&gt;qcode);
<a name="l00131"></a>00131 <span class="comment">// Preparing the return string</span>
<a name="l00132"></a>00132
<a name="l00133"></a>00133 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Date : "</span>.$date-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00134"></a>00134 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Etat $str_state"</span>.$state-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00135"></a>00135 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Type du document $str_type"</span>.$doc_type-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00136"></a>00136 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Tiers : "</span>.$this-&gt;qcode.<span class="stringliteral">" "</span>.$tiers-&gt;strAttribut(1).'&lt;/p&gt;';
<a name="l00137"></a>00137 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Titre : "</span>.$title-&gt;IOValue();
<a name="l00138"></a>00138 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Description :"</span>.urldecode($desc-&gt;IOValue()).<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00139"></a>00139 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00140"></a>00140
<a name="l00141"></a>00141 }
<a name="l00142"></a>00142
<a name="l00151"></a><a class="code" href="classaction.html#a2">00151</a> function <a class="code" href="classaction.html#a2">Confirm</a>()
<a name="l00152"></a>00152 {
<a name="l00153"></a>00153 <span class="keywordflow">if</span> ( <a class="code" href="ac__common_8php.html#a3">isDate</a>($this-&gt;ag_date) == NULL )
<a name="l00154"></a>00154 {
<a name="l00155"></a>00155 <span class="comment">// if the date is invalid, default date is today</span>
<a name="l00156"></a>00156 $this-&gt;<a class="code" href="action_8inc_8php.html#a17">ag_date</a>=date(<span class="stringliteral">"d.m.Y"</span>);
<a name="l00157"></a>00157 }
<a name="l00158"></a>00158 <span class="comment">// Compute the widget</span>
<a name="l00159"></a>00159 <span class="comment">// Date </span>
<a name="l00160"></a>00160 $date=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00161"></a>00161 $date-&gt;readonly=<span class="keyword">true</span>;
<a name="l00162"></a>00162 $date-&gt;name=<span class="stringliteral">"ag_date"</span>;
<a name="l00163"></a>00163 $date-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a17">ag_date</a>;
<a name="l00164"></a>00164 <span class="comment">// Doc Type</span>
<a name="l00165"></a>00165 <a class="code" href="action_8inc_8php.html#a11">$doc_type</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00166"></a>00166 <a class="code" href="action_8inc_8php.html#a11">$doc_type</a>-&gt;name=<span class="stringliteral">"dt_id"</span>;
<a name="l00167"></a>00167 <a class="code" href="action_8inc_8php.html#a11">$doc_type</a>-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a19">dt_id</a>;
<a name="l00168"></a>00168 <a class="code" href="action_8inc_8php.html#a15">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select dt_value from document_type where dt_id="</span>.$this-&gt;dt_id);
<a name="l00169"></a>00169 $v=pg_fetch_array($a,0);
<a name="l00170"></a>00170 $str_type=$v[0];
<a name="l00171"></a>00171 <span class="keywordflow">if</span> ( isset ($_REQUEST['url']))
<a name="l00172"></a>00172 {
<a name="l00173"></a>00173 <a class="code" href="action_8inc_8php.html#a1">$retour</a>=sprintf('&lt;A HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',urldecode($_REQUEST['url']));
<a name="l00174"></a>00174 <a class="code" href="action_8inc_8php.html#a2">$h_url</a>=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"%s"</span>&gt;',urldecode($_REQUEST['url']));
<a name="l00175"></a>00175 }
<a name="l00176"></a>00176 <span class="keywordflow">else</span>
<a name="l00177"></a>00177 {
<a name="l00178"></a>00178 <a class="code" href="action_8inc_8php.html#a1">$retour</a>=<span class="stringliteral">""</span>;
<a name="l00179"></a>00179 <a class="code" href="action_8inc_8php.html#a2">$h_url</a>=<span class="stringliteral">""</span>;
<a name="l00180"></a>00180 }
<a name="l00181"></a>00181
<a name="l00182"></a>00182 <span class="comment">// state</span>
<a name="l00183"></a>00183 <span class="comment">// Retrieve the value</span>
<a name="l00184"></a>00184 <a class="code" href="action_8inc_8php.html#a15">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select s_value from document_state where s_id="</span>.$this-&gt;d_state);
<a name="l00185"></a>00185 $v=pg_fetch_array($a,0);
<a name="l00186"></a>00186 $str_state=$v[0];
<a name="l00187"></a>00187 $state=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00188"></a>00188 $state-&gt;name=<span class="stringliteral">"d_state"</span>;
<a name="l00189"></a>00189 $state-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a18">d_state</a>;
<a name="l00190"></a>00190 <span class="comment">// title</span>
<a name="l00191"></a>00191 <a class="code" href="action_8inc_8php.html#a14">$title</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00192"></a>00192 <a class="code" href="action_8inc_8php.html#a14">$title</a>-&gt;readonly=<span class="keyword">true</span>;
<a name="l00193"></a>00193 <a class="code" href="action_8inc_8php.html#a14">$title</a>-&gt;name=<span class="stringliteral">"ag_title"</span>;
<a name="l00194"></a>00194 <a class="code" href="action_8inc_8php.html#a14">$title</a>-&gt;value=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;ag_title);
<a name="l00195"></a>00195
<a name="l00196"></a>00196 <span class="comment">// Description</span>
<a name="l00197"></a>00197 <a class="code" href="admin__repo_8php.html#a9">$desc</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>('textarea');
<a name="l00198"></a>00198 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;name=<span class="stringliteral">"ag_desc"</span>;
<a name="l00199"></a>00199 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;readonly=<span class="stringliteral">" disabled "</span>;
<a name="l00200"></a>00200 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a16">ag_desc</a>;
<a name="l00201"></a>00201 <span class="comment">// Propose to generate a document</span>
<a name="l00202"></a>00202 $gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a> (<span class="stringliteral">"checkbox"</span>);
<a name="l00203"></a>00203 $gen-&gt;name=<span class="stringliteral">"p_gen"</span>;
<a name="l00204"></a>00204 $doc_gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00205"></a>00205 $doc_gen-&gt;name=<span class="stringliteral">"gen_doc"</span>;
<a name="l00206"></a>00206 $doc_gen-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($this-&gt;db,
<a name="l00207"></a>00207 <span class="stringliteral">"select md_id,md_name from document_modele where md_type="</span>.$this-&gt;dt_id);
<a name="l00208"></a>00208 <span class="comment">// f_id</span>
<a name="l00209"></a>00209 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00210"></a>00210 $tiers-&gt;GetByQCode($this-&gt;qcode);
<a name="l00211"></a>00211 <span class="comment">// Preparing the return string</span>
<a name="l00212"></a>00212 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="action_8inc_8php.html#a1">$retour</a>.<span class="stringliteral">"&lt;form method=\"post\"&gt;"</span>;
<a name="l00213"></a>00213 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Date : "</span>.$date-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00214"></a>00214 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Etat $str_state"</span>.$state-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00215"></a>00215 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Type du document $str_type"</span>.$doc_type-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00216"></a>00216 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Tiers : "</span>.$this-&gt;qcode.<span class="stringliteral">" "</span>.$tiers-&gt;strAttribut(1).'&lt;/p&gt;';
<a name="l00217"></a>00217 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Titre : "</span>.$title-&gt;IOValue();
<a name="l00218"></a>00218 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Description :"</span>.$desc-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00219"></a>00219 <span class="comment">// if no document exist for this type then do not display the question</span>
<a name="l00220"></a>00220 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span>($doc_gen-&gt;value) != 0)
<a name="l00221"></a>00221 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; G&amp;eacute;n&amp;eacute;rer un document "</span>.$gen-&gt;IOValue().<span class="stringliteral">" "</span>.$doc_gen-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00222"></a>00222
<a name="l00223"></a>00223 <span class="comment">// Add the hidden tag</span>
<a name="l00224"></a>00224 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"save_action_st2"</span>&gt;';
<a name="l00225"></a>00225 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;';
<a name="l00226"></a>00226 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"tiers"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"'.$this-&gt;qcode.'"</span>&gt;';
<a name="l00227"></a>00227 <span class="keywordflow">if</span> ( $tiers-&gt;strAttribut(1) != <span class="stringliteral">"- ERROR -"</span>)
<a name="l00228"></a>00228 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;Submit(<span class="stringliteral">"Save"</span>,<span class="stringliteral">"Sauve"</span>);
<a name="l00229"></a>00229 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;Submit(<span class="stringliteral">"corr"</span>,<span class="stringliteral">"Corrige"</span>);
<a name="l00104"></a>00104 <span class="comment">// Retrieve the value if there is an attached doc</span>
<a name="l00105"></a>00105 $doc_ref=<span class="stringliteral">""</span>;
<a name="l00106"></a>00106 <span class="keywordflow">if</span> ( strlen ($this-&gt;d_state) &gt; 0 )
<a name="l00107"></a>00107 {
<a name="l00108"></a>00108 <a class="code" href="action_8inc_8php.html#a16">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select s_value from document_state where s_id="</span>.$this-&gt;d_state);
<a name="l00109"></a>00109 $v=pg_fetch_array($a,0);
<a name="l00110"></a>00110 $str_state=$v[0];
<a name="l00111"></a>00111 $state=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00112"></a>00112 $state-&gt;name=<span class="stringliteral">"d_state"</span>;
<a name="l00113"></a>00113 $state-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a19">d_state</a>;
<a name="l00114"></a>00114 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>=<span class="keyword">new</span> <a class="code" href="classDocument.html">Document</a>($this-&gt;db,$this-&gt;d_id);
<a name="l00115"></a>00115 $doc_ref=<span class="stringliteral">"&lt;p&gt; Document "</span>.$doc-&gt;a_ref().'&lt;/p&gt;';
<a name="l00116"></a>00116 }
<a name="l00117"></a>00117 <span class="keywordflow">else</span>
<a name="l00118"></a>00118 $str_state=<span class="stringliteral">""</span>;
<a name="l00119"></a>00119 <span class="comment">// title</span>
<a name="l00120"></a>00120 <a class="code" href="action_8inc_8php.html#a15">$title</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00121"></a>00121 <a class="code" href="action_8inc_8php.html#a15">$title</a>-&gt;readonly=<span class="keyword">true</span>;
<a name="l00122"></a>00122 <a class="code" href="action_8inc_8php.html#a15">$title</a>-&gt;name=<span class="stringliteral">"ag_title"</span>;
<a name="l00123"></a>00123 <a class="code" href="action_8inc_8php.html#a15">$title</a>-&gt;value=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;ag_title);
<a name="l00124"></a>00124
<a name="l00125"></a>00125 <span class="comment">// ag_ref</span>
<a name="l00126"></a>00126 $ag_ref=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00127"></a>00127 $ag_ref-&gt;readonly=<span class="keyword">true</span>;
<a name="l00128"></a>00128 $ag_ref-&gt;name=<span class="stringliteral">"ag_ref"</span>;
<a name="l00129"></a>00129 $ag_ref-&gt;value=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;ag_ref);
<a name="l00130"></a>00130
<a name="l00131"></a>00131
<a name="l00132"></a>00132 <span class="comment">// Description</span>
<a name="l00133"></a>00133 <a class="code" href="admin__repo_8php.html#a9">$desc</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>('textarea');
<a name="l00134"></a>00134 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;name=<span class="stringliteral">"ag_comment"</span>;
<a name="l00135"></a>00135 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;readonly=<span class="stringliteral">" disabled "</span>;
<a name="l00136"></a>00136 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a17">ag_comment</a>;
<a name="l00137"></a>00137 <span class="comment">// Propose to generate a document</span>
<a name="l00138"></a>00138 $gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a> (<span class="stringliteral">"checkbox"</span>);
<a name="l00139"></a>00139 $gen-&gt;name=<span class="stringliteral">"p_gen"</span>;
<a name="l00140"></a>00140 $doc_gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00141"></a>00141 $doc_gen-&gt;name=<span class="stringliteral">"gen_doc"</span>;
<a name="l00142"></a>00142 $doc_gen-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($this-&gt;db,
<a name="l00143"></a>00143 <span class="stringliteral">"select md_id,md_name from document_modele where md_type="</span>.$this-&gt;dt_id);
<a name="l00144"></a>00144 <span class="comment">// f_id</span>
<a name="l00145"></a>00145 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00146"></a>00146 $tiers-&gt;GetByQCode($this-&gt;qcode);
<a name="l00147"></a>00147 <span class="comment">// Preparing the return string</span>
<a name="l00148"></a>00148
<a name="l00149"></a>00149 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Date : "</span>.$date-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00150"></a>00150 <span class="keywordflow">if</span> ( $str_type != <span class="stringliteral">""</span> )
<a name="l00151"></a>00151 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Type du document $str_type"</span>.$doc_type-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00152"></a>00152 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Tiers : "</span>.$this-&gt;qcode.<span class="stringliteral">" "</span>.$tiers-&gt;strAttribut(1).'&lt;/p&gt;';
<a name="l00153"></a>00153 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Titre : "</span>.$title-&gt;IOValue().' Ref :'.$ag_ref-&gt;IOValue();
<a name="l00154"></a>00154 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$doc_ref;
<a name="l00155"></a>00155 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Description :"</span>.urldecode(urldecode($desc-&gt;IOValue())).<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00156"></a>00156
<a name="l00157"></a>00157 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00158"></a>00158
<a name="l00159"></a>00159 }
<a name="l00162"></a><a class="code" href="classaction.html#a2">00162</a> function <a class="code" href="classaction.html#a2">get</a>()
<a name="l00163"></a>00163 {
<a name="l00164"></a>00164 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_action',__LINE__,'Action::Get() ');
<a name="l00165"></a>00165 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select * from action_gestion left join document using (ag_id) where ag_id="</span>.$this-&gt;ag_id;
<a name="l00166"></a>00166 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql);
<a name="l00167"></a>00167 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_all($r);
<a name="l00168"></a>00168 <span class="keywordflow">if</span> ( $row==<span class="keyword">false</span>) <span class="keywordflow">return</span>;
<a name="l00169"></a>00169 $this-&gt;<a class="code" href="action_8inc_8php.html#a17">ag_comment</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[0]['<a class="code" href="action_8inc_8php.html#a17">ag_comment</a>'];
<a name="l00170"></a>00170 $this-&gt;<a class="code" href="action_8inc_8php.html#a18">ag_timestamp</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[0]['<a class="code" href="action_8inc_8php.html#a18">ag_timestamp</a>'];
<a name="l00171"></a>00171 $this-&gt;<a class="code" href="facture_8inc_8php.html#a19">f_id</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[0]['<a class="code" href="facture_8inc_8php.html#a19">f_id</a>'];
<a name="l00172"></a>00172 $this-&gt;<a class="code" href="action_8inc_8php.html#a22">ag_title</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[0]['<a class="code" href="action_8inc_8php.html#a22">ag_title</a>'];
<a name="l00173"></a>00173 $this-&gt;ag_type=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[0]['ag_type'];
<a name="l00174"></a>00174 $this-&gt;ag_ref=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[0]['ag_ref'];
<a name="l00175"></a>00175 $this-&gt;d_id=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[0]['d_id'];
<a name="l00176"></a>00176 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_action',__LINE__,' <a class="code" href="classDocument.html">Document</a> <span class="keywordtype">id</span> = '.$this-&gt;d_id);
<a name="l00177"></a>00177 <span class="comment">// if there is no document set 0 to d_id</span>
<a name="l00178"></a>00178 <span class="keywordflow">if</span> ( $this-&gt;d_id == <span class="stringliteral">""</span> )
<a name="l00179"></a>00179 $this-&gt;d_id=0;
<a name="l00180"></a>00180 <span class="comment">// if there is a document fill the object</span>
<a name="l00181"></a>00181 <span class="keywordflow">if</span> ($this-&gt;d_id != 0 )
<a name="l00182"></a>00182 {
<a name="l00183"></a>00183 $this-&gt;<a class="code" href="action_8inc_8php.html#a19">d_state</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[0]['<a class="code" href="action_8inc_8php.html#a19">d_state</a>'];
<a name="l00184"></a>00184 }
<a name="l00185"></a>00185 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_action',__LINE__,' After test <a class="code" href="classDocument.html">Document</a> <span class="keywordtype">id</span> = '.$this-&gt;d_id);
<a name="l00186"></a>00186 $this-&gt;<a class="code" href="action_8inc_8php.html#a20">dt_id</a>=$this-&gt;ag_type;
<a name="l00187"></a>00187 <a class="code" href="action_8inc_8php.html#a16">$a</a>=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db,$this-&gt;f_id);
<a name="l00188"></a>00188 $this-&gt;<a class="code" href="action_8inc_8php.html#a21">qcode</a>=<a class="code" href="action_8inc_8php.html#a16">$a</a>-&gt;strAttribut(<a class="code" href="constant_8php.html#a73">ATTR_DEF_QUICKCODE</a>);
<a name="l00189"></a>00189
<a name="l00190"></a>00190 }
<a name="l00199"></a><a class="code" href="classaction.html#a3">00199</a> function <a class="code" href="classaction.html#a3">Confirm</a>()
<a name="l00200"></a>00200 {
<a name="l00202"></a>00202 <span class="keywordflow">if</span> ( <a class="code" href="ac__common_8php.html#a3">isDate</a>($this-&gt;ag_timestamp) == NULL )
<a name="l00203"></a>00203 {
<a name="l00204"></a>00204 <span class="comment">// if the date is invalid, default date is today</span>
<a name="l00205"></a>00205 $this-&gt;<a class="code" href="action_8inc_8php.html#a18">ag_timestamp</a>=date(<span class="stringliteral">"d.m.Y"</span>);
<a name="l00206"></a>00206 }
<a name="l00207"></a>00207 <span class="comment">// Compute the widget</span>
<a name="l00208"></a>00208 <span class="comment">// Date </span>
<a name="l00209"></a>00209 $date=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00210"></a>00210 $date-&gt;readonly=<span class="keyword">true</span>;
<a name="l00211"></a>00211 $date-&gt;name=<span class="stringliteral">"ag_timestamp"</span>;
<a name="l00212"></a>00212 $date-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a18">ag_timestamp</a>;
<a name="l00213"></a>00213 <span class="comment">// Doc Type</span>
<a name="l00214"></a>00214 <a class="code" href="action_8inc_8php.html#a12">$doc_type</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00215"></a>00215 <a class="code" href="action_8inc_8php.html#a12">$doc_type</a>-&gt;name=<span class="stringliteral">"dt_id"</span>;
<a name="l00216"></a>00216 <a class="code" href="action_8inc_8php.html#a12">$doc_type</a>-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a20">dt_id</a>;
<a name="l00217"></a>00217 <a class="code" href="action_8inc_8php.html#a16">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select dt_value from document_type where dt_id="</span>.$this-&gt;dt_id);
<a name="l00218"></a>00218 $v=pg_fetch_array($a,0);
<a name="l00219"></a>00219 $str_type=$v[0];
<a name="l00220"></a>00220 <span class="keywordflow">if</span> ( isset ($_REQUEST['url']))
<a name="l00221"></a>00221 {
<a name="l00222"></a>00222 <a class="code" href="action_8inc_8php.html#a1">$retour</a>=sprintf('&lt;A HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',urldecode($_REQUEST['url']));
<a name="l00223"></a>00223 <a class="code" href="action_8inc_8php.html#a2">$h_url</a>=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"%s"</span>&gt;',urldecode($_REQUEST['url']));
<a name="l00224"></a>00224 }
<a name="l00225"></a>00225 <span class="keywordflow">else</span>
<a name="l00226"></a>00226 {
<a name="l00227"></a>00227 <a class="code" href="action_8inc_8php.html#a1">$retour</a>=<span class="stringliteral">""</span>;
<a name="l00228"></a>00228 <a class="code" href="action_8inc_8php.html#a2">$h_url</a>=<span class="stringliteral">""</span>;
<a name="l00229"></a>00229 }
<a name="l00230"></a>00230
<a name="l00231"></a>00231 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="action_8inc_8php.html#a2">$h_url</a>.<span class="stringliteral">"&lt;/form&gt;"</span>;
<a name="l00232"></a>00232 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00233"></a>00233 }
<a name="l00241"></a><a class="code" href="classaction.html#a3">00241</a> function <a class="code" href="classaction.html#a3">SaveStage2</a>()
<a name="l00242"></a>00242 {
<a name="l00243"></a>00243 <span class="comment">// Get The sequence id, </span>
<a name="l00244"></a>00244 $seq_name=<span class="stringliteral">"seq_doc_type_"</span>.$this-&gt;dt_id;
<a name="l00245"></a>00245 <a class="code" href="facture_8inc_8php.html#a22">$str_file</a>=<span class="stringliteral">""</span>;
<a name="l00246"></a>00246 $add_file='';
<a name="l00247"></a>00247 <span class="comment">// f_id</span>
<a name="l00248"></a>00248 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00249"></a>00249 $tiers-&gt;GetByQCode($this-&gt;qcode);
<a name="l00250"></a>00250 <span class="keywordflow">if</span> ( trim($this-&gt;ag_title) == <span class="stringliteral">""</span>) {
<a name="l00251"></a>00251 $doc_mod=<span class="keyword">new</span> document_type($this-&gt;db);
<a name="l00252"></a>00252 $doc_mod-&gt;dt_id=$this-&gt;<a class="code" href="action_8inc_8php.html#a19">dt_id</a>;
<a name="l00253"></a>00253 $doc_mod-&gt;get();
<a name="l00254"></a>00254 $this-&gt;<a class="code" href="action_8inc_8php.html#a21">ag_title</a>=$doc_mod-&gt;dt_value;
<a name="l00255"></a>00255 }
<a name="l00256"></a>00256 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_action',__LINE__,<span class="stringliteral">" tiers-&gt;id "</span>.$tiers-&gt;id);
<a name="l00257"></a>00257 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"insert into action_gestion(ag_type,ag_title,f_id,ag_comment) values ('%s','%s',%d,'%s')"</span>, $this-&gt;dt_id,
<a name="l00258"></a>00258 <a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;ag_title),
<a name="l00259"></a>00259 $tiers-&gt;id,
<a name="l00260"></a>00260 <a class="code" href="ac__common_8php.html#a9">FormatString</a>(urlencode($this-&gt;ag_desc)));
<a name="l00261"></a>00261 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql);
<a name="l00262"></a>00262 $this-&gt;<a class="code" href="action_8inc_8php.html#a25">ag_id</a>=<a class="code" href="postgres_8php.html#a12">GetSequence</a>($this-&gt;db,'action_gestion_ag_id_seq');
<a name="l00263"></a>00263
<a name="l00264"></a>00264 <span class="comment">// the lob filename and the mimetype needed if we want to generate a doc.</span>
<a name="l00265"></a>00265 <span class="keywordflow">if</span> ( $this-&gt;gen == 'on' )
<a name="l00266"></a>00266 {
<a name="l00267"></a>00267 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>=<span class="keyword">new</span> <a class="code" href="classDocument.html">Document</a>($this-&gt;db);
<a name="l00268"></a>00268 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;f_id=$tiers-&gt;id;
<a name="l00269"></a>00269 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;md_id=$this-&gt;<a class="code" href="action_8inc_8php.html#a22">md_id</a>;
<a name="l00270"></a>00270 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;ag_id=$this-&gt;<a class="code" href="action_8inc_8php.html#a25">ag_id</a>;
<a name="l00271"></a>00271 <a class="code" href="facture_8inc_8php.html#a22">$str_file</a>=<a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;Generate();
<a name="l00272"></a>00272 }
<a name="l00273"></a>00273
<a name="l00274"></a>00274 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$this-&gt;<a class="code" href="classaction.html#a1">Display</a>();
<a name="l00275"></a>00275 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;hr&gt;"</span>;
<a name="l00276"></a>00276 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;form enctype=<span class="stringliteral">"multipart/form-data"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00277"></a>00277 <span class="comment">// Add the hidden tag</span>
<a name="l00278"></a>00278 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"save_action_st3"</span>&gt;';
<a name="l00279"></a>00279 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;';
<a name="l00280"></a>00280 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"ag_id"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"'.$this-&gt;ag_id.'"</span>&gt;';
<a name="l00281"></a>00281
<a name="l00282"></a>00282 <span class="comment">// Value for the generated document</span>
<a name="l00283"></a>00283 <span class="keywordflow">if</span> ( $this-&gt;gen == 'on' )
<a name="l00284"></a>00284 {
<a name="l00285"></a>00285 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"d_id"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"'.$doc-&gt;d_id.'"</span>&gt;';
<a name="l00286"></a>00286 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"Sauver le document généré :"</span>;
<a name="l00287"></a>00287 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="facture_8inc_8php.html#a22">$str_file</a>;
<a name="l00288"></a>00288 $checkbox=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"checkbox"</span>);
<a name="l00289"></a>00289 $checkbox-&gt;name=<span class="stringliteral">"save_generate"</span>;
<a name="l00290"></a>00290 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$checkbox-&gt;IOValue();
<a name="l00291"></a>00291 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;hr&gt;"</span>;
<a name="l00292"></a>00292 }
<a name="l00293"></a>00293 $upload=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"file"</span>);
<a name="l00294"></a>00294 $upload-&gt;name=<span class="stringliteral">"file_upload"</span>;
<a name="l00295"></a>00295 $upload-&gt;value=<span class="stringliteral">""</span>;
<a name="l00296"></a>00296 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"Enregistrer le fichier "</span>.$upload-&gt;IOValue();
<a name="l00297"></a>00297 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$upload-&gt;Submit(<span class="stringliteral">"save"</span>,<span class="stringliteral">"Sauve le fichier"</span>);
<a name="l00298"></a>00298 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/form&gt;"</span>;
<a name="l00299"></a>00299 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00300"></a>00300 }
<a name="l00306"></a><a class="code" href="classaction.html#a4">00306</a> function <a class="code" href="classaction.html#a4">SaveStage3</a>($d_id)
<a name="l00307"></a>00307 {
<a name="l00308"></a>00308 <span class="comment">// no generated doc</span>
<a name="l00309"></a>00309 <span class="keywordflow">if</span> ( $d_id == 0 ) <span class="keywordflow">return</span>;
<a name="l00310"></a>00310 <span class="comment">// if we save the generated doc</span>
<a name="l00311"></a>00311 <span class="keywordflow">if</span> ( isset($_POST['save_generate']))
<a name="l00312"></a>00312 {
<a name="l00313"></a>00313 <span class="keywordflow">return</span>;
<a name="l00314"></a>00314 }
<a name="l00315"></a>00315
<a name="l00316"></a>00316 <span class="comment">// Upload a new document</span>
<a name="l00317"></a>00317 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>=<span class="keyword">new</span> <a class="code" href="classDocument.html">Document</a>($this-&gt;db);
<a name="l00318"></a>00318 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;d_id=<a class="code" href="action_8inc_8php.html#a26">$d_id</a>;
<a name="l00319"></a>00319 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;Upload($this-&gt;ag_id);
<a name="l00320"></a>00320 }
<a name="l00329"></a><a class="code" href="classaction.html#a5">00329</a> function <a class="code" href="classaction.html#a5">myList</a>($p_filter=<span class="stringliteral">""</span>,$p_search=<span class="stringliteral">""</span>)
<a name="l00330"></a>00330 {
<a name="l00331"></a>00331 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"</span>
<a name="l00332"></a>00332 <span class="stringliteral"> select ag_id,to_char(ag_timestamp,'DD-MM-YYYY HH:MI') as my_date,f_id,ag_title,d_id,md_type,dt_value </span>
<a name="l00333"></a>00333 <span class="stringliteral"> from action_gestion </span>
<a name="l00334"></a>00334 <span class="stringliteral"> left outer join document using (ag_id)</span>
<a name="l00335"></a>00335 <span class="stringliteral"> left outer join document_modele on (ag_type=md_type) </span>
<a name="l00336"></a>00336 <span class="stringliteral"> join document_type on (ag_type=dt_id)</span>
<a name="l00337"></a>00337 <span class="stringliteral"> where dt_id in ($p_filter) $p_search"</span>;
<a name="l00338"></a>00338 $max_line=<a class="code" href="postgres_8php.html#a10">CountSql</a>($this-&gt;db,$sql);
<a name="l00339"></a>00339 <a class="code" href="bank_8inc_8php.html#a11">$step</a>=<a class="code" href="commercial_8php.html#a0">$_SESSION</a>['g_pagesize'];
<a name="l00340"></a>00340 <a class="code" href="bank_8inc_8php.html#a12">$page</a>=(isset($_GET['offset']))?$_GET['page']:1;
<a name="l00341"></a>00341 <a class="code" href="bank_8inc_8php.html#a13">$offset</a>=(isset($_GET['offset']))?$_GET['offset']:0;
<a name="l00342"></a>00342 <a class="code" href="jrn__pdf_8php.html#a9">$limit</a>=<span class="stringliteral">" LIMIT $step OFFSET $offset "</span>;
<a name="l00343"></a>00343 <a class="code" href="bank_8inc_8php.html#a15">$bar</a>=<a class="code" href="user__common_8php.html#a16">jrn_navigation_bar</a>($offset,$max_line,$step,$page);
<a name="l00344"></a>00344
<a name="l00345"></a>00345 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql.$limit);
<a name="l00346"></a>00346 $a_row=pg_fetch_all($Res);
<a name="l00347"></a>00347 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00348"></a>00348 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="bank_8inc_8php.html#a15">$bar</a>;
<a name="l00349"></a>00349 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;table&gt;"</span>;
<a name="l00350"></a>00350 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;tr&gt;"</span>;
<a name="l00351"></a>00351 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Date&lt;/th&gt;"</span>;
<a name="l00352"></a>00352 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Société&lt;/th&gt;"</span>;
<a name="l00353"></a>00353 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Titre&lt;/th&gt;"</span>;
<a name="l00354"></a>00354 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;type&lt;/th&gt;"</span>;
<a name="l00355"></a>00355 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Document&lt;/th&gt;"</span>;
<a name="l00356"></a>00356 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/tr&gt;"</span>;
<a name="l00357"></a>00357
<a name="l00358"></a>00358 <span class="comment">// if there are no records return a message</span>
<a name="l00359"></a>00359 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span> ($a_row) == 0 or $a_row == <span class="keyword">false</span> )
<a name="l00360"></a>00360 {
<a name="l00361"></a>00361 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00362"></a>00362 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;hr&gt;Aucun enregistrement trouvé';
<a name="l00363"></a>00363 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/div&gt;"</span>;
<a name="l00364"></a>00364 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00365"></a>00365
<a name="l00366"></a>00366 }
<a name="l00367"></a>00367 foreach ($a_row as $row )
<a name="l00368"></a>00368 {
<a name="l00369"></a>00369 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;tr&gt;"</span>;
<a name="l00370"></a>00370 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$row['my_date'].<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00371"></a>00371 $f=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00372"></a>00372 $f-&gt;id=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['<a class="code" href="facture_8inc_8php.html#a19">f_id</a>'];
<a name="l00373"></a>00373 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$f-&gt;getName().<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00374"></a>00374 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$row['<a class="code" href="action_8inc_8php.html#a21">ag_title</a>'].<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00375"></a>00375 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$row['dt_value'].<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00376"></a>00376
<a name="l00377"></a>00377 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>=<span class="keyword">new</span> <a class="code" href="classDocument.html">Document</a>($this-&gt;db,$row['d_id']);
<a name="l00378"></a>00378 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$doc-&gt;a_ref().<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00379"></a>00379 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/tr&gt;"</span>;
<a name="l00380"></a>00380
<a name="l00381"></a>00381 }
<a name="l00382"></a>00382 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/table&gt;"</span>;
<a name="l00383"></a>00383 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="bank_8inc_8php.html#a15">$bar</a>;
<a name="l00384"></a>00384 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/div&gt;"</span>;
<a name="l00385"></a>00385 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00386"></a>00386 }
<a name="l00387"></a>00387
<a name="l00388"></a>00388
<a name="l00389"></a>00389
<a name="l00390"></a>00390 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00231"></a>00231 <span class="comment">// state</span>
<a name="l00232"></a>00232 <a class="code" href="action_8inc_8php.html#a16">$a</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select s_value from document_state where s_id="</span>.$this-&gt;d_state);
<a name="l00233"></a>00233 $v=pg_fetch_array($a,0);
<a name="l00234"></a>00234 $str_state=$v[0];
<a name="l00235"></a>00235 $state=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00236"></a>00236 $state-&gt;name=<span class="stringliteral">"d_state"</span>;
<a name="l00237"></a>00237 $state-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a19">d_state</a>;
<a name="l00238"></a>00238
<a name="l00239"></a>00239 <span class="comment">// title</span>
<a name="l00240"></a>00240 <a class="code" href="action_8inc_8php.html#a15">$title</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00241"></a>00241 <a class="code" href="action_8inc_8php.html#a15">$title</a>-&gt;readonly=<span class="keyword">true</span>;
<a name="l00242"></a>00242 <a class="code" href="action_8inc_8php.html#a15">$title</a>-&gt;name=<span class="stringliteral">"ag_title"</span>;
<a name="l00243"></a>00243 <a class="code" href="action_8inc_8php.html#a15">$title</a>-&gt;value=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;ag_title);
<a name="l00244"></a>00244
<a name="l00245"></a>00245 <span class="comment">// Description</span>
<a name="l00246"></a>00246 <a class="code" href="admin__repo_8php.html#a9">$desc</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>('textarea');
<a name="l00247"></a>00247 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;name=<span class="stringliteral">"ag_comment"</span>;
<a name="l00248"></a>00248 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;readonly=<span class="stringliteral">" disabled "</span>;
<a name="l00249"></a>00249 <a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;value=$this-&gt;<a class="code" href="action_8inc_8php.html#a17">ag_comment</a>;
<a name="l00250"></a>00250 <span class="comment">// Propose to generate a document</span>
<a name="l00251"></a>00251 $gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a> (<span class="stringliteral">"checkbox"</span>);
<a name="l00252"></a>00252 $gen-&gt;name=<span class="stringliteral">"p_gen"</span>;
<a name="l00253"></a>00253 $doc_gen=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00254"></a>00254 $doc_gen-&gt;name=<span class="stringliteral">"gen_doc"</span>;
<a name="l00255"></a>00255 $doc_gen-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($this-&gt;db,
<a name="l00256"></a>00256 <span class="stringliteral">"select md_id,md_name from document_modele where md_type="</span>.$this-&gt;dt_id);
<a name="l00257"></a>00257 <span class="comment">// f_id</span>
<a name="l00258"></a>00258 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00259"></a>00259 $tiers-&gt;GetByQCode($this-&gt;qcode);
<a name="l00260"></a>00260 <span class="comment">// Preparing the return string</span>
<a name="l00261"></a>00261 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="action_8inc_8php.html#a1">$retour</a>.<span class="stringliteral">"&lt;form method=\"post\"&gt;"</span>;
<a name="l00262"></a>00262 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Date : "</span>.$date-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00263"></a>00263 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Etat $str_state"</span>.$state-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00264"></a>00264 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Type du document $str_type"</span>.$doc_type-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00265"></a>00265 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Tiers : "</span>.$this-&gt;qcode.<span class="stringliteral">" "</span>.$tiers-&gt;strAttribut(1).'&lt;/p&gt;';
<a name="l00266"></a>00266 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; Titre : "</span>.$title-&gt;IOValue();
<a name="l00267"></a>00267 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt;Description :"</span>.$desc-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00268"></a>00268
<a name="l00269"></a>00269 <span class="comment">// if no document exist for this type then do not display the question</span>
<a name="l00270"></a>00270 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span>($doc_gen-&gt;value) != 0)
<a name="l00271"></a>00271 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;p&gt; G&amp;eacute;n&amp;eacute;rer un document "</span>.$gen-&gt;IOValue().<span class="stringliteral">" "</span>.$doc_gen-&gt;IOValue().<span class="stringliteral">"&lt;/p&gt;"</span>;
<a name="l00272"></a>00272
<a name="l00273"></a>00273 <span class="comment">// Add the hidden tag</span>
<a name="l00274"></a>00274 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"save_action_st2"</span>&gt;';
<a name="l00275"></a>00275 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;';
<a name="l00276"></a>00276 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"tiers"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$this-&gt;qcode.'"</span>&gt;';
<a name="l00277"></a>00277 <span class="keywordflow">if</span> ( $tiers-&gt;strAttribut(1) != <span class="stringliteral">"- ERROR -"</span>)
<a name="l00278"></a>00278 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;Submit(<span class="stringliteral">"Save"</span>,<span class="stringliteral">"Sauve"</span>);
<a name="l00279"></a>00279 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="admin__repo_8php.html#a9">$desc</a>-&gt;Submit(<span class="stringliteral">"corr"</span>,<span class="stringliteral">"Corrige"</span>);
<a name="l00280"></a>00280
<a name="l00281"></a>00281 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="action_8inc_8php.html#a2">$h_url</a>.<span class="stringliteral">"&lt;/form&gt;"</span>;
<a name="l00282"></a>00282 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00283"></a>00283 }
<a name="l00291"></a><a class="code" href="classaction.html#a4">00291</a> function <a class="code" href="classaction.html#a4">SaveStage2</a>()
<a name="l00292"></a>00292 {
<a name="l00293"></a>00293 <span class="comment">// Get The sequence id, </span>
<a name="l00294"></a>00294 $seq_name=<span class="stringliteral">"seq_doc_type_"</span>.$this-&gt;dt_id;
<a name="l00295"></a>00295 <a class="code" href="facture_8inc_8php.html#a22">$str_file</a>=<span class="stringliteral">""</span>;
<a name="l00296"></a>00296 $add_file='';
<a name="l00297"></a>00297 <span class="comment">// f_id</span>
<a name="l00298"></a>00298 $tiers=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00299"></a>00299 $tiers-&gt;GetByQCode($this-&gt;qcode);
<a name="l00300"></a>00300 <span class="keywordflow">if</span> ( trim($this-&gt;ag_title) == <span class="stringliteral">""</span>) {
<a name="l00301"></a>00301 $doc_mod=<span class="keyword">new</span> document_type($this-&gt;db);
<a name="l00302"></a>00302 $doc_mod-&gt;dt_id=$this-&gt;<a class="code" href="action_8inc_8php.html#a20">dt_id</a>;
<a name="l00303"></a>00303 $doc_mod-&gt;get();
<a name="l00304"></a>00304 $this-&gt;<a class="code" href="action_8inc_8php.html#a22">ag_title</a>=$doc_mod-&gt;dt_value;
<a name="l00305"></a>00305 }
<a name="l00306"></a>00306 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_action',__LINE__,<span class="stringliteral">" tiers-&gt;id "</span>.$tiers-&gt;id);
<a name="l00307"></a>00307 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">ag_id</a>=<a class="code" href="postgres_8php.html#a13">NextSequence</a>($this-&gt;db,'action_gestion_ag_id_seq');
<a name="l00308"></a>00308 <span class="comment">// Create the reference </span>
<a name="l00309"></a>00309 $ref=$this-&gt;<a class="code" href="action_8inc_8php.html#a20">dt_id</a>.<span class="charliteral">'/'</span>.$this-&gt;<a class="code" href="action_8inc_8php.html#a3">ag_id</a>;
<a name="l00310"></a>00310 $this-&gt;ag_ref=$ref;
<a name="l00311"></a>00311
<a name="l00312"></a>00312 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"insert into action_gestion(ag_id,ag_type,ag_title,f_id,ag_comment,ag_ref) values (%d,'%s','%s',%d,'%s','%s')"</span>,
<a name="l00313"></a>00313 $this-&gt;ag_id,
<a name="l00314"></a>00314 $this-&gt;dt_id,
<a name="l00315"></a>00315 <a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;ag_title),
<a name="l00316"></a>00316 $tiers-&gt;id,
<a name="l00317"></a>00317 <a class="code" href="ac__common_8php.html#a9">FormatString</a>(urlencode($this-&gt;ag_comment)),
<a name="l00318"></a>00318 $ref
<a name="l00319"></a>00319 );
<a name="l00320"></a>00320 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql);
<a name="l00321"></a>00321
<a name="l00322"></a>00322
<a name="l00323"></a>00323
<a name="l00324"></a>00324 <span class="comment">// the lob filename and the mimetype needed if we want to generate a doc.</span>
<a name="l00325"></a>00325 <span class="keywordflow">if</span> ( $this-&gt;gen == 'on' )
<a name="l00326"></a>00326 {
<a name="l00327"></a>00327 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>=<span class="keyword">new</span> <a class="code" href="classDocument.html">Document</a>($this-&gt;db);
<a name="l00328"></a>00328 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;f_id=$tiers-&gt;id;
<a name="l00329"></a>00329 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;md_id=$this-&gt;<a class="code" href="action_8inc_8php.html#a23">md_id</a>;
<a name="l00330"></a>00330 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;ag_id=$this-&gt;<a class="code" href="action_8inc_8php.html#a3">ag_id</a>;
<a name="l00331"></a>00331 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;d_state=$this-&gt;<a class="code" href="action_8inc_8php.html#a19">d_state</a>;
<a name="l00332"></a>00332 <a class="code" href="facture_8inc_8php.html#a22">$str_file</a>=<a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;Generate();
<a name="l00333"></a>00333 <a class="code" href="impress__jrn_8php.html#a1">$d</a>='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"d_id"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$doc-&gt;d_id.'"</span>&gt;';
<a name="l00334"></a>00334 }
<a name="l00335"></a>00335
<a name="l00336"></a>00336 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$this-&gt;<a class="code" href="classaction.html#a1">Display</a>();
<a name="l00337"></a>00337 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;hr&gt;"</span>;
<a name="l00338"></a>00338 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;form enctype=<span class="stringliteral">"multipart/form-data"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00339"></a>00339 <span class="comment">// Add the hidden tag</span>
<a name="l00340"></a>00340 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"save_action_st3"</span>&gt;';
<a name="l00341"></a>00341 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"suivi_courrier"</span>&gt;';
<a name="l00342"></a>00342 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"ag_id"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$this-&gt;ag_id.'"</span>&gt;';
<a name="l00343"></a>00343 <span class="comment">// add the d_id</span>
<a name="l00344"></a>00344 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="impress__jrn_8php.html#a1">$d</a>;
<a name="l00345"></a>00345
<a name="l00346"></a>00346 <span class="comment">// Value for the generated document</span>
<a name="l00347"></a>00347 <span class="keywordflow">if</span> ( $this-&gt;gen == 'on' )
<a name="l00348"></a>00348 {
<a name="l00349"></a>00349 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"d_id"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$doc-&gt;d_id.'"</span>&gt;';
<a name="l00350"></a>00350 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"Sauver le document généré :"</span>;
<a name="l00351"></a>00351 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="facture_8inc_8php.html#a22">$str_file</a>;
<a name="l00352"></a>00352 $checkbox=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"checkbox"</span>);
<a name="l00353"></a>00353 $checkbox-&gt;name=<span class="stringliteral">"save_generate"</span>;
<a name="l00354"></a>00354 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$checkbox-&gt;IOValue();
<a name="l00355"></a>00355 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;hr&gt;"</span>;
<a name="l00356"></a>00356 }
<a name="l00357"></a>00357 $upload=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"file"</span>);
<a name="l00358"></a>00358 $upload-&gt;name=<span class="stringliteral">"file_upload"</span>;
<a name="l00359"></a>00359 $upload-&gt;value=<span class="stringliteral">""</span>;
<a name="l00360"></a>00360 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"Enregistrer le fichier "</span>.$upload-&gt;IOValue();
<a name="l00361"></a>00361 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$upload-&gt;Submit(<span class="stringliteral">"save"</span>,<span class="stringliteral">"Sauve le fichier"</span>);
<a name="l00362"></a>00362 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/form&gt;"</span>;
<a name="l00363"></a>00363 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00364"></a>00364 }
<a name="l00370"></a><a class="code" href="classaction.html#a5">00370</a> function <a class="code" href="classaction.html#a5">SaveStage3</a>($d_id)
<a name="l00371"></a>00371 {
<a name="l00372"></a>00372 <span class="comment">// no generated doc</span>
<a name="l00373"></a>00373 <span class="keywordflow">if</span> ( $d_id == 0 ) <span class="keywordflow">return</span>;
<a name="l00374"></a>00374 <span class="comment">// if we save the generated doc</span>
<a name="l00375"></a>00375 <span class="keywordflow">if</span> ( isset($_POST['save_generate']))
<a name="l00376"></a>00376 {
<a name="l00377"></a>00377 <span class="keywordflow">return</span>;
<a name="l00378"></a>00378 }
<a name="l00379"></a>00379
<a name="l00380"></a>00380 <span class="comment">// Upload a new document</span>
<a name="l00381"></a>00381 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>=<span class="keyword">new</span> <a class="code" href="classDocument.html">Document</a>($this-&gt;db);
<a name="l00382"></a>00382 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;d_id=<a class="code" href="action_8inc_8php.html#a26">$d_id</a>;
<a name="l00383"></a>00383 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>-&gt;Upload($this-&gt;ag_id);
<a name="l00384"></a>00384 }
<a name="l00393"></a><a class="code" href="classaction.html#a6">00393</a> function <a class="code" href="classaction.html#a6">myList</a>($p_filter=<span class="stringliteral">""</span>,$p_search=<span class="stringliteral">""</span>)
<a name="l00394"></a>00394 {
<a name="l00395"></a>00395 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"</span>
<a name="l00396"></a>00396 <span class="stringliteral"> select ag_id,to_char(ag_timestamp,'DD-MM-YYYY HH:MI') as my_date,f_id,ag_title,d_id,md_type,dt_value,ag_ref </span>
<a name="l00397"></a>00397 <span class="stringliteral"> from action_gestion </span>
<a name="l00398"></a>00398 <span class="stringliteral"> left outer join document using (ag_id)</span>
<a name="l00399"></a>00399 <span class="stringliteral"> left outer join document_modele on (ag_type=md_type) </span>
<a name="l00400"></a>00400 <span class="stringliteral"> join document_type on (ag_type=dt_id)</span>
<a name="l00401"></a>00401 <span class="stringliteral"> where dt_id in ($p_filter) $p_search"</span>;
<a name="l00402"></a>00402 $max_line=<a class="code" href="postgres_8php.html#a10">CountSql</a>($this-&gt;db,$sql);
<a name="l00403"></a>00403 <a class="code" href="bank_8inc_8php.html#a11">$step</a>=<a class="code" href="commercial_8php.html#a0">$_SESSION</a>['g_pagesize'];
<a name="l00404"></a>00404 <a class="code" href="bank_8inc_8php.html#a12">$page</a>=(isset($_GET['offset']))?$_GET['page']:1;
<a name="l00405"></a>00405 <a class="code" href="bank_8inc_8php.html#a13">$offset</a>=(isset($_GET['offset']))?$_GET['offset']:0;
<a name="l00406"></a>00406 <a class="code" href="jrn__pdf_8php.html#a9">$limit</a>=<span class="stringliteral">" LIMIT $step OFFSET $offset "</span>;
<a name="l00407"></a>00407 <a class="code" href="bank_8inc_8php.html#a15">$bar</a>=<a class="code" href="user__common_8php.html#a16">jrn_navigation_bar</a>($offset,$max_line,$step,$page);
<a name="l00408"></a>00408
<a name="l00409"></a>00409 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql.$limit);
<a name="l00410"></a>00410 $a_row=pg_fetch_all($Res);
<a name="l00411"></a>00411 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00412"></a>00412 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="bank_8inc_8php.html#a15">$bar</a>;
<a name="l00413"></a>00413 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;table&gt;"</span>;
<a name="l00414"></a>00414 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;tr&gt;"</span>;
<a name="l00415"></a>00415 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Date&lt;/th&gt;"</span>;
<a name="l00416"></a>00416 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Société&lt;/th&gt;"</span>;
<a name="l00417"></a>00417 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Titre&lt;/th&gt;"</span>;
<a name="l00418"></a>00418 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;type&lt;/th&gt;"</span>;
<a name="l00419"></a>00419 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Référence&lt;/th&gt;"</span>;
<a name="l00420"></a>00420 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;th&gt;Document&lt;/th&gt;"</span>;
<a name="l00421"></a>00421 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/tr&gt;"</span>;
<a name="l00422"></a>00422
<a name="l00423"></a>00423 <span class="comment">// if there are no records return a message</span>
<a name="l00424"></a>00424 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span> ($a_row) == 0 or $a_row == <span class="keyword">false</span> )
<a name="l00425"></a>00425 {
<a name="l00426"></a>00426 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00427"></a>00427 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;hr&gt;Aucun enregistrement trouvé';
<a name="l00428"></a>00428 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/div&gt;"</span>;
<a name="l00429"></a>00429 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00430"></a>00430
<a name="l00431"></a>00431 }
<a name="l00432"></a>00432 echo <a class="code" href="constant_8php.html#a80">JS_SEARCH_CARD</a>;
<a name="l00433"></a>00433 foreach ($a_row as $row )
<a name="l00434"></a>00434 {
<a name="l00435"></a>00435 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;tr&gt;"</span>;
<a name="l00436"></a>00436 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$row['my_date'].<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00437"></a>00437 $f=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a10">fiche</a>($this-&gt;db);
<a name="l00438"></a>00438 $f-&gt;id=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['<a class="code" href="facture_8inc_8php.html#a19">f_id</a>'];
<a name="l00439"></a>00439 $q=$f-&gt;strAttribut(<a class="code" href="constant_8php.html#a73">ATTR_DEF_QUICKCODE</a>);
<a name="l00440"></a>00440 $js=sprintf(<span class="stringliteral">"javascript:showfiche('%s','%s')"</span>,
<a name="l00441"></a>00441 $_REQUEST['PHPSESSID'],$q);
<a name="l00442"></a>00442 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.'&lt;A HREF=<span class="stringliteral">"'.$js.'"</span>&gt;'.$q.<span class="stringliteral">" : "</span>.$f-&gt;getName().'&lt;/A&gt;&lt;/td&gt;';
<a name="l00443"></a>00443 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;td&gt;&lt;A HREF=<span class="stringliteral">"commercial.php?p_action=suivi_courrier&amp;sa=detail&amp;ag_id='.$row['ag_id'].'"</span>&gt;'.
<a name="l00444"></a>00444 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['<a class="code" href="action_8inc_8php.html#a22">ag_title</a>'].<span class="stringliteral">"&lt;/A&gt;&lt;/td&gt;"</span>;
<a name="l00445"></a>00445 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$row['dt_value'].<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00446"></a>00446 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$row['ag_ref'].<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00447"></a>00447
<a name="l00448"></a>00448 <a class="code" href="document__modele_8inc_8php.html#a1">$doc</a>=<span class="keyword">new</span> <a class="code" href="classDocument.html">Document</a>($this-&gt;db,$row['d_id']);
<a name="l00449"></a>00449 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;td&gt;"</span>.$doc-&gt;a_ref().<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00450"></a>00450 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/tr&gt;"</span>;
<a name="l00451"></a>00451
<a name="l00452"></a>00452 }
<a name="l00453"></a>00453 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/table&gt;"</span>;
<a name="l00454"></a>00454 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="bank_8inc_8php.html#a15">$bar</a>;
<a name="l00455"></a>00455 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/div&gt;"</span>;
<a name="l00456"></a>00456 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00457"></a>00457 }
<a name="l00458"></a>00458
<a name="l00459"></a>00459
<a name="l00460"></a>00460
<a name="l00461"></a>00461 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -29,7 +29,7 @@ class_action for manipulating actions action can be :<ul>
<p>
The table document_type are the possible actions
<p>
Definition in file <a class="el" href="class__action_8php-source.html">class_action.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__action_8php-source.html">class_action.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -43,16 +43,16 @@
<a name="l00051"></a>00051 <span class="keywordflow">for</span> ($i=0;$i&lt; <span class="keyword">sizeof</span>($p_attribut)-1;$i++) {
<a name="l00052"></a>00052 <span class="keywordflow">if</span> ( $p_attribut[$i]-&gt;ad_id &gt; $p_attribut[$i+1]-&gt;ad_id ) {
<a name="l00053"></a>00053 <span class="comment">// then swap them</span>
<a name="l00054"></a>00054 <a class="code" href="impress__rapport_8php.html#a3">$t</a>=$p_attribut[<a class="code" href="balance_8php.html#a11">$i</a>];
<a name="l00055"></a>00055 $p_attribut[<a class="code" href="balance_8php.html#a11">$i</a>]=$p_attribut[<a class="code" href="balance_8php.html#a11">$i</a>+1];
<a name="l00056"></a>00056 $p_attribut[<a class="code" href="balance_8php.html#a11">$i</a>+1] = <a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l00057"></a>00057 <a class="code" href="balance_8php.html#a11">$i</a>=0;
<a name="l00054"></a>00054 <a class="code" href="impress__rapport_8php.html#a3">$t</a>=$p_attribut[<a class="code" href="balance_8php.html#a12">$i</a>];
<a name="l00055"></a>00055 $p_attribut[<a class="code" href="balance_8php.html#a12">$i</a>]=$p_attribut[<a class="code" href="balance_8php.html#a12">$i</a>+1];
<a name="l00056"></a>00056 $p_attribut[<a class="code" href="balance_8php.html#a12">$i</a>+1] = <a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l00057"></a>00057 <a class="code" href="balance_8php.html#a12">$i</a>=0;
<a name="l00058"></a>00058 }
<a name="l00059"></a>00059 }
<a name="l00060"></a>00060
<a name="l00061"></a>00061 <span class="keywordflow">return</span> $p_attribut;
<a name="l00062"></a>00062 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -65,12 +65,12 @@ Sort an array of object attribut thx the ad_id.
<p>
Definition at line <a class="el" href="class__attribut_8php-source.html#l00050">50</a> of file <a class="el" href="class__attribut_8php-source.html">class_attribut.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00113">$i</a>, and <a class="el" href="impress__rapport_8php-source.html#l00058">$t</a>.
References <a class="el" href="balance_8php-source.html#l00118">$i</a>, and <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>.
<p>
Referenced by <a class="el" href="class__fiche_8php-source.html#l00188">fiche::getAttribut()</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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -72,35 +72,35 @@
<a name="l00084"></a>00084 <span class="comment">// Load the array</span>
<a name="l00085"></a>00085 <span class="keywordflow">for</span> ($i=0; $i &lt;$M;$i++) {
<a name="l00086"></a>00086 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($Res,$i);
<a name="l00087"></a>00087 <a class="code" href="action_8inc_8php.html#a15">$a</a>['<a class="code" href="classposte.html">poste</a>']=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['j_poste'];
<a name="l00088"></a>00088 <a class="code" href="action_8inc_8php.html#a15">$a</a>['<a class="code" href="action_8inc_8php.html#a6">label</a>']=substr(<a class="code" href="poste_8php.html#a0">GetPosteLibelle</a>($this-&gt;db,$r['j_poste'],1),0,40);
<a name="l00089"></a>00089 <a class="code" href="action_8inc_8php.html#a15">$a</a>['sum_deb']=round($r['sum_deb'],2);
<a name="l00090"></a>00090 <a class="code" href="action_8inc_8php.html#a15">$a</a>['sum_cred']=round($r['sum_cred'],2);
<a name="l00091"></a>00091 <a class="code" href="action_8inc_8php.html#a15">$a</a>['solde_deb']=round(( $a['sum_deb'] &gt;= $a['sum_cred'] )? $a['sum_deb']- $a['sum_cred']:0,2);
<a name="l00092"></a>00092 <a class="code" href="action_8inc_8php.html#a15">$a</a>['solde_cred']=round(( $a['sum_deb'] &lt;= $a['sum_cred'] )?$a['sum_cred']-$a['sum_deb']:0,2);
<a name="l00093"></a>00093 <a class="code" href="recherche_8php.html#a4">$array</a>[<a class="code" href="balance_8php.html#a11">$i</a>]=<a class="code" href="action_8inc_8php.html#a15">$a</a>;
<a name="l00094"></a>00094 $tot_cred+= <a class="code" href="action_8inc_8php.html#a15">$a</a>['sum_cred'];
<a name="l00095"></a>00095 $tot_deb+= <a class="code" href="action_8inc_8php.html#a15">$a</a>['sum_deb'];
<a name="l00096"></a>00096 $tot_deb_saldo+= <a class="code" href="action_8inc_8php.html#a15">$a</a>['solde_deb'];
<a name="l00097"></a>00097 $tot_cred_saldo+= <a class="code" href="action_8inc_8php.html#a15">$a</a>['solde_cred'];
<a name="l00087"></a>00087 <a class="code" href="action_8inc_8php.html#a16">$a</a>['<a class="code" href="classposte.html">poste</a>']=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['j_poste'];
<a name="l00088"></a>00088 <a class="code" href="action_8inc_8php.html#a16">$a</a>['<a class="code" href="action_8inc_8php.html#a7">label</a>']=substr(<a class="code" href="poste_8php.html#a0">GetPosteLibelle</a>($this-&gt;db,$r['j_poste'],1),0,40);
<a name="l00089"></a>00089 <a class="code" href="action_8inc_8php.html#a16">$a</a>['sum_deb']=round($r['sum_deb'],2);
<a name="l00090"></a>00090 <a class="code" href="action_8inc_8php.html#a16">$a</a>['sum_cred']=round($r['sum_cred'],2);
<a name="l00091"></a>00091 <a class="code" href="action_8inc_8php.html#a16">$a</a>['solde_deb']=round(( $a['sum_deb'] &gt;= $a['sum_cred'] )? $a['sum_deb']- $a['sum_cred']:0,2);
<a name="l00092"></a>00092 <a class="code" href="action_8inc_8php.html#a16">$a</a>['solde_cred']=round(( $a['sum_deb'] &lt;= $a['sum_cred'] )?$a['sum_cred']-$a['sum_deb']:0,2);
<a name="l00093"></a>00093 <a class="code" href="recherche_8php.html#a4">$array</a>[<a class="code" href="balance_8php.html#a12">$i</a>]=<a class="code" href="action_8inc_8php.html#a16">$a</a>;
<a name="l00094"></a>00094 $tot_cred+= <a class="code" href="action_8inc_8php.html#a16">$a</a>['sum_cred'];
<a name="l00095"></a>00095 $tot_deb+= <a class="code" href="action_8inc_8php.html#a16">$a</a>['sum_deb'];
<a name="l00096"></a>00096 $tot_deb_saldo+= <a class="code" href="action_8inc_8php.html#a16">$a</a>['solde_deb'];
<a name="l00097"></a>00097 $tot_cred_saldo+= <a class="code" href="action_8inc_8php.html#a16">$a</a>['solde_cred'];
<a name="l00098"></a>00098
<a name="l00099"></a>00099
<a name="l00100"></a>00100 }<span class="comment">//for i</span>
<a name="l00101"></a>00101 <span class="comment">// Add the saldo</span>
<a name="l00102"></a>00102 <a class="code" href="balance_8php.html#a11">$i</a>+=1;
<a name="l00103"></a>00103 <a class="code" href="action_8inc_8php.html#a15">$a</a>['<a class="code" href="classposte.html">poste</a>']=<span class="stringliteral">""</span>;
<a name="l00104"></a>00104 <a class="code" href="action_8inc_8php.html#a15">$a</a>['<a class="code" href="action_8inc_8php.html#a6">label</a>']=<span class="stringliteral">"&lt;b&gt; Totaux &lt;/b&gt;"</span>;
<a name="l00105"></a>00105 <a class="code" href="action_8inc_8php.html#a15">$a</a>['sum_deb']=$tot_deb;
<a name="l00106"></a>00106 <a class="code" href="action_8inc_8php.html#a15">$a</a>['sum_cred']=$tot_cred;
<a name="l00107"></a>00107 <a class="code" href="action_8inc_8php.html#a15">$a</a>['solde_deb']=$tot_deb_saldo;
<a name="l00108"></a>00108 <a class="code" href="action_8inc_8php.html#a15">$a</a>['solde_cred']=$tot_cred_saldo;
<a name="l00109"></a>00109 <a class="code" href="recherche_8php.html#a4">$array</a>[<a class="code" href="balance_8php.html#a11">$i</a>]=<a class="code" href="action_8inc_8php.html#a15">$a</a>;
<a name="l00102"></a>00102 <a class="code" href="balance_8php.html#a12">$i</a>+=1;
<a name="l00103"></a>00103 <a class="code" href="action_8inc_8php.html#a16">$a</a>['<a class="code" href="classposte.html">poste</a>']=<span class="stringliteral">""</span>;
<a name="l00104"></a>00104 <a class="code" href="action_8inc_8php.html#a16">$a</a>['<a class="code" href="action_8inc_8php.html#a7">label</a>']=<span class="stringliteral">"&lt;b&gt; Totaux &lt;/b&gt;"</span>;
<a name="l00105"></a>00105 <a class="code" href="action_8inc_8php.html#a16">$a</a>['sum_deb']=$tot_deb;
<a name="l00106"></a>00106 <a class="code" href="action_8inc_8php.html#a16">$a</a>['sum_cred']=$tot_cred;
<a name="l00107"></a>00107 <a class="code" href="action_8inc_8php.html#a16">$a</a>['solde_deb']=$tot_deb_saldo;
<a name="l00108"></a>00108 <a class="code" href="action_8inc_8php.html#a16">$a</a>['solde_cred']=$tot_cred_saldo;
<a name="l00109"></a>00109 <a class="code" href="recherche_8php.html#a4">$array</a>[<a class="code" href="balance_8php.html#a12">$i</a>]=<a class="code" href="action_8inc_8php.html#a16">$a</a>;
<a name="l00110"></a>00110 $this-&gt;row=<a class="code" href="recherche_8php.html#a4">$array</a>;
<a name="l00111"></a>00111 <span class="keywordflow">return</span> <a class="code" href="recherche_8php.html#a4">$array</a>;
<a name="l00112"></a>00112
<a name="l00113"></a>00113 }
<a name="l00114"></a>00114 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -23,7 +23,7 @@ Class for manipulating data to print the balance of account.
<p>
<p>
Definition in file <a class="el" href="class__balance_8php-source.html">class_balance.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__balance_8php-source.html">class_balance.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -35,7 +35,7 @@
<a name="l00034"></a><a class="code" href="classcontact.html#o0">00034</a> var <a class="code" href="classcontact.html#o0">$company</a>;
<a name="l00036"></a><a class="code" href="classcontact.html#a0">00036</a> function <a class="code" href="classcontact.html#a0">contact</a>($p_cn,$p_id=0)
<a name="l00037"></a>00037 {
<a name="l00038"></a>00038 $this-&gt;<a class="code" href="classfiche__def__ref.html">fiche_def_ref</a>=<a class="code" href="constant_8php.html#a67">FICHE_TYPE_CONTACT</a>;
<a name="l00038"></a>00038 $this-&gt;<a class="code" href="classfiche__def__ref.html">fiche_def_ref</a>=<a class="code" href="constant_8php.html#a68">FICHE_TYPE_CONTACT</a>;
<a name="l00039"></a>00039 <a class="code" href="classfiche.html#a0">fiche::fiche</a>($p_cn,$p_id) ;
<a name="l00040"></a>00040 $this-&gt;company=<span class="stringliteral">""</span>;
<a name="l00041"></a>00041 }
@ -46,7 +46,7 @@
<a name="l00054"></a>00054 <span class="keywordflow">if</span> ( $this-&gt;company != <span class="stringliteral">""</span>)
<a name="l00055"></a>00055 {
<a name="l00056"></a>00056 $extra_sql=<span class="stringliteral">"and f_id in (select f_id from jnt_fic_att_value join </span>
<a name="l00057"></a>00057 <span class="stringliteral">attr_value using (jft_id) where av_text='"</span>.$this-&gt;company.<span class="stringliteral">"' and ad_id="</span>.<a class="code" href="constant_8php.html#a61">ATTR_DEF_COMPANY</a>.<span class="stringliteral">") "</span>;
<a name="l00057"></a>00057 <span class="stringliteral">attr_value using (jft_id) where av_text='"</span>.$this-&gt;company.<span class="stringliteral">"' and ad_id="</span>.<a class="code" href="constant_8php.html#a62">ATTR_DEF_COMPANY</a>.<span class="stringliteral">") "</span>;
<a name="l00058"></a>00058 }
<a name="l00059"></a>00059 <a class="code" href="admin_8inc_8php.html#a3">$url</a>=urlencode($_SERVER['REQUEST_URI']);
<a name="l00060"></a>00060 $script=$_SERVER['SCRIPT_NAME'];
@ -72,13 +72,13 @@
<a name="l00080"></a>00080 $step_contact=$this-&gt;<a class="code" href="classfiche.html#a17">GetAll</a>($offset,$search.$extra_sql);
<a name="l00081"></a>00081 <span class="keywordflow">if</span> ( $all_contact == 0 ) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00082"></a>00082 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="bank_8inc_8php.html#a15">$bar</a>;
<a name="l00083"></a>00083 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;<a class="code" href="balance_8php.html#a3">table</a>&gt;
<a name="l00083"></a>00083 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;<a class="code" href="balance_8php.html#a3">table</a> border=<span class="stringliteral">"0"</span>&gt;
<a name="l00084"></a>00084 &lt;TR style=<span class="stringliteral">"background-color:lightgrey;"</span>&gt;
<a name="l00085"></a>00085 &lt;th&gt;Nom&lt;/th&gt;
<a name="l00086"></a>00086 &lt;th&gt;Téléphone&lt;/th&gt;
<a name="l00087"></a>00087 &lt;th&gt;email&lt;/th&gt;
<a name="l00088"></a>00088 &lt;th&gt;Fax&lt;/th&gt;
<a name="l00089"></a>00089 &lt;th&gt;Société&lt;/th&gt;
<a name="l00089"></a>00089 &lt;th colspan=<span class="stringliteral">"2"</span>&gt;Société&lt;/th&gt;
<a name="l00090"></a>00090 &lt;/TR&gt;';
<a name="l00091"></a>00091 $base=$_SERVER['SCRIPT_NAME'];
<a name="l00092"></a>00092 <span class="comment">// Compute the url</span>
@ -86,9 +86,9 @@
<a name="l00094"></a>00094 $and=<span class="stringliteral">"?"</span>;
<a name="l00095"></a>00095 $get=$_GET;
<a name="l00096"></a>00096 <span class="keywordflow">if</span> ( isset ($get) ) {
<a name="l00097"></a>00097 foreach ($get as $<a class="code" href="action_8inc_8php.html#a3">name</a>=&gt;$<a class="code" href="action_8inc_8php.html#a4">value</a> ) {
<a name="l00097"></a>00097 foreach ($get as $<a class="code" href="action_8inc_8php.html#a4">name</a>=&gt;$<a class="code" href="action_8inc_8php.html#a5">value</a> ) {
<a name="l00098"></a>00098 <span class="comment">// we clean the parameter offset, step, page and size</span>
<a name="l00099"></a>00099 <span class="keywordflow">if</span> ( ! in_array($<a class="code" href="action_8inc_8php.html#a3">name</a>,array('<a class="code" href="facture_8inc_8php.html#a19">f_id</a><span class="charliteral">','</span>detail'))) {
<a name="l00099"></a>00099 <span class="keywordflow">if</span> ( ! in_array($<a class="code" href="action_8inc_8php.html#a4">name</a>,array('<a class="code" href="facture_8inc_8php.html#a19">f_id</a><span class="charliteral">','</span>detail'))) {
<a name="l00100"></a>00100 <a class="code" href="admin_8inc_8php.html#a3">$url</a>.=$and.$name.<span class="stringliteral">"="</span>.$value;
<a name="l00101"></a>00101 $and=<span class="stringliteral">"&amp;"</span>;
<a name="l00102"></a>00102 }<span class="comment">// if</span>
@ -97,29 +97,39 @@
<a name="l00105"></a>00105
<a name="l00106"></a>00106 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span> ($step_contact ) == 0 )
<a name="l00107"></a>00107 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00108"></a>00108 foreach ($step_contact as $<a class="code" href="classcontact.html">contact</a> ) {
<a name="l00109"></a>00109 $l_company=<span class="keyword">new</span> <a class="code" href="classfiche.html#a0">fiche</a>($this-&gt;cn);
<a name="l00110"></a>00110 $l_company-&gt;GetByQCode($contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a61">ATTR_DEF_COMPANY</a>),<span class="keyword">false</span>);
<a name="l00111"></a>00111 $l_company_name=$l_company-&gt;strAttribut(<a class="code" href="constant_8php.html#a50">ATTR_DEF_NAME</a>);
<a name="l00112"></a>00112 <span class="keywordflow">if</span> ( $l_company_name == '- <a class="code" href="constant_8php.html#a38">ERROR</a> -' ) $l_company_name=<span class="stringliteral">""</span>;
<a name="l00113"></a>00113 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TR&gt;"</span>;
<a name="l00114"></a>00114 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;TD&gt;&lt;A HREF=<span class="stringliteral">"'.$url."</span>&amp;sa=detail&amp;<a class="code" href="facture_8inc_8php.html#a19">f_id</a>=<span class="stringliteral">".$contact-&gt;id."</span>\<span class="stringliteral">"&gt;"</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a50">ATTR_DEF_NAME</a>).<span class="stringliteral">"&lt;/A&gt;&lt;/TD&gt;"</span>;
<a name="l00115"></a>00115 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a59">ATTR_DEF_TEL</a>).<span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00116"></a>00116 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a60">ATTR_DEF_EMAIL</a>).<span class="stringliteral">"&lt;/TD&gt;"</span>.
<a name="l00117"></a>00117 <span class="stringliteral">"&lt;TD&gt; "</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a62">ATTR_DEF_FAX</a>).<span class="stringliteral">"&lt;/TD&gt;"</span>.
<a name="l00118"></a>00118 <span class="stringliteral">"&lt;TD&gt; "</span>.$l_company_name.
<a name="l00119"></a>00119 <span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00120"></a>00120
<a name="l00121"></a>00121 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/TR&gt;"</span>;
<a name="l00122"></a>00122
<a name="l00123"></a>00123 }
<a name="l00124"></a>00124 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/TABLE&gt;"</span>;
<a name="l00125"></a>00125 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="bank_8inc_8php.html#a15">$bar</a>;
<a name="l00126"></a>00126 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00127"></a>00127 }
<a name="l00128"></a>00128
<a name="l00129"></a>00129 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00108"></a>00108 echo <a class="code" href="constant_8php.html#a80">JS_SEARCH_CARD</a>;
<a name="l00109"></a>00109 foreach ($step_contact as $<a class="code" href="classcontact.html">contact</a> ) {
<a name="l00110"></a>00110 $l_company=<span class="keyword">new</span> <a class="code" href="classfiche.html#a0">fiche</a>($this-&gt;cn);
<a name="l00111"></a>00111 $l_company-&gt;GetByQCode($contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a62">ATTR_DEF_COMPANY</a>),<span class="keyword">false</span>);
<a name="l00112"></a>00112 $l_company_name=$l_company-&gt;strAttribut(<a class="code" href="constant_8php.html#a51">ATTR_DEF_NAME</a>);
<a name="l00113"></a>00113 <span class="keywordflow">if</span> ( $l_company_name == '- <a class="code" href="constant_8php.html#a38">ERROR</a> -' ) $l_company_name=<span class="stringliteral">""</span>;
<a name="l00114"></a>00114 <span class="comment">// add popup for detail</span>
<a name="l00115"></a>00115 <span class="keywordflow">if</span> ( $l_company_name !=<span class="stringliteral">""</span>)
<a name="l00116"></a>00116 {
<a name="l00117"></a>00117 $l_company_name=sprintf(<span class="stringliteral">"&lt;A HREF=\"javascript:showfiche('%s','%s')\"&gt;%s - %s&lt;/A&gt;"</span>,
<a name="l00118"></a>00118 $_REQUEST['PHPSESSID'],
<a name="l00119"></a>00119 $contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a62">ATTR_DEF_COMPANY</a>),
<a name="l00120"></a>00120 <a class="code" href="contact_8inc_8php.html#a11">$contact</a>-&gt;strAttribut(<a class="code" href="constant_8php.html#a62">ATTR_DEF_COMPANY</a>),
<a name="l00121"></a>00121 $l_company_name
<a name="l00122"></a>00122 );
<a name="l00123"></a>00123 }
<a name="l00124"></a>00124 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TR&gt;"</span>;
<a name="l00125"></a>00125 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;TD&gt;&lt;A HREF=<span class="stringliteral">"'.$url."</span>&amp;sa=detail&amp;<a class="code" href="facture_8inc_8php.html#a19">f_id</a>=<span class="stringliteral">".$contact-&gt;id."</span>\<span class="stringliteral">"&gt;"</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a51">ATTR_DEF_NAME</a>).<span class="stringliteral">"&lt;/A&gt;&lt;/TD&gt;"</span>;
<a name="l00126"></a>00126 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a60">ATTR_DEF_TEL</a>).<span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00127"></a>00127 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a61">ATTR_DEF_EMAIL</a>).<span class="stringliteral">"&lt;/TD&gt;"</span>.
<a name="l00128"></a>00128 <span class="stringliteral">"&lt;TD&gt; "</span>.$contact-&gt;strAttribut(<a class="code" href="constant_8php.html#a63">ATTR_DEF_FAX</a>).<span class="stringliteral">"&lt;/TD&gt;"</span>.
<a name="l00129"></a>00129 <span class="stringliteral">"&lt;TD&gt; "</span>.$l_company_name. <span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00130"></a>00130
<a name="l00131"></a>00131 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/TR&gt;"</span>;
<a name="l00132"></a>00132
<a name="l00133"></a>00133 }
<a name="l00134"></a>00134 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/TABLE&gt;"</span>;
<a name="l00135"></a>00135 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="bank_8inc_8php.html#a15">$bar</a>;
<a name="l00136"></a>00136 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00137"></a>00137 }
<a name="l00138"></a>00138
<a name="l00139"></a>00139 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -23,7 +23,7 @@ class for the contact, contact are derived from ficheContact are a card which ar
<p>
<p>
Definition in file <a class="el" href="class__contact_8php-source.html">class_contact.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__contact_8php-source.html">class_contact.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -46,7 +46,7 @@
<a name="l00044"></a><a class="code" href="classCustomer.html#o4">00044</a> var <a class="code" href="classCustomer.html#o4">$cp</a>;
<a name="l00045"></a><a class="code" href="classCustomer.html#o5">00045</a> var <a class="code" href="classCustomer.html#o5">$vat_number</a>;
<a name="l00049"></a><a class="code" href="classCustomer.html#a0">00049</a> function <a class="code" href="classCustomer.html#a0">Customer</a>($p_cn,$p_id=0) {
<a name="l00050"></a>00050 $this-&gt;<a class="code" href="classfiche__def__ref.html">fiche_def_ref</a>=<a class="code" href="constant_8php.html#a63">FICHE_TYPE_CLIENT</a>;
<a name="l00050"></a>00050 $this-&gt;<a class="code" href="classfiche__def__ref.html">fiche_def_ref</a>=<a class="code" href="constant_8php.html#a64">FICHE_TYPE_CLIENT</a>;
<a name="l00051"></a>00051 <a class="code" href="classfiche.html#a0">fiche::fiche</a>($p_cn,$p_id) ;
<a name="l00052"></a>00052
<a name="l00053"></a>00053 }
@ -57,7 +57,7 @@
<a name="l00061"></a>00061 <span class="keywordflow">if</span> ( pg_NumRows($Res) == 0) <span class="keywordflow">return</span> null;
<a name="l00062"></a>00062 <span class="comment">// There is only _one_ row by customer</span>
<a name="l00063"></a>00063 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_array($Res,0);
<a name="l00064"></a>00064 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['<a class="code" href="action_8inc_8php.html#a3">name</a>'];
<a name="l00064"></a>00064 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['<a class="code" href="action_8inc_8php.html#a4">name</a>'];
<a name="l00065"></a>00065 $this-&gt;<span class="keywordtype">id</span>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['<a class="code" href="facture_8inc_8php.html#a19">f_id</a>'];
<a name="l00066"></a>00066 $this-&gt;street=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['rue'];
<a name="l00067"></a>00067 $this-&gt;cp=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['code_postal'];
@ -122,7 +122,7 @@
<a name="l00138"></a>00138 <a class="code" href="client_8inc_8php.html#a1">$customer</a>=<a class="code" href="impress__fiche_8php.html#a10">$e</a>['j_poste'];
<a name="l00139"></a>00139 <span class="comment">// Retrieve name and vat number</span>
<a name="l00140"></a>00140 $this-&gt;<a class="code" href="classCustomer.html#a1">GetFromPoste</a>($customer);
<a name="l00141"></a>00141 <a class="code" href="impress__listing__client_8php.html#a1">$a_Res</a>[<a class="code" href="client_8inc_8php.html#a1">$customer</a>]['<a class="code" href="action_8inc_8php.html#a3">name</a>']=$this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>;
<a name="l00141"></a>00141 <a class="code" href="impress__listing__client_8php.html#a1">$a_Res</a>[<a class="code" href="client_8inc_8php.html#a1">$customer</a>]['<a class="code" href="action_8inc_8php.html#a4">name</a>']=$this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>;
<a name="l00142"></a>00142 <a class="code" href="impress__listing__client_8php.html#a1">$a_Res</a>[<a class="code" href="client_8inc_8php.html#a1">$customer</a>]['vat_number']=$this-&gt;vat_number;
<a name="l00143"></a>00143 <span class="keywordflow">break</span>;
<a name="l00144"></a>00144
@ -199,7 +199,7 @@
<a name="l00225"></a>00225 &lt;th&gt;Nom&lt;/th&gt;
<a name="l00226"></a>00226 &lt;th&gt;Adresse&lt;/th&gt;
<a name="l00227"></a>00227 &lt;th&gt;Solde&lt;/th&gt;
<a name="l00228"></a>00228 &lt;th&gt;Action &lt;/th&gt;
<a name="l00228"></a>00228 &lt;th colspan=<span class="stringliteral">"3"</span>&gt;Action &lt;/th&gt;
<a name="l00229"></a>00229 &lt;/TR&gt;';
<a name="l00230"></a>00230 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span> ($step_client ) == 0 )
<a name="l00231"></a>00231 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
@ -208,26 +208,26 @@
<a name="l00234"></a>00234 <a class="code" href="impress__fiche_8php.html#a10">$e</a>=sprintf('&lt;A HREF=<span class="stringliteral">"%s?p_action=client&amp;sa=detail&amp;f_id=%d&amp;url=%s"</span> title=<span class="stringliteral">"Détail"</span>&gt; ',
<a name="l00235"></a>00235 $script,$client-&gt;id,$url);
<a name="l00236"></a>00236
<a name="l00237"></a>00237 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt; $e"</span>.$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a72">ATTR_DEF_QUICKCODE</a>).<span class="stringliteral">"&lt;/A&gt;&lt;/TD&gt;"</span>;
<a name="l00238"></a>00238 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>.$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a50">ATTR_DEF_NAME</a>).<span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00239"></a>00239 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>.$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a55">ATTR_DEF_ADRESS</a>).
<a name="l00240"></a>00240 <span class="stringliteral">" "</span>.$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a56">ATTR_DEF_CP</a>).
<a name="l00241"></a>00241 <span class="stringliteral">" "</span>.$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a57">ATTR_DEF_PAYS</a>).
<a name="l00237"></a>00237 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt; $e"</span>.$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a73">ATTR_DEF_QUICKCODE</a>).<span class="stringliteral">"&lt;/A&gt;&lt;/TD&gt;"</span>;
<a name="l00238"></a>00238 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>.$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a51">ATTR_DEF_NAME</a>).<span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00239"></a>00239 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>.$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a56">ATTR_DEF_ADRESS</a>).
<a name="l00240"></a>00240 <span class="stringliteral">" "</span>.$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a57">ATTR_DEF_CP</a>).
<a name="l00241"></a>00241 <span class="stringliteral">" "</span>.$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a58">ATTR_DEF_PAYS</a>).
<a name="l00242"></a>00242 <span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00243"></a>00243
<a name="l00244"></a>00244 $post=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a6">poste</a>($this-&gt;cn,$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a49">ATTR_DEF_ACCOUNT</a>));
<a name="l00245"></a>00245 <a class="code" href="action_8inc_8php.html#a15">$a</a>=$post-&gt;GetSoldeDetail();
<a name="l00244"></a>00244 $post=<span class="keyword">new</span> <a class="code" href="user__impress_8php.html#a6">poste</a>($this-&gt;cn,$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a50">ATTR_DEF_ACCOUNT</a>));
<a name="l00245"></a>00245 <a class="code" href="action_8inc_8php.html#a16">$a</a>=$post-&gt;GetSoldeDetail();
<a name="l00246"></a>00246 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=sprintf('&lt;TD align=<span class="stringliteral">"right"</span>&gt; %15.2f&amp;euro;&lt;/TD&gt;',$a['solde']);
<a name="l00247"></a>00247 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>;
<a name="l00248"></a>00248
<a name="l00249"></a>00249 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=sprintf('&lt;A HREF=<span class="stringliteral">"%s?p_action=contact&amp;qcode=%s&amp;url=%s"</span> title=<span class="stringliteral">"Contact"</span>&gt;C&lt;/A&gt; - ',
<a name="l00250"></a>00250 $script,$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a72">ATTR_DEF_QUICKCODE</a>),<a class="code" href="admin_8inc_8php.html#a3">$url</a>);
<a name="l00251"></a>00251 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=sprintf('&lt;A HREF=<span class="stringliteral">"%s?p_action=suivi_courrier&amp;sa=list&amp;qcode=%s&amp;url=%s"</span> title=<span class="stringliteral">"Action"</span>&gt;A&lt;/A&gt; - ',
<a name="l00252"></a>00252 $script,$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a72">ATTR_DEF_QUICKCODE</a>) ,<a class="code" href="admin_8inc_8php.html#a3">$url</a>);
<a name="l00249"></a>00249 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=sprintf('&lt;A HREF=<span class="stringliteral">"%s?p_action=contact&amp;qcode=%s&amp;url=%s"</span> title=<span class="stringliteral">"Contact"</span>&gt;Contact&lt;/A&gt;&lt;/td&gt;',
<a name="l00250"></a>00250 $script,$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a73">ATTR_DEF_QUICKCODE</a>),<a class="code" href="admin_8inc_8php.html#a3">$url</a>);
<a name="l00251"></a>00251 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=sprintf('&lt;td&gt;&lt;A HREF=<span class="stringliteral">"%s?p_action=suivi_courrier&amp;sa=list&amp;qcode=%s&amp;url=%s"</span> title=<span class="stringliteral">"Action"</span>&gt;Courrier&lt;/A&gt;&lt;/td&gt; ',
<a name="l00252"></a>00252 $script,$client-&gt;strAttribut(<a class="code" href="constant_8php.html#a73">ATTR_DEF_QUICKCODE</a>) ,<a class="code" href="admin_8inc_8php.html#a3">$url</a>);
<a name="l00253"></a>00253
<a name="l00254"></a>00254
<a name="l00255"></a>00255
<a name="l00256"></a>00256 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;A HREF=<span class="stringliteral">"commercial.php?p_action=facture&amp;sa=list&amp;qcode='.$client-&gt;strAttribut(ATTR_DEF_QUICKCODE).'&amp;url='.$url.'"</span> title=<span class="stringliteral">"Historique Facture"</span>&gt;F&lt;/A&gt; -';
<a name="l00256"></a>00256 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;td&gt;&lt;A HREF=<span class="stringliteral">"commercial.php?p_action=facture&amp;sa=list&amp;qcode='.$client-&gt;strAttribut(ATTR_DEF_QUICKCODE).'&amp;url='.$url.'"</span> title=<span class="stringliteral">"Historique Facture"</span>&gt;Facture&lt;/A&gt;&lt;/td&gt;';
<a name="l00257"></a>00257
<a name="l00258"></a>00258 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;/TD&gt;';
<a name="l00259"></a>00259
@ -242,7 +242,7 @@
<a name="l00268"></a>00268 }
<a name="l00269"></a>00269
<a name="l00270"></a>00270 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -23,7 +23,7 @@ Derived from class fiche <a class="el" href="classCustomer.html">Customer</a> ar
<p>
<p>
Definition in file <a class="el" href="class__customer_8php-source.html">class_customer.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__customer_8php-source.html">class_customer.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

File diff suppressed because it is too large Load diff

View file

@ -23,7 +23,7 @@ Class <a class="el" href="classDocument.html">Document</a> corresponds to the ta
<p>
<p>
Definition in file <a class="el" href="class__document_8php-source.html">class_document.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__document_8php-source.html">class_document.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -38,7 +38,7 @@
<a name="l00036"></a>00036 <span class="comment">//Constructor parameter = database connexion</span>
<a name="l00037"></a><a class="code" href="classDocument__modele.html#a0">00037</a> function <a class="code" href="classDocument__modele.html#a0">Document_modele</a>($p_cn,$p_id=-1) {
<a name="l00038"></a>00038 $this-&gt;cn=$p_cn;
<a name="l00039"></a>00039 $this-&gt;<a class="code" href="action_8inc_8php.html#a22">md_id</a>=<a class="code" href="user__update_8php.html#a1">$p_id</a>;
<a name="l00039"></a>00039 $this-&gt;<a class="code" href="action_8inc_8php.html#a23">md_id</a>=<a class="code" href="user__update_8php.html#a1">$p_id</a>;
<a name="l00040"></a>00040 }
<a name="l00041"></a>00041
<a name="l00049"></a><a class="code" href="classDocument__modele.html#a1">00049</a> function <a class="code" href="classDocument__modele.html#a1">myList</a>() {
@ -63,7 +63,7 @@
<a name="l00068"></a>00068 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00069"></a>00069 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>;
<a name="l00070"></a>00070 <a class="code" href="admin_8inc_8php.html#a2">$c</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"checkbox"</span>);
<a name="l00071"></a>00071 <a class="code" href="admin_8inc_8php.html#a2">$c</a>-&gt;name=<span class="stringliteral">"dm_remove_"</span>.$row['<a class="code" href="action_8inc_8php.html#a22">md_id</a>'];
<a name="l00071"></a>00071 <a class="code" href="admin_8inc_8php.html#a2">$c</a>-&gt;name=<span class="stringliteral">"dm_remove_"</span>.$row['<a class="code" href="action_8inc_8php.html#a23">md_id</a>'];
<a name="l00072"></a>00072 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="admin_8inc_8php.html#a2">$c</a>-&gt;IOValue();
<a name="l00073"></a>00073 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/td&gt;"</span>;
<a name="l00074"></a>00074 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/tr&gt;"</span>;
@ -71,11 +71,11 @@
<a name="l00076"></a>00076 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/table&gt;"</span>;
<a name="l00077"></a>00077
<a name="l00078"></a>00078 <span class="comment">// need hidden parameter for subaction</span>
<a name="l00079"></a>00079 <a class="code" href="action_8inc_8php.html#a15">$a</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00080"></a>00080 <a class="code" href="action_8inc_8php.html#a15">$a</a>-&gt;name=<span class="stringliteral">"sa"</span>;
<a name="l00081"></a>00081 <a class="code" href="action_8inc_8php.html#a15">$a</a>-&gt;value=<span class="stringliteral">"rm_template"</span>;
<a name="l00082"></a>00082 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="action_8inc_8php.html#a15">$a</a>-&gt;IOValue();
<a name="l00083"></a>00083 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="action_8inc_8php.html#a15">$a</a>-&gt;Submit(<span class="stringliteral">"rm_template"</span>,<span class="stringliteral">"Effacer la sélection"</span>);
<a name="l00079"></a>00079 <a class="code" href="action_8inc_8php.html#a16">$a</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00080"></a>00080 <a class="code" href="action_8inc_8php.html#a16">$a</a>-&gt;name=<span class="stringliteral">"sa"</span>;
<a name="l00081"></a>00081 <a class="code" href="action_8inc_8php.html#a16">$a</a>-&gt;value=<span class="stringliteral">"rm_template"</span>;
<a name="l00082"></a>00082 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="action_8inc_8php.html#a16">$a</a>-&gt;IOValue();
<a name="l00083"></a>00083 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="action_8inc_8php.html#a16">$a</a>-&gt;Submit(<span class="stringliteral">"rm_template"</span>,<span class="stringliteral">"Effacer la sélection"</span>);
<a name="l00084"></a>00084 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/form&gt;&lt;/p&gt;"</span>;
<a name="l00085"></a>00085 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00086"></a>00086 }
@ -94,8 +94,8 @@
<a name="l00115"></a>00115 {
<a name="l00116"></a>00116
<a name="l00117"></a>00117 <span class="comment">// insert into the table document_modele</span>
<a name="l00118"></a>00118 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;md_name);
<a name="l00119"></a>00119 $this-&gt;<a class="code" href="action_8inc_8php.html#a22">md_id</a>=<a class="code" href="postgres_8php.html#a13">NextSequence</a>($this-&gt;cn,'document_modele_md_id_seq');
<a name="l00118"></a>00118 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($this-&gt;md_name);
<a name="l00119"></a>00119 $this-&gt;<a class="code" href="action_8inc_8php.html#a23">md_id</a>=<a class="code" href="postgres_8php.html#a13">NextSequence</a>($this-&gt;cn,'document_modele_md_id_seq');
<a name="l00120"></a>00120 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"insert into document_modele(md_id,md_name,md_type) </span>
<a name="l00121"></a>00121 <span class="stringliteral"> values (%d,'%s',%d)"</span>,
<a name="l00122"></a>00122 $this-&gt;md_id,$this-&gt;name,$this-&gt;md_type);
@ -104,144 +104,145 @@
<a name="l00125"></a>00125 $this-&gt;md_sequence=<span class="stringliteral">"document_"</span>.NextSequence($this-&gt;cn,<span class="stringliteral">"document_seq"</span>);
<a name="l00126"></a>00126 <span class="comment">// if start is not equal to 0 and he's a number than the user</span>
<a name="l00127"></a>00127 <span class="comment">// request a number change</span>
<a name="l00128"></a>00128 <span class="keywordflow">if</span> ( $this-&gt;start != 0 &amp;&amp; <a class="code" href="ac__common_8php.html#a2">isNumber</a>($this-&gt;start) == 1 )
<a name="l00129"></a>00129 {
<a name="l00130"></a>00130 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"alter sequence seq_doc_type_"</span>.$this-&gt;md_type.<span class="stringliteral">" start with "</span>.$this-&gt;<a class="code" href="document__modele_8inc_8php.html#a5">start</a>;
<a name="l00131"></a>00131 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00132"></a>00132 }
<a name="l00133"></a>00133
<a name="l00134"></a>00134 }
<a name="l00135"></a>00135 <span class="comment">// Save the file</span>
<a name="l00136"></a>00136 $new_name=tempnam('/tmp<span class="charliteral">','</span>document_');
<a name="l00137"></a>00137 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document_modele.php',__LINE__,<span class="stringliteral">"new name="</span>.$new_name);
<a name="l00138"></a>00138 <span class="keywordflow">if</span> ( strlen ($_FILES['doc']['tmp_name']) != 0 )
<a name="l00139"></a>00139 {
<a name="l00140"></a>00140 <span class="keywordflow">if</span> (move_uploaded_file($_FILES['doc']['tmp_name'],
<a name="l00141"></a>00141 $new_name))
<a name="l00142"></a>00142 {
<a name="l00143"></a>00143 <span class="comment">// echo "Image saved";</span>
<a name="l00144"></a>00144 $oid= pg_lo_import($this-&gt;cn,$new_name);
<a name="l00145"></a>00145 <span class="keywordflow">if</span> ( $oid == <span class="keyword">false</span> )
<a name="l00146"></a>00146 {
<a name="l00147"></a>00147 <a class="code" href="ac__common_8php.html#a0">echo_error</a>('class_document_modele.php',__LINE__,<span class="stringliteral">"cannot upload document"</span>);
<a name="l00148"></a>00148 <a class="code" href="postgres_8php.html#a17">Rollback</a>($cn);
<a name="l00149"></a>00149 <span class="keywordflow">return</span>;
<a name="l00150"></a>00150 }
<a name="l00151"></a>00151 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document_modele.php',__LINE__,<span class="stringliteral">"Loading document"</span>);
<a name="l00152"></a>00152 <span class="comment">// Remove old document</span>
<a name="l00153"></a>00153 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,<span class="stringliteral">"select md_lob from document_modele where md_id="</span>.$this-&gt;md_id);
<a name="l00154"></a>00154 <span class="keywordflow">if</span> (pg_num_rows($ret) != 0)
<a name="l00155"></a>00155 {
<a name="l00156"></a>00156 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($ret,0);
<a name="l00157"></a>00157 <a class="code" href="modify__op_8php.html#a6">$old_oid</a>=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['md_lob'];
<a name="l00158"></a>00158 <span class="keywordflow">if</span> (strlen($old_oid) != 0)
<a name="l00159"></a>00159 pg_lo_unlink($this-&gt;cn,$old_oid);
<a name="l00160"></a>00160 }
<a name="l00161"></a>00161 <span class="comment">// Load new document</span>
<a name="l00162"></a>00162 var_dump($_FILES);
<a name="l00163"></a>00163 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,<span class="stringliteral">"update document_modele set md_lob="</span>.$oid.<span class="stringliteral">", md_mimetype='"</span>.$_FILES['doc']['type'].<span class="stringliteral">"' ,md_filename='"</span>.$_FILES['doc']['<a class="code" href="action_8inc_8php.html#a3">name</a>'].<span class="stringliteral">"' where md_id="</span>.$this-&gt;md_id);
<a name="l00164"></a>00164 <a class="code" href="postgres_8php.html#a16">Commit</a>($this-&gt;cn);
<a name="l00165"></a>00165 }
<a name="l00166"></a>00166 <span class="keywordflow">else</span>
<a name="l00167"></a>00167 {
<a name="l00168"></a>00168 echo <span class="stringliteral">"&lt;H1&gt;Error&lt;/H1&gt;"</span>;
<a name="l00169"></a>00169 <a class="code" href="postgres_8php.html#a17">Rollback</a>($this-&gt;cn);
<a name="l00170"></a>00170 <a class="code" href="balance_8php.html#a0">exit</a>;
<a name="l00171"></a>00171 }
<a name="l00172"></a>00172 }
<a name="l00173"></a>00173 }
<a name="l00178"></a><a class="code" href="classDocument__modele.html#a3">00178</a> function <a class="code" href="classDocument__modele.html#a3">Delete</a>()
<a name="l00179"></a>00179 {
<a name="l00180"></a>00180 <a class="code" href="postgres_8php.html#a14">StartSql</a>($this-&gt;cn);
<a name="l00181"></a>00181 <span class="comment">// first we unlink the document</span>
<a name="l00182"></a>00182 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select md_lob from document_modele where md_id="</span>.$this-&gt;md_id;
<a name="l00183"></a>00183 <a class="code" href="pref_8inc_8php.html#a1">$res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00184"></a>00184 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($res,0);
<a name="l00185"></a>00185 <span class="comment">// if a lob is found</span>
<a name="l00186"></a>00186 <span class="keywordflow">if</span> ( strlen ($r['md_lob']) != 0 )
<a name="l00187"></a>00187 {
<a name="l00188"></a>00188 <span class="comment">// we remove it first</span>
<a name="l00189"></a>00189 pg_lo_unlink($r['md_lob']);
<a name="l00190"></a>00190 }
<a name="l00191"></a>00191 <span class="comment">// now we can delete the row</span>
<a name="l00192"></a>00192 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"delete from document_modele where md_id ="</span>.$this-&gt;md_id;
<a name="l00193"></a>00193 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00194"></a>00194 <a class="code" href="postgres_8php.html#a16">Commit</a>($this-&gt;cn);
<a name="l00195"></a>00195 }
<a name="l00196"></a>00196
<a name="l00203"></a><a class="code" href="classDocument__modele.html#a4">00203</a> function <a class="code" href="classDocument__modele.html#a4">Get</a>($p_id,$p_internal)
<a name="l00204"></a>00204 {
<a name="l00205"></a>00205 <span class="comment">// retrieve info from the table invoice</span>
<a name="l00206"></a>00206
<a name="l00207"></a>00207 <span class="comment">// retrieve the template and generate document</span>
<a name="l00208"></a>00208 <a class="code" href="postgres_8php.html#a14">StartSql</a>($this-&gt;cn);
<a name="l00209"></a>00209 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($cn,<span class="stringliteral">"select iv_name,iv_file from invoice where iv_id"</span>.$this-&gt;iv_id);
<a name="l00210"></a>00210 <span class="keywordflow">if</span> ( pg_num_rows ($ret) == 0 )
<a name="l00211"></a>00211 <span class="keywordflow">return</span>;
<a name="l00212"></a>00212 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_array($ret,0);
<a name="l00213"></a>00213 <span class="comment">//the template is saved into file $tmp</span>
<a name="l00214"></a>00214 <a class="code" href="show__document__modele_8php.html#a5">$tmp</a>=tempnam('/tmp/<span class="charliteral">','</span>invoice_');
<a name="l00215"></a>00215 pg_lo_export($cn,$row['iv_file'],$tmp);
<a name="l00216"></a>00216 <span class="comment">// Parse the file </span>
<a name="l00217"></a>00217
<a name="l00128"></a>00128 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document_modele',__LINE__, <span class="stringliteral">"this-&gt;start "</span>.$this-&gt;start.<span class="stringliteral">" a number "</span>.<a class="code" href="ac__common_8php.html#a2">isNumber</a>($this-&gt;start));
<a name="l00129"></a>00129
<a name="l00130"></a>00130 <span class="keywordflow">if</span> ( $this-&gt;start != 0 &amp;&amp; <a class="code" href="ac__common_8php.html#a2">isNumber</a>($this-&gt;start) == 1 )
<a name="l00131"></a>00131 {
<a name="l00132"></a>00132 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"alter sequence seq_doc_type_"</span>.$this-&gt;md_type.<span class="stringliteral">" restart "</span>.$this-&gt;<a class="code" href="document__modele_8inc_8php.html#a5">start</a>;
<a name="l00133"></a>00133 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00134"></a>00134 }
<a name="l00135"></a>00135
<a name="l00136"></a>00136 }
<a name="l00137"></a>00137 <span class="comment">// Save the file</span>
<a name="l00138"></a>00138 $new_name=tempnam('/tmp<span class="charliteral">','</span>document_');
<a name="l00139"></a>00139 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document_modele.php',__LINE__,<span class="stringliteral">"new name="</span>.$new_name);
<a name="l00140"></a>00140 <span class="keywordflow">if</span> ( strlen ($_FILES['doc']['tmp_name']) != 0 )
<a name="l00141"></a>00141 {
<a name="l00142"></a>00142 <span class="keywordflow">if</span> (move_uploaded_file($_FILES['doc']['tmp_name'],
<a name="l00143"></a>00143 $new_name))
<a name="l00144"></a>00144 {
<a name="l00145"></a>00145 <span class="comment">// echo "Image saved";</span>
<a name="l00146"></a>00146 $oid= pg_lo_import($this-&gt;cn,$new_name);
<a name="l00147"></a>00147 <span class="keywordflow">if</span> ( $oid == <span class="keyword">false</span> )
<a name="l00148"></a>00148 {
<a name="l00149"></a>00149 <a class="code" href="ac__common_8php.html#a0">echo_error</a>('class_document_modele.php',__LINE__,<span class="stringliteral">"cannot upload document"</span>);
<a name="l00150"></a>00150 <a class="code" href="postgres_8php.html#a17">Rollback</a>($cn);
<a name="l00151"></a>00151 <span class="keywordflow">return</span>;
<a name="l00152"></a>00152 }
<a name="l00153"></a>00153 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_document_modele.php',__LINE__,<span class="stringliteral">"Loading document"</span>);
<a name="l00154"></a>00154 <span class="comment">// Remove old document</span>
<a name="l00155"></a>00155 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,<span class="stringliteral">"select md_lob from document_modele where md_id="</span>.$this-&gt;md_id);
<a name="l00156"></a>00156 <span class="keywordflow">if</span> (pg_num_rows($ret) != 0)
<a name="l00157"></a>00157 {
<a name="l00158"></a>00158 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($ret,0);
<a name="l00159"></a>00159 <a class="code" href="modify__op_8php.html#a6">$old_oid</a>=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['md_lob'];
<a name="l00160"></a>00160 <span class="keywordflow">if</span> (strlen($old_oid) != 0)
<a name="l00161"></a>00161 pg_lo_unlink($this-&gt;cn,$old_oid);
<a name="l00162"></a>00162 }
<a name="l00163"></a>00163 <span class="comment">// Load new document</span>
<a name="l00164"></a>00164 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,<span class="stringliteral">"update document_modele set md_lob="</span>.$oid.<span class="stringliteral">", md_mimetype='"</span>.$_FILES['doc']['type'].<span class="stringliteral">"' ,md_filename='"</span>.$_FILES['doc']['<a class="code" href="action_8inc_8php.html#a4">name</a>'].<span class="stringliteral">"' where md_id="</span>.$this-&gt;md_id);
<a name="l00165"></a>00165 <a class="code" href="postgres_8php.html#a16">Commit</a>($this-&gt;cn);
<a name="l00166"></a>00166 }
<a name="l00167"></a>00167 <span class="keywordflow">else</span>
<a name="l00168"></a>00168 {
<a name="l00169"></a>00169 echo <span class="stringliteral">"&lt;H1&gt;Error&lt;/H1&gt;"</span>;
<a name="l00170"></a>00170 <a class="code" href="postgres_8php.html#a17">Rollback</a>($this-&gt;cn);
<a name="l00171"></a>00171 <a class="code" href="balance_8php.html#a0">exit</a>;
<a name="l00172"></a>00172 }
<a name="l00173"></a>00173 }
<a name="l00174"></a>00174 }
<a name="l00179"></a><a class="code" href="classDocument__modele.html#a3">00179</a> function <a class="code" href="classDocument__modele.html#a3">Delete</a>()
<a name="l00180"></a>00180 {
<a name="l00181"></a>00181 <a class="code" href="postgres_8php.html#a14">StartSql</a>($this-&gt;cn);
<a name="l00182"></a>00182 <span class="comment">// first we unlink the document</span>
<a name="l00183"></a>00183 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select md_lob from document_modele where md_id="</span>.$this-&gt;md_id;
<a name="l00184"></a>00184 <a class="code" href="pref_8inc_8php.html#a1">$res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00185"></a>00185 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($res,0);
<a name="l00186"></a>00186 <span class="comment">// if a lob is found</span>
<a name="l00187"></a>00187 <span class="keywordflow">if</span> ( strlen ($r['md_lob']) != 0 )
<a name="l00188"></a>00188 {
<a name="l00189"></a>00189 <span class="comment">// we remove it first</span>
<a name="l00190"></a>00190 pg_lo_unlink($r['md_lob']);
<a name="l00191"></a>00191 }
<a name="l00192"></a>00192 <span class="comment">// now we can delete the row</span>
<a name="l00193"></a>00193 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"delete from document_modele where md_id ="</span>.$this-&gt;md_id;
<a name="l00194"></a>00194 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00195"></a>00195 <a class="code" href="postgres_8php.html#a16">Commit</a>($this-&gt;cn);
<a name="l00196"></a>00196 }
<a name="l00197"></a>00197
<a name="l00204"></a><a class="code" href="classDocument__modele.html#a4">00204</a> function <a class="code" href="classDocument__modele.html#a4">Get</a>($p_id,$p_internal)
<a name="l00205"></a>00205 {
<a name="l00206"></a>00206 <span class="comment">// retrieve info from the table invoice</span>
<a name="l00207"></a>00207
<a name="l00208"></a>00208 <span class="comment">// retrieve the template and generate document</span>
<a name="l00209"></a>00209 <a class="code" href="postgres_8php.html#a14">StartSql</a>($this-&gt;cn);
<a name="l00210"></a>00210 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($cn,<span class="stringliteral">"select iv_name,iv_file from invoice where iv_id"</span>.$this-&gt;iv_id);
<a name="l00211"></a>00211 <span class="keywordflow">if</span> ( pg_num_rows ($ret) == 0 )
<a name="l00212"></a>00212 <span class="keywordflow">return</span>;
<a name="l00213"></a>00213 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_array($ret,0);
<a name="l00214"></a>00214 <span class="comment">//the template is saved into file $tmp</span>
<a name="l00215"></a>00215 <a class="code" href="show__document__modele_8php.html#a5">$tmp</a>=tempnam('/tmp/<span class="charliteral">','</span>invoice_');
<a name="l00216"></a>00216 pg_lo_export($cn,$row['iv_file'],$tmp);
<a name="l00217"></a>00217 <span class="comment">// Parse the file </span>
<a name="l00218"></a>00218
<a name="l00219"></a>00219
<a name="l00220"></a>00220
<a name="l00221"></a>00221 <span class="comment">// send it to stdout</span>
<a name="l00222"></a>00222 ini_set('zlib.output_compression<span class="charliteral">','</span>Off');
<a name="l00223"></a>00223 header(<span class="stringliteral">"Pragma: public"</span>);
<a name="l00224"></a>00224 header(<span class="stringliteral">"Expires: Mon, 26 Jul 1997 05:00:00 GMT"</span>);
<a name="l00225"></a>00225 header(<span class="stringliteral">"Last-Modified: "</span> . gmdate(<span class="stringliteral">"D, d M Y H:i:s"</span>) . <span class="stringliteral">" GMT"</span>);
<a name="l00226"></a>00226 header(<span class="stringliteral">"Cache-Control: must-revalidate"</span>);
<a name="l00227"></a>00227 header('Content-type: rtf/x-application');
<a name="l00228"></a>00228 header('Content-Disposition: attachment;filename=<span class="stringliteral">"invoice'.$p_internal.'.rtf"</span>',FALSE);
<a name="l00229"></a>00229 header(<span class="stringliteral">"Accept-Ranges: bytes"</span>);
<a name="l00230"></a>00230 <a class="code" href="show__document__modele_8php.html#a6">$file</a>=fopen($tmp,<span class="charliteral">'r'</span>);
<a name="l00231"></a>00231 <span class="keywordflow">while</span> ( !feof ($file) )
<a name="l00232"></a>00232 {
<a name="l00233"></a>00233 echo fread($file,8192);
<a name="l00234"></a>00234 }
<a name="l00235"></a>00235 fclose($file);
<a name="l00236"></a>00236
<a name="l00237"></a>00237 unlink ($tmp);
<a name="l00238"></a>00238
<a name="l00239"></a>00239 <a class="code" href="postgres_8php.html#a16">Commit</a>($cn);
<a name="l00240"></a>00240
<a name="l00241"></a>00241 }
<a name="l00251"></a><a class="code" href="classDocument__modele.html#a5">00251</a> function <a class="code" href="classDocument__modele.html#a5">form</a>($p_action)
<a name="l00252"></a>00252 {
<a name="l00253"></a>00253 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;p&gt;"</span>;
<a name="l00254"></a>00254 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;<a class="code" href="classDocument__modele.html#a5">form</a> enctype=<span class="stringliteral">"multipart/form-data"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"'.$p_action.'"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00255"></a>00255 <a class="code" href="impress__rapport_8php.html#a3">$t</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00256"></a>00256 <a class="code" href="impress__rapport_8php.html#a3">$t</a>-&gt;name=<span class="stringliteral">"md_name"</span>;
<a name="l00257"></a>00257 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" Nom "</span>.$t-&gt;IOValue().<span class="stringliteral">""</span>;
<a name="l00258"></a>00258 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"Type de document "</span>;
<a name="l00259"></a>00259 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00260"></a>00260 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"md_type"</span>;
<a name="l00261"></a>00261 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($this-&gt;cn,'select <a class="code" href="action_8inc_8php.html#a19">dt_id</a>,dt_value from document_type');
<a name="l00262"></a>00262 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00263"></a>00263 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/p&gt;&lt;p&gt;"</span>;
<a name="l00264"></a>00264 $f=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"file"</span>);
<a name="l00265"></a>00265 $f-&gt;name=<span class="stringliteral">"doc"</span>;
<a name="l00266"></a>00266 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"fichier "</span>.$f-&gt;IOValue().<span class="stringliteral">""</span>;
<a name="l00267"></a>00267 <span class="comment">// we need to add the sub action as hidden</span>
<a name="l00268"></a>00268 <a class="code" href="poste_8inc_8php.html#a8">$h</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00269"></a>00269 <a class="code" href="poste_8inc_8php.html#a8">$h</a>-&gt;name=<span class="stringliteral">"sa"</span>;
<a name="l00270"></a>00270 <a class="code" href="poste_8inc_8php.html#a8">$h</a>-&gt;value=<span class="stringliteral">"add_document"</span>;
<a name="l00271"></a>00271 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="poste_8inc_8php.html#a8">$h</a>-&gt;IOValue();
<a name="l00272"></a>00272 <a class="code" href="bilan_8php.html#a2">$start</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00273"></a>00273 <a class="code" href="bilan_8php.html#a2">$start</a>-&gt;name=<span class="stringliteral">"start_seq"</span>;
<a name="l00274"></a>00274 <a class="code" href="bilan_8php.html#a2">$start</a>-&gt;size=9;
<a name="l00275"></a>00275 <a class="code" href="bilan_8php.html#a2">$start</a>-&gt;value=<span class="stringliteral">"0"</span>;
<a name="l00276"></a>00276 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" Numerotation commence a "</span>.$start-&gt;IOValue().<span class="stringliteral">""</span>;
<a name="l00277"></a>00277 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Submit('add_document<span class="charliteral">','</span>Ajout');
<a name="l00278"></a>00278 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/form&gt;&lt;/p&gt;"</span>;
<a name="l00279"></a>00279 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00280"></a>00280 }
<a name="l00281"></a>00281
<a name="l00282"></a>00282 }
<a name="l00283"></a>00283 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00221"></a>00221
<a name="l00222"></a>00222 <span class="comment">// send it to stdout</span>
<a name="l00223"></a>00223 ini_set('zlib.output_compression<span class="charliteral">','</span>Off');
<a name="l00224"></a>00224 header(<span class="stringliteral">"Pragma: public"</span>);
<a name="l00225"></a>00225 header(<span class="stringliteral">"Expires: Mon, 26 Jul 1997 05:00:00 GMT"</span>);
<a name="l00226"></a>00226 header(<span class="stringliteral">"Last-Modified: "</span> . gmdate(<span class="stringliteral">"D, d M Y H:i:s"</span>) . <span class="stringliteral">" GMT"</span>);
<a name="l00227"></a>00227 header(<span class="stringliteral">"Cache-Control: must-revalidate"</span>);
<a name="l00228"></a>00228 header('Content-type: rtf/x-application');
<a name="l00229"></a>00229 header('Content-Disposition: attachment;filename=<span class="stringliteral">"invoice'.$p_internal.'.rtf"</span>',FALSE);
<a name="l00230"></a>00230 header(<span class="stringliteral">"Accept-Ranges: bytes"</span>);
<a name="l00231"></a>00231 <a class="code" href="show__document__modele_8php.html#a6">$file</a>=fopen($tmp,<span class="charliteral">'r'</span>);
<a name="l00232"></a>00232 <span class="keywordflow">while</span> ( !feof ($file) )
<a name="l00233"></a>00233 {
<a name="l00234"></a>00234 echo fread($file,8192);
<a name="l00235"></a>00235 }
<a name="l00236"></a>00236 fclose($file);
<a name="l00237"></a>00237
<a name="l00238"></a>00238 unlink ($tmp);
<a name="l00239"></a>00239
<a name="l00240"></a>00240 <a class="code" href="postgres_8php.html#a16">Commit</a>($cn);
<a name="l00241"></a>00241
<a name="l00242"></a>00242 }
<a name="l00252"></a><a class="code" href="classDocument__modele.html#a5">00252</a> function <a class="code" href="classDocument__modele.html#a5">form</a>($p_action)
<a name="l00253"></a>00253 {
<a name="l00254"></a>00254 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;p&gt;"</span>;
<a name="l00255"></a>00255 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;<a class="code" href="classDocument__modele.html#a5">form</a> enctype=<span class="stringliteral">"multipart/form-data"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"'.$p_action.'"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00256"></a>00256 <a class="code" href="impress__rapport_8php.html#a3">$t</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00257"></a>00257 <a class="code" href="impress__rapport_8php.html#a3">$t</a>-&gt;name=<span class="stringliteral">"md_name"</span>;
<a name="l00258"></a>00258 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" Nom "</span>.$t-&gt;IOValue().<span class="stringliteral">""</span>;
<a name="l00259"></a>00259 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"Type de document "</span>;
<a name="l00260"></a>00260 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00261"></a>00261 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"md_type"</span>;
<a name="l00262"></a>00262 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=<a class="code" href="ac__common_8php.html#a12">make_array</a>($this-&gt;cn,'select <a class="code" href="action_8inc_8php.html#a20">dt_id</a>,dt_value from document_type');
<a name="l00263"></a>00263 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00264"></a>00264 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/p&gt;&lt;p&gt;"</span>;
<a name="l00265"></a>00265 $f=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"file"</span>);
<a name="l00266"></a>00266 $f-&gt;name=<span class="stringliteral">"doc"</span>;
<a name="l00267"></a>00267 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"fichier "</span>.$f-&gt;IOValue().<span class="stringliteral">""</span>;
<a name="l00268"></a>00268 <span class="comment">// we need to add the sub action as hidden</span>
<a name="l00269"></a>00269 <a class="code" href="poste_8inc_8php.html#a8">$h</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00270"></a>00270 <a class="code" href="poste_8inc_8php.html#a8">$h</a>-&gt;name=<span class="stringliteral">"sa"</span>;
<a name="l00271"></a>00271 <a class="code" href="poste_8inc_8php.html#a8">$h</a>-&gt;value=<span class="stringliteral">"add_document"</span>;
<a name="l00272"></a>00272 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="poste_8inc_8php.html#a8">$h</a>-&gt;IOValue();
<a name="l00273"></a>00273 <a class="code" href="bilan_8php.html#a2">$start</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00274"></a>00274 <a class="code" href="bilan_8php.html#a2">$start</a>-&gt;name=<span class="stringliteral">"start_seq"</span>;
<a name="l00275"></a>00275 <a class="code" href="bilan_8php.html#a2">$start</a>-&gt;size=9;
<a name="l00276"></a>00276 <a class="code" href="bilan_8php.html#a2">$start</a>-&gt;value=<span class="stringliteral">"0"</span>;
<a name="l00277"></a>00277 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" Numerotation commence a "</span>.$start-&gt;IOValue().<span class="stringliteral">""</span>;
<a name="l00278"></a>00278 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Submit('add_document<span class="charliteral">','</span>Ajout');
<a name="l00279"></a>00279 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/form&gt;&lt;/p&gt;"</span>;
<a name="l00280"></a>00280 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00281"></a>00281 }
<a name="l00282"></a>00282
<a name="l00283"></a>00283 }
<a name="l00284"></a>00284 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -23,7 +23,7 @@ Class for the document template.
<p>
<p>
Definition in file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__document__modele_8php-source.html">class_document_modele.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -32,19 +32,19 @@
<a name="l00035"></a><a class="code" href="classDocument__type.html#a0">00035</a> function <a class="code" href="classDocument__type.html#a0">document_type</a>($p_cn)
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037 $this-&gt;db=$p_cn;
<a name="l00038"></a>00038 $this-&gt;<a class="code" href="action_8inc_8php.html#a19">dt_id</a>=-1;
<a name="l00038"></a>00038 $this-&gt;<a class="code" href="action_8inc_8php.html#a20">dt_id</a>=-1;
<a name="l00039"></a>00039 }
<a name="l00043"></a><a class="code" href="classDocument__type.html#a1">00043</a> function <a class="code" href="classDocument__type.html#a1">get</a>()
<a name="l00044"></a>00044 {
<a name="l00045"></a>00045 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select * from document_type where dt_id="</span>.$this-&gt;dt_id;
<a name="l00046"></a>00046 $R=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql);
<a name="l00047"></a>00047 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($R,0);
<a name="l00048"></a>00048 $this-&gt;<a class="code" href="action_8inc_8php.html#a19">dt_id</a>=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['<a class="code" href="action_8inc_8php.html#a19">dt_id</a>'];
<a name="l00048"></a>00048 $this-&gt;<a class="code" href="action_8inc_8php.html#a20">dt_id</a>=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['<a class="code" href="action_8inc_8php.html#a20">dt_id</a>'];
<a name="l00049"></a>00049 $this-&gt;dt_value=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['dt_value'];
<a name="l00050"></a>00050 }
<a name="l00051"></a>00051
<a name="l00052"></a>00052 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -22,7 +22,7 @@ class for the table document_type
<p>
<p>
Definition in file <a class="el" href="class__document__type_8php-source.html">class_document_type.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__document__type_8php-source.html">class_document_type.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -55,7 +55,7 @@
<a name="l00061"></a>00061 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_array($Ret,$i);
<a name="l00062"></a>00062 <a class="code" href="impress__rapport_8php.html#a3">$t</a> = <span class="keyword">new</span> <a class="code" href="classAttribut.html">Attribut</a>($row['ad_id']);
<a name="l00063"></a>00063 <a class="code" href="impress__rapport_8php.html#a3">$t</a>-&gt;ad_text=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['ad_text'];
<a name="l00064"></a>00064 $this-&gt;attribut[<a class="code" href="balance_8php.html#a11">$i</a>]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l00064"></a>00064 $this-&gt;attribut[<a class="code" href="balance_8php.html#a12">$i</a>]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l00065"></a>00065 }
<a name="l00066"></a>00066 <span class="keywordflow">return</span> $this-&gt;attribut;
<a name="l00067"></a>00067 }
@ -69,7 +69,7 @@
<a name="l00080"></a>00080 <span class="keywordflow">if</span> ( ($Max=pg_NumRows($Ret)) == 0 )
<a name="l00081"></a>00081 <a class="code" href="impress__listing__client_8php.html#a2">return</a> ;
<a name="l00082"></a>00082 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_array($Ret,0);
<a name="l00083"></a>00083 $this-&gt;<a class="code" href="action_8inc_8php.html#a6">label</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['fd_label'];
<a name="l00083"></a>00083 $this-&gt;<a class="code" href="action_8inc_8php.html#a7">label</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['fd_label'];
<a name="l00084"></a>00084 $this-&gt;class_base=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['fd_class_base'];
<a name="l00085"></a>00085 $this-&gt;<a class="code" href="classfiche__def.html">fiche_def</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['<a class="code" href="fiche__def_8inc_8php.html#a1">frd_id</a>'];
<a name="l00086"></a>00086 $this-&gt;create_account=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['fd_create_account'];
@ -83,11 +83,11 @@
<a name="l00100"></a>00100
<a name="l00101"></a>00101 <span class="keywordflow">for</span> ( $i = 0; $i &lt; $Max;$i++) {
<a name="l00102"></a>00102 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_array($Ret,$i);
<a name="l00103"></a>00103 $this-&gt;all[<a class="code" href="balance_8php.html#a11">$i</a>]=<span class="keyword">new</span> <a class="code" href="classfiche__def.html#a0">fiche_def</a>($this-&gt;cn,$row['fd_id']);
<a name="l00104"></a>00104 $this-&gt;all[<a class="code" href="balance_8php.html#a11">$i</a>]-&gt;label=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['fd_label'];
<a name="l00105"></a>00105 $this-&gt;all[<a class="code" href="balance_8php.html#a11">$i</a>]-&gt;class_base=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['fd_class_base'];
<a name="l00106"></a>00106 $this-&gt;all[<a class="code" href="balance_8php.html#a11">$i</a>]-&gt;fiche_def=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['<a class="code" href="fiche__def_8inc_8php.html#a1">frd_id</a>'];
<a name="l00107"></a>00107 $this-&gt;all[<a class="code" href="balance_8php.html#a11">$i</a>]-&gt;create_account=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['fd_create_account'];
<a name="l00103"></a>00103 $this-&gt;all[<a class="code" href="balance_8php.html#a12">$i</a>]=<span class="keyword">new</span> <a class="code" href="classfiche__def.html#a0">fiche_def</a>($this-&gt;cn,$row['fd_id']);
<a name="l00104"></a>00104 $this-&gt;all[<a class="code" href="balance_8php.html#a12">$i</a>]-&gt;label=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['fd_label'];
<a name="l00105"></a>00105 $this-&gt;all[<a class="code" href="balance_8php.html#a12">$i</a>]-&gt;class_base=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['fd_class_base'];
<a name="l00106"></a>00106 $this-&gt;all[<a class="code" href="balance_8php.html#a12">$i</a>]-&gt;fiche_def=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['<a class="code" href="fiche__def_8inc_8php.html#a1">frd_id</a>'];
<a name="l00107"></a>00107 $this-&gt;all[<a class="code" href="balance_8php.html#a12">$i</a>]-&gt;create_account=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['fd_create_account'];
<a name="l00108"></a>00108 }
<a name="l00109"></a>00109 }
<a name="l00119"></a><a class="code" href="classfiche__def.html#a4">00119</a> function <a class="code" href="classfiche__def.html#a4">HasAttribute</a>($p_attr) {
@ -153,7 +153,7 @@
<a name="l00205"></a>00205 <a class="code" href="impress__rapport_8php.html#a3">$t</a>=<span class="keyword">new</span> <a class="code" href="classAttribut.html">Attribut</a> ($row['ad_id']);
<a name="l00206"></a>00206 <a class="code" href="impress__rapport_8php.html#a3">$t</a>-&gt;ad_text=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['ad_text'];
<a name="l00207"></a>00207 <a class="code" href="impress__rapport_8php.html#a3">$t</a>-&gt;av_text=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['av_text'];
<a name="l00208"></a>00208 $this-&gt;attribut[<a class="code" href="balance_8php.html#a11">$i</a>]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l00208"></a>00208 $this-&gt;attribut[<a class="code" href="balance_8php.html#a12">$i</a>]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l00209"></a>00209 }
<a name="l00210"></a>00210 <a class="code" href="impress__fiche_8php.html#a10">$e</a>=<span class="keyword">new</span> Fiche_def($this-&gt;cn,$this-&gt;fiche_def);
<a name="l00211"></a>00211 <a class="code" href="impress__fiche_8php.html#a10">$e</a>-&gt;GetAttribut();
@ -208,7 +208,7 @@
<a name="l00271"></a>00271 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_array($Ret,$i);
<a name="l00272"></a>00272 <a class="code" href="impress__rapport_8php.html#a3">$t</a>=<span class="keyword">new</span> <a class="code" href="classfiche.html#a0">fiche</a>($this-&gt;cn,$row['<a class="code" href="facture_8inc_8php.html#a19">f_id</a>']);
<a name="l00273"></a>00273 <a class="code" href="impress__rapport_8php.html#a3">$t</a>-&gt;getAttribut();
<a name="l00274"></a>00274 <a class="code" href="fiche__def_8inc_8php.html#a5">$all</a>[<a class="code" href="balance_8php.html#a11">$i</a>]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l00274"></a>00274 <a class="code" href="fiche__def_8inc_8php.html#a5">$all</a>[<a class="code" href="balance_8php.html#a12">$i</a>]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l00275"></a>00275
<a name="l00276"></a>00276 }
<a name="l00277"></a>00277 <span class="keywordflow">return</span> <a class="code" href="fiche__def_8inc_8php.html#a5">$all</a>;
@ -220,7 +220,7 @@
<a name="l00293"></a>00293 <span class="stringliteral"> where frd_id="</span>.$p_frd_id;
<a name="l00294"></a>00294 <span class="keywordflow">if</span> ( $p_search != <span class="stringliteral">""</span> )
<a name="l00295"></a>00295 {
<a name="l00296"></a>00296 <a class="code" href="action_8inc_8php.html#a15">$a</a>=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($p_search);
<a name="l00296"></a>00296 <a class="code" href="action_8inc_8php.html#a16">$a</a>=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($p_search);
<a name="l00297"></a>00297 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select * from vw_fiche_attr where frd_id="</span>.$p_frd_id.
<a name="l00298"></a>00298 <span class="stringliteral">" and vw_name ~* '$p_search'"</span>;
<a name="l00299"></a>00299 }
@ -257,7 +257,7 @@
<a name="l00340"></a>00340 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_array($Ret,$i);
<a name="l00341"></a>00341 <a class="code" href="impress__rapport_8php.html#a3">$t</a>=<span class="keyword">new</span> <a class="code" href="classfiche.html#a0">fiche</a>($this-&gt;cn,$row['<a class="code" href="facture_8inc_8php.html#a19">f_id</a>']);
<a name="l00342"></a>00342 <a class="code" href="impress__rapport_8php.html#a3">$t</a>-&gt;getAttribut();
<a name="l00343"></a>00343 <a class="code" href="fiche__def_8inc_8php.html#a5">$all</a>[<a class="code" href="balance_8php.html#a11">$i</a>]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l00343"></a>00343 <a class="code" href="fiche__def_8inc_8php.html#a5">$all</a>[<a class="code" href="balance_8php.html#a12">$i</a>]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
<a name="l00344"></a>00344
<a name="l00345"></a>00345 }
<a name="l00346"></a>00346 <span class="keywordflow">return</span> <a class="code" href="fiche__def_8inc_8php.html#a5">$all</a>;
@ -302,35 +302,35 @@
<a name="l00402"></a>00402 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;<a class="code" href="balance_8php.html#a3">table</a>&gt;';
<a name="l00403"></a>00403 foreach ($array as $attr)
<a name="l00404"></a>00404 {
<a name="l00405"></a>00405 $msg=<span class="stringliteral">""</span>;
<a name="l00406"></a>00406 <span class="keywordflow">if</span> ( $attr-&gt;ad_id == <a class="code" href="constant_8php.html#a49">ATTR_DEF_ACCOUNT</a>)
<a name="l00405"></a>00405 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=<span class="stringliteral">""</span>;
<a name="l00406"></a>00406 <span class="keywordflow">if</span> ( $attr-&gt;ad_id == <a class="code" href="constant_8php.html#a50">ATTR_DEF_ACCOUNT</a>)
<a name="l00407"></a>00407 {
<a name="l00408"></a>00408 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="constant_8php.html#a73">JS_SEARCH_POSTE</a>;
<a name="l00408"></a>00408 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="constant_8php.html#a74">JS_SEARCH_POSTE</a>;
<a name="l00409"></a>00409 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"js_search_poste"</span>);
<a name="l00410"></a>00410 <span class="comment">// account created automatically</span>
<a name="l00411"></a>00411 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select account_auto($p_fiche_def)"</span>;
<a name="l00412"></a>00412 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_fiche"</span>,__LINE__,$sql);
<a name="l00413"></a>00413 <a class="code" href="tva_8inc_8php.html#a6">$ret_sql</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00414"></a>00414 <a class="code" href="action_8inc_8php.html#a15">$a</a>=pg_fetch_array($ret_sql,0);
<a name="l00414"></a>00414 <a class="code" href="action_8inc_8php.html#a16">$a</a>=pg_fetch_array($ret_sql,0);
<a name="l00415"></a>00415 <span class="keywordflow">if</span> ( $a['account_auto'] == <span class="charliteral">'t'</span> )
<a name="l00416"></a>00416 $msg=<span class="stringliteral">"&lt;TD&gt; &lt;font color=\"red\"&gt;Rappel: Poste créé automatiquement !&lt;/font&gt;&lt;/TD&gt; "</span>;
<a name="l00416"></a>00416 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=<span class="stringliteral">"&lt;TD&gt; &lt;font color=\"red\"&gt;Rappel: Poste créé automatiquement !&lt;/font&gt;&lt;/TD&gt; "</span>;
<a name="l00417"></a>00417
<a name="l00418"></a>00418 }
<a name="l00419"></a>00419 elseif ( $attr-&gt;ad_id == <a class="code" href="constant_8php.html#a53">ATTR_DEF_TVA</a>)
<a name="l00419"></a>00419 elseif ( $attr-&gt;ad_id == <a class="code" href="constant_8php.html#a54">ATTR_DEF_TVA</a>)
<a name="l00420"></a>00420 {
<a name="l00421"></a>00421 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="constant_8php.html#a82">JS_TVA</a>;
<a name="l00421"></a>00421 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="constant_8php.html#a83">JS_TVA</a>;
<a name="l00422"></a>00422 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"js_tva"</span>);
<a name="l00423"></a>00423 }
<a name="l00424"></a>00424 elseif ( $attr-&gt;ad_id == <a class="code" href="constant_8php.html#a61">ATTR_DEF_COMPANY</a> )
<a name="l00424"></a>00424 elseif ( $attr-&gt;ad_id == <a class="code" href="constant_8php.html#a62">ATTR_DEF_COMPANY</a> )
<a name="l00425"></a>00425 {
<a name="l00426"></a>00426 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="constant_8php.html#a79">JS_SEARCH_CARD</a>;
<a name="l00426"></a>00426 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<a class="code" href="constant_8php.html#a80">JS_SEARCH_CARD</a>;
<a name="l00427"></a>00427 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"js_search"</span>);
<a name="l00428"></a>00428 <span class="comment">// filter on frd_id</span>
<a name="l00429"></a>00429 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;extra=<a class="code" href="constant_8php.html#a63">FICHE_TYPE_CLIENT</a>.<span class="charliteral">','</span>.<a class="code" href="constant_8php.html#a65">FICHE_TYPE_FOURNISSEUR</a>.<span class="charliteral">','</span>.<a class="code" href="constant_8php.html#a68">FICHE_TYPE_ADM_TAX</a>;
<a name="l00429"></a>00429 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;extra=<a class="code" href="constant_8php.html#a64">FICHE_TYPE_CLIENT</a>.<span class="charliteral">','</span>.<a class="code" href="constant_8php.html#a66">FICHE_TYPE_FOURNISSEUR</a>.<span class="charliteral">','</span>.<a class="code" href="constant_8php.html#a69">FICHE_TYPE_ADM_TAX</a>;
<a name="l00430"></a>00430 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;extra2=0; <span class="comment">// jrn = 0</span>
<a name="l00431"></a>00431 <a class="code" href="pref_8inc_8php.html#a6">$label</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"span"</span>);
<a name="l00432"></a>00432 <a class="code" href="pref_8inc_8php.html#a6">$label</a>-&gt;name=<span class="stringliteral">"av_text"</span>.$attr-&gt;ad_id.<span class="stringliteral">"_label"</span>;
<a name="l00433"></a>00433 $msg=<a class="code" href="pref_8inc_8php.html#a6">$label</a>-&gt;IOValue();
<a name="l00433"></a>00433 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=<a class="code" href="pref_8inc_8php.html#a6">$label</a>-&gt;IOValue();
<a name="l00434"></a>00434 }
<a name="l00435"></a>00435 <span class="keywordflow">else</span>
<a name="l00436"></a>00436 {
@ -356,290 +356,297 @@
<a name="l00465"></a>00465
<a name="l00466"></a>00466 foreach ( $attr as $r)
<a name="l00467"></a>00467 {
<a name="l00468"></a>00468 $msg=<span class="stringliteral">""</span>;
<a name="l00469"></a>00469 <span class="keywordflow">if</span> ( $r-&gt;ad_id == <a class="code" href="constant_8php.html#a49">ATTR_DEF_ACCOUNT</a>)
<a name="l00468"></a>00468 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=<span class="stringliteral">""</span>;
<a name="l00469"></a>00469 <span class="keywordflow">if</span> ( $p_readonly)
<a name="l00470"></a>00470 {
<a name="l00471"></a>00471 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<a class="code" href="constant_8php.html#a73">JS_SEARCH_POSTE</a>;
<a name="l00472"></a>00472 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"js_search_poste"</span>);
<a name="l00473"></a>00473 <span class="comment">// account created automatically</span>
<a name="l00474"></a>00474 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select account_auto($this-&gt;fiche_def)"</span>;
<a name="l00475"></a>00475 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_fiche"</span>,__LINE__,$sql);
<a name="l00476"></a>00476 <a class="code" href="tva_8inc_8php.html#a6">$ret_sql</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00477"></a>00477 <a class="code" href="action_8inc_8php.html#a15">$a</a>=pg_fetch_array($ret_sql,0);
<a name="l00478"></a>00478 <span class="comment">// if ( $a['account_auto'] == 't' )</span>
<a name="l00479"></a>00479 <span class="comment">// $msg="&lt;TD&gt; &lt;font color=\"red\"&gt;si vide le Poste sera créer automatiquement&lt;/font&gt;&lt;/TD&gt; ";</span>
<a name="l00480"></a>00480 }
<a name="l00481"></a>00481 elseif ( $r-&gt;ad_id == <a class="code" href="constant_8php.html#a53">ATTR_DEF_TVA</a>)
<a name="l00482"></a>00482 {
<a name="l00483"></a>00483 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<a class="code" href="constant_8php.html#a82">JS_TVA</a>;
<a name="l00484"></a>00484 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"js_tva"</span>);
<a name="l00485"></a>00485 }
<a name="l00486"></a>00486 elseif ( $r-&gt;ad_id == <a class="code" href="constant_8php.html#a61">ATTR_DEF_COMPANY</a> )
<a name="l00487"></a>00487 {
<a name="l00488"></a>00488 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<a class="code" href="constant_8php.html#a79">JS_SEARCH_CARD</a>;
<a name="l00489"></a>00489 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"js_search"</span>);
<a name="l00490"></a>00490 <span class="comment">// filter on frd_id</span>
<a name="l00491"></a>00491 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;extra=<a class="code" href="constant_8php.html#a63">FICHE_TYPE_CLIENT</a>.<span class="charliteral">','</span>.<a class="code" href="constant_8php.html#a65">FICHE_TYPE_FOURNISSEUR</a>.<span class="charliteral">','</span>.<a class="code" href="constant_8php.html#a68">FICHE_TYPE_ADM_TAX</a>;
<a name="l00492"></a>00492 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;extra2=0; <span class="comment">// jrn = 0</span>
<a name="l00493"></a>00493 <a class="code" href="pref_8inc_8php.html#a6">$label</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"span"</span>);
<a name="l00494"></a>00494 <a class="code" href="pref_8inc_8php.html#a6">$label</a>-&gt;name=<span class="stringliteral">"av_text"</span>.$r-&gt;ad_id.<span class="stringliteral">"_label"</span>;
<a name="l00495"></a>00495 $msg=<a class="code" href="pref_8inc_8php.html#a6">$label</a>-&gt;IOValue();
<a name="l00496"></a>00496 }
<a name="l00497"></a>00497 <span class="keywordflow">else</span>
<a name="l00498"></a>00498 {
<a name="l00499"></a>00499 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00500"></a>00500 }
<a name="l00501"></a>00501
<a name="l00502"></a>00502 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;label=<a class="code" href="user__action__ach_8php.html#a2">$r</a>-&gt;ad_text;
<a name="l00503"></a>00503 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=<a class="code" href="user__action__ach_8php.html#a2">$r</a>-&gt;av_text;
<a name="l00504"></a>00504 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"av_text"</span>.$r-&gt;ad_id;
<a name="l00505"></a>00505 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;readonly=$p_readonly;
<a name="l00506"></a>00506 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;table=1;
<a name="l00507"></a>00507
<a name="l00508"></a>00508 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<span class="stringliteral">"&lt;TR&gt;"</span>.$w-&gt;IOValue().<span class="stringliteral">"$msg &lt;/TR&gt;"</span>;
<a name="l00509"></a>00509 }
<a name="l00510"></a>00510 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<span class="stringliteral">"&lt;/table&gt;"</span>;
<a name="l00511"></a>00511 <span class="keywordflow">return</span> <a class="code" href="impress__bilan_8php.html#a0">$ret</a>;
<a name="l00512"></a>00512 }
<a name="l00519"></a><a class="code" href="classfiche.html#a11">00519</a> function <a class="code" href="classfiche.html#a11">Save</a>($p_fiche_def=0)
<a name="l00520"></a>00520 {
<a name="l00521"></a>00521 <span class="comment">// new card or only a update ?</span>
<a name="l00522"></a>00522 <span class="keywordflow">if</span> ( $this-&gt;id == 0 )
<a name="l00523"></a>00523 $this-&gt;<a class="code" href="classfiche.html#a12">insert</a>($p_fiche_def);
<a name="l00524"></a>00524 <span class="keywordflow">else</span>
<a name="l00525"></a>00525 $this-&gt;<a class="code" href="classfiche.html#a13">update</a>();
<a name="l00526"></a>00526 }
<a name="l00533"></a><a class="code" href="classfiche.html#a12">00533</a> function <a class="code" href="classfiche.html#a12">insert</a>($p_fiche_def)
<a name="l00534"></a>00534 {
<a name="l00535"></a>00535 <a class="code" href="impress__fiche_8php.html#a3">$fiche_id</a>=<a class="code" href="postgres_8php.html#a13">NextSequence</a>($this-&gt;cn,'s_fiche');
<a name="l00536"></a>00536 $this-&gt;<span class="keywordtype">id</span>=<a class="code" href="impress__fiche_8php.html#a3">$fiche_id</a>;
<a name="l00537"></a>00537 <span class="comment">// first we create the card</span>
<a name="l00538"></a>00538 <a class="code" href="postgres_8php.html#a14">StartSql</a>($this-&gt;cn);
<a name="l00539"></a>00539 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"insert into fiche(f_id,fd_id)"</span>.
<a name="l00540"></a>00540 <span class="stringliteral">" values (%d,%d)"</span>,
<a name="l00541"></a>00541 $fiche_id,$p_fiche_def);
<a name="l00542"></a>00542 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00543"></a>00543 <span class="comment">// parse the $_POST array</span>
<a name="l00544"></a>00544 foreach ($_POST as $<a class="code" href="action_8inc_8php.html#a3">name</a>=&gt;$<a class="code" href="action_8inc_8php.html#a4">value</a> )
<a name="l00545"></a>00545 {
<a name="l00546"></a>00546 <a class="code" href="debug_8php.html#a0">echo_debug</a> (<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"Name = $name value $value"</span>) ;
<a name="l00547"></a>00547 list ($<span class="keywordtype">id</span>) = sscanf ($<a class="code" href="action_8inc_8php.html#a3">name</a>,<span class="stringliteral">"av_text%d"</span>);
<a name="l00548"></a>00548 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == null ) <span class="keywordflow">continue</span>;
<a name="l00549"></a>00549 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"add $id"</span>);
<a name="l00550"></a>00550
<a name="l00551"></a>00551 <span class="comment">// Special traitement</span>
<a name="l00552"></a>00552 <span class="comment">// quickcode</span>
<a name="l00553"></a>00553 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a72">ATTR_DEF_QUICKCODE</a>)
<a name="l00554"></a>00554 {
<a name="l00555"></a>00555 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_QUICKCODE"</span>);
<a name="l00556"></a>00556 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select insert_quick_code(%d,'%s')"</span>,
<a name="l00557"></a>00557 $fiche_id,<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a4">value</a>));
<a name="l00558"></a>00558 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00559"></a>00559 <span class="keywordflow">continue</span>;
<a name="l00560"></a>00560 }
<a name="l00561"></a>00561 <span class="comment">// name</span>
<a name="l00562"></a>00562 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a50">ATTR_DEF_NAME</a> )
<a name="l00563"></a>00563 {
<a name="l00564"></a>00564 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_NAME"</span>);
<a name="l00565"></a>00565 <span class="keywordflow">if</span> ( strlen(trim($<a class="code" href="action_8inc_8php.html#a4">value</a>)) == 0 )
<a name="l00566"></a>00566 $value=<span class="stringliteral">"pas de nom"</span>;
<a name="l00567"></a>00567
<a name="l00568"></a>00568 }
<a name="l00569"></a>00569 <span class="comment">// account</span>
<a name="l00570"></a>00570 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a49">ATTR_DEF_ACCOUNT</a> )
<a name="l00571"></a>00571 {
<a name="l00572"></a>00572 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_ACCOUNT"</span>);
<a name="l00573"></a>00573 $v=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a4">value</a>);
<a name="l00574"></a>00574 <span class="keywordflow">if</span> ( <a class="code" href="ac__common_8php.html#a2">isNumber</a>($v) == 1 )
<a name="l00575"></a>00575 {
<a name="l00576"></a>00576 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select account_insert(%d,%d)"</span>,
<a name="l00577"></a>00577 $this-&gt;id,$v);
<a name="l00578"></a>00578 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00579"></a>00579 }
<a name="l00580"></a>00580 <span class="keywordflow">if</span> ( strlen(trim($v))==0 )
<a name="l00581"></a>00581 {
<a name="l00582"></a>00582 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select account_insert(%d,null)"</span>,
<a name="l00583"></a>00583 $this-&gt;id);
<a name="l00584"></a>00584 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00585"></a>00585 }
<a name="l00586"></a>00586
<a name="l00587"></a>00587 <span class="keywordflow">continue</span>;
<a name="l00588"></a>00588 }
<a name="l00589"></a>00589 <span class="comment">// TVA</span>
<a name="l00590"></a>00590 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a53">ATTR_DEF_TVA</a> )
<a name="l00591"></a>00591 {
<a name="l00592"></a>00592 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_TVA"</span>);
<a name="l00593"></a>00593 <span class="comment">// Verify if the rate exists, if not then do not update</span>
<a name="l00594"></a>00594 <span class="keywordflow">if</span> ( strlen(trim($<a class="code" href="action_8inc_8php.html#a4">value</a>)) != 0 )
<a name="l00595"></a>00595 {
<a name="l00596"></a>00596 <span class="keywordflow">if</span> ( <a class="code" href="postgres_8php.html#a10">CountSql</a>($this-&gt;cn,<span class="stringliteral">"select * from tva_rate where tva_id="</span>.$value) == 0)
<a name="l00597"></a>00597 {
<a name="l00598"></a>00598 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"Tva invalide $value"</span>);
<a name="l00599"></a>00599 <span class="keywordflow">continue</span>;
<a name="l00600"></a>00600 }
<a name="l00601"></a>00601 }
<a name="l00602"></a>00602 }
<a name="l00603"></a>00603 <span class="comment">// The contact has a company attribut</span>
<a name="l00604"></a>00604 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a61">ATTR_DEF_COMPANY</a> )
<a name="l00605"></a>00605 {
<a name="l00606"></a>00606 $exist=<a class="code" href="postgres_8php.html#a10">CountSql</a>($this-&gt;cn,<span class="stringliteral">"select f_id from fiche join fiche_def using (fd_id) "</span>.
<a name="l00607"></a>00607 <span class="stringliteral">" join jnt_fic_att_value using (f_id) join attr_value using (jft_id) "</span>.
<a name="l00608"></a>00608 <span class="stringliteral">" where frd_id in (8,9,14) and ad_id="</span>.ATTR_DEF_QUICKCODE.
<a name="l00609"></a>00609 <span class="stringliteral">" and av_text='"</span>.FormatString($<a class="code" href="action_8inc_8php.html#a4">value</a>).<span class="stringliteral">"'"</span>);
<a name="l00610"></a>00610 <span class="keywordflow">if</span> ( $exist == 0 )
<a name="l00611"></a>00611 {
<a name="l00612"></a>00612 $value=<span class="stringliteral">"Attention : pas de société "</span>;
<a name="l00613"></a>00613 }
<a name="l00614"></a>00614 }
<a name="l00615"></a>00615 <span class="comment">// Normal traitement</span>
<a name="l00616"></a>00616 $value2=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a4">value</a>);
<a name="l00617"></a>00617
<a name="l00618"></a>00618 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select attribut_insert(%d,%d,'%s')"</span>,
<a name="l00619"></a>00619 $fiche_id,$<span class="keywordtype">id</span>,$value2);
<a name="l00620"></a>00620 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00621"></a>00621 }
<a name="l00622"></a>00622 <a class="code" href="postgres_8php.html#a16">Commit</a>($this-&gt;cn);
<a name="l00623"></a>00623 <span class="keywordflow">return</span>;
<a name="l00624"></a>00624
<a name="l00625"></a>00625
<a name="l00626"></a>00626 }
<a name="l00627"></a>00627
<a name="l00628"></a>00628
<a name="l00629"></a>00629
<a name="l00633"></a><a class="code" href="classfiche.html#a13">00633</a> function <a class="code" href="classfiche.html#a13">update</a>()
<a name="l00634"></a>00634 {
<a name="l00635"></a>00635 <span class="comment">// parse the $_POST array</span>
<a name="l00636"></a>00636 foreach ($_POST as $<a class="code" href="action_8inc_8php.html#a3">name</a>=&gt;$<a class="code" href="action_8inc_8php.html#a4">value</a> )
<a name="l00637"></a>00637 {
<a name="l00638"></a>00638 <a class="code" href="debug_8php.html#a0">echo_debug</a> (<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"Name = $name value $value"</span>) ;
<a name="l00639"></a>00639 list ($<span class="keywordtype">id</span>) = sscanf ($<a class="code" href="action_8inc_8php.html#a3">name</a>,<span class="stringliteral">"av_text%d"</span>);
<a name="l00640"></a>00640 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == null ) <span class="keywordflow">continue</span>;
<a name="l00641"></a>00641 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"modify $id"</span>);
<a name="l00642"></a>00642
<a name="l00643"></a>00643 <span class="comment">// retrieve jft_id to update table attr_value</span>
<a name="l00644"></a>00644 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">" select jft_id from jnt_fic_att_value where ad_id=$id and f_id=$this-&gt;id"</span>;
<a name="l00645"></a>00645 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00646"></a>00646 <span class="keywordflow">if</span> ( pg_NumRows($Ret) != 1 ) {
<a name="l00647"></a>00647 <a class="code" href="ac__common_8php.html#a0">echo_error</a> (<span class="stringliteral">"class_fiche "</span>.__LINE__.<span class="stringliteral">" INVALID ID !!! "</span>);
<a name="l00648"></a>00648 <span class="keywordflow">return</span>;
<a name="l00649"></a>00649 }
<a name="l00650"></a>00650 <a class="code" href="show__document__modele_8php.html#a5">$tmp</a>=pg_fetch_array($Ret,0);
<a name="l00651"></a>00651 $jft_id=<a class="code" href="show__document__modele_8php.html#a5">$tmp</a>['jft_id'];
<a name="l00652"></a>00652
<a name="l00653"></a>00653 <span class="comment">// Special traitement</span>
<a name="l00654"></a>00654 <span class="comment">// quickcode</span>
<a name="l00655"></a>00655 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a72">ATTR_DEF_QUICKCODE</a>)
<a name="l00656"></a>00656 {
<a name="l00657"></a>00657 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_QUICKCODE"</span>);
<a name="l00658"></a>00658 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select update_quick_code(%d,'%s')"</span>,
<a name="l00659"></a>00659 $jft_id,<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a4">value</a>));
<a name="l00660"></a>00660 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00661"></a>00661 <span class="keywordflow">continue</span>;
<a name="l00662"></a>00662 }
<a name="l00663"></a>00663 <span class="comment">// name</span>
<a name="l00664"></a>00664 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a50">ATTR_DEF_NAME</a> )
<a name="l00665"></a>00665 {
<a name="l00666"></a>00666 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_NAME"</span>);
<a name="l00667"></a>00667 <span class="keywordflow">if</span> ( strlen(trim($<a class="code" href="action_8inc_8php.html#a4">value</a>)) == 0 )
<a name="l00668"></a>00668 <span class="keywordflow">continue</span>;
<a name="l00669"></a>00669
<a name="l00670"></a>00670 }
<a name="l00671"></a>00671 <span class="comment">// account</span>
<a name="l00672"></a>00672 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a49">ATTR_DEF_ACCOUNT</a> )
<a name="l00673"></a>00673 {
<a name="l00674"></a>00674 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_ACCOUNT"</span>);
<a name="l00675"></a>00675 $v=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a4">value</a>);
<a name="l00676"></a>00676 <span class="keywordflow">if</span> ( <a class="code" href="ac__common_8php.html#a2">isNumber</a>($v) == 1 )
<a name="l00677"></a>00677 {
<a name="l00678"></a>00678 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select account_update(%d,%d)"</span>,
<a name="l00679"></a>00679 $this-&gt;id,$v);
<a name="l00680"></a>00680 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00681"></a>00681 }
<a name="l00682"></a>00682 <span class="keywordflow">if</span> ( strlen (trim($v)) == 0 )
<a name="l00683"></a>00683 {
<a name="l00684"></a>00684 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select account_update(%d,null)"</span>,
<a name="l00685"></a>00685 $this-&gt;id);
<a name="l00686"></a>00686 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00687"></a>00687 <span class="keywordflow">continue</span>;
<a name="l00471"></a>00471 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00472"></a>00472 }
<a name="l00473"></a>00473 <span class="keywordflow">if</span> ($p_readonly==<span class="keyword">false</span>)
<a name="l00474"></a>00474 {
<a name="l00475"></a>00475 <span class="keywordflow">if</span> ( $r-&gt;ad_id == <a class="code" href="constant_8php.html#a50">ATTR_DEF_ACCOUNT</a>)
<a name="l00476"></a>00476 {
<a name="l00477"></a>00477 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<a class="code" href="constant_8php.html#a74">JS_SEARCH_POSTE</a>;
<a name="l00478"></a>00478 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"js_search_poste"</span>);
<a name="l00479"></a>00479 <span class="comment">// account created automatically</span>
<a name="l00480"></a>00480 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select account_auto($this-&gt;fiche_def)"</span>;
<a name="l00481"></a>00481 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_fiche"</span>,__LINE__,$sql);
<a name="l00482"></a>00482 <a class="code" href="tva_8inc_8php.html#a6">$ret_sql</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00483"></a>00483 <a class="code" href="action_8inc_8php.html#a16">$a</a>=pg_fetch_array($ret_sql,0);
<a name="l00484"></a>00484 <span class="keywordflow">if</span> ( $a['account_auto'] == <span class="charliteral">'t'</span> )
<a name="l00485"></a>00485 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=<span class="stringliteral">"&lt;TD&gt; &lt;font color=\"red\"&gt;si vide le Poste sera créer automatiquement&lt;/font&gt;&lt;/TD&gt; "</span>;
<a name="l00486"></a>00486 }
<a name="l00487"></a>00487 elseif ( $r-&gt;ad_id == <a class="code" href="constant_8php.html#a54">ATTR_DEF_TVA</a>)
<a name="l00488"></a>00488 {
<a name="l00489"></a>00489 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<a class="code" href="constant_8php.html#a83">JS_TVA</a>;
<a name="l00490"></a>00490 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"js_tva"</span>);
<a name="l00491"></a>00491 }
<a name="l00492"></a>00492 elseif ( $r-&gt;ad_id == <a class="code" href="constant_8php.html#a62">ATTR_DEF_COMPANY</a> )
<a name="l00493"></a>00493 {
<a name="l00494"></a>00494 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<a class="code" href="constant_8php.html#a80">JS_SEARCH_CARD</a>;
<a name="l00495"></a>00495 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"js_search"</span>);
<a name="l00496"></a>00496 <span class="comment">// filter on frd_id</span>
<a name="l00497"></a>00497 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;extra=<a class="code" href="constant_8php.html#a64">FICHE_TYPE_CLIENT</a>.<span class="charliteral">','</span>.<a class="code" href="constant_8php.html#a66">FICHE_TYPE_FOURNISSEUR</a>.<span class="charliteral">','</span>.<a class="code" href="constant_8php.html#a69">FICHE_TYPE_ADM_TAX</a>;
<a name="l00498"></a>00498 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;extra2=0; <span class="comment">// jrn = 0</span>
<a name="l00499"></a>00499 <a class="code" href="pref_8inc_8php.html#a6">$label</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"span"</span>);
<a name="l00500"></a>00500 <a class="code" href="pref_8inc_8php.html#a6">$label</a>-&gt;name=<span class="stringliteral">"av_text"</span>.$r-&gt;ad_id.<span class="stringliteral">"_label"</span>;
<a name="l00501"></a>00501 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=<a class="code" href="pref_8inc_8php.html#a6">$label</a>-&gt;IOValue();
<a name="l00502"></a>00502 }
<a name="l00503"></a>00503
<a name="l00504"></a>00504 <span class="keywordflow">else</span>
<a name="l00505"></a>00505 {
<a name="l00506"></a>00506 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"text"</span>);
<a name="l00507"></a>00507 }
<a name="l00508"></a>00508 }
<a name="l00509"></a>00509 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;label=<a class="code" href="user__action__ach_8php.html#a2">$r</a>-&gt;ad_text;
<a name="l00510"></a>00510 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=<a class="code" href="user__action__ach_8php.html#a2">$r</a>-&gt;av_text;
<a name="l00511"></a>00511 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"av_text"</span>.$r-&gt;ad_id;
<a name="l00512"></a>00512 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;readonly=$p_readonly;
<a name="l00513"></a>00513 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;table=1;
<a name="l00514"></a>00514
<a name="l00515"></a>00515 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<span class="stringliteral">"&lt;TR&gt;"</span>.$w-&gt;IOValue().<span class="stringliteral">"$msg &lt;/TR&gt;"</span>;
<a name="l00516"></a>00516 }
<a name="l00517"></a>00517 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>.=<span class="stringliteral">"&lt;/table&gt;"</span>;
<a name="l00518"></a>00518 <span class="keywordflow">return</span> <a class="code" href="impress__bilan_8php.html#a0">$ret</a>;
<a name="l00519"></a>00519 }
<a name="l00526"></a><a class="code" href="classfiche.html#a11">00526</a> function <a class="code" href="classfiche.html#a11">Save</a>($p_fiche_def=0)
<a name="l00527"></a>00527 {
<a name="l00528"></a>00528 <span class="comment">// new card or only a update ?</span>
<a name="l00529"></a>00529 <span class="keywordflow">if</span> ( $this-&gt;id == 0 )
<a name="l00530"></a>00530 $this-&gt;<a class="code" href="classfiche.html#a12">insert</a>($p_fiche_def);
<a name="l00531"></a>00531 <span class="keywordflow">else</span>
<a name="l00532"></a>00532 $this-&gt;<a class="code" href="classfiche.html#a13">update</a>();
<a name="l00533"></a>00533 }
<a name="l00540"></a><a class="code" href="classfiche.html#a12">00540</a> function <a class="code" href="classfiche.html#a12">insert</a>($p_fiche_def)
<a name="l00541"></a>00541 {
<a name="l00542"></a>00542 <a class="code" href="impress__fiche_8php.html#a3">$fiche_id</a>=<a class="code" href="postgres_8php.html#a13">NextSequence</a>($this-&gt;cn,'s_fiche');
<a name="l00543"></a>00543 $this-&gt;<span class="keywordtype">id</span>=<a class="code" href="impress__fiche_8php.html#a3">$fiche_id</a>;
<a name="l00544"></a>00544 <span class="comment">// first we create the card</span>
<a name="l00545"></a>00545 <a class="code" href="postgres_8php.html#a14">StartSql</a>($this-&gt;cn);
<a name="l00546"></a>00546 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"insert into fiche(f_id,fd_id)"</span>.
<a name="l00547"></a>00547 <span class="stringliteral">" values (%d,%d)"</span>,
<a name="l00548"></a>00548 $fiche_id,$p_fiche_def);
<a name="l00549"></a>00549 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00550"></a>00550 <span class="comment">// parse the $_POST array</span>
<a name="l00551"></a>00551 foreach ($_POST as $<a class="code" href="action_8inc_8php.html#a4">name</a>=&gt;$<a class="code" href="action_8inc_8php.html#a5">value</a> )
<a name="l00552"></a>00552 {
<a name="l00553"></a>00553 <a class="code" href="debug_8php.html#a0">echo_debug</a> (<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"Name = $name value $value"</span>) ;
<a name="l00554"></a>00554 list ($<span class="keywordtype">id</span>) = sscanf ($<a class="code" href="action_8inc_8php.html#a4">name</a>,<span class="stringliteral">"av_text%d"</span>);
<a name="l00555"></a>00555 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == null ) <span class="keywordflow">continue</span>;
<a name="l00556"></a>00556 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"add $id"</span>);
<a name="l00557"></a>00557
<a name="l00558"></a>00558 <span class="comment">// Special traitement</span>
<a name="l00559"></a>00559 <span class="comment">// quickcode</span>
<a name="l00560"></a>00560 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a73">ATTR_DEF_QUICKCODE</a>)
<a name="l00561"></a>00561 {
<a name="l00562"></a>00562 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_QUICKCODE"</span>);
<a name="l00563"></a>00563 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select insert_quick_code(%d,'%s')"</span>,
<a name="l00564"></a>00564 $fiche_id,<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a5">value</a>));
<a name="l00565"></a>00565 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00566"></a>00566 <span class="keywordflow">continue</span>;
<a name="l00567"></a>00567 }
<a name="l00568"></a>00568 <span class="comment">// name</span>
<a name="l00569"></a>00569 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a51">ATTR_DEF_NAME</a> )
<a name="l00570"></a>00570 {
<a name="l00571"></a>00571 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_NAME"</span>);
<a name="l00572"></a>00572 <span class="keywordflow">if</span> ( strlen(trim($<a class="code" href="action_8inc_8php.html#a5">value</a>)) == 0 )
<a name="l00573"></a>00573 $value=<span class="stringliteral">"pas de nom"</span>;
<a name="l00574"></a>00574
<a name="l00575"></a>00575 }
<a name="l00576"></a>00576 <span class="comment">// account</span>
<a name="l00577"></a>00577 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a50">ATTR_DEF_ACCOUNT</a> )
<a name="l00578"></a>00578 {
<a name="l00579"></a>00579 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_ACCOUNT"</span>);
<a name="l00580"></a>00580 $v=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a5">value</a>);
<a name="l00581"></a>00581 <span class="keywordflow">if</span> ( <a class="code" href="ac__common_8php.html#a2">isNumber</a>($v) == 1 )
<a name="l00582"></a>00582 {
<a name="l00583"></a>00583 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select account_insert(%d,%d)"</span>,
<a name="l00584"></a>00584 $this-&gt;id,$v);
<a name="l00585"></a>00585 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00586"></a>00586 }
<a name="l00587"></a>00587 <span class="keywordflow">if</span> ( strlen(trim($v))==0 )
<a name="l00588"></a>00588 {
<a name="l00589"></a>00589 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select account_insert(%d,null)"</span>,
<a name="l00590"></a>00590 $this-&gt;id);
<a name="l00591"></a>00591 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00592"></a>00592 }
<a name="l00593"></a>00593
<a name="l00594"></a>00594 <span class="keywordflow">continue</span>;
<a name="l00595"></a>00595 }
<a name="l00596"></a>00596 <span class="comment">// TVA</span>
<a name="l00597"></a>00597 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a54">ATTR_DEF_TVA</a> )
<a name="l00598"></a>00598 {
<a name="l00599"></a>00599 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_TVA"</span>);
<a name="l00600"></a>00600 <span class="comment">// Verify if the rate exists, if not then do not update</span>
<a name="l00601"></a>00601 <span class="keywordflow">if</span> ( strlen(trim($<a class="code" href="action_8inc_8php.html#a5">value</a>)) != 0 )
<a name="l00602"></a>00602 {
<a name="l00603"></a>00603 <span class="keywordflow">if</span> ( <a class="code" href="postgres_8php.html#a10">CountSql</a>($this-&gt;cn,<span class="stringliteral">"select * from tva_rate where tva_id="</span>.$value) == 0)
<a name="l00604"></a>00604 {
<a name="l00605"></a>00605 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"Tva invalide $value"</span>);
<a name="l00606"></a>00606 <span class="keywordflow">continue</span>;
<a name="l00607"></a>00607 }
<a name="l00608"></a>00608 }
<a name="l00609"></a>00609 }
<a name="l00610"></a>00610 <span class="comment">// The contact has a company attribut</span>
<a name="l00611"></a>00611 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a62">ATTR_DEF_COMPANY</a> )
<a name="l00612"></a>00612 {
<a name="l00613"></a>00613 $exist=<a class="code" href="postgres_8php.html#a10">CountSql</a>($this-&gt;cn,<span class="stringliteral">"select f_id from fiche join fiche_def using (fd_id) "</span>.
<a name="l00614"></a>00614 <span class="stringliteral">" join jnt_fic_att_value using (f_id) join attr_value using (jft_id) "</span>.
<a name="l00615"></a>00615 <span class="stringliteral">" where frd_id in (8,9,14) and ad_id="</span>.ATTR_DEF_QUICKCODE.
<a name="l00616"></a>00616 <span class="stringliteral">" and av_text='"</span>.FormatString($<a class="code" href="action_8inc_8php.html#a5">value</a>).<span class="stringliteral">"'"</span>);
<a name="l00617"></a>00617 <span class="keywordflow">if</span> ( $exist == 0 )
<a name="l00618"></a>00618 {
<a name="l00619"></a>00619 $value=<span class="stringliteral">"Attention : pas de société "</span>;
<a name="l00620"></a>00620 }
<a name="l00621"></a>00621 }
<a name="l00622"></a>00622 <span class="comment">// Normal traitement</span>
<a name="l00623"></a>00623 $value2=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a5">value</a>);
<a name="l00624"></a>00624
<a name="l00625"></a>00625 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select attribut_insert(%d,%d,'%s')"</span>,
<a name="l00626"></a>00626 $fiche_id,$<span class="keywordtype">id</span>,$value2);
<a name="l00627"></a>00627 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00628"></a>00628 }
<a name="l00629"></a>00629 <a class="code" href="postgres_8php.html#a16">Commit</a>($this-&gt;cn);
<a name="l00630"></a>00630 <span class="keywordflow">return</span>;
<a name="l00631"></a>00631
<a name="l00632"></a>00632
<a name="l00633"></a>00633 }
<a name="l00634"></a>00634
<a name="l00635"></a>00635
<a name="l00636"></a>00636
<a name="l00640"></a><a class="code" href="classfiche.html#a13">00640</a> function <a class="code" href="classfiche.html#a13">update</a>()
<a name="l00641"></a>00641 {
<a name="l00642"></a>00642 <span class="comment">// parse the $_POST array</span>
<a name="l00643"></a>00643 foreach ($_POST as $<a class="code" href="action_8inc_8php.html#a4">name</a>=&gt;$<a class="code" href="action_8inc_8php.html#a5">value</a> )
<a name="l00644"></a>00644 {
<a name="l00645"></a>00645 <a class="code" href="debug_8php.html#a0">echo_debug</a> (<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"Name = $name value $value"</span>) ;
<a name="l00646"></a>00646 list ($<span class="keywordtype">id</span>) = sscanf ($<a class="code" href="action_8inc_8php.html#a4">name</a>,<span class="stringliteral">"av_text%d"</span>);
<a name="l00647"></a>00647 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == null ) <span class="keywordflow">continue</span>;
<a name="l00648"></a>00648 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"modify $id"</span>);
<a name="l00649"></a>00649
<a name="l00650"></a>00650 <span class="comment">// retrieve jft_id to update table attr_value</span>
<a name="l00651"></a>00651 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">" select jft_id from jnt_fic_att_value where ad_id=$id and f_id=$this-&gt;id"</span>;
<a name="l00652"></a>00652 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00653"></a>00653 <span class="keywordflow">if</span> ( pg_NumRows($Ret) != 1 ) {
<a name="l00654"></a>00654 <a class="code" href="ac__common_8php.html#a0">echo_error</a> (<span class="stringliteral">"class_fiche "</span>.__LINE__.<span class="stringliteral">" INVALID ID !!! "</span>);
<a name="l00655"></a>00655 <span class="keywordflow">return</span>;
<a name="l00656"></a>00656 }
<a name="l00657"></a>00657 <a class="code" href="show__document__modele_8php.html#a5">$tmp</a>=pg_fetch_array($Ret,0);
<a name="l00658"></a>00658 $jft_id=<a class="code" href="show__document__modele_8php.html#a5">$tmp</a>['jft_id'];
<a name="l00659"></a>00659
<a name="l00660"></a>00660 <span class="comment">// Special traitement</span>
<a name="l00661"></a>00661 <span class="comment">// quickcode</span>
<a name="l00662"></a>00662 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a73">ATTR_DEF_QUICKCODE</a>)
<a name="l00663"></a>00663 {
<a name="l00664"></a>00664 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_QUICKCODE"</span>);
<a name="l00665"></a>00665 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select update_quick_code(%d,'%s')"</span>,
<a name="l00666"></a>00666 $jft_id,<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a5">value</a>));
<a name="l00667"></a>00667 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00668"></a>00668 <span class="keywordflow">continue</span>;
<a name="l00669"></a>00669 }
<a name="l00670"></a>00670 <span class="comment">// name</span>
<a name="l00671"></a>00671 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a51">ATTR_DEF_NAME</a> )
<a name="l00672"></a>00672 {
<a name="l00673"></a>00673 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_NAME"</span>);
<a name="l00674"></a>00674 <span class="keywordflow">if</span> ( strlen(trim($<a class="code" href="action_8inc_8php.html#a5">value</a>)) == 0 )
<a name="l00675"></a>00675 <span class="keywordflow">continue</span>;
<a name="l00676"></a>00676
<a name="l00677"></a>00677 }
<a name="l00678"></a>00678 <span class="comment">// account</span>
<a name="l00679"></a>00679 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a50">ATTR_DEF_ACCOUNT</a> )
<a name="l00680"></a>00680 {
<a name="l00681"></a>00681 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_ACCOUNT"</span>);
<a name="l00682"></a>00682 $v=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a5">value</a>);
<a name="l00683"></a>00683 <span class="keywordflow">if</span> ( <a class="code" href="ac__common_8php.html#a2">isNumber</a>($v) == 1 )
<a name="l00684"></a>00684 {
<a name="l00685"></a>00685 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select account_update(%d,%d)"</span>,
<a name="l00686"></a>00686 $this-&gt;id,$v);
<a name="l00687"></a>00687 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00688"></a>00688 }
<a name="l00689"></a>00689 }
<a name="l00690"></a>00690 <span class="comment">// TVA</span>
<a name="l00691"></a>00691 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a53">ATTR_DEF_TVA</a> )
<a name="l00692"></a>00692 {
<a name="l00693"></a>00693 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_TVA"</span>);
<a name="l00694"></a>00694 <span class="comment">// Verify if the rate exists, if not then do not update</span>
<a name="l00695"></a>00695 <span class="keywordflow">if</span> ( strlen(trim($<a class="code" href="action_8inc_8php.html#a4">value</a>)) != 0 )
<a name="l00696"></a>00696 {
<a name="l00697"></a>00697 <span class="keywordflow">if</span> ( <a class="code" href="postgres_8php.html#a10">CountSql</a>($this-&gt;cn,<span class="stringliteral">"select * from tva_rate where tva_id="</span>.$value) == 0)
<a name="l00698"></a>00698 {
<a name="l00699"></a>00699 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"Tva invalide $value"</span>);
<a name="l00700"></a>00700 <span class="keywordflow">continue</span>;
<a name="l00701"></a>00701 }
<a name="l00702"></a>00702 }
<a name="l00703"></a>00703 }
<a name="l00704"></a>00704 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a61">ATTR_DEF_COMPANY</a> )
<a name="l00705"></a>00705 {
<a name="l00706"></a>00706 $exist=<a class="code" href="postgres_8php.html#a10">CountSql</a>($this-&gt;cn,<span class="stringliteral">"select f_id from fiche join fiche_def using (fd_id) "</span>.
<a name="l00707"></a>00707 <span class="stringliteral">" join jnt_fic_att_value using (f_id) join attr_value using (jft_id) "</span>.
<a name="l00708"></a>00708 <span class="stringliteral">" where frd_id in (8,9,14) and ad_id="</span>.ATTR_DEF_QUICKCODE.
<a name="l00709"></a>00709 <span class="stringliteral">" and av_text='"</span>.FormatString($<a class="code" href="action_8inc_8php.html#a4">value</a>).<span class="stringliteral">"'"</span>);
<a name="l00710"></a>00710
<a name="l00711"></a>00711
<a name="l00712"></a>00712 <span class="keywordflow">if</span> ( $exist == 0 )
<a name="l00713"></a>00713 {
<a name="l00714"></a>00714 $value=<span class="stringliteral">"Attention : pas de société "</span>;
<a name="l00715"></a>00715 }
<a name="l00716"></a>00716 }
<a name="l00717"></a>00717
<a name="l00718"></a>00718 <span class="comment">// Normal traitement</span>
<a name="l00719"></a>00719 $value2=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a4">value</a>);
<a name="l00720"></a>00720 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"update attr_value set av_text='%s' where jft_id=%d"</span>,
<a name="l00721"></a>00721 $value2,$jft_id);
<a name="l00722"></a>00722 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00723"></a>00723 }
<a name="l00724"></a>00724 <span class="keywordflow">return</span>;
<a name="l00725"></a>00725
<a name="l00726"></a>00726 }
<a name="l00729"></a><a class="code" href="classfiche.html#a14">00729</a> function <a class="code" href="classfiche.html#a14">remove</a>()
<a name="l00730"></a>00730 {
<a name="l00731"></a>00731 <span class="keywordflow">if</span> ( $this-&gt;id==0 ) <span class="keywordflow">return</span>;
<a name="l00732"></a>00732 <span class="comment">// verify if that card has not been used is a ledger</span>
<a name="l00733"></a>00733 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select fiche_used("</span>.$this-&gt;id.<span class="stringliteral">") as result"</span>;
<a name="l00734"></a>00734 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00735"></a>00735
<a name="l00736"></a>00736 <span class="comment">// fetch the result</span>
<a name="l00737"></a>00737 list($result)=pg_fetch_row($Res,0);
<a name="l00738"></a>00738
<a name="l00739"></a>00739 <span class="keywordflow">if</span> ( $result == 0 )
<a name="l00740"></a>00740 {
<a name="l00741"></a>00741 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select fiche_delete ("</span>.$this-&gt;id.<span class="stringliteral">")"</span>;
<a name="l00742"></a>00742 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00743"></a>00743 <span class="keywordflow">return</span> 0;
<a name="l00744"></a>00744 }
<a name="l00745"></a>00745 <span class="keywordflow">return</span> 1;
<a name="l00746"></a>00746 }
<a name="l00749"></a><a class="code" href="classfiche.html#a15">00749</a> function <a class="code" href="classfiche.html#a15">getName</a>()
<a name="l00750"></a>00750 {
<a name="l00751"></a>00751 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select av_text from jnt_fic_att_value join attr_value </span>
<a name="l00752"></a>00752 <span class="stringliteral"> using (jft_id) where ad_id=1 and f_id="</span>.$this-&gt;id;
<a name="l00753"></a>00753 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00754"></a>00754 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_all($Res);
<a name="l00755"></a>00755 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span>($r) == 0 )
<a name="l00756"></a>00756 <span class="keywordflow">return</span> 1;
<a name="l00757"></a>00757 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>[0]['av_text'];
<a name="l00758"></a>00758 }
<a name="l00761"></a><a class="code" href="classfiche.html#a16">00761</a> function <a class="code" href="classfiche.html#a16">Get</a>()
<a name="l00762"></a>00762 {
<a name="l00763"></a>00763 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_client',__LINE__,'<a class="code" href="classfiche.html#a16">Get</a>');
<a name="l00764"></a>00764 <a class="code" href="classfiche.html#a2">fiche::getAttribut</a>();
<a name="l00689"></a>00689 <span class="keywordflow">if</span> ( strlen (trim($v)) == 0 )
<a name="l00690"></a>00690 {
<a name="l00691"></a>00691 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"select account_update(%d,null)"</span>,
<a name="l00692"></a>00692 $this-&gt;id);
<a name="l00693"></a>00693 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00694"></a>00694 <span class="keywordflow">continue</span>;
<a name="l00695"></a>00695 }
<a name="l00696"></a>00696 }
<a name="l00697"></a>00697 <span class="comment">// TVA</span>
<a name="l00698"></a>00698 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a54">ATTR_DEF_TVA</a> )
<a name="l00699"></a>00699 {
<a name="l00700"></a>00700 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Modify ATTR_DEF_TVA"</span>);
<a name="l00701"></a>00701 <span class="comment">// Verify if the rate exists, if not then do not update</span>
<a name="l00702"></a>00702 <span class="keywordflow">if</span> ( strlen(trim($<a class="code" href="action_8inc_8php.html#a5">value</a>)) != 0 )
<a name="l00703"></a>00703 {
<a name="l00704"></a>00704 <span class="keywordflow">if</span> ( <a class="code" href="postgres_8php.html#a10">CountSql</a>($this-&gt;cn,<span class="stringliteral">"select * from tva_rate where tva_id="</span>.$value) == 0)
<a name="l00705"></a>00705 {
<a name="l00706"></a>00706 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"class_fiche"</span>,__LINE__,<span class="stringliteral">"Tva invalide $value"</span>);
<a name="l00707"></a>00707 <span class="keywordflow">continue</span>;
<a name="l00708"></a>00708 }
<a name="l00709"></a>00709 }
<a name="l00710"></a>00710 }
<a name="l00711"></a>00711 <span class="keywordflow">if</span> ( $<span class="keywordtype">id</span> == <a class="code" href="constant_8php.html#a62">ATTR_DEF_COMPANY</a> )
<a name="l00712"></a>00712 {
<a name="l00713"></a>00713 $exist=<a class="code" href="postgres_8php.html#a10">CountSql</a>($this-&gt;cn,<span class="stringliteral">"select f_id from fiche join fiche_def using (fd_id) "</span>.
<a name="l00714"></a>00714 <span class="stringliteral">" join jnt_fic_att_value using (f_id) join attr_value using (jft_id) "</span>.
<a name="l00715"></a>00715 <span class="stringliteral">" where frd_id in (8,9,14) and ad_id="</span>.ATTR_DEF_QUICKCODE.
<a name="l00716"></a>00716 <span class="stringliteral">" and av_text='"</span>.FormatString($<a class="code" href="action_8inc_8php.html#a5">value</a>).<span class="stringliteral">"'"</span>);
<a name="l00717"></a>00717
<a name="l00718"></a>00718
<a name="l00719"></a>00719 <span class="keywordflow">if</span> ( $exist == 0 )
<a name="l00720"></a>00720 {
<a name="l00721"></a>00721 $value=<span class="stringliteral">"Attention : pas de société "</span>;
<a name="l00722"></a>00722 }
<a name="l00723"></a>00723 }
<a name="l00724"></a>00724
<a name="l00725"></a>00725 <span class="comment">// Normal traitement</span>
<a name="l00726"></a>00726 $value2=<a class="code" href="ac__common_8php.html#a9">FormatString</a>($<a class="code" href="action_8inc_8php.html#a5">value</a>);
<a name="l00727"></a>00727 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=sprintf(<span class="stringliteral">"update attr_value set av_text='%s' where jft_id=%d"</span>,
<a name="l00728"></a>00728 $value2,$jft_id);
<a name="l00729"></a>00729 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00730"></a>00730 }
<a name="l00731"></a>00731 <span class="keywordflow">return</span>;
<a name="l00732"></a>00732
<a name="l00733"></a>00733 }
<a name="l00736"></a><a class="code" href="classfiche.html#a14">00736</a> function <a class="code" href="classfiche.html#a14">remove</a>()
<a name="l00737"></a>00737 {
<a name="l00738"></a>00738 <span class="keywordflow">if</span> ( $this-&gt;id==0 ) <span class="keywordflow">return</span>;
<a name="l00739"></a>00739 <span class="comment">// verify if that card has not been used is a ledger</span>
<a name="l00740"></a>00740 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select fiche_used("</span>.$this-&gt;id.<span class="stringliteral">") as result"</span>;
<a name="l00741"></a>00741 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00742"></a>00742
<a name="l00743"></a>00743 <span class="comment">// fetch the result</span>
<a name="l00744"></a>00744 list($result)=pg_fetch_row($Res,0);
<a name="l00745"></a>00745
<a name="l00746"></a>00746 <span class="keywordflow">if</span> ( $result == 0 )
<a name="l00747"></a>00747 {
<a name="l00748"></a>00748 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select fiche_delete ("</span>.$this-&gt;id.<span class="stringliteral">")"</span>;
<a name="l00749"></a>00749 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00750"></a>00750 <span class="keywordflow">return</span> 0;
<a name="l00751"></a>00751 }
<a name="l00752"></a>00752 <span class="keywordflow">return</span> 1;
<a name="l00753"></a>00753 }
<a name="l00756"></a><a class="code" href="classfiche.html#a15">00756</a> function <a class="code" href="classfiche.html#a15">getName</a>()
<a name="l00757"></a>00757 {
<a name="l00758"></a>00758 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select av_text from jnt_fic_att_value join attr_value </span>
<a name="l00759"></a>00759 <span class="stringliteral"> using (jft_id) where ad_id=1 and f_id="</span>.$this-&gt;id;
<a name="l00760"></a>00760 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;cn,$sql);
<a name="l00761"></a>00761 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_all($Res);
<a name="l00762"></a>00762 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span>($r) == 0 )
<a name="l00763"></a>00763 <span class="keywordflow">return</span> 1;
<a name="l00764"></a>00764 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>[0]['av_text'];
<a name="l00765"></a>00765 }
<a name="l00771"></a><a class="code" href="classfiche.html#a17">00771</a> function <a class="code" href="classfiche.html#a17">GetAll</a>($p_offset=-1,$p_search=<span class="stringliteral">""</span>)
<a name="l00772"></a>00772 {
<a name="l00773"></a>00773 <span class="keywordflow">return</span> <a class="code" href="classfiche.html#a6">fiche::GetByDef</a>($this-&gt;fiche_def_ref,$p_offset,$p_search);
<a name="l00774"></a>00774 }
<a name="l00775"></a>00775 }
<a name="l00776"></a>00776 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00768"></a><a class="code" href="classfiche.html#a16">00768</a> function <a class="code" href="classfiche.html#a16">Get</a>()
<a name="l00769"></a>00769 {
<a name="l00770"></a>00770 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_client',__LINE__,'<a class="code" href="classfiche.html#a16">Get</a>');
<a name="l00771"></a>00771 <a class="code" href="classfiche.html#a2">fiche::getAttribut</a>();
<a name="l00772"></a>00772 }
<a name="l00778"></a><a class="code" href="classfiche.html#a17">00778</a> function <a class="code" href="classfiche.html#a17">GetAll</a>($p_offset=-1,$p_search=<span class="stringliteral">""</span>)
<a name="l00779"></a>00779 {
<a name="l00780"></a>00780 <span class="keywordflow">return</span> <a class="code" href="classfiche.html#a6">fiche::GetByDef</a>($this-&gt;fiche_def_ref,$p_offset,$p_search);
<a name="l00781"></a>00781 }
<a name="l00782"></a>00782 }
<a name="l00783"></a>00783 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -26,7 +26,7 @@ define Class fiche and fiche def, those class are using class attribut
<p>
<p>
Definition in file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -53,7 +53,7 @@
<a name="l00060"></a>00060 {
<a name="l00061"></a>00061 <a class="code" href="fiche__csv_8php.html#a5">$o</a>=<span class="keyword">new</span> <a class="code" href="classfiche__def__ref.html#a0">fiche_def_ref</a>($this-&gt;db);
<a name="l00062"></a>00062
<a name="l00063"></a>00063 foreach ( $this-&gt;attribut as $<a class="code" href="action_8inc_8php.html#a4">value</a>)
<a name="l00063"></a>00063 foreach ( $this-&gt;attribut as $<a class="code" href="action_8inc_8php.html#a5">value</a>)
<a name="l00064"></a>00064 {
<a name="l00065"></a>00065 <a class="code" href="fiche__csv_8php.html#a5">$o</a>-&gt;$value=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>[$value];
<a name="l00066"></a>00066 }
@ -65,7 +65,7 @@
<a name="l00078"></a><a class="code" href="classfiche__def__ref.html#a2">00078</a> function <a class="code" href="classfiche__def__ref.html#a2">Display</a>()
<a name="l00079"></a>00079 {
<a name="l00080"></a>00080 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">""</span>;
<a name="l00081"></a>00081 foreach ( $this-&gt;attribut as $<a class="code" href="action_8inc_8php.html#a4">value</a>)
<a name="l00081"></a>00081 foreach ( $this-&gt;attribut as $<a class="code" href="action_8inc_8php.html#a5">value</a>)
<a name="l00082"></a>00082 {
<a name="l00083"></a>00083 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;TD&gt;"</span>.$this-&gt;$value.'&lt;/TD&gt;';
<a name="l00084"></a>00084 }
@ -103,7 +103,7 @@
<a name="l00141"></a>00141
<a name="l00142"></a>00142 }
<a name="l00143"></a>00143 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -23,7 +23,7 @@
<p>
<p>
Definition in file <a class="el" href="class__fiche__def_8php-source.html">class_fiche_def.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__fiche__def_8php-source.html">class_fiche_def.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -39,8 +39,8 @@
<a name="l00033"></a>00033 }
<a name="l00034"></a><a class="code" href="classjrn.html#a1">00034</a> function <a class="code" href="classjrn.html#a1">GetName</a>() {
<a name="l00035"></a>00035 <span class="keywordflow">if</span> ( $this-&gt;id==0 ) {
<a name="l00036"></a>00036 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">" Grand Livre "</span>;
<a name="l00037"></a>00037 <span class="keywordflow">return</span> $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>;
<a name="l00036"></a>00036 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">" Grand Livre "</span>;
<a name="l00037"></a>00037 <span class="keywordflow">return</span> $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>;
<a name="l00038"></a>00038 }
<a name="l00039"></a>00039
<a name="l00040"></a>00040 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select jrn_def_name from "</span>.
@ -49,7 +49,7 @@
<a name="l00043"></a>00043 <a class="code" href="setup_8php.html#a11">$Max</a>=pg_NumRows($Res);
<a name="l00044"></a>00044 <span class="keywordflow">if</span> ($Max==0) <span class="keywordflow">return</span> null;
<a name="l00045"></a>00045 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=pg_fetch_array($Res,0);
<a name="l00046"></a>00046 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>=<a class="code" href="impress__bilan_8php.html#a0">$ret</a>['jrn_def_name'];
<a name="l00046"></a>00046 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>=<a class="code" href="impress__bilan_8php.html#a0">$ret</a>['jrn_def_name'];
<a name="l00047"></a>00047 <span class="keywordflow">return</span> <a class="code" href="impress__bilan_8php.html#a0">$ret</a>['jrn_def_name'];
<a name="l00048"></a>00048 }
<a name="l00049"></a>00049
@ -211,8 +211,8 @@
<a name="l00220"></a>00220 }
<a name="l00221"></a>00221 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_jrn.php',__LINE__,<span class="stringliteral">"Total debit $tot_deb,credit $tot_cred"</span>);
<a name="l00222"></a>00222 $this-&gt;row=<a class="code" href="recherche_8php.html#a4">$array</a>;
<a name="l00223"></a>00223 <a class="code" href="action_8inc_8php.html#a15">$a</a>=array($array,$tot_deb,$tot_cred);
<a name="l00224"></a>00224 <span class="keywordflow">return</span> <a class="code" href="action_8inc_8php.html#a15">$a</a>;
<a name="l00223"></a>00223 <a class="code" href="action_8inc_8php.html#a16">$a</a>=array($array,$tot_deb,$tot_cred);
<a name="l00224"></a>00224 <span class="keywordflow">return</span> <a class="code" href="action_8inc_8php.html#a16">$a</a>;
<a name="l00225"></a>00225 }
<a name="l00243"></a><a class="code" href="classjrn.html#a3">00243</a> function <a class="code" href="classjrn.html#a3">GetRowSimple</a>($p_from,$p_to,$cent='off',$p_limit=-1,$p_offset=-1)
<a name="l00244"></a>00244 {
@ -294,10 +294,10 @@
<a name="l00326"></a>00326 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=pg_fetch_all($r);
<a name="l00327"></a>00327 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_jrn',__LINE__,$Res);
<a name="l00328"></a>00328 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span>($Res) == 0 ) <span class="keywordflow">return</span> 1;
<a name="l00329"></a>00329 <span class="keywordflow">return</span> <a class="code" href="depense_8inc_8php.html#a3">$Res</a>[0]['<a class="code" href="action_8inc_8php.html#a4">value</a>'];
<a name="l00329"></a>00329 <span class="keywordflow">return</span> <a class="code" href="depense_8inc_8php.html#a3">$Res</a>[0]['<a class="code" href="action_8inc_8php.html#a5">value</a>'];
<a name="l00330"></a>00330 }
<a name="l00331"></a>00331 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -16,7 +16,7 @@
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class for jrn. <a href="classjrn.html#_details">More...</a><br></td></tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -53,12 +53,15 @@
<a name="l00065"></a>00065 $this-&gt;UpdateRow('<a class="code" href="parametre_8php.html#a10">MY_STREET</a>');
<a name="l00066"></a>00066 $this-&gt;UpdateRow('<a class="code" href="parametre_8php.html#a11">MY_NUMBER</a>');
<a name="l00067"></a>00067 $this-&gt;UpdateRow('<a class="code" href="parametre_8php.html#a12">MY_CP</a>');
<a name="l00068"></a>00068 $this-&gt;UpdateRow('<a class="code" href="parametre_8php.html#a13">MY_COMMUNE</a>');
<a name="l00069"></a>00069
<a name="l00070"></a>00070 }
<a name="l00071"></a>00071
<a name="l00072"></a>00072 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00068"></a>00068 $this-&gt;UpdateRow('<a class="code" href="parametre_8php.html#a14">MY_TEL</a>');
<a name="l00069"></a>00069 $this-&gt;UpdateRow('<a class="code" href="parametre_8php.html#a16">MY_PAYS</a>');
<a name="l00070"></a>00070 $this-&gt;UpdateRow('<a class="code" href="parametre_8php.html#a13">MY_COMMUNE</a>');
<a name="l00071"></a>00071 $this-&gt;UpdateRow('<a class="code" href="parametre_8php.html#a15">MY_FAX</a>');
<a name="l00072"></a>00072
<a name="l00073"></a>00073 }
<a name="l00074"></a>00074
<a name="l00075"></a>00075 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -23,7 +23,7 @@ Class to manage the company parameter (address, name...).
<p>
<p>
Definition in file <a class="el" href="class__own_8php-source.html">class_own.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__own_8php-source.html">class_own.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -114,7 +114,7 @@
<a name="l00152"></a>00152 }
<a name="l00153"></a>00153
<a name="l00154"></a>00154 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -23,7 +23,7 @@ Manage the table <a class="el" href="classparm__code.html">parm_code</a> which c
<p>
<p>
Definition in file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -28,95 +28,109 @@
<a name="l00019"></a>00019 <span class="comment">/* $Revision$ */</span>
<a name="l00020"></a>00020 <span class="comment">// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr</span>
<a name="l00028"></a><a class="code" href="classposte.html">00028</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classposte.html">poste</a> {
<a name="l00029"></a><a class="code" href="classposte.html#o0">00029</a> var <a class="code" href="classposte.html#o0">$db</a>;
<a name="l00030"></a><a class="code" href="classposte.html#o1">00030</a> var <a class="code" href="classposte.html#o1">$id</a>;
<a name="l00031"></a><a class="code" href="classposte.html#o2">00031</a> var <a class="code" href="classposte.html#o2">$row</a>;
<a name="l00032"></a><a class="code" href="classposte.html#a0">00032</a> function <a class="code" href="classposte.html#a0">poste</a>($p_cn,$p_id) {
<a name="l00033"></a>00033 $this-&gt;db=$p_cn;
<a name="l00034"></a>00034 $this-&gt;<span class="keywordtype">id</span>=<a class="code" href="user__update_8php.html#a1">$p_id</a>;
<a name="l00035"></a>00035 }
<a name="l00036"></a>00036
<a name="l00046"></a><a class="code" href="classposte.html#a1">00046</a> function <a class="code" href="classposte.html#a1">GetRow</a>($p_from,$p_to)
<a name="l00047"></a>00047 {
<a name="l00048"></a>00048 <span class="keywordflow">if</span> ( $p_from == $p_to )
<a name="l00049"></a>00049 $periode=<span class="stringliteral">" jr_tech_per = $p_from "</span>;
<a name="l00050"></a>00050 <span class="keywordflow">else</span>
<a name="l00051"></a>00051 $periode = <span class="stringliteral">"(jr_tech_per &gt;= $p_from and jr_tech_per &lt;= $p_to) "</span>;
<a name="l00052"></a>00052
<a name="l00053"></a>00053 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select to_char(j_date,'DD.MM.YYYY') as j_date,"</span>.
<a name="l00054"></a>00054 <span class="stringliteral">"case when j_debit='t' then j_montant else 0 end as deb_montant,"</span>.
<a name="l00055"></a>00055 <span class="stringliteral">"case when j_debit='f' then j_montant else 0 end as cred_montant,"</span>.
<a name="l00056"></a>00056 <span class="stringliteral">" jr_comment as description,jrn_def_name as jrn_name,"</span>.
<a name="l00057"></a>00057 <span class="stringliteral">"j_debit, jr_internal "</span>.
<a name="l00058"></a>00058 <span class="stringliteral">" from jrnx left join jrn_def on jrn_def_id=j_jrn_def "</span>.
<a name="l00059"></a>00059 <span class="stringliteral">" left join jrn on jr_grpt_id=j_grpt"</span>.
<a name="l00060"></a>00060 <span class="stringliteral">" where j_poste="</span>.$this-&gt;id.<span class="stringliteral">" and "</span>.$periode.
<a name="l00061"></a>00061 <span class="stringliteral">" order by j_date::date"</span>);
<a name="l00062"></a>00062 <a class="code" href="recherche_8php.html#a4">$array</a>=array();
<a name="l00063"></a>00063 $tot_cred=0.0;
<a name="l00064"></a>00064 $tot_deb=0.0;
<a name="l00065"></a>00065 <a class="code" href="setup_8php.html#a11">$Max</a>=pg_NumRows($Res);
<a name="l00066"></a>00066 <span class="keywordflow">if</span> ( $Max == 0 ) <span class="keywordflow">return</span> null;
<a name="l00067"></a>00067 <span class="keywordflow">for</span> ($i=0;$i&lt;$Max;$i++) {
<a name="l00068"></a>00068 <a class="code" href="recherche_8php.html#a4">$array</a>[]=pg_fetch_array($Res,$i);
<a name="l00069"></a>00069 <span class="keywordflow">if</span> ($array[$i]['j_debit']==<span class="charliteral">'t'</span>) {
<a name="l00070"></a>00070 $tot_deb+=<a class="code" href="recherche_8php.html#a4">$array</a>[<a class="code" href="balance_8php.html#a11">$i</a>]['deb_montant'] ;
<a name="l00071"></a>00071 } <span class="keywordflow">else</span> {
<a name="l00072"></a>00072 $tot_cred+=<a class="code" href="recherche_8php.html#a4">$array</a>[<a class="code" href="balance_8php.html#a11">$i</a>]['cred_montant'] ;
<a name="l00073"></a>00073 }
<a name="l00074"></a>00074 }
<a name="l00075"></a>00075 $this-&gt;row=<a class="code" href="recherche_8php.html#a4">$array</a>;
<a name="l00076"></a>00076 <span class="keywordflow">return</span> array($array,$tot_deb,$tot_cred);
<a name="l00077"></a>00077 }
<a name="l00080"></a><a class="code" href="classposte.html#a2">00080</a> function <a class="code" href="classposte.html#a2">GetName</a>() {
<a name="l00081"></a>00081 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=pg_exec($this-&gt;db,
<a name="l00082"></a>00082 <span class="stringliteral">"select pcm_lib from tmp_pcmn where</span>
<a name="l00083"></a>00083 <span class="stringliteral"> pcm_val="</span>.$this-&gt;id);
<a name="l00084"></a>00084 <span class="keywordflow">if</span> ( pg_NumRows($ret) != 0) {
<a name="l00085"></a>00085 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($ret);
<a name="l00086"></a>00086 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['pcm_lib'];
<a name="l00087"></a>00087 } <span class="keywordflow">else</span> {
<a name="l00088"></a>00088 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"Poste inconnu"</span>;
<a name="l00089"></a>00089 }
<a name="l00090"></a>00090 <span class="keywordflow">return</span> $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>;
<a name="l00091"></a>00091 }
<a name="l00099"></a><a class="code" href="classposte.html#a3">00099</a> function <a class="code" href="classposte.html#a3">GetSolde</a>($p_cond=<span class="stringliteral">""</span>) {
<a name="l00100"></a>00100 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select sum(deb) as sum_deb, sum(cred) as sum_cred from </span>
<a name="l00101"></a>00101 <span class="stringliteral"> ( select j_poste, </span>
<a name="l00102"></a>00102 <span class="stringliteral"> case when j_debit='t' then j_montant else 0 end as deb, </span>
<a name="l00103"></a>00103 <span class="stringliteral"> case when j_debit='f' then j_montant else 0 end as cred </span>
<a name="l00104"></a>00104 <span class="stringliteral"> from jrnx join tmp_pcmn on j_poste=pcm_val </span>
<a name="l00105"></a>00105 <span class="stringliteral"> where </span>
<a name="l00106"></a>00106 <span class="stringliteral"> j_poste like ('$this-&gt;id'::text) and</span>
<a name="l00107"></a>00107 <span class="stringliteral"> $p_cond</span>
<a name="l00108"></a>00108 <span class="stringliteral"> ) as m "</span>);
<a name="l00109"></a>00109 <a class="code" href="setup_8php.html#a11">$Max</a>=pg_NumRows($Res);
<a name="l00110"></a>00110 <span class="keywordflow">if</span> ($Max==0) <span class="keywordflow">return</span> 0;
<a name="l00111"></a>00111 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($Res,0);
<a name="l00112"></a>00112
<a name="l00113"></a>00113 <span class="keywordflow">return</span> abs($r['sum_deb']-$r['sum_cred']);
<a name="l00114"></a>00114 }
<a name="l00121"></a><a class="code" href="classposte.html#a4">00121</a> function <a class="code" href="classposte.html#a4">GetSoldeDetail</a>($p_cond=<span class="stringliteral">""</span>) {
<a name="l00122"></a>00122 <span class="keywordflow">if</span> ( $p_cond != <span class="stringliteral">""</span>) $p_cond=<span class="stringliteral">" and "</span>.$p_cond;
<a name="l00123"></a>00123 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select sum(deb) as sum_deb, sum(cred) as sum_cred from </span>
<a name="l00124"></a>00124 <span class="stringliteral"> ( select j_poste, </span>
<a name="l00125"></a>00125 <span class="stringliteral"> case when j_debit='t' then j_montant else 0 end as deb, </span>
<a name="l00126"></a>00126 <span class="stringliteral"> case when j_debit='f' then j_montant else 0 end as cred </span>
<a name="l00127"></a>00127 <span class="stringliteral"> from jrnx join tmp_pcmn on j_poste=pcm_val </span>
<a name="l00128"></a>00128 <span class="stringliteral"> where </span>
<a name="l00129"></a>00129 <span class="stringliteral"> j_poste like ('$this-&gt;id'::text)</span>
<a name="l00130"></a>00130 <span class="stringliteral"> $p_cond</span>
<a name="l00131"></a>00131 <span class="stringliteral"> ) as m "</span>);
<a name="l00132"></a>00132 <a class="code" href="setup_8php.html#a11">$Max</a>=pg_NumRows($Res);
<a name="l00133"></a>00133 <span class="keywordflow">if</span> ($Max==0) <span class="keywordflow">return</span> 0;
<a name="l00134"></a>00134 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($Res,0);
<a name="l00135"></a>00135
<a name="l00136"></a>00136 <span class="keywordflow">return</span> array('debit'=&gt;$r['sum_deb'],
<a name="l00137"></a>00137 'credit'=&gt;$r['sum_cred'],
<a name="l00138"></a>00138 'solde'=&gt;abs($r['sum_deb']-$r['sum_cred']));
<a name="l00139"></a>00139 }
<a name="l00140"></a>00140 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00029"></a><a class="code" href="classposte.html#o0">00029</a> var <a class="code" href="classposte.html#o0">$db</a>;
<a name="l00030"></a><a class="code" href="classposte.html#o1">00030</a> var <a class="code" href="classposte.html#o1">$id</a>;
<a name="l00031"></a><a class="code" href="classposte.html#o2">00031</a> var <a class="code" href="classposte.html#o2">$label</a>;
<a name="l00032"></a><a class="code" href="classposte.html#o3">00032</a> var <a class="code" href="classposte.html#o3">$parent</a>;
<a name="l00033"></a><a class="code" href="classposte.html#o4">00033</a> var <a class="code" href="classposte.html#o4">$row</a>;
<a name="l00034"></a><a class="code" href="classposte.html#a0">00034</a> function <a class="code" href="classposte.html#a0">poste</a>($p_cn,$p_id) {
<a name="l00035"></a>00035 $this-&gt;db=$p_cn;
<a name="l00036"></a>00036 $this-&gt;<span class="keywordtype">id</span>=<a class="code" href="user__update_8php.html#a1">$p_id</a>;
<a name="l00037"></a>00037 }
<a name="l00038"></a>00038
<a name="l00048"></a><a class="code" href="classposte.html#a1">00048</a> function <a class="code" href="classposte.html#a1">GetRow</a>($p_from,$p_to)
<a name="l00049"></a>00049 {
<a name="l00050"></a>00050 <span class="keywordflow">if</span> ( $p_from == $p_to )
<a name="l00051"></a>00051 $periode=<span class="stringliteral">" jr_tech_per = $p_from "</span>;
<a name="l00052"></a>00052 <span class="keywordflow">else</span>
<a name="l00053"></a>00053 $periode = <span class="stringliteral">"(jr_tech_per &gt;= $p_from and jr_tech_per &lt;= $p_to) "</span>;
<a name="l00054"></a>00054
<a name="l00055"></a>00055 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select to_char(j_date,'DD.MM.YYYY') as j_date,"</span>.
<a name="l00056"></a>00056 <span class="stringliteral">"case when j_debit='t' then j_montant else 0 end as deb_montant,"</span>.
<a name="l00057"></a>00057 <span class="stringliteral">"case when j_debit='f' then j_montant else 0 end as cred_montant,"</span>.
<a name="l00058"></a>00058 <span class="stringliteral">" jr_comment as description,jrn_def_name as jrn_name,"</span>.
<a name="l00059"></a>00059 <span class="stringliteral">"j_debit, jr_internal "</span>.
<a name="l00060"></a>00060 <span class="stringliteral">" from jrnx left join jrn_def on jrn_def_id=j_jrn_def "</span>.
<a name="l00061"></a>00061 <span class="stringliteral">" left join jrn on jr_grpt_id=j_grpt"</span>.
<a name="l00062"></a>00062 <span class="stringliteral">" where j_poste="</span>.$this-&gt;id.<span class="stringliteral">" and "</span>.$periode.
<a name="l00063"></a>00063 <span class="stringliteral">" order by j_date::date"</span>);
<a name="l00064"></a>00064 <a class="code" href="recherche_8php.html#a4">$array</a>=array();
<a name="l00065"></a>00065 $tot_cred=0.0;
<a name="l00066"></a>00066 $tot_deb=0.0;
<a name="l00067"></a>00067 <a class="code" href="setup_8php.html#a11">$Max</a>=pg_NumRows($Res);
<a name="l00068"></a>00068 <span class="keywordflow">if</span> ( $Max == 0 ) <span class="keywordflow">return</span> null;
<a name="l00069"></a>00069 <span class="keywordflow">for</span> ($i=0;$i&lt;$Max;$i++) {
<a name="l00070"></a>00070 <a class="code" href="recherche_8php.html#a4">$array</a>[]=pg_fetch_array($Res,$i);
<a name="l00071"></a>00071 <span class="keywordflow">if</span> ($array[$i]['j_debit']==<span class="charliteral">'t'</span>) {
<a name="l00072"></a>00072 $tot_deb+=<a class="code" href="recherche_8php.html#a4">$array</a>[<a class="code" href="balance_8php.html#a12">$i</a>]['deb_montant'] ;
<a name="l00073"></a>00073 } <span class="keywordflow">else</span> {
<a name="l00074"></a>00074 $tot_cred+=<a class="code" href="recherche_8php.html#a4">$array</a>[<a class="code" href="balance_8php.html#a12">$i</a>]['cred_montant'] ;
<a name="l00075"></a>00075 }
<a name="l00076"></a>00076 }
<a name="l00077"></a>00077 $this-&gt;row=<a class="code" href="recherche_8php.html#a4">$array</a>;
<a name="l00078"></a>00078 <span class="keywordflow">return</span> array($array,$tot_deb,$tot_cred);
<a name="l00079"></a>00079 }
<a name="l00084"></a><a class="code" href="classposte.html#a2">00084</a> function <a class="code" href="classposte.html#a2">GetName</a>() {
<a name="l00085"></a>00085 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=pg_exec($this-&gt;db,
<a name="l00086"></a>00086 <span class="stringliteral">"select pcm_lib from tmp_pcmn where</span>
<a name="l00087"></a>00087 <span class="stringliteral"> pcm_val="</span>.$this-&gt;id);
<a name="l00088"></a>00088 <span class="keywordflow">if</span> ( pg_NumRows($ret) != 0) {
<a name="l00089"></a>00089 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($ret);
<a name="l00090"></a>00090 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['pcm_lib'];
<a name="l00091"></a>00091 } <span class="keywordflow">else</span> {
<a name="l00092"></a>00092 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"Poste inconnu"</span>;
<a name="l00093"></a>00093 }
<a name="l00094"></a>00094 <span class="keywordflow">return</span> $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>;
<a name="l00095"></a>00095 }
<a name="l00100"></a><a class="code" href="classposte.html#a3">00100</a> function <a class="code" href="classposte.html#a3">get</a>()
<a name="l00101"></a>00101 {
<a name="l00102"></a>00102 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select pcm_lib,pcm_val_parent from </span>
<a name="l00103"></a>00103 <span class="stringliteral"> tmp_pcmn where pcm_val="</span>.$this-&gt;id);
<a name="l00104"></a>00104 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_all($ret);
<a name="l00105"></a>00105
<a name="l00106"></a>00106 <span class="keywordflow">if</span> ( ! $r ) <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00107"></a>00107 $this-&gt;<a class="code" href="action_8inc_8php.html#a7">label</a>=<a class="code" href="user__action__ach_8php.html#a2">$r</a>[0]['pcm_lib'];
<a name="l00108"></a>00108 $this-&gt;parent=<a class="code" href="user__action__ach_8php.html#a2">$r</a>[0]['pcm_val_parent'];
<a name="l00109"></a>00109 <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00110"></a>00110 }
<a name="l00111"></a>00111
<a name="l00119"></a><a class="code" href="classposte.html#a4">00119</a> function <a class="code" href="classposte.html#a4">GetSolde</a>($p_cond=<span class="stringliteral">""</span>) {
<a name="l00120"></a>00120 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select sum(deb) as sum_deb, sum(cred) as sum_cred from </span>
<a name="l00121"></a>00121 <span class="stringliteral"> ( select j_poste, </span>
<a name="l00122"></a>00122 <span class="stringliteral"> case when j_debit='t' then j_montant else 0 end as deb, </span>
<a name="l00123"></a>00123 <span class="stringliteral"> case when j_debit='f' then j_montant else 0 end as cred </span>
<a name="l00124"></a>00124 <span class="stringliteral"> from jrnx join tmp_pcmn on j_poste=pcm_val </span>
<a name="l00125"></a>00125 <span class="stringliteral"> where </span>
<a name="l00126"></a>00126 <span class="stringliteral"> j_poste like ('$this-&gt;id'::text) and</span>
<a name="l00127"></a>00127 <span class="stringliteral"> $p_cond</span>
<a name="l00128"></a>00128 <span class="stringliteral"> ) as m "</span>);
<a name="l00129"></a>00129 <a class="code" href="setup_8php.html#a11">$Max</a>=pg_NumRows($Res);
<a name="l00130"></a>00130 <span class="keywordflow">if</span> ($Max==0) <span class="keywordflow">return</span> 0;
<a name="l00131"></a>00131 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($Res,0);
<a name="l00132"></a>00132
<a name="l00133"></a>00133 <span class="keywordflow">return</span> abs($r['sum_deb']-$r['sum_cred']);
<a name="l00134"></a>00134 }
<a name="l00141"></a><a class="code" href="classposte.html#a5">00141</a> function <a class="code" href="classposte.html#a5">GetSoldeDetail</a>($p_cond=<span class="stringliteral">""</span>) {
<a name="l00142"></a>00142 <span class="keywordflow">if</span> ( $p_cond != <span class="stringliteral">""</span>) $p_cond=<span class="stringliteral">" and "</span>.$p_cond;
<a name="l00143"></a>00143 <a class="code" href="depense_8inc_8php.html#a3">$Res</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,<span class="stringliteral">"select sum(deb) as sum_deb, sum(cred) as sum_cred from </span>
<a name="l00144"></a>00144 <span class="stringliteral"> ( select j_poste, </span>
<a name="l00145"></a>00145 <span class="stringliteral"> case when j_debit='t' then j_montant else 0 end as deb, </span>
<a name="l00146"></a>00146 <span class="stringliteral"> case when j_debit='f' then j_montant else 0 end as cred </span>
<a name="l00147"></a>00147 <span class="stringliteral"> from jrnx join tmp_pcmn on j_poste=pcm_val </span>
<a name="l00148"></a>00148 <span class="stringliteral"> where </span>
<a name="l00149"></a>00149 <span class="stringliteral"> j_poste like ('$this-&gt;id'::text)</span>
<a name="l00150"></a>00150 <span class="stringliteral"> $p_cond</span>
<a name="l00151"></a>00151 <span class="stringliteral"> ) as m "</span>);
<a name="l00152"></a>00152 <a class="code" href="setup_8php.html#a11">$Max</a>=pg_NumRows($Res);
<a name="l00153"></a>00153 <span class="keywordflow">if</span> ($Max==0) <span class="keywordflow">return</span> 0;
<a name="l00154"></a>00154 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($Res,0);
<a name="l00155"></a>00155
<a name="l00156"></a>00156 <span class="keywordflow">return</span> array('debit'=&gt;$r['sum_deb'],
<a name="l00157"></a>00157 'credit'=&gt;$r['sum_cred'],
<a name="l00158"></a>00158 'solde'=&gt;abs($r['sum_deb']-$r['sum_cred']));
<a name="l00159"></a>00159 }
<a name="l00160"></a>00160 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -23,7 +23,7 @@ Manage the account.
<p>
<p>
Definition in file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -34,14 +34,14 @@
<a name="l00033"></a><a class="code" href="classrapport.html#a0">00033</a> function <a class="code" href="classrapport.html#a0">rapport</a>($p_cn,$p_id) {
<a name="l00034"></a>00034 $this-&gt;db=$p_cn;
<a name="l00035"></a>00035 $this-&gt;<span class="keywordtype">id</span>=<a class="code" href="user__update_8php.html#a1">$p_id</a>;
<a name="l00036"></a>00036 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>='UNDEF';
<a name="l00036"></a>00036 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>='UNDEF';
<a name="l00037"></a>00037 }
<a name="l00040"></a><a class="code" href="classrapport.html#a1">00040</a> function <a class="code" href="classrapport.html#a1">GetName</a>() {
<a name="l00041"></a>00041 <a class="code" href="impress__bilan_8php.html#a0">$ret</a>=execSql($this-&gt;db,<span class="stringliteral">"select fr_label from formdef where fr_id="</span>.$this-&gt;id);
<a name="l00042"></a>00042 <span class="keywordflow">if</span> (pg_NumRows($ret) == 0) <span class="keywordflow">return</span> $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>;
<a name="l00043"></a>00043 <a class="code" href="action_8inc_8php.html#a15">$a</a>=pg_fetch_array($ret,0);
<a name="l00044"></a>00044 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>=<a class="code" href="action_8inc_8php.html#a15">$a</a>['fr_label'];
<a name="l00045"></a>00045 <span class="keywordflow">return</span> $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>;
<a name="l00042"></a>00042 <span class="keywordflow">if</span> (pg_NumRows($ret) == 0) <span class="keywordflow">return</span> $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>;
<a name="l00043"></a>00043 <a class="code" href="action_8inc_8php.html#a16">$a</a>=pg_fetch_array($ret,0);
<a name="l00044"></a>00044 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>=<a class="code" href="action_8inc_8php.html#a16">$a</a>['fr_label'];
<a name="l00045"></a>00045 <span class="keywordflow">return</span> $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>;
<a name="l00046"></a>00046 }
<a name="l00053"></a><a class="code" href="classrapport.html#a2">00053</a> function <a class="code" href="classrapport.html#a2">GetRow</a>($p_start,$p_end) {
<a name="l00054"></a>00054
@ -72,7 +72,7 @@
<a name="l00079"></a>00079 }
<a name="l00080"></a>00080 }
<a name="l00081"></a>00081 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -23,7 +23,7 @@ Create, view, modify and parse report.
<p>
<p>
Definition in file <a class="el" href="class__rapport_8php-source.html">class_rapport.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__rapport_8php-source.html">class_rapport.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -50,7 +50,7 @@
<a name="l00051"></a>00051 $this-&gt;admin=( isset($_SESSION['use_admin']) )?<a class="code" href="commercial_8php.html#a0">$_SESSION</a>['use_admin']:0;
<a name="l00052"></a>00052
<a name="l00053"></a>00053 <span class="keywordflow">if</span> ( isset($_SESSION['use_name']) )
<a name="l00054"></a>00054 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>=<a class="code" href="commercial_8php.html#a0">$_SESSION</a>['use_name'];
<a name="l00054"></a>00054 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>=<a class="code" href="commercial_8php.html#a0">$_SESSION</a>['use_name'];
<a name="l00055"></a>00055 <span class="keywordflow">if</span> ( isset($_SESSION['use_first_name']) )
<a name="l00056"></a>00056 $this-&gt;first_name=<a class="code" href="commercial_8php.html#a0">$_SESSION</a>['use_first_name'];
<a name="l00057"></a>00057 }
@ -70,7 +70,7 @@
<a name="l00071"></a>00071 <span class="keywordflow">if</span> (($Max=pg_NumRows($Res)) == 0 ) <span class="keywordflow">return</span> -1;
<a name="l00072"></a>00072 <a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>=pg_fetch_array($Res,0);
<a name="l00073"></a>00073 $this-&gt;first_name=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['use_first_name'];
<a name="l00074"></a>00074 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['use_name'];
<a name="l00074"></a>00074 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['use_name'];
<a name="l00075"></a>00075 $this-&gt;active=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['use_active'];
<a name="l00076"></a>00076 $this-&gt;login=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['use_login'];
<a name="l00077"></a>00077 $this-&gt;admin=<a class="code" href="cbc__be_8inc_8php.html#a0">$row</a>['use_admin'];
@ -101,7 +101,7 @@
<a name="l00107"></a>00107 <a class="code" href="commercial_8php.html#a0">$_SESSION</a>['use_first_name']=<a class="code" href="user__action__ach_8php.html#a2">$r</a>['use_first_name'];
<a name="l00108"></a>00108
<a name="l00109"></a>00109 $this-&gt;admin=<a class="code" href="commercial_8php.html#a0">$_SESSION</a>['use_admin'];
<a name="l00110"></a>00110 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>=<a class="code" href="commercial_8php.html#a0">$_SESSION</a>['use_name'];
<a name="l00110"></a>00110 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>=<a class="code" href="commercial_8php.html#a0">$_SESSION</a>['use_name'];
<a name="l00111"></a>00111 $this-&gt;first_name=<a class="code" href="commercial_8php.html#a0">$_SESSION</a>['use_first_name'];
<a name="l00112"></a>00112 $this-&gt;<a class="code" href="classcl__user.html#a9">GetGlobalPref</a>();
<a name="l00113"></a>00113
@ -220,7 +220,7 @@
<a name="l00277"></a>00277 }
<a name="l00278"></a>00278 <span class="comment">// save array into g_ variable</span>
<a name="l00279"></a>00279 $array_pref=array ('g_theme'=&gt;'THEME<span class="charliteral">','</span>g_pagesize'=&gt;'PAGESIZE');
<a name="l00280"></a>00280 foreach ($array_pref as $<a class="code" href="action_8inc_8php.html#a3">name</a>=&gt;$parameter ) {
<a name="l00280"></a>00280 foreach ($array_pref as $<a class="code" href="action_8inc_8php.html#a4">name</a>=&gt;$parameter ) {
<a name="l00281"></a>00281 <span class="keywordflow">if</span> ( ! isset ($line[$parameter]) ) {
<a name="l00282"></a>00282 <a class="code" href="debug_8php.html#a0">echo_debug</a>(<span class="stringliteral">"Missing pref : "</span>.$parameter);
<a name="l00283"></a>00283 $this-&gt;<a class="code" href="classcl__user.html#a10">insert_default_global_pref</a>($parameter);
@ -241,14 +241,14 @@
<a name="l00306"></a>00306 <a class="code" href="eub__be_8inc_8php.html#a4">$Sql</a>=<span class="stringliteral">"insert into user_global_pref(user_id,parameter_type,parameter_value) </span>
<a name="l00307"></a>00307 <span class="stringliteral"> values ('%s','%s','%s')"</span>;
<a name="l00308"></a>00308 <span class="keywordflow">if</span> ( $p_type == <span class="stringliteral">""</span> ) {
<a name="l00309"></a>00309 foreach ( $default_parameter as $<a class="code" href="action_8inc_8php.html#a3">name</a>=&gt;$<a class="code" href="action_8inc_8php.html#a4">value</a>) {
<a name="l00310"></a>00310 $Insert=sprintf($Sql,$this-&gt;id,$<a class="code" href="action_8inc_8php.html#a3">name</a>,$<a class="code" href="action_8inc_8php.html#a4">value</a>);
<a name="l00309"></a>00309 foreach ( $default_parameter as $<a class="code" href="action_8inc_8php.html#a4">name</a>=&gt;$<a class="code" href="action_8inc_8php.html#a5">value</a>) {
<a name="l00310"></a>00310 $Insert=sprintf($Sql,$this-&gt;id,$<a class="code" href="action_8inc_8php.html#a4">name</a>,$<a class="code" href="action_8inc_8php.html#a5">value</a>);
<a name="l00311"></a>00311 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($cn,$Insert);
<a name="l00312"></a>00312 }
<a name="l00313"></a>00313 }
<a name="l00314"></a>00314 <span class="keywordflow">else</span> {
<a name="l00315"></a>00315 $value=($p_value==<span class="stringliteral">""</span>)?$default_parameter[$p_type]:$p_value;
<a name="l00316"></a>00316 $Insert=sprintf($Sql,$this-&gt;id,$p_type,$<a class="code" href="action_8inc_8php.html#a4">value</a>);
<a name="l00316"></a>00316 $Insert=sprintf($Sql,$this-&gt;id,$p_type,$<a class="code" href="action_8inc_8php.html#a5">value</a>);
<a name="l00317"></a>00317 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($cn,$Insert);
<a name="l00318"></a>00318 }
<a name="l00319"></a>00319
@ -263,13 +263,21 @@
<a name="l00336"></a>00336 <span class="stringliteral"> where parameter_type='%s' and </span>
<a name="l00337"></a>00337 <span class="stringliteral"> user_id='%s'"</span>;
<a name="l00338"></a>00338 $value=($p_value==<span class="stringliteral">""</span>)?$default_parameter[$p_type]:$p_value;
<a name="l00339"></a>00339 $Update=sprintf($Sql,$<a class="code" href="action_8inc_8php.html#a4">value</a>,$p_type,$this-&gt;id);
<a name="l00339"></a>00339 $Update=sprintf($Sql,$<a class="code" href="action_8inc_8php.html#a5">value</a>,$p_type,$this-&gt;id);
<a name="l00340"></a>00340 <a class="code" href="postgres_8php.html#a2">ExecSql</a>($cn,$Update);
<a name="l00341"></a>00341
<a name="l00342"></a>00342 }<span class="comment">//end function</span>
<a name="l00343"></a>00343 }
<a name="l00344"></a>00344 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00346"></a><a class="code" href="classcl__user.html#a12">00346</a> <span class="comment"></span>function <a class="code" href="classcl__user.html#a12">getExercice</a>()
<a name="l00347"></a>00347 {
<a name="l00348"></a>00348 <a class="code" href="bank_8inc_8php.html#a10">$sql</a>=<span class="stringliteral">"select p_exercice from parm_periode where p_id="</span>.$this-&gt;GetPeriode();
<a name="l00349"></a>00349 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this-&gt;db,$sql);
<a name="l00350"></a>00350 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=pg_fetch_array($Ret,0);
<a name="l00351"></a>00351 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>['p_exercice'];
<a name="l00352"></a>00352 }
<a name="l00353"></a>00353
<a name="l00354"></a>00354 }
<a name="l00355"></a>00355 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -23,7 +23,7 @@ Data &amp; function about connected users.
<p>
<p>
Definition in file <a class="el" href="class__user_8php-source.html">class_user.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__user_8php-source.html">class_user.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -29,337 +29,393 @@
<a name="l00020"></a>00020 <span class="comment">// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr</span>
<a name="l00021"></a>00021
<a name="l00032"></a><a class="code" href="classwidget.html">00032</a> <span class="keyword">class </span><a class="code" href="classwidget.html">widget</a> {
<a name="l00047"></a><a class="code" href="classwidget.html#o0">00047</a> var <a class="code" href="classwidget.html#o0">$type</a>;
<a name="l00048"></a><a class="code" href="classwidget.html#o1">00048</a> var <a class="code" href="classwidget.html#o1">$name</a>;
<a name="l00049"></a><a class="code" href="classwidget.html#o2">00049</a> var <a class="code" href="classwidget.html#o2">$value</a>;
<a name="l00050"></a><a class="code" href="classwidget.html#o3">00050</a> var <a class="code" href="classwidget.html#o3">$readonly</a>;
<a name="l00051"></a><a class="code" href="classwidget.html#o4">00051</a> var <a class="code" href="classwidget.html#o4">$size</a>;
<a name="l00052"></a><a class="code" href="classwidget.html#o5">00052</a> var <a class="code" href="classwidget.html#o5">$selected</a>;
<a name="l00053"></a><a class="code" href="classwidget.html#o6">00053</a> var <a class="code" href="classwidget.html#o6">$table</a>;
<a name="l00054"></a><a class="code" href="classwidget.html#o7">00054</a> var <a class="code" href="classwidget.html#o7">$label</a>;
<a name="l00055"></a><a class="code" href="classwidget.html#o8">00055</a> var <a class="code" href="classwidget.html#o8">$disabled</a>;
<a name="l00056"></a><a class="code" href="classwidget.html#o9">00056</a> var <a class="code" href="classwidget.html#o9">$extra</a>;
<a name="l00057"></a><a class="code" href="classwidget.html#o10">00057</a> var <a class="code" href="classwidget.html#o10">$extra2</a>;
<a name="l00058"></a><a class="code" href="classwidget.html#o11">00058</a> var <a class="code" href="classwidget.html#o11">$tabindex</a>;
<a name="l00059"></a><a class="code" href="classwidget.html#a0">00059</a> function <a class="code" href="classwidget.html#a0">widget</a>($p_type=<span class="stringliteral">""</span>) {
<a name="l00060"></a>00060 $this-&gt;type=$p_type;
<a name="l00061"></a>00061 $this-&gt;<a class="code" href="ecrit__ouv_8php.html#a6">readonly</a>=<span class="keyword">false</span>;
<a name="l00062"></a>00062 $this-&gt;<a class="code" href="tva_8inc_8php.html#a15">size</a>=20;
<a name="l00063"></a>00063 $this-&gt;<a class="code" href="tva_8inc_8php.html#a17">width</a>=50;
<a name="l00064"></a>00064 $this-&gt;<a class="code" href="tva_8inc_8php.html#a16">heigh</a>=20;
<a name="l00065"></a>00065 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">""</span>;
<a name="l00066"></a>00066 $this-&gt;<a class="code" href="action_8inc_8php.html#a12">selected</a>=<span class="stringliteral">""</span>;
<a name="l00067"></a>00067 $this-&gt;<a class="code" href="balance_8php.html#a3">table</a>=0;
<a name="l00068"></a>00068 $this-&gt;<a class="code" href="action_8inc_8php.html#a6">label</a>=<span class="stringliteral">""</span>;
<a name="l00069"></a>00069 $this-&gt;<a class="code" href="impress__poste_8php.html#a13">disabled</a>=<span class="keyword">false</span>;
<a name="l00070"></a>00070 $this-&gt;tabindex=32767;
<a name="l00071"></a>00071 }
<a name="l00072"></a><a class="code" href="classwidget.html#a1">00072</a> function <a class="code" href="classwidget.html#a1">SetReadOnly</a>($p_read) {
<a name="l00073"></a>00073 $this-&gt;<a class="code" href="ecrit__ouv_8php.html#a6">readonly</a>=$p_read;
<a name="l00074"></a>00074 }
<a name="l00084"></a><a class="code" href="classwidget.html#a2">00084</a> function <a class="code" href="classwidget.html#a2">IOValue</a>($p_name=null,$<a class="code" href="poste_8inc_8php.html#a2">p_value</a>=null,$p_label=<span class="stringliteral">""</span>) {
<a name="l00085"></a>00085
<a name="l00086"></a>00086 <span class="keywordflow">if</span> ( $p_name != null)
<a name="l00087"></a>00087 $this-&gt;<a class="code" href="action_8inc_8php.html#a3">name</a>=$p_name;
<a name="l00088"></a>00088 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">value</a>=($p_value===null)?$this-&gt;<a class="code" href="action_8inc_8php.html#a4">value</a>:$p_value;
<a name="l00089"></a>00089 $this-&gt;<a class="code" href="action_8inc_8php.html#a6">label</a>=($p_label == <span class="stringliteral">""</span>)?$this-&gt;<a class="code" href="action_8inc_8php.html#a6">label</a>:$p_label;
<a name="l00090"></a>00090
<a name="l00091"></a>00091 <span class="comment">// Input text type</span>
<a name="l00092"></a>00092 <a class="code" href="classwidget.html#o8">$disabled</a> = $this-&gt;<a class="code" href="impress__poste_8php.html#a13">disabled</a> ? <span class="stringliteral">"DISABLED"</span> : <span class="stringliteral">""</span>;
<a name="l00093"></a>00093 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"TEXT"</span>) {
<a name="l00094"></a>00094 <span class="keywordflow">if</span> ( $this-&gt;readonly==<span class="keyword">false</span>) {
<a name="l00095"></a>00095 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;INPUT TYPE=\"TEXT\" NAME=\"$this-&gt;name\" VALUE=\"$this-&gt;value\" TABINDEX=\"$this-&gt;tabindex\" SIZE=\"$this-&gt;size\" "</span>.$disabled.<span class="stringliteral">"&gt;"</span>;} <span class="keywordflow">else</span> {
<a name="l00096"></a>00096 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;span&gt;%s&lt;/span&gt;&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"%s"</span>&gt;', $this-&gt;value,$this-&gt;name,$this-&gt;value);
<a name="l00097"></a>00097 }
<a name="l00098"></a>00098
<a name="l00099"></a>00099 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00100"></a>00100 <span class="keywordflow">if</span> ( $this-&gt;label != <span class="stringliteral">""</span>) {
<a name="l00101"></a>00101 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt;"</span>.$this-&gt;label.<span class="stringliteral">"&lt;/TD&gt;&lt;TD&gt;"</span>.<a class="code" href="user__action__ach_8php.html#a2">$r</a>.<span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00102"></a>00102 }<span class="keywordflow">else</span> {
<a name="l00103"></a>00103 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt;"</span>.$r.<span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00104"></a>00104 }
<a name="l00105"></a>00105 }
<a name="l00106"></a>00106 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00107"></a>00107 }
<a name="l00108"></a>00108 <span class="comment">// Hidden field</span>
<a name="l00109"></a>00109 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"HIDDEN"</span>) {
<a name="l00110"></a>00110 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"'.$this-&gt;value.'"</span>&gt;';
<a name="l00111"></a>00111 <span class="keywordflow">if</span> ( $this-&gt;readonly==<span class="keyword">true</span>) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00053"></a><a class="code" href="classwidget.html#o0">00053</a> var <a class="code" href="classwidget.html#o0">$type</a>;
<a name="l00054"></a><a class="code" href="classwidget.html#o1">00054</a> var <a class="code" href="classwidget.html#o1">$name</a>;
<a name="l00055"></a><a class="code" href="classwidget.html#o2">00055</a> var <a class="code" href="classwidget.html#o2">$value</a>;
<a name="l00056"></a><a class="code" href="classwidget.html#o3">00056</a> var <a class="code" href="classwidget.html#o3">$readonly</a>;
<a name="l00057"></a><a class="code" href="classwidget.html#o4">00057</a> var <a class="code" href="classwidget.html#o4">$size</a>;
<a name="l00058"></a><a class="code" href="classwidget.html#o5">00058</a> var <a class="code" href="classwidget.html#o5">$selected</a>;
<a name="l00059"></a><a class="code" href="classwidget.html#o6">00059</a> var <a class="code" href="classwidget.html#o6">$table</a>;
<a name="l00060"></a><a class="code" href="classwidget.html#o7">00060</a> var <a class="code" href="classwidget.html#o7">$label</a>;
<a name="l00061"></a><a class="code" href="classwidget.html#o8">00061</a> var <a class="code" href="classwidget.html#o8">$disabled</a>;
<a name="l00062"></a><a class="code" href="classwidget.html#o9">00062</a> var <a class="code" href="classwidget.html#o9">$extra</a>;
<a name="l00063"></a><a class="code" href="classwidget.html#o10">00063</a> var <a class="code" href="classwidget.html#o10">$extra2</a>;
<a name="l00064"></a><a class="code" href="classwidget.html#o11">00064</a> var <a class="code" href="classwidget.html#o11">$tabindex</a>;
<a name="l00065"></a><a class="code" href="classwidget.html#a0">00065</a> function <a class="code" href="classwidget.html#a0">widget</a>($p_type=<span class="stringliteral">""</span>) {
<a name="l00066"></a>00066 $this-&gt;type=$p_type;
<a name="l00067"></a>00067 $this-&gt;<a class="code" href="ecrit__ouv_8php.html#a6">readonly</a>=<span class="keyword">false</span>;
<a name="l00068"></a>00068 $this-&gt;<a class="code" href="tva_8inc_8php.html#a15">size</a>=20;
<a name="l00069"></a>00069 $this-&gt;<a class="code" href="tva_8inc_8php.html#a17">width</a>=50;
<a name="l00070"></a>00070 $this-&gt;<a class="code" href="tva_8inc_8php.html#a16">heigh</a>=20;
<a name="l00071"></a>00071 $this-&gt;<a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">""</span>;
<a name="l00072"></a>00072 $this-&gt;<a class="code" href="action_8inc_8php.html#a13">selected</a>=<span class="stringliteral">""</span>;
<a name="l00073"></a>00073 $this-&gt;<a class="code" href="balance_8php.html#a3">table</a>=0;
<a name="l00074"></a>00074 $this-&gt;<a class="code" href="action_8inc_8php.html#a7">label</a>=<span class="stringliteral">""</span>;
<a name="l00075"></a>00075 $this-&gt;<a class="code" href="impress__poste_8php.html#a14">disabled</a>=<span class="keyword">false</span>;
<a name="l00076"></a>00076 $this-&gt;tabindex=32767;
<a name="l00077"></a>00077 }
<a name="l00078"></a><a class="code" href="classwidget.html#a1">00078</a> function <a class="code" href="classwidget.html#a1">SetReadOnly</a>($p_read) {
<a name="l00079"></a>00079 $this-&gt;<a class="code" href="ecrit__ouv_8php.html#a6">readonly</a>=$p_read;
<a name="l00080"></a>00080 }
<a name="l00090"></a><a class="code" href="classwidget.html#a2">00090</a> function <a class="code" href="classwidget.html#a2">IOValue</a>($p_name=null,$<a class="code" href="poste_8inc_8php.html#a2">p_value</a>=null,$p_label=<span class="stringliteral">""</span>) {
<a name="l00091"></a>00091
<a name="l00092"></a>00092 <span class="keywordflow">if</span> ( $p_name != null)
<a name="l00093"></a>00093 $this-&gt;<a class="code" href="action_8inc_8php.html#a4">name</a>=$p_name;
<a name="l00094"></a>00094 $this-&gt;<a class="code" href="action_8inc_8php.html#a5">value</a>=($p_value===null)?$this-&gt;<a class="code" href="action_8inc_8php.html#a5">value</a>:$p_value;
<a name="l00095"></a>00095 $this-&gt;<a class="code" href="action_8inc_8php.html#a7">label</a>=($p_label == <span class="stringliteral">""</span>)?$this-&gt;<a class="code" href="action_8inc_8php.html#a7">label</a>:$p_label;
<a name="l00096"></a>00096
<a name="l00097"></a>00097 <span class="comment">// Input text type</span>
<a name="l00098"></a>00098 <a class="code" href="classwidget.html#o8">$disabled</a> = $this-&gt;<a class="code" href="impress__poste_8php.html#a14">disabled</a> ? <span class="stringliteral">"DISABLED"</span> : <span class="stringliteral">""</span>;
<a name="l00099"></a>00099 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"TEXT"</span>) {
<a name="l00100"></a>00100 <span class="keywordflow">if</span> ( $this-&gt;readonly==<span class="keyword">false</span>) {
<a name="l00101"></a>00101 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;INPUT TYPE=\"TEXT\" NAME=\"$this-&gt;name\" VALUE=\"$this-&gt;value\" TABINDEX=\"$this-&gt;tabindex\" SIZE=\"$this-&gt;size\" "</span>.$disabled.<span class="stringliteral">"&gt;"</span>;} <span class="keywordflow">else</span> {
<a name="l00102"></a>00102 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;span&gt;%s&lt;/span&gt;&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"%s"</span>&gt;', $this-&gt;value,$this-&gt;name,$this-&gt;value);
<a name="l00103"></a>00103 }
<a name="l00104"></a>00104
<a name="l00105"></a>00105 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00106"></a>00106 <span class="keywordflow">if</span> ( $this-&gt;label != <span class="stringliteral">""</span>) {
<a name="l00107"></a>00107 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD style=\"border:solid 1px blue;\"&gt;"</span>.$this-&gt;label.<span class="stringliteral">"&lt;/TD&gt;&lt;TD&gt;"</span>.<a class="code" href="user__action__ach_8php.html#a2">$r</a>.<span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00108"></a>00108 }<span class="keywordflow">else</span> {
<a name="l00109"></a>00109 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt;"</span>.$r.<span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00110"></a>00110 }
<a name="l00111"></a>00111 }
<a name="l00112"></a>00112 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00113"></a>00113 }
<a name="l00114"></a>00114 <span class="comment">// Select value</span>
<a name="l00115"></a>00115 <span class="keywordflow">if</span> ( strtoupper($this-&gt;type) == <span class="stringliteral">"SELECT"</span>) {
<a name="l00116"></a>00116 <span class="keywordflow">if</span> ($this-&gt;readonly==<span class="keyword">false</span> ){
<a name="l00117"></a>00117 <span class="comment">//echo "&lt;b&gt;Selected &lt;b&gt;".$this-&gt;selected;</span>
<a name="l00118"></a>00118 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;SELECT NAME=\"$this-&gt;name\"&gt;"</span>;
<a name="l00119"></a>00119 <span class="keywordflow">for</span> ( $i=0;$i&lt;<span class="keyword">sizeof</span>($this-&gt;value);$i++) {
<a name="l00120"></a>00120 $checked=($this-&gt;<a class="code" href="action_8inc_8php.html#a12">selected</a>==$this-&gt;<a class="code" href="action_8inc_8php.html#a4">value</a>[<a class="code" href="balance_8php.html#a11">$i</a>]['<a class="code" href="action_8inc_8php.html#a4">value</a>'])?<span class="stringliteral">"SELECTED"</span>:<span class="stringliteral">""</span>;
<a name="l00121"></a>00121 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;OPTION VALUE=<span class="stringliteral">"'.$this-&gt;value[$i]['value'].'"</span> '.$checked.<span class="charliteral">'&gt;'</span>;
<a name="l00122"></a>00122 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$this-&gt;<a class="code" href="action_8inc_8php.html#a4">value</a>[<a class="code" href="balance_8php.html#a11">$i</a>]['<a class="code" href="action_8inc_8php.html#a6">label</a>'];
<a name="l00123"></a>00123 }
<a name="l00124"></a>00124 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/SELECT&gt;"</span>;
<a name="l00125"></a>00125 } <span class="keywordflow">else</span> {
<a name="l00126"></a>00126 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_widget.php',__LINE__,<span class="stringliteral">"this-&gt;selected = "</span>.$this-&gt;selected);
<a name="l00127"></a>00127 <span class="keywordflow">for</span> ( $i=0;$i&lt;<span class="keyword">sizeof</span>($this-&gt;value);$i++) {
<a name="l00128"></a>00128 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_widget.php',__LINE__,<span class="stringliteral">"check for "</span>.$this-&gt;value[$i]['<a class="code" href="action_8inc_8php.html#a4">value</a>']);
<a name="l00129"></a>00129 <span class="keywordflow">if</span> ($this-&gt;selected==$this-&gt;value[$i]['value'] ) {
<a name="l00130"></a>00130 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$this-&gt;value[<a class="code" href="balance_8php.html#a11">$i</a>]['<a class="code" href="action_8inc_8php.html#a6">label</a>'];
<a name="l00131"></a>00131
<a name="l00132"></a>00132 }
<a name="l00133"></a>00133 }
<a name="l00134"></a>00134 }
<a name="l00135"></a>00135 <span class="keywordflow">if</span> ( $this-&gt;table==1) {
<a name="l00136"></a>00136 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00137"></a>00137 <span class="keywordflow">if</span> ( $this-&gt;label != <span class="stringliteral">""</span>) <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label&lt;/TD&gt;"</span>.$r;
<a name="l00138"></a>00138 }
<a name="l00139"></a>00139 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00140"></a>00140 }
<a name="l00141"></a>00141 <span class="comment">// Password</span>
<a name="l00142"></a>00142 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"PASSWORD"</span>) {
<a name="l00143"></a>00143 <span class="keywordflow">if</span> ( $this-&gt;readonly==<span class="keyword">true</span>) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00144"></a>00144 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;input type=<span class="stringliteral">"password"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"'.$this-&gt;name;</span>
<a name="l00145"></a>00145 <span class="stringliteral"> $r.='"</span>&gt;';
<a name="l00146"></a>00146 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00147"></a>00147 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00148"></a>00148 }
<a name="l00149"></a>00149 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00150"></a>00150 }
<a name="l00151"></a>00151
<a name="l00152"></a>00152 <span class="comment">// Checkbox</span>
<a name="l00153"></a>00153 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"CHECKBOX"</span>) {
<a name="l00154"></a>00154 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">true</span>) {
<a name="l00155"></a>00155 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="action_8inc_8php.html#a12">selected</a>==true )?<span class="stringliteral">"checked"</span>:<span class="stringliteral">"unchecked"</span>;
<a name="l00156"></a>00156 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;input type=<span class="stringliteral">"CHECKBOX"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00157"></a>00157 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" $check"</span>;
<a name="l00158"></a>00158 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=' <a class="code" href="impress__poste_8php.html#a13">disabled</a>&gt;';
<a name="l00159"></a>00159
<a name="l00160"></a>00160 } <span class="keywordflow">else</span> {
<a name="l00161"></a>00161 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="action_8inc_8php.html#a12">selected</a>==true )?<span class="stringliteral">"checked"</span>:<span class="stringliteral">"unchecked"</span>;
<a name="l00162"></a>00162 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;input type=<span class="stringliteral">"CHECKBOX"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00114"></a>00114 <span class="comment">// Hidden field</span>
<a name="l00115"></a>00115 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"HIDDEN"</span>) {
<a name="l00116"></a>00116 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$this-&gt;value.'"</span>&gt;';
<a name="l00117"></a>00117 <span class="keywordflow">if</span> ( $this-&gt;readonly==<span class="keyword">true</span>) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00118"></a>00118 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00119"></a>00119 }
<a name="l00120"></a>00120 <span class="comment">// Select value</span>
<a name="l00121"></a>00121 <span class="keywordflow">if</span> ( strtoupper($this-&gt;type) == <span class="stringliteral">"SELECT"</span>) {
<a name="l00122"></a>00122 <span class="keywordflow">if</span> ($this-&gt;readonly==<span class="keyword">false</span> ){
<a name="l00123"></a>00123 <span class="comment">//echo "&lt;b&gt;Selected &lt;b&gt;".$this-&gt;selected;</span>
<a name="l00124"></a>00124 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;SELECT NAME=\"$this-&gt;name\"&gt;"</span>;
<a name="l00125"></a>00125 <span class="keywordflow">for</span> ( $i=0;$i&lt;<span class="keyword">sizeof</span>($this-&gt;value);$i++) {
<a name="l00126"></a>00126 $checked=($this-&gt;<a class="code" href="action_8inc_8php.html#a13">selected</a>==$this-&gt;<a class="code" href="action_8inc_8php.html#a5">value</a>[<a class="code" href="balance_8php.html#a12">$i</a>]['<a class="code" href="action_8inc_8php.html#a5">value</a>'])?<span class="stringliteral">"SELECTED"</span>:<span class="stringliteral">""</span>;
<a name="l00127"></a>00127 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;OPTION VALUE=<span class="stringliteral">"'.$this-&gt;value[$i]['value'].'"</span> '.$checked.<span class="charliteral">'&gt;'</span>;
<a name="l00128"></a>00128 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$this-&gt;<a class="code" href="action_8inc_8php.html#a5">value</a>[<a class="code" href="balance_8php.html#a12">$i</a>]['<a class="code" href="action_8inc_8php.html#a7">label</a>'];
<a name="l00129"></a>00129 }
<a name="l00130"></a>00130 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/SELECT&gt;"</span>;
<a name="l00131"></a>00131 } <span class="keywordflow">else</span> {
<a name="l00132"></a>00132 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_widget.php',__LINE__,<span class="stringliteral">"this-&gt;selected = "</span>.$this-&gt;selected);
<a name="l00133"></a>00133 <span class="keywordflow">for</span> ( $i=0;$i&lt;<span class="keyword">sizeof</span>($this-&gt;value);$i++) {
<a name="l00134"></a>00134 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_widget.php',__LINE__,<span class="stringliteral">"check for "</span>.$this-&gt;value[$i]['<a class="code" href="action_8inc_8php.html#a5">value</a>']);
<a name="l00135"></a>00135 <span class="keywordflow">if</span> ($this-&gt;selected==$this-&gt;value[$i]['value'] ) {
<a name="l00136"></a>00136 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$this-&gt;value[<a class="code" href="balance_8php.html#a12">$i</a>]['<a class="code" href="action_8inc_8php.html#a7">label</a>'];
<a name="l00137"></a>00137
<a name="l00138"></a>00138 }
<a name="l00139"></a>00139 }
<a name="l00140"></a>00140 }
<a name="l00141"></a>00141 <span class="keywordflow">if</span> ( $this-&gt;table==1) {
<a name="l00142"></a>00142 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00143"></a>00143 <span class="keywordflow">if</span> ( $this-&gt;label != <span class="stringliteral">""</span>) <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label&lt;/TD&gt;"</span>.$r;
<a name="l00144"></a>00144 }
<a name="l00145"></a>00145 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00146"></a>00146 }
<a name="l00147"></a>00147 <span class="comment">// Password</span>
<a name="l00148"></a>00148 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"PASSWORD"</span>) {
<a name="l00149"></a>00149 <span class="keywordflow">if</span> ( $this-&gt;readonly==<span class="keyword">true</span>) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00150"></a>00150 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;input type=<span class="stringliteral">"password"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"'.$this-&gt;name;</span>
<a name="l00151"></a>00151 <span class="stringliteral"> $r.='"</span>&gt;';
<a name="l00152"></a>00152 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00153"></a>00153 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00154"></a>00154 }
<a name="l00155"></a>00155 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00156"></a>00156 }
<a name="l00157"></a>00157
<a name="l00158"></a>00158 <span class="comment">// Checkbox</span>
<a name="l00159"></a>00159 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"CHECKBOX"</span>) {
<a name="l00160"></a>00160 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">true</span>) {
<a name="l00161"></a>00161 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="action_8inc_8php.html#a13">selected</a>==true )?<span class="stringliteral">"checked"</span>:<span class="stringliteral">"unchecked"</span>;
<a name="l00162"></a>00162 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;input type=<span class="stringliteral">"CHECKBOX"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00163"></a>00163 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" $check"</span>;
<a name="l00164"></a>00164 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="charliteral">' '</span>.$disabled.<span class="charliteral">'&gt;'</span>;
<a name="l00165"></a>00165 }
<a name="l00166"></a>00166 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00167"></a>00167 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00168"></a>00168 } <span class="keywordflow">else</span> {
<a name="l00169"></a>00169 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="user__action__ach_8php.html#a2">$r</a>.<span class="stringliteral">" $this-&gt;label"</span>;
<a name="l00170"></a>00170 }
<a name="l00171"></a>00171 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00172"></a>00172 }
<a name="l00173"></a>00173
<a name="l00174"></a>00174 <span class="comment">//radio</span>
<a name="l00175"></a>00175 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"RADIO"</span>) {
<a name="l00176"></a>00176 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">true</span>) {
<a name="l00177"></a>00177 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="action_8inc_8php.html#a12">selected</a>==<span class="keyword">true</span> || $this-&gt;<a class="code" href="action_8inc_8php.html#a12">selected</a>==<span class="charliteral">'t'</span> )?<span class="stringliteral">"Yes"</span>:<span class="stringliteral">"no"</span>;
<a name="l00178"></a>00178 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>;
<a name="l00179"></a>00179 } <span class="keywordflow">else</span> {
<a name="l00180"></a>00180 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="action_8inc_8php.html#a12">selected</a>==<span class="keyword">true</span>||$this-&gt;<a class="code" href="action_8inc_8php.html#a12">selected</a>==<span class="charliteral">'t'</span> )?<span class="stringliteral">"checked"</span>:<span class="stringliteral">"unchecked"</span>;
<a name="l00181"></a>00181 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;input type=<span class="stringliteral">"RADIO"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00182"></a>00182 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" VALUE=\"$this-&gt;value\""</span>;
<a name="l00183"></a>00183 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" $check"</span>;
<a name="l00184"></a>00184 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="charliteral">' '</span>.$disabled.<span class="charliteral">'&gt;'</span>;
<a name="l00185"></a>00185 }
<a name="l00186"></a>00186 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00187"></a>00187 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00188"></a>00188 } <span class="keywordflow">else</span> {
<a name="l00189"></a>00189 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$this-&gt;<a class="code" href="action_8inc_8php.html#a6">label</a>.$r;
<a name="l00190"></a>00190 }
<a name="l00191"></a>00191 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00192"></a>00192 }
<a name="l00193"></a>00193
<a name="l00194"></a>00194 <span class="comment">//textarea</span>
<a name="l00195"></a>00195 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"TEXTAREA"</span>) {
<a name="l00196"></a>00196 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00197"></a>00197 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">""</span>;
<a name="l00198"></a>00198 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;TEXTAREA <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00199"></a>00199 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" rows=\"$this-&gt;heigh\" "</span>;
<a name="l00200"></a>00200 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" cols=\"$this-&gt;width\" "</span>;
<a name="l00201"></a>00201 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="charliteral">' '</span>.$disabled.<span class="charliteral">'&gt;'</span>;
<a name="l00202"></a>00202 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$this-&gt;<a class="code" href="action_8inc_8php.html#a4">value</a>;
<a name="l00203"></a>00203
<a name="l00204"></a>00204 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/TEXTAREA&gt;"</span>;
<a name="l00205"></a>00205 } <span class="keywordflow">else</span> {
<a name="l00206"></a>00206 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;p&gt;';
<a name="l00207"></a>00207 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$this-&gt;<a class="code" href="action_8inc_8php.html#a4">value</a>;
<a name="l00208"></a>00208 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"%s"</span>&gt;',
<a name="l00209"></a>00209 $this-&gt;name,urlencode($this-&gt;value));
<a name="l00210"></a>00210 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;/p&gt;';
<a name="l00211"></a>00211
<a name="l00212"></a>00212 }
<a name="l00213"></a>00213 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00214"></a>00214 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00215"></a>00215 }
<a name="l00216"></a>00216 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00217"></a>00217 }
<a name="l00218"></a>00218
<a name="l00219"></a>00219 <span class="comment">//file</span>
<a name="l00220"></a>00220 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"FILE"</span>) {
<a name="l00221"></a>00221 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00222"></a>00222 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;INPUT TYPE=<span class="stringliteral">"file"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span> VALUE=<span class="stringliteral">"'.$this-&gt;value.'"</span>&gt;';
<a name="l00223"></a>00223
<a name="l00224"></a>00224 }
<a name="l00225"></a>00225 <span class="keywordflow">if</span> ( $this-&gt;table==1) <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt;$this-&gt;label&lt;/TD&gt;&lt;TD&gt;$r&lt;/TD&gt;"</span>;
<a name="l00226"></a>00226 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00227"></a>00227 }
<a name="l00228"></a>00228 <span class="comment">// input type == js_search_poste =&gt; button search for the account</span>
<a name="l00229"></a>00229 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_search_poste"</span>) {
<a name="l00230"></a>00230
<a name="l00231"></a>00231 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00232"></a>00232 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00233"></a>00233 <span class="comment">// Do we need to filter ??</span>
<a name="l00234"></a>00234 <span class="keywordflow">if</span> ( $this-&gt;extra2 == null ) {
<a name="l00235"></a>00235 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt;
<a name="l00236"></a>00236 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchPoste(\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00237"></a>00237 %s&lt;/TD&gt;&lt;TD&gt;
<a name="l00238"></a>00238
<a name="l00239"></a>00239 &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00240"></a>00240 &lt;/TD&gt;',
<a name="l00241"></a>00241 $l_sessid,
<a name="l00242"></a>00242 $this-&gt;name,
<a name="l00243"></a>00243 $this-&gt;extra,
<a name="l00244"></a>00244 $this-&gt;label,
<a name="l00245"></a>00245 $this-&gt;name,
<a name="l00246"></a>00246 $this-&gt;value
<a name="l00247"></a>00247 );
<a name="l00248"></a>00248
<a name="l00249"></a>00249 } <span class="keywordflow">else</span> { <span class="comment">// $p_list is not null, so we have a filter</span>
<a name="l00250"></a>00250 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt;
<a name="l00251"></a>00251 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchPosteFilter(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00252"></a>00252 %s&lt;/TD&gt;&lt;TD&gt;
<a name="l00253"></a>00253
<a name="l00254"></a>00254 &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00255"></a>00255 &lt;/TD&gt;',
<a name="l00256"></a>00256 $l_sessid,
<a name="l00257"></a>00257 $this-&gt;name,
<a name="l00258"></a>00258 $this-&gt;extra2,
<a name="l00259"></a>00259 $this-&gt;extra,
<a name="l00260"></a>00260 $this-&gt;label,
<a name="l00261"></a>00261 $this-&gt;name,
<a name="l00262"></a>00262 $this-&gt;value
<a name="l00263"></a>00263 );
<a name="l00264"></a>00264
<a name="l00265"></a>00265 } <span class="comment">//else</span>
<a name="l00266"></a>00266 } <span class="keywordflow">else</span> {
<a name="l00267"></a>00267 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt;&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"%s"</span>&gt;
<a name="l00268"></a>00268 %s
<a name="l00269"></a>00269
<a name="l00270"></a>00270 &lt;/TD&gt;',
<a name="l00271"></a>00271 $this-&gt;name,
<a name="l00272"></a>00272 $this-&gt;value ,
<a name="l00273"></a>00273 $this-&gt;value
<a name="l00274"></a>00274 );
<a name="l00164"></a>00164 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=' <a class="code" href="impress__poste_8php.html#a14">disabled</a>&gt;';
<a name="l00165"></a>00165
<a name="l00166"></a>00166 } <span class="keywordflow">else</span> {
<a name="l00167"></a>00167 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="action_8inc_8php.html#a13">selected</a>==true )?<span class="stringliteral">"checked"</span>:<span class="stringliteral">"unchecked"</span>;
<a name="l00168"></a>00168 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;input type=<span class="stringliteral">"CHECKBOX"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00169"></a>00169 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" $check"</span>;
<a name="l00170"></a>00170 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="charliteral">' '</span>.$disabled.<span class="charliteral">'&gt;'</span>;
<a name="l00171"></a>00171 }
<a name="l00172"></a>00172 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00173"></a>00173 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00174"></a>00174 } <span class="keywordflow">else</span> {
<a name="l00175"></a>00175 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="user__action__ach_8php.html#a2">$r</a>.<span class="stringliteral">" $this-&gt;label"</span>;
<a name="l00176"></a>00176 }
<a name="l00177"></a>00177 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00178"></a>00178 }
<a name="l00179"></a>00179
<a name="l00180"></a>00180 <span class="comment">//radio</span>
<a name="l00181"></a>00181 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"RADIO"</span>) {
<a name="l00182"></a>00182 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">true</span>) {
<a name="l00183"></a>00183 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="action_8inc_8php.html#a13">selected</a>==<span class="keyword">true</span> || $this-&gt;<a class="code" href="action_8inc_8php.html#a13">selected</a>==<span class="charliteral">'t'</span> )?<span class="stringliteral">"Yes"</span>:<span class="stringliteral">"no"</span>;
<a name="l00184"></a>00184 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>;
<a name="l00185"></a>00185 } <span class="keywordflow">else</span> {
<a name="l00186"></a>00186 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="action_8inc_8php.html#a13">selected</a>==<span class="keyword">true</span>||$this-&gt;<a class="code" href="action_8inc_8php.html#a13">selected</a>==<span class="charliteral">'t'</span> )?<span class="stringliteral">"checked"</span>:<span class="stringliteral">"unchecked"</span>;
<a name="l00187"></a>00187 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;input type=<span class="stringliteral">"RADIO"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00188"></a>00188 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" VALUE=\"$this-&gt;value\""</span>;
<a name="l00189"></a>00189 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" $check"</span>;
<a name="l00190"></a>00190 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="charliteral">' '</span>.$disabled.<span class="charliteral">'&gt;'</span>;
<a name="l00191"></a>00191 }
<a name="l00192"></a>00192 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00193"></a>00193 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00194"></a>00194 } <span class="keywordflow">else</span> {
<a name="l00195"></a>00195 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=$this-&gt;<a class="code" href="action_8inc_8php.html#a7">label</a>.$r;
<a name="l00196"></a>00196 }
<a name="l00197"></a>00197 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00198"></a>00198 }
<a name="l00199"></a>00199
<a name="l00200"></a>00200 <span class="comment">//textarea</span>
<a name="l00201"></a>00201 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"TEXTAREA"</span>) {
<a name="l00202"></a>00202 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00203"></a>00203 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">""</span>;
<a name="l00204"></a>00204 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;TEXTAREA <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00205"></a>00205 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" rows=\"$this-&gt;heigh\" "</span>;
<a name="l00206"></a>00206 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">" cols=\"$this-&gt;width\" "</span>;
<a name="l00207"></a>00207 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="charliteral">' '</span>.$disabled.<span class="charliteral">'&gt;'</span>;
<a name="l00208"></a>00208 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$this-&gt;<a class="code" href="action_8inc_8php.html#a5">value</a>;
<a name="l00209"></a>00209
<a name="l00210"></a>00210 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=<span class="stringliteral">"&lt;/TEXTAREA&gt;"</span>;
<a name="l00211"></a>00211 } <span class="keywordflow">else</span> {
<a name="l00212"></a>00212 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;p&gt;';
<a name="l00213"></a>00213 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=$this-&gt;<a class="code" href="action_8inc_8php.html#a5">value</a>;
<a name="l00214"></a>00214 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"%s"</span>&gt;',
<a name="l00215"></a>00215 $this-&gt;name,urlencode($this-&gt;value));
<a name="l00216"></a>00216 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.='&lt;/p&gt;';
<a name="l00217"></a>00217
<a name="l00218"></a>00218 }
<a name="l00219"></a>00219 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00220"></a>00220 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00221"></a>00221 }
<a name="l00222"></a>00222 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00223"></a>00223 }
<a name="l00224"></a>00224
<a name="l00225"></a>00225 <span class="comment">//file</span>
<a name="l00226"></a>00226 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"FILE"</span>) {
<a name="l00227"></a>00227 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00228"></a>00228 <a class="code" href="user__action__ach_8php.html#a2">$r</a>='&lt;INPUT TYPE=<span class="stringliteral">"file"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span> VALUE=<span class="stringliteral">"'.$this-&gt;value.'"</span>&gt;';
<a name="l00229"></a>00229
<a name="l00230"></a>00230 }
<a name="l00231"></a>00231 <span class="keywordflow">if</span> ( $this-&gt;table==1) <a class="code" href="user__action__ach_8php.html#a2">$r</a>=<span class="stringliteral">"&lt;TD&gt;$this-&gt;label&lt;/TD&gt;&lt;TD&gt;$r&lt;/TD&gt;"</span>;
<a name="l00232"></a>00232 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00233"></a>00233 }
<a name="l00234"></a>00234 <span class="comment">// input type == js_search_poste =&gt; button search for the account</span>
<a name="l00235"></a>00235 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_search_poste"</span>) {
<a name="l00236"></a>00236
<a name="l00237"></a>00237 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00238"></a>00238 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00239"></a>00239 <span class="comment">// Do we need to filter ??</span>
<a name="l00240"></a>00240 <span class="keywordflow">if</span> ( $this-&gt;extra2 == null ) {
<a name="l00241"></a>00241 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt;
<a name="l00242"></a>00242 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchPoste(\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00243"></a>00243 %s&lt;/TD&gt;&lt;TD&gt;
<a name="l00244"></a>00244
<a name="l00245"></a>00245 &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00246"></a>00246 &lt;/TD&gt;',
<a name="l00247"></a>00247 $l_sessid,
<a name="l00248"></a>00248 $this-&gt;name,
<a name="l00249"></a>00249 $this-&gt;extra,
<a name="l00250"></a>00250 $this-&gt;label,
<a name="l00251"></a>00251 $this-&gt;name,
<a name="l00252"></a>00252 $this-&gt;value
<a name="l00253"></a>00253 );
<a name="l00254"></a>00254
<a name="l00255"></a>00255 } <span class="keywordflow">else</span> { <span class="comment">// $p_list is not null, so we have a filter</span>
<a name="l00256"></a>00256 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt;
<a name="l00257"></a>00257 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchPosteFilter(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00258"></a>00258 %s&lt;/TD&gt;&lt;TD&gt;
<a name="l00259"></a>00259
<a name="l00260"></a>00260 &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00261"></a>00261 &lt;/TD&gt;',
<a name="l00262"></a>00262 $l_sessid,
<a name="l00263"></a>00263 $this-&gt;name,
<a name="l00264"></a>00264 $this-&gt;extra2,
<a name="l00265"></a>00265 $this-&gt;extra,
<a name="l00266"></a>00266 $this-&gt;label,
<a name="l00267"></a>00267 $this-&gt;name,
<a name="l00268"></a>00268 $this-&gt;value
<a name="l00269"></a>00269 );
<a name="l00270"></a>00270
<a name="l00271"></a>00271 } <span class="comment">//else</span>
<a name="l00272"></a>00272 } <span class="keywordflow">else</span> {
<a name="l00273"></a>00273 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt;&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"%s"</span>&gt;
<a name="l00274"></a>00274 %s
<a name="l00275"></a>00275
<a name="l00276"></a>00276 } <span class="comment">//else if readonly == true</span>
<a name="l00277"></a>00277 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00278"></a>00278
<a name="l00279"></a>00279 } <span class="comment">// end js_search_poste</span>
<a name="l00280"></a>00280
<a name="l00281"></a>00281 <span class="comment">// input type == js_search =&gt; button search for card</span>
<a name="l00282"></a>00282 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_search"</span>) {
<a name="l00283"></a>00283 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00284"></a>00284 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00285"></a>00285 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt;
<a name="l00286"></a>00286 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=NewCard(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"New"</span>&gt;
<a name="l00287"></a>00287 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchCard(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00288"></a>00288 %s&lt;/TD&gt;&lt;TD&gt; &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span> TABINDEX=<span class="stringliteral">"%s"</span>&gt;
<a name="l00289"></a>00289 ',
<a name="l00290"></a>00290 $l_sessid,
<a name="l00291"></a>00291 $this-&gt;extra, <span class="comment">// deb or cred</span>
<a name="l00292"></a>00292 $this-&gt;name,
<a name="l00293"></a>00293 $this-&gt;extra2, <span class="comment">//jrn</span>
<a name="l00294"></a>00294 $l_sessid,
<a name="l00295"></a>00295 $this-&gt;extra,
<a name="l00296"></a>00296 $this-&gt;name,
<a name="l00297"></a>00297 $this-&gt;extra2,
<a name="l00298"></a>00298 $this-&gt;label,
<a name="l00299"></a>00299 $this-&gt;name,
<a name="l00300"></a>00300 $this-&gt;value,
<a name="l00301"></a>00301 $this-&gt;tabindex
<a name="l00302"></a>00302 );
<a name="l00303"></a>00303 } <span class="keywordflow">else</span> {
<a name="l00304"></a>00304 <span class="comment">// readonly == true</span>
<a name="l00305"></a>00305 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt; %s&lt;/TD&gt;
<a name="l00306"></a>00306 &lt;TD&gt;
<a name="l00307"></a>00307 &lt;INPUT TYPE=<span class="stringliteral">"hidden"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00308"></a>00308 &lt;/TD&gt;',
<a name="l00309"></a>00309 $this-&gt;label,
<a name="l00310"></a>00310 $this-&gt;name,
<a name="l00311"></a>00311 $this-&gt;value
<a name="l00312"></a>00312 );
<a name="l00313"></a>00313
<a name="l00314"></a>00314 }
<a name="l00315"></a>00315 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00316"></a>00316 }<span class="comment">// poste==js_search</span>
<a name="l00317"></a>00317
<a name="l00318"></a>00318
<a name="l00319"></a>00319 <span class="comment">// type=span</span>
<a name="l00320"></a>00320 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"span"</span>) {
<a name="l00321"></a>00321 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;span <span class="keywordtype">id</span>=<span class="stringliteral">"%s"</span> &gt;%s&lt;/span&gt;',
<a name="l00322"></a>00322 $this-&gt;name,
<a name="l00323"></a>00323 $this-&gt;value);
<a name="l00324"></a>00324 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00325"></a>00325 }<span class="comment">// end type = span</span>
<a name="l00326"></a>00326
<a name="l00327"></a>00327 <span class="comment">// input type == js_tva</span>
<a name="l00328"></a>00328 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_tva"</span>) {
<a name="l00329"></a>00329 $id=sprintf(<span class="stringliteral">"&lt;span id=%s&gt;&lt;/span&gt;"</span>,$this-&gt;label);
<a name="l00330"></a>00330 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('%s&lt;TD&gt; &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"3"</span> onChange=<span class="stringliteral">"ChangeTVA(\'%s\',\'%s\');"</span>&gt;',
<a name="l00331"></a>00331 $<span class="keywordtype">id</span>,
<a name="l00332"></a>00332 $this-&gt;name,
<a name="l00333"></a>00333 $this-&gt;value,
<a name="l00334"></a>00334 $this-&gt;label,
<a name="l00335"></a>00335 $this-&gt;name);
<a name="l00336"></a>00336 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00337"></a>00337 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=sprintf(<span class="stringliteral">"&lt;input type=\"button\" value=\"Tva\" </span>
<a name="l00338"></a>00338 <span class="stringliteral"> onClick=\"</span>
<a name="l00339"></a>00339 <span class="stringliteral"> ShowTva('%s','%s');\"&gt;&lt;/TD&gt;"</span>,
<a name="l00340"></a>00340 $l_sessid,$this-&gt;name);
<a name="l00341"></a>00341 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00342"></a>00342 }
<a name="l00343"></a>00343
<a name="l00344"></a>00344 <span class="comment">// input type == js_concerned =&gt; button search for the concerned operations</span>
<a name="l00345"></a>00345 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_concerned"</span>) {
<a name="l00346"></a>00346 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span>) {
<a name="l00347"></a>00347 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00348"></a>00348 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt;
<a name="l00349"></a>00349 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchJrn(\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00350"></a>00350 %s&lt;/TD&gt;&lt;TD&gt;
<a name="l00351"></a>00351
<a name="l00352"></a>00352 &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00353"></a>00353 &lt;/TD&gt;',
<a name="l00354"></a>00354 $l_sessid,
<a name="l00355"></a>00355 $this-&gt;name,
<a name="l00356"></a>00356 $this-&gt;label,
<a name="l00357"></a>00357 $this-&gt;name,
<a name="l00358"></a>00358 $this-&gt;value
<a name="l00359"></a>00359 );
<a name="l00360"></a>00360 } <span class="keywordflow">else</span> {
<a name="l00361"></a>00361 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf(<span class="stringliteral">"&lt;TD&gt;&lt;span&gt;%s&lt;/span&gt;"</span>,$this-&gt;value);
<a name="l00362"></a>00362 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"%s"</span>&gt;&lt;/TD&gt;', $this-&gt;name,$this-&gt;value);
<a name="l00363"></a>00363 }
<a name="l00364"></a>00364
<a name="l00365"></a>00365 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00366"></a>00366 }<span class="comment">// end js_concerned</span>
<a name="l00367"></a>00367 <span class="keywordflow">return</span> <span class="stringliteral">"INVALID WIDGET "</span>;
<a name="l00368"></a>00368 } <span class="comment">//end function</span>
<a name="l00369"></a>00369 <span class="comment">/* Debug</span>
<a name="l00370"></a>00370 <span class="comment"> */</span>
<a name="l00371"></a><a class="code" href="classwidget.html#a3">00371</a> function <a class="code" href="classwidget.html#a3">debug</a>() {
<a name="l00372"></a>00372 echo <span class="stringliteral">"Type "</span>.$this-&gt;type.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00373"></a>00373 echo <span class="stringliteral">"name "</span>.$this-&gt;name.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00374"></a>00374 echo <span class="stringliteral">"value"</span>. $this-&gt;<a class="code" href="action_8inc_8php.html#a4">value</a>.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00375"></a>00375 <a class="code" href="classwidget.html#o3">$readonly</a>=($this-&gt;<a class="code" href="ecrit__ouv_8php.html#a6">readonly</a>==<span class="keyword">false</span>)?<span class="stringliteral">"false"</span>:<span class="stringliteral">"true"</span>;
<a name="l00376"></a>00376 echo <span class="stringliteral">"read only"</span>.$readonly.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00377"></a>00377 }
<a name="l00378"></a><a class="code" href="classwidget.html#a4">00378</a> function <a class="code" href="classwidget.html#a4">Submit</a> ($p_name,$<a class="code" href="poste_8inc_8php.html#a2">p_value</a>) {
<a name="l00379"></a>00379 <span class="keywordflow">return</span> '&lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> NAME=<span class="stringliteral">"'.$p_name.'"</span> VALUE=<span class="stringliteral">"'.$p_value.'"</span>&gt;';
<a name="l00380"></a>00380 }
<a name="l00381"></a><a class="code" href="classwidget.html#a5">00381</a> function <a class="code" href="classwidget.html#a5">Reset</a> ($<a class="code" href="poste_8inc_8php.html#a2">p_value</a>) {
<a name="l00382"></a>00382 <span class="keywordflow">return</span> '&lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> VALUE=<span class="stringliteral">"'.$p_value.'"</span>&gt;';
<a name="l00383"></a>00383 }
<a name="l00384"></a>00384
<a name="l00385"></a>00385 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00276"></a>00276 &lt;/TD&gt;',
<a name="l00277"></a>00277 $this-&gt;name,
<a name="l00278"></a>00278 $this-&gt;value ,
<a name="l00279"></a>00279 $this-&gt;value
<a name="l00280"></a>00280 );
<a name="l00281"></a>00281
<a name="l00282"></a>00282 } <span class="comment">//else if readonly == true</span>
<a name="l00283"></a>00283 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00284"></a>00284
<a name="l00285"></a>00285 } <span class="comment">// end js_search_poste</span>
<a name="l00286"></a>00286
<a name="l00287"></a>00287 <span class="comment">// input type == js_search =&gt; button search for card</span>
<a name="l00288"></a>00288 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_search"</span>) {
<a name="l00289"></a>00289 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00290"></a>00290 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00291"></a>00291 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt;
<a name="l00292"></a>00292 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=NewCard(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"New"</span>&gt;
<a name="l00293"></a>00293 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchCard(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00294"></a>00294 %s&lt;/TD&gt;&lt;TD&gt; &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span> TABINDEX=<span class="stringliteral">"%s"</span>&gt;
<a name="l00295"></a>00295 ',
<a name="l00296"></a>00296 $l_sessid,
<a name="l00297"></a>00297 $this-&gt;extra, <span class="comment">// deb or cred</span>
<a name="l00298"></a>00298 $this-&gt;name,
<a name="l00299"></a>00299 $this-&gt;extra2, <span class="comment">//jrn</span>
<a name="l00300"></a>00300 $l_sessid,
<a name="l00301"></a>00301 $this-&gt;extra,
<a name="l00302"></a>00302 $this-&gt;name,
<a name="l00303"></a>00303 $this-&gt;extra2,
<a name="l00304"></a>00304 $this-&gt;label,
<a name="l00305"></a>00305 $this-&gt;name,
<a name="l00306"></a>00306 $this-&gt;value,
<a name="l00307"></a>00307 $this-&gt;tabindex
<a name="l00308"></a>00308 );
<a name="l00309"></a>00309 } <span class="keywordflow">else</span> {
<a name="l00310"></a>00310 <span class="comment">// readonly == true</span>
<a name="l00311"></a>00311 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt; %s&lt;/TD&gt;
<a name="l00312"></a>00312 &lt;TD&gt;
<a name="l00313"></a>00313 &lt;INPUT TYPE=<span class="stringliteral">"hidden"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00314"></a>00314 &lt;/TD&gt;',
<a name="l00315"></a>00315 $this-&gt;label,
<a name="l00316"></a>00316 $this-&gt;name,
<a name="l00317"></a>00317 $this-&gt;value
<a name="l00318"></a>00318 );
<a name="l00319"></a>00319
<a name="l00320"></a>00320 }
<a name="l00321"></a>00321 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00322"></a>00322 }<span class="comment">// poste==js_search</span>
<a name="l00323"></a>00323
<a name="l00324"></a>00324
<a name="l00325"></a>00325 <span class="comment">// input type == js_search =&gt; button search for card</span>
<a name="l00328"></a>00328 <span class="comment"></span> <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_search_only"</span>) {
<a name="l00329"></a>00329 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00330"></a>00330 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00331"></a>00331 <span class="keywordflow">if</span> ( $this-&gt;table==1)
<a name="l00332"></a>00332 {
<a name="l00333"></a>00333 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt;
<a name="l00334"></a>00334 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchCard(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00335"></a>00335 %s&lt;/TD&gt;&lt;TD&gt; &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span> TABINDEX=<span class="stringliteral">"%s"</span>&gt;
<a name="l00336"></a>00336 ',
<a name="l00337"></a>00337 $l_sessid,
<a name="l00338"></a>00338 $this-&gt;extra,
<a name="l00339"></a>00339 $this-&gt;name,
<a name="l00340"></a>00340 $this-&gt;extra2,
<a name="l00341"></a>00341 $this-&gt;label,
<a name="l00342"></a>00342 $this-&gt;name,
<a name="l00343"></a>00343 $this-&gt;value,
<a name="l00344"></a>00344 $this-&gt;tabindex
<a name="l00345"></a>00345 );
<a name="l00346"></a>00346 }
<a name="l00347"></a>00347 <span class="keywordflow">else</span>
<a name="l00348"></a>00348 {
<a name="l00349"></a>00349 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('
<a name="l00350"></a>00350 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchCard(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00351"></a>00351 %s &lt;INPUT TYPE="Text" NAME="%s" VALUE="%s" SIZE="8" TABINDEX="%s"&gt; ',
<a name="l00352"></a>00352 $l_sessid,
<a name="l00353"></a>00353 $this-&gt;extra,
<a name="l00354"></a>00354 $this-&gt;name,
<a name="l00355"></a>00355 $this-&gt;extra2,
<a name="l00356"></a>00356 $this-&gt;label,
<a name="l00357"></a>00357 $this-&gt;name,
<a name="l00358"></a>00358 $this-&gt;value,
<a name="l00359"></a>00359 $this-&gt;tabindex
<a name="l00360"></a>00360 );
<a name="l00361"></a>00361 }
<a name="l00362"></a>00362 } <span class="keywordflow">else</span> {
<a name="l00363"></a>00363 <span class="comment">// readonly == true</span>
<a name="l00364"></a>00364 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt; %s&lt;/TD&gt;
<a name="l00365"></a>00365 &lt;TD&gt;
<a name="l00366"></a>00366 &lt;INPUT TYPE=<span class="stringliteral">"hidden"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00367"></a>00367 &lt;/TD&gt;',
<a name="l00368"></a>00368 $this-&gt;label,
<a name="l00369"></a>00369 $this-&gt;name,
<a name="l00370"></a>00370 $this-&gt;value
<a name="l00371"></a>00371 );
<a name="l00372"></a>00372
<a name="l00373"></a>00373 }
<a name="l00374"></a>00374 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00375"></a>00375 }<span class="comment">// poste==js_search_only</span>
<a name="l00376"></a>00376
<a name="l00377"></a>00377
<a name="l00378"></a>00378
<a name="l00379"></a>00379
<a name="l00380"></a>00380
<a name="l00381"></a>00381 <span class="comment">// type=span</span>
<a name="l00382"></a>00382 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"span"</span>) {
<a name="l00383"></a>00383 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;span <span class="keywordtype">id</span>=<span class="stringliteral">"%s"</span> &gt;%s &lt;/span&gt;',
<a name="l00384"></a>00384 $this-&gt;name,
<a name="l00385"></a>00385 $this-&gt;value
<a name="l00386"></a>00386 );
<a name="l00387"></a>00387
<a name="l00388"></a>00388 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00389"></a>00389 }<span class="comment">// end type = span</span>
<a name="l00390"></a>00390
<a name="l00391"></a>00391 <span class="comment">// input type == js_tva</span>
<a name="l00392"></a>00392 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_tva"</span>) {
<a name="l00393"></a>00393 $id=sprintf(<span class="stringliteral">"&lt;span id=%s&gt;&lt;/span&gt;"</span>,$this-&gt;label);
<a name="l00394"></a>00394 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('%s&lt;TD&gt; &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"3"</span> onChange=<span class="stringliteral">"ChangeTVA(\'%s\',\'%s\');"</span>&gt;',
<a name="l00395"></a>00395 $<span class="keywordtype">id</span>,
<a name="l00396"></a>00396 $this-&gt;name,
<a name="l00397"></a>00397 $this-&gt;value,
<a name="l00398"></a>00398 $this-&gt;label,
<a name="l00399"></a>00399 $this-&gt;name);
<a name="l00400"></a>00400 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00401"></a>00401 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=sprintf(<span class="stringliteral">"&lt;input type=\"button\" value=\"Tva\" </span>
<a name="l00402"></a>00402 <span class="stringliteral"> onClick=\"</span>
<a name="l00403"></a>00403 <span class="stringliteral"> ShowTva('%s','%s');\"&gt;&lt;/TD&gt;"</span>,
<a name="l00404"></a>00404 $l_sessid,$this-&gt;name);
<a name="l00405"></a>00405 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00406"></a>00406 }
<a name="l00407"></a>00407
<a name="l00408"></a>00408 <span class="comment">// input type == js_concerned =&gt; button search for the concerned operations</span>
<a name="l00409"></a>00409 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_concerned"</span>) {
<a name="l00410"></a>00410 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span>) {
<a name="l00411"></a>00411 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00412"></a>00412 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf('&lt;TD&gt;
<a name="l00413"></a>00413 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchJrn(\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00414"></a>00414 %s&lt;/TD&gt;&lt;TD&gt;
<a name="l00415"></a>00415
<a name="l00416"></a>00416 &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00417"></a>00417 &lt;/TD&gt;',
<a name="l00418"></a>00418 $l_sessid,
<a name="l00419"></a>00419 $this-&gt;name,
<a name="l00420"></a>00420 $this-&gt;label,
<a name="l00421"></a>00421 $this-&gt;name,
<a name="l00422"></a>00422 $this-&gt;value
<a name="l00423"></a>00423 );
<a name="l00424"></a>00424 } <span class="keywordflow">else</span> {
<a name="l00425"></a>00425 <a class="code" href="user__action__ach_8php.html#a2">$r</a>=sprintf(<span class="stringliteral">"&lt;TD&gt;&lt;span&gt;%s&lt;/span&gt;"</span>,$this-&gt;value);
<a name="l00426"></a>00426 <a class="code" href="user__action__ach_8php.html#a2">$r</a>.=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"%s"</span>&gt;&lt;/TD&gt;', $this-&gt;name,$this-&gt;value);
<a name="l00427"></a>00427 }
<a name="l00428"></a>00428
<a name="l00429"></a>00429 <span class="keywordflow">return</span> <a class="code" href="user__action__ach_8php.html#a2">$r</a>;
<a name="l00430"></a>00430 }<span class="comment">// end js_concerned</span>
<a name="l00431"></a>00431 <span class="keywordflow">return</span> <span class="stringliteral">"INVALID WIDGET "</span>;
<a name="l00432"></a>00432 } <span class="comment">//end function</span>
<a name="l00433"></a>00433 <span class="comment">/* Debug</span>
<a name="l00434"></a>00434 <span class="comment"> */</span>
<a name="l00435"></a><a class="code" href="classwidget.html#a3">00435</a> function <a class="code" href="classwidget.html#a3">debug</a>() {
<a name="l00436"></a>00436 echo <span class="stringliteral">"Type "</span>.$this-&gt;type.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00437"></a>00437 echo <span class="stringliteral">"name "</span>.$this-&gt;name.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00438"></a>00438 echo <span class="stringliteral">"value"</span>. $this-&gt;<a class="code" href="action_8inc_8php.html#a5">value</a>.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00439"></a>00439 <a class="code" href="classwidget.html#o3">$readonly</a>=($this-&gt;<a class="code" href="ecrit__ouv_8php.html#a6">readonly</a>==<span class="keyword">false</span>)?<span class="stringliteral">"false"</span>:<span class="stringliteral">"true"</span>;
<a name="l00440"></a>00440 echo <span class="stringliteral">"read only"</span>.$readonly.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00441"></a>00441 }
<a name="l00442"></a><a class="code" href="classwidget.html#a4">00442</a> function <a class="code" href="classwidget.html#a4">Submit</a> ($p_name,$<a class="code" href="poste_8inc_8php.html#a2">p_value</a>) {
<a name="l00443"></a>00443 <span class="keywordflow">return</span> '&lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> NAME=<span class="stringliteral">"'.$p_name.'"</span> VALUE=<span class="stringliteral">"'.$p_value.'"</span>&gt;';
<a name="l00444"></a>00444 }
<a name="l00445"></a><a class="code" href="classwidget.html#a5">00445</a> function <a class="code" href="classwidget.html#a5">Reset</a> ($<a class="code" href="poste_8inc_8php.html#a2">p_value</a>) {
<a name="l00446"></a>00446 <span class="keywordflow">return</span> '&lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> VALUE=<span class="stringliteral">"'.$p_value.'"</span>&gt;';
<a name="l00447"></a>00447 }
<a name="l00448"></a>00448
<a name="l00449"></a>00449 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -23,7 +23,7 @@ This class is used to create all the HTML INPUT TYPE.
<p>
<p>
Definition in file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
Definition in file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -19,40 +19,41 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a1">Display</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display the object. <a href="#a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a2">Confirm</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a2">get</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display the encoded data and ask a confirmation this correspond to the stage 1, before the generation or the upload of document. <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a3">SaveStage2</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function shows the detail of an action thanks the ag_id. <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a3">Confirm</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Save the document and propose to save the generated document or to upload one, the data are included except the file. Temporary the generated document is save. <a href="#a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a4">SaveStage3</a> ($d_id)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display the encoded data and ask a confirmation this correspond to the stage 1, before the generation or the upload of document. <a href="#a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a4">SaveStage2</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Upload the document or save the generated document. <a href="#a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a5">myList</a> ($p_filter=&quot;&quot;, $p_search=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Save the document and propose to save the generated document or to upload one, the data are included except the file. Temporary the generated document is save. <a href="#a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a5">SaveStage3</a> ($d_id)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Show list of action. <a href="#a5"></a><br></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Upload the document or save the generated document. <a href="#a5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#a6">myList</a> ($p_filter=&quot;&quot;, $p_search=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Show list of action. <a href="#a6"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o0">$db</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o1">$ag_desc</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o1">$ag_comment</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o2">$ag_date</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o2">$ag_timestamp</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o3">$d_lob</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o3">$dt_id</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o4">$dt_id</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o4">$d_state</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o5">$d_state</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o5">$d_number</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o6">$d_number</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o6">$d_filename</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o7">$d_filename</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o7">$d_mimetype</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o8">$d_mimetype</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o8">$ag_title</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o9">$ag_title</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o10">$f_id</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaction.html#o9">$f_id</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
@ -105,7 +106,7 @@ References <a class="el" href="facture_8inc_8php-source.html#l00194">f_id</a>.
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a2"></a><!-- doxytag: member="action::Confirm" ref="a2" args="()" --><p>
<a class="anchor" name="a3"></a><!-- doxytag: member="action::Confirm" ref="a3" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -133,11 +134,12 @@ Display the encoded data and ask a confirmation this correspond to the stage 1,
<p>
Confirm<p>
<dl compact><dt><b>Returns:</b></dt><dd>string containing the form</dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>add the hour </dd></dl>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00151">151</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
Definition at line <a class="el" href="class__action_8php-source.html#l00199">199</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="admin__repo_8php-source.html#l00119">$desc</a>, <a class="el" href="action_8inc_8php-source.html#l00161">$doc_type</a>, <a class="el" href="action_8inc_8php-source.html#l00112">$h_url</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="action_8inc_8php-source.html#l00111">$retour</a>, <a class="el" href="action_8inc_8php-source.html#l00176">$title</a>, <a class="el" href="action_8inc_8php-source.html#l00232">ag_date</a>, <a class="el" href="action_8inc_8php-source.html#l00231">ag_desc</a>, <a class="el" href="action_8inc_8php-source.html#l00233">d_state</a>, <a class="el" href="action_8inc_8php-source.html#l00234">dt_id</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="ac__common_8php-source.html#l00097">isDate()</a>, <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>, <a class="el" href="action_8inc_8php-source.html#l00137">name</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="admin__repo_8php-source.html#l00119">$desc</a>, <a class="el" href="action_8inc_8php-source.html#l00184">$doc_type</a>, <a class="el" href="action_8inc_8php-source.html#l00125">$h_url</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="action_8inc_8php-source.html#l00124">$retour</a>, <a class="el" href="action_8inc_8php-source.html#l00199">$title</a>, <a class="el" href="action_8inc_8php-source.html#l00254">ag_comment</a>, <a class="el" href="action_8inc_8php-source.html#l00255">ag_timestamp</a>, <a class="el" href="action_8inc_8php-source.html#l00256">d_state</a>, <a class="el" href="action_8inc_8php-source.html#l00257">dt_id</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>, <a class="el" href="ac__common_8php-source.html#l00097">isDate()</a>, <a class="el" href="ac__common_8php-source.html#l00282">make_array()</a>, <a class="el" href="action_8inc_8php-source.html#l00160">name</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="action::Display" ref="a1" args="()" --><p>
@ -172,12 +174,45 @@ Display<p>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00085">85</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="admin__repo_8php-source.html#l00119">$desc</a>, <a class="el" href="action_8inc_8php-source.html#l00161">$doc_type</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="action_8inc_8php-source.html#l00176">$title</a>, <a class="el" href="action_8inc_8php-source.html#l00232">ag_date</a>, <a class="el" href="action_8inc_8php-source.html#l00231">ag_desc</a>, <a class="el" href="action_8inc_8php-source.html#l00233">d_state</a>, <a class="el" href="action_8inc_8php-source.html#l00234">dt_id</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, and <a class="el" href="ac__common_8php-source.html#l00281">make_array()</a>.
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="admin__repo_8php-source.html#l00119">$desc</a>, <a class="el" href="document__modele_8inc_8php-source.html#l00031">$doc</a>, <a class="el" href="action_8inc_8php-source.html#l00184">$doc_type</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="action_8inc_8php-source.html#l00199">$title</a>, <a class="el" href="action_8inc_8php-source.html#l00254">ag_comment</a>, <a class="el" href="action_8inc_8php-source.html#l00255">ag_timestamp</a>, <a class="el" href="action_8inc_8php-source.html#l00256">d_state</a>, <a class="el" href="action_8inc_8php-source.html#l00257">dt_id</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>, and <a class="el" href="ac__common_8php-source.html#l00282">make_array()</a>.
<p>
Referenced by <a class="el" href="class__action_8php-source.html#l00241">SaveStage2()</a>. </td>
Referenced by <a class="el" href="class__action_8php-source.html#l00291">SaveStage2()</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="action::myList" ref="a5" args="($p_filter=&quot;&quot;, $p_search=&quot;&quot;)" --><p>
<a class="anchor" name="a2"></a><!-- doxytag: member="action::get" 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">action::get </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
This function shows the detail of an action thanks the ag_id.
<p>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00162">162</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="action_8inc_8php-source.html#l00254">ag_comment</a>, <a class="el" href="action_8inc_8php-source.html#l00255">ag_timestamp</a>, <a class="el" href="action_8inc_8php-source.html#l00259">ag_title</a>, <a class="el" href="action_8inc_8php-source.html#l00256">d_state</a>, <a class="el" href="action_8inc_8php-source.html#l00257">dt_id</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="facture_8inc_8php-source.html#l00194">f_id</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, and <a class="el" href="action_8inc_8php-source.html#l00258">qcode</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="action::myList" ref="a6" args="($p_filter=&quot;&quot;, $p_search=&quot;&quot;)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -222,12 +257,12 @@ myList($p_filter="") <dl compact><dt><b>Parameters:</b></dt><dd>
<dl compact><dt><b>Returns:</b></dt><dd>string containing html code</dd></dl>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00329">329</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
Definition at line <a class="el" href="class__action_8php-source.html#l00393">393</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="bank_8inc_8php-source.html#l00110">$bar</a>, <a class="el" href="document__modele_8inc_8php-source.html#l00033">$doc</a>, <a class="el" href="jrn__pdf_8php-source.html#l00071">$limit</a>, <a class="el" href="bank_8inc_8php-source.html#l00098">$offset</a>, <a class="el" href="bank_8inc_8php-source.html#l00097">$page</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="bank_8inc_8php-source.html#l00096">$step</a>, <a class="el" href="action_8inc_8php-source.html#l00236">ag_title</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="facture_8inc_8php-source.html#l00194">f_id</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, and <a class="el" href="user__common_8php-source.html#l00862">jrn_navigation_bar()</a>. </td>
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="bank_8inc_8php-source.html#l00110">$bar</a>, <a class="el" href="document__modele_8inc_8php-source.html#l00031">$doc</a>, <a class="el" href="jrn__pdf_8php-source.html#l00071">$limit</a>, <a class="el" href="bank_8inc_8php-source.html#l00098">$offset</a>, <a class="el" href="bank_8inc_8php-source.html#l00097">$page</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="bank_8inc_8php-source.html#l00096">$step</a>, <a class="el" href="action_8inc_8php-source.html#l00259">ag_title</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="facture_8inc_8php-source.html#l00194">f_id</a>, <a class="el" href="user__impress_8php-source.html#l00095">fiche</a>, and <a class="el" href="user__common_8php-source.html#l00858">jrn_navigation_bar()</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="action::SaveStage2" ref="a3" args="()" --><p>
<a class="anchor" name="a4"></a><!-- doxytag: member="action::SaveStage2" ref="a4" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -257,12 +292,12 @@ SaveStage2<p>
<dl compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00241">241</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
Definition at line <a class="el" href="class__action_8php-source.html#l00291">291</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="document__modele_8inc_8php-source.html#l00033">$doc</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="facture_8inc_8php-source.html#l00197">$str_file</a>, <a class="el" href="action_8inc_8php-source.html#l00268">ag_id</a>, <a class="el" href="action_8inc_8php-source.html#l00236">ag_title</a>, <a class="el" href="class__action_8php-source.html#l00085">Display()</a>, <a class="el" href="action_8inc_8php-source.html#l00234">dt_id</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="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="postgres_8php-source.html#l00242">GetSequence()</a>, <a class="el" href="action_8inc_8php-source.html#l00252">md_id</a>, <a class="el" href="action_8inc_8php-source.html#l00137">name</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>. </td>
References <a class="el" href="impress__jrn_8php-source.html#l00035">$d</a>, <a class="el" href="document__modele_8inc_8php-source.html#l00031">$doc</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="facture_8inc_8php-source.html#l00197">$str_file</a>, <a class="el" href="action_8inc_8php-source.html#l00137">ag_id</a>, <a class="el" href="action_8inc_8php-source.html#l00259">ag_title</a>, <a class="el" href="action_8inc_8php-source.html#l00256">d_state</a>, <a class="el" href="class__action_8php-source.html#l00085">Display()</a>, <a class="el" href="action_8inc_8php-source.html#l00257">dt_id</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="user__impress_8php-source.html#l00095">fiche</a>, <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>, <a class="el" href="action_8inc_8php-source.html#l00277">md_id</a>, <a class="el" href="action_8inc_8php-source.html#l00160">name</a>, <a class="el" href="postgres_8php-source.html#l00251">NextSequence()</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="action::SaveStage3" ref="a4" args="($d_id)" --><p>
<a class="anchor" name="a5"></a><!-- doxytag: member="action::SaveStage3" ref="a5" args="($d_id)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -296,19 +331,19 @@ SaveStage3 <dl compact><dt><b>Parameters:</b></dt><dd>
</dl>
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00306">306</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
Definition at line <a class="el" href="class__action_8php-source.html#l00370">370</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00269">$d_id</a>, and <a class="el" href="document__modele_8inc_8php-source.html#l00033">$doc</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00294">$d_id</a>, and <a class="el" href="document__modele_8inc_8php-source.html#l00031">$doc</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o2"></a><!-- doxytag: member="action::$ag_date" ref="o2" args="" --><p>
<a class="anchor" name="o1"></a><!-- doxytag: member="action::$ag_comment" ref="o1" 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">action::$<a class="el" href="action_8inc_8php.html#a17">ag_date</a> </td>
<td class="md" nowrap valign="top">action::$<a class="el" href="action_8inc_8php.html#a17">ag_comment</a> </td>
</tr>
</table>
</td>
@ -322,18 +357,18 @@ References <a class="el" href="action_8inc_8php-source.html#l00269">$d_id</a>, a
<td>
<p>
document date (<a class="el" href="action_8inc_8php.html#a17">ag_gestion.ag_date</a>)
description (<a class="el" href="action_8inc_8php.html#a17">ag_gestion.ag_comment</a>)
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00062">62</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o1"></a><!-- doxytag: member="action::$ag_desc" ref="o1" args="" --><p>
<a class="anchor" name="o2"></a><!-- doxytag: member="action::$ag_timestamp" ref="o2" 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">action::$<a class="el" href="action_8inc_8php.html#a16">ag_desc</a> </td>
<td class="md" nowrap valign="top">action::$<a class="el" href="action_8inc_8php.html#a18">ag_timestamp</a> </td>
</tr>
</table>
</td>
@ -347,18 +382,18 @@ Definition at line <a class="el" href="class__action_8php-source.html#l00062">62
<td>
<p>
description (<a class="el" href="action_8inc_8php.html#a16">ag_gestion.ag_desc</a>)
document date (<a class="el" href="action_8inc_8php.html#a18">ag_gestion.ag_timestamp</a>)
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00061">61</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
Definition at line <a class="el" href="class__action_8php-source.html#l00063">63</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o9"></a><!-- doxytag: member="action::$ag_title" ref="o9" args="" --><p>
<a class="anchor" name="o8"></a><!-- doxytag: member="action::$ag_title" ref="o8" 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">action::$<a class="el" href="action_8inc_8php.html#a21">ag_title</a> </td>
<td class="md" nowrap valign="top">action::$<a class="el" href="action_8inc_8php.html#a22">ag_title</a> </td>
</tr>
</table>
</td>
@ -377,7 +412,7 @@ title document
Definition at line <a class="el" href="class__action_8php-source.html#l00069">69</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o7"></a><!-- doxytag: member="action::$d_filename" ref="o7" args="" --><p>
<a class="anchor" name="o6"></a><!-- doxytag: member="action::$d_filename" ref="o6" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -402,32 +437,7 @@ filename's document
Definition at line <a class="el" href="class__action_8php-source.html#l00067">67</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o3"></a><!-- doxytag: member="action::$d_lob" ref="o3" 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">action::$d_lob </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="class__action_8php-source.html#l00063">63</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o8"></a><!-- doxytag: member="action::$d_mimetype" ref="o8" args="" --><p>
<a class="anchor" name="o7"></a><!-- doxytag: member="action::$d_mimetype" ref="o7" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -452,7 +462,7 @@ document's filename
Definition at line <a class="el" href="class__action_8php-source.html#l00068">68</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o6"></a><!-- doxytag: member="action::$d_number" ref="o6" args="" --><p>
<a class="anchor" name="o5"></a><!-- doxytag: member="action::$d_number" ref="o5" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -477,13 +487,13 @@ number of the document
Definition at line <a class="el" href="class__action_8php-source.html#l00066">66</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o5"></a><!-- doxytag: member="action::$d_state" ref="o5" args="" --><p>
<a class="anchor" name="o4"></a><!-- doxytag: member="action::$d_state" ref="o4" 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">action::$<a class="el" href="action_8inc_8php.html#a18">d_state</a> </td>
<td class="md" nowrap valign="top">action::$<a class="el" href="action_8inc_8php.html#a19">d_state</a> </td>
</tr>
</table>
</td>
@ -524,16 +534,16 @@ Definition at line <a class="el" href="class__action_8php-source.html#l00065">65
<p>
database connexion
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00060">60</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
Definition at line <a class="el" href="class__action_8php-source.html#l00061">61</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o4"></a><!-- doxytag: member="action::$dt_id" ref="o4" args="" --><p>
<a class="anchor" name="o3"></a><!-- doxytag: member="action::$dt_id" ref="o3" 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">action::$<a class="el" href="action_8inc_8php.html#a19">dt_id</a> </td>
<td class="md" nowrap valign="top">action::$<a class="el" href="action_8inc_8php.html#a20">dt_id</a> </td>
</tr>
</table>
</td>
@ -547,12 +557,12 @@ Definition at line <a class="el" href="class__action_8php-source.html#l00060">60
<td>
<p>
type of the document (<a class="el" href="action_8inc_8php.html#a19">document_type.dt_id</a>)
type of the document (<a class="el" href="action_8inc_8php.html#a20">document_type.dt_id</a>)
<p>
Definition at line <a class="el" href="class__action_8php-source.html#l00064">64</a> of file <a class="el" href="class__action_8php-source.html">class_action.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o10"></a><!-- doxytag: member="action::$f_id" ref="o10" args="" --><p>
<a class="anchor" name="o9"></a><!-- doxytag: member="action::$f_id" ref="o9" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -579,7 +589,7 @@ Definition at line <a class="el" href="class__action_8php-source.html#l00070">70
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__action_8php-source.html">class_action.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:34 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -44,6 +44,9 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcl__user.html#a11">update_global_pref</a> ($p_type, $<a class="el" href="poste_8inc_8php.html#a2">p_value</a>=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">update default pref if value is not given then use the default value <a href="#a11"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcl__user.html#a12">getExercice</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the year of current Periode it is the parm_periode.p_exercice col. <a href="#a12"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcl__user.html#o0">$id</a></td></tr>
@ -100,7 +103,7 @@ Definition at line <a class="el" href="class__user_8php-source.html#l00033">33</
<p>
Definition at line <a class="el" href="class__user_8php-source.html#l00040">40</a> of file <a class="el" href="class__user_8php-source.html">class_user.php</a>.
<p>
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="user__update_8php-source.html#l00032">$p_id</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00055">$Sql</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="user__common_8php-source.html#l00835">isValid()</a>, and <a class="el" href="action_8inc_8php-source.html#l00137">name</a>. </td>
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="user__update_8php-source.html#l00032">$p_id</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00055">$Sql</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="user__common_8php-source.html#l00831">isValid()</a>, and <a class="el" href="action_8inc_8php-source.html#l00160">name</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
@ -176,7 +179,7 @@ Check if an user is an admin.
<p>
Definition at line <a class="el" href="class__user_8php-source.html#l00143">143</a> of file <a class="el" href="class__user_8php-source.html">class_user.php</a>.
<p>
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="admin__repo_8php-source.html#l00059">$pass5</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</a>, and <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>.
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="admin__repo_8php-source.html#l00059">$pass5</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</a>, and <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>.
<p>
Referenced by <a class="el" href="class__user_8php-source.html#l00158">AccessJrn()</a>. </td>
</tr>
@ -211,7 +214,7 @@ Check if user is active and exists in therepository Automatically redirect.
<p>
Definition at line <a class="el" href="class__user_8php-source.html#l00085">85</a> of file <a class="el" href="class__user_8php-source.html">class_user.php</a>.
<p>
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="admin__repo_8php-source.html#l00059">$pass5</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="pref_8inc_8php-source.html#l00056">$res</a>, <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="balance_8php-source.html#l00033">exit</a>, <a class="el" href="class__user_8php-source.html#l00257">GetGlobalPref()</a>, and <a class="el" href="action_8inc_8php-source.html#l00137">name</a>. </td>
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="admin__repo_8php-source.html#l00059">$pass5</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="pref_8inc_8php-source.html#l00059">$res</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="balance_8php-source.html#l00036">exit</a>, <a class="el" href="class__user_8php-source.html#l00257">GetGlobalPref()</a>, and <a class="el" href="action_8inc_8php-source.html#l00160">name</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="cl_user::CheckAction" ref="a8" args="($p_cn, $p_action_id)" --><p>
@ -269,6 +272,39 @@ Definition at line <a class="el" href="class__user_8php-source.html#l00237">237<
References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="cl_user::getExercice" 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">cl_user::getExercice </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Return the year of current Periode it is the parm_periode.p_exercice col.
<p>
<p>
Definition at line <a class="el" href="class__user_8php-source.html#l00346">346</a> of file <a class="el" href="class__user_8php-source.html">class_user.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="cl_user::GetGlobalPref" ref="a9" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@ -304,7 +340,7 @@ Get the global preferences from user_global_pref in the account_repository db.
<p>
Definition at line <a class="el" href="class__user_8php-source.html#l00257">257</a> of file <a class="el" href="class__user_8php-source.html">class_user.php</a>.
<p>
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="setup_8php-source.html#l00374">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</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="class__user_8php-source.html#l00299">insert_default_global_pref()</a>, and <a class="el" href="action_8inc_8php-source.html#l00137">name</a>.
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</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="class__user_8php-source.html#l00299">insert_default_global_pref()</a>, and <a class="el" href="action_8inc_8php-source.html#l00160">name</a>.
<p>
Referenced by <a class="el" href="class__user_8php-source.html#l00085">Check()</a>. </td>
</tr>
@ -465,7 +501,7 @@ insert default pref if no parameter are given insert all the existing parameter
<p>
Definition at line <a class="el" href="class__user_8php-source.html#l00299">299</a> of file <a class="el" href="class__user_8php-source.html">class_user.php</a>.
<p>
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00055">$Sql</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="action_8inc_8php-source.html#l00137">name</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>.
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00055">$Sql</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="action_8inc_8php-source.html#l00160">name</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>.
<p>
Referenced by <a class="el" href="class__user_8php-source.html#l00257">GetGlobalPref()</a>. </td>
</tr>
@ -556,7 +592,7 @@ update default pref if value is not given then use the default value
<p>
Definition at line <a class="el" href="class__user_8php-source.html#l00331">331</a> of file <a class="el" href="class__user_8php-source.html">class_user.php</a>.
<p>
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00055">$Sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>. </td>
References <a class="el" href="impress__fiche_8php-source.html#l00026">$cn</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00055">$Sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -687,7 +723,7 @@ Definition at line <a class="el" href="class__user_8php-source.html#l00038">38</
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__user_8php-source.html">class_user.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:34 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:37 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>

View file

@ -114,7 +114,7 @@ Summary<p>
<p>
Definition at line <a class="el" href="class__contact_8php-source.html#l00050">50</a> of file <a class="el" href="class__contact_8php-source.html">class_contact.php</a>.
<p>
References <a class="el" href="bank_8inc_8php-source.html#l00110">$bar</a>, <a class="el" href="bank_8inc_8php-source.html#l00098">$offset</a>, <a class="el" href="bank_8inc_8php-source.html#l00097">$page</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="admin_8inc_8php-source.html#l00128">$search</a>, <a class="el" href="admin_8inc_8php-source.html#l00111">$url</a>, <a class="el" href="class__fiche_8php-source.html#l00289">fiche::CountByDef()</a>, <a class="el" href="facture_8inc_8php-source.html#l00194">f_id</a>, <a class="el" href="class__fiche_8php-source.html#l00155">fiche::fiche()</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="class__fiche_8php-source.html#l00771">fiche::GetAll()</a>, <a class="el" href="user__common_8php-source.html#l00862">jrn_navigation_bar()</a>, <a class="el" href="action_8inc_8php-source.html#l00137">name</a>, <a class="el" href="balance_8php-source.html#l00068">table</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>. </td>
References <a class="el" href="bank_8inc_8php-source.html#l00110">$bar</a>, <a class="el" href="contact_8inc_8php-source.html#l00170">$contact</a>, <a class="el" href="bank_8inc_8php-source.html#l00098">$offset</a>, <a class="el" href="bank_8inc_8php-source.html#l00097">$page</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="admin_8inc_8php-source.html#l00128">$search</a>, <a class="el" href="admin_8inc_8php-source.html#l00111">$url</a>, <a class="el" href="class__fiche_8php-source.html#l00289">fiche::CountByDef()</a>, <a class="el" href="facture_8inc_8php-source.html#l00194">f_id</a>, <a class="el" href="class__fiche_8php-source.html#l00155">fiche::fiche()</a>, <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>, <a class="el" href="class__fiche_8php-source.html#l00778">fiche::GetAll()</a>, <a class="el" href="user__common_8php-source.html#l00858">jrn_navigation_bar()</a>, <a class="el" href="action_8inc_8php-source.html#l00160">name</a>, <a class="el" href="balance_8php-source.html#l00071">table</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -145,7 +145,7 @@ Definition at line <a class="el" href="class__contact_8php-source.html#l00034">3
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__contact_8php-source.html">class_contact.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:34 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:37 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>

View file

@ -170,7 +170,7 @@ insert a new record show a blank card to be filled
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00397">397</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="pref_8inc_8php-source.html#l00128">$label</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="tva_8inc_8php-source.html#l00065">$ret_sql</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="admin_8inc_8php-source.html#l00115">$w</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="balance_8php-source.html#l00068">table</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="pref_8inc_8php-source.html#l00138">$label</a>, <a class="el" href="pref_8inc_8php-source.html#l00096">$msg</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="tva_8inc_8php-source.html#l00065">$ret_sql</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="admin_8inc_8php-source.html#l00115">$w</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="balance_8php-source.html#l00071">table</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="fiche::CountByDef" ref="a5" args="($p_frd_id, $p_search=&quot;&quot;, $p_sql=&quot;&quot;)" --><p>
@ -227,7 +227,7 @@ Return array of card from the frd family.
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00289">289</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>.
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>.
<p>
Referenced by <a class="el" href="class__supplier_8php-source.html#l00083">Supplier::Summary()</a>, <a class="el" href="class__customer_8php-source.html#l00195">Customer::Summary()</a>, <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>, and <a class="el" href="class__admin_8php-source.html#l00065">Admin::Summary()</a>. </td>
</tr>
@ -269,7 +269,7 @@ Display object instance, getAttribute sort the attribute and add missing ones.
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00459">459</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="pref_8inc_8php-source.html#l00128">$label</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, <a class="el" href="tva_8inc_8php-source.html#l00065">$ret_sql</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="admin_8inc_8php-source.html#l00115">$w</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="pref_8inc_8php-source.html#l00138">$label</a>, <a class="el" href="pref_8inc_8php-source.html#l00096">$msg</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="tva_8inc_8php-source.html#l00065">$ret_sql</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="admin_8inc_8php-source.html#l00115">$w</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a16"></a><!-- doxytag: member="fiche::Get" ref="a16" args="()" --><p>
@ -300,7 +300,7 @@ Synonum of <a class="el" href="classfiche.html#a2">fiche::getAttribut</a>.
<p>
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00761">761</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
Definition at line <a class="el" href="class__fiche_8php-source.html#l00768">768</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="class__fiche_8php-source.html#l00188">getAttribut()</a>. </td>
</tr>
@ -350,7 +350,7 @@ get all the card thanks the <a class="el" href="classfiche__def__ref.html">fiche
<dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="classfiche.html#a6">fiche::GetByDef</a></dd></dl>
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00771">771</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
Definition at line <a class="el" href="class__fiche_8php-source.html#l00778">778</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="class__fiche_8php-source.html#l00315">GetByDef()</a>.
<p>
@ -387,9 +387,9 @@ get all the attribute of a card, add missing ones and sort the array ($this-&gt;
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00188">188</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="impress__fiche_8php-source.html#l00079">$e</a>, <a class="el" href="setup_8php-source.html#l00255">$flag</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="setup_8php-source.html#l00374">$Max</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="impress__rapport_8php-source.html#l00058">$t</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>, and <a class="el" href="class__attribut_8php-source.html#l00050">SortAttributeById()</a>.
References <a class="el" href="impress__fiche_8php-source.html#l00082">$e</a>, <a class="el" href="setup_8php-source.html#l00260">$flag</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>, and <a class="el" href="class__attribut_8php-source.html#l00050">SortAttributeById()</a>.
<p>
Referenced by <a class="el" href="class__fiche_8php-source.html#l00761">Get()</a>, and <a class="el" href="class__fiche_8php-source.html#l00167">GetByQCode()</a>. </td>
Referenced by <a class="el" href="class__fiche_8php-source.html#l00768">Get()</a>, and <a class="el" href="class__fiche_8php-source.html#l00167">GetByQCode()</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="fiche::GetByDef" ref="a6" args="($p_frd_id, $p_offset=-1, $p_search=&quot;&quot;)" --><p>
@ -445,9 +445,9 @@ Return array of card from the frd family.
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00315">315</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00037">$all</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="jrn__pdf_8php-source.html#l00071">$limit</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="impress__rapport_8php-source.html#l00058">$t</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="facture_8inc_8php-source.html#l00194">f_id</a>, <a class="el" href="class__fiche_8php-source.html#l00155">fiche()</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>.
References <a class="el" href="commercial_8php-source.html#l00035">$_SESSION</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00037">$all</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="jrn__pdf_8php-source.html#l00071">$limit</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="facture_8inc_8php-source.html#l00194">f_id</a>, <a class="el" href="class__fiche_8php-source.html#l00155">fiche()</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>.
<p>
Referenced by <a class="el" href="class__fiche_8php-source.html#l00771">GetAll()</a>. </td>
Referenced by <a class="el" href="class__fiche_8php-source.html#l00778">GetAll()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="fiche::GetByQCode" ref="a1" args="($p_qcode, $p_all=true)" --><p>
@ -497,7 +497,7 @@ GetByQCode($p_qcode) <dl compact><dt><b>Parameters:</b></dt><dd>
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00167">167</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</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="facture_8inc_8php-source.html#l00194">f_id</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, and <a class="el" href="class__fiche_8php-source.html#l00188">getAttribut()</a>. </td>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</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="facture_8inc_8php-source.html#l00194">f_id</a>, <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>, and <a class="el" href="class__fiche_8php-source.html#l00188">getAttribut()</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="fiche::GetByType" ref="a4" args="($p_fd_id)" --><p>
@ -537,7 +537,7 @@ Get all the card where the fiche_def.fd_id is given in parameter.
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00258">258</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="fiche__def_8inc_8php-source.html#l00037">$all</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="impress__rapport_8php-source.html#l00058">$t</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="facture_8inc_8php-source.html#l00194">f_id</a>, <a class="el" href="class__fiche_8php-source.html#l00155">fiche()</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>. </td>
References <a class="el" href="fiche__def_8inc_8php-source.html#l00037">$all</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="facture_8inc_8php-source.html#l00194">f_id</a>, <a class="el" href="class__fiche_8php-source.html#l00155">fiche()</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>. </td>
</tr>
</table>
<a class="anchor" name="a15"></a><!-- doxytag: member="fiche::getName" ref="a15" args="()" --><p>
@ -568,7 +568,7 @@ return the name of a card
<p>
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00749">749</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
Definition at line <a class="el" href="class__fiche_8php-source.html#l00756">756</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
@ -607,11 +607,11 @@ insert a new record
</dl>
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00533">533</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
Definition at line <a class="el" href="class__fiche_8php-source.html#l00540">540</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="impress__fiche_8php-source.html#l00038">$fiche_id</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</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="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="ac__common_8php-source.html#l00076">isNumber()</a>, <a class="el" href="action_8inc_8php-source.html#l00137">name</a>, <a class="el" href="postgres_8php-source.html#l00251">NextSequence()</a>, <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>.
References <a class="el" href="impress__fiche_8php-source.html#l00038">$fiche_id</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</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="ac__common_8php-source.html#l00208">FormatString()</a>, <a class="el" href="ac__common_8php-source.html#l00076">isNumber()</a>, <a class="el" href="action_8inc_8php-source.html#l00160">name</a>, <a class="el" href="postgres_8php-source.html#l00251">NextSequence()</a>, <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>.
<p>
Referenced by <a class="el" href="class__fiche_8php-source.html#l00519">Save()</a>. </td>
Referenced by <a class="el" href="class__fiche_8php-source.html#l00526">Save()</a>. </td>
</tr>
</table>
<a class="anchor" name="a14"></a><!-- doxytag: member="fiche::remove" ref="a14" args="()" --><p>
@ -642,7 +642,7 @@ remove a card
<p>
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00729">729</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
Definition at line <a class="el" href="class__fiche_8php-source.html#l00736">736</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
@ -681,9 +681,9 @@ Save a card, call insert or update.
</dl>
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00519">519</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
Definition at line <a class="el" href="class__fiche_8php-source.html#l00526">526</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="class__fiche_8php-source.html#l00533">insert()</a>, and <a class="el" href="class__fiche_8php-source.html#l00633">update()</a>. </td>
References <a class="el" href="class__fiche_8php-source.html#l00540">insert()</a>, and <a class="el" href="class__fiche_8php-source.html#l00640">update()</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="fiche::ShowTable" ref="a7" args="()" --><p>
@ -785,7 +785,7 @@ return the string of the given attribute (attr_def.ad_id)
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00364">364</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="impress__fiche_8php-source.html#l00079">$e</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
References <a class="el" href="impress__fiche_8php-source.html#l00082">$e</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a13"></a><!-- doxytag: member="fiche::update" ref="a13" args="()" --><p>
@ -814,14 +814,14 @@ References <a class="el" href="impress__fiche_8php-source.html#l00079">$e</a>, <
<p>
update a card
<p>
<dl compact><dt><b><a class="el" href="todo.html#_todo000008">Todo:</a></b></dt><dd>add a check to return an error and rollback operation </dd></dl>
<dl compact><dt><b><a class="el" href="todo.html#_todo000009">Todo:</a></b></dt><dd>add a check to return an error and rollback operation </dd></dl>
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00633">633</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
Definition at line <a class="el" href="class__fiche_8php-source.html#l00640">640</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</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="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="ac__common_8php-source.html#l00076">isNumber()</a>, <a class="el" href="action_8inc_8php-source.html#l00137">name</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>.
References <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="show__document__modele_8php-source.html#l00050">$tmp</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</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="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>, <a class="el" href="ac__common_8php-source.html#l00076">isNumber()</a>, <a class="el" href="action_8inc_8php-source.html#l00160">name</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>.
<p>
Referenced by <a class="el" href="class__fiche_8php-source.html#l00519">Save()</a>. </td>
Referenced by <a class="el" href="class__fiche_8php-source.html#l00526">Save()</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -952,7 +952,7 @@ Definition at line <a class="el" href="class__fiche_8php-source.html#l00150">150
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__fiche_8php-source.html">class_fiche.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -160,7 +160,7 @@ Get attribut of the fiche_def.
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00074">74</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00030">frd_id</a>, <a class="el" href="action_8inc_8php-source.html#l00143">label</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>. </td>
References <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00030">frd_id</a>, <a class="el" href="action_8inc_8php-source.html#l00166">label</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="fiche_def::GetAll" ref="a3" args="()" --><p>
@ -194,7 +194,7 @@ Get all the fiche_def.
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00094">94</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="class__fiche_8php-source.html#l00039">fiche_def()</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00030">frd_id</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>. </td>
References <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="class__fiche_8php-source.html#l00039">fiche_def()</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00030">frd_id</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="fiche_def::GetAttribut" ref="a1" args="()" --><p>
@ -228,7 +228,7 @@ Get attribut of a fiche_def.
<p>
Definition at line <a class="el" href="class__fiche_8php-source.html#l00051">51</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="impress__rapport_8php-source.html#l00058">$t</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>. </td>
References <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="fiche_def::HasAttribute" ref="a4" args="($p_attr)" --><p>
@ -453,7 +453,7 @@ Definition at line <a class="el" href="class__fiche_8php-source.html#l00032">32<
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">fiche_def::$<a class="el" href="ecrit__ouv_8php.html#a5">label</a> </td>
<td class="md" nowrap valign="top">fiche_def::$<a class="el" href="export__ouv_8php.html#a10">label</a> </td>
</tr>
</table>
</td>
@ -474,7 +474,7 @@ Definition at line <a class="el" href="class__fiche_8php-source.html#l00033">33<
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__fiche_8php-source.html">class_fiche.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -122,7 +122,7 @@ tag.
<p>
Definition at line <a class="el" href="class__fiche__def_8php-source.html#l00078">78</a> of file <a class="el" href="class__fiche__def_8php-source.html">class_fiche_def.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>. </td>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="fiche_def_ref::Get" ref="a5" args="()" --><p>
@ -193,7 +193,7 @@ parm :<ul>
<p>
Definition at line <a class="el" href="class__fiche__def_8php-source.html#l00097">97</a> of file <a class="el" href="class__fiche__def_8php-source.html">class_fiche_def.php</a>.
<p>
References <a class="el" href="poste_8inc_8php-source.html#l00069">$h</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__rapport_8php-source.html#l00058">$t</a>, <a class="el" href="admin_8inc_8php-source.html#l00115">$w</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00032">frd_class_base</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00030">frd_id</a>, and <a class="el" href="fiche__def_8inc_8php-source.html#l00031">frd_text</a>. </td>
References <a class="el" href="poste_8inc_8php-source.html#l00069">$h</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>, <a class="el" href="admin_8inc_8php-source.html#l00115">$w</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00032">frd_class_base</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00030">frd_id</a>, and <a class="el" href="fiche__def_8inc_8php-source.html#l00031">frd_text</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="fiche_def_ref::LoadAll" ref="a1" args="()" --><p>
@ -227,7 +227,7 @@ Load all the fiche_def_ref data and return an array of fiche_def_ref objects.
<p>
Definition at line <a class="el" href="class__fiche__def_8php-source.html#l00051">51</a> of file <a class="el" href="class__fiche__def_8php-source.html">class_fiche_def.php</a>.
<p>
References <a class="el" href="fiche__def_8inc_8php-source.html#l00037">$all</a>, <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00062">$idx</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00038">fiche_def_ref()</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>. </td>
References <a class="el" href="fiche__def_8inc_8php-source.html#l00037">$all</a>, <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00062">$idx</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="class__fiche__def_8php-source.html#l00038">fiche_def_ref()</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="fiche_def_ref::Save" ref="a4" args="()" --><p>
@ -369,7 +369,7 @@ Definition at line <a class="el" href="class__fiche__def_8php-source.html#l00033
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__fiche__def_8php-source.html">class_fiche_def.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -114,7 +114,7 @@ GetDefLine Get the number of lines of a journal <dl compact><dt><b>Parameters:<
<p>
Definition at line <a class="el" href="class__jrn_8php-source.html#l00321">321</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>. </td>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="jrn::GetName" ref="a1" args="()" --><p>
@ -145,7 +145,7 @@ References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>
<p>
Definition at line <a class="el" href="class__jrn_8php-source.html#l00034">34</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.php</a>.
<p>
References <a class="el" href="setup_8php-source.html#l00374">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="action_8inc_8php-source.html#l00137">name</a>. </td>
References <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="action_8inc_8php-source.html#l00160">name</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="jrn::GetRow" ref="a2" args="($p_from, $p_to, $cent='off', $p_limit=-1, $p_offset=-1)" --><p>
@ -217,7 +217,7 @@ gen :<ul>
<p>
Definition at line <a class="el" href="class__jrn_8php-source.html#l00065">65</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="setup_8php-source.html#l00374">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00055">$Sql</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00055">$Sql</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="jrn::GetRowSimple" ref="a3" args="($p_from, $p_to, $cent='off', $p_limit=-1, $p_offset=-1)" --><p>
@ -398,7 +398,7 @@ Definition at line <a class="el" href="class__jrn_8php-source.html#l00028">28</a
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__jrn_8php-source.html">class_jrn.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -261,7 +261,7 @@ update a parm_object into the database p_code is _not_ updatable
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00076">76</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.
<p>
References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="poste_8inc_8php-source.html#l00033">p_comment</a>, and <a class="el" href="poste_8inc_8php-source.html#l00034">p_value</a>. </td>
References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="bank_8inc_8php-source.html#l00095">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="ac__common_8php-source.html#l00208">FormatString()</a>, <a class="el" href="poste_8inc_8php-source.html#l00033">p_comment</a>, and <a class="el" href="poste_8inc_8php-source.html#l00034">p_value</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -367,7 +367,7 @@ Definition at line <a class="el" href="class__parm__code_8php-source.html#l00033
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -18,19 +18,26 @@
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get dat for poste. <a href="#a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#a2">GetName</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the name of a account. <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#a3">GetSolde</a> ($p_cond=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the name of a account it doesn't change any data member. <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#a3">get</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">give the balance of an account <a href="#a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#a4">GetSoldeDetail</a> ($p_cond=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get all the value for this object from the database the data member are set. <a href="#a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#a4">GetSolde</a> ($p_cond=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">give the balance of an account <a href="#a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#a5">GetSoldeDetail</a> ($p_cond=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">give the balance of an account <a href="#a5"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#o0">$db</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#o1">$id</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#o2">$row</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#o2">$label</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#o3">$parent</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#o4">$row</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
@ -75,12 +82,46 @@ Definition at line <a class="el" href="class__poste_8php-source.html#l00028">28<
<p>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00032">32</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
Definition at line <a class="el" href="class__poste_8php-source.html#l00034">34</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
<p>
References <a class="el" href="user__update_8php-source.html#l00032">$p_id</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a3"></a><!-- doxytag: member="poste::get" 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">poste::get </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get all the value for this object from the database the data member are set.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>false if this account doesn't exist otherwise true</dd></dl>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00100">100</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="action_8inc_8php-source.html#l00166">label</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="poste::GetName" ref="a2" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@ -105,13 +146,14 @@ References <a class="el" href="user__update_8php-source.html#l00032">$p_id</a>.
<td>
<p>
Return the name of a account.
Return the name of a account it doesn't change any data member.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>string with the pcm_lib</dd></dl>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00080">80</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
Definition at line <a class="el" href="class__poste_8php-source.html#l00084">84</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, and <a class="el" href="action_8inc_8php-source.html#l00137">name</a>. </td>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, and <a class="el" href="action_8inc_8php-source.html#l00160">name</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="poste::GetRow" ref="a1" args="($p_from, $p_to)" --><p>
@ -159,12 +201,12 @@ Get dat for poste.
<dl compact><dt><b>Returns:</b></dt><dd>double array (j_date,deb_montant,cred_montant,description,jrn_name,j_debit,jr_internal) (tot_deb,tot_credit</dd></dl>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00046">46</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
Definition at line <a class="el" href="class__poste_8php-source.html#l00048">48</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
<p>
References <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="setup_8php-source.html#l00374">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
References <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="poste::GetSolde" ref="a3" args="($p_cond=&quot;&quot;)" --><p>
<a class="anchor" name="a4"></a><!-- doxytag: member="poste::GetSolde" ref="a4" args="($p_cond=&quot;&quot;)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -194,12 +236,12 @@ give the balance of an account
<dl compact><dt><b>Returns:</b></dt><dd>balance of the account</dd></dl>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00099">99</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
Definition at line <a class="el" href="class__poste_8php-source.html#l00119">119</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
<p>
References <a class="el" href="setup_8php-source.html#l00374">$Max</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
References <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="poste::GetSoldeDetail" ref="a4" args="($p_cond=&quot;&quot;)" --><p>
<a class="anchor" name="a5"></a><!-- doxytag: member="poste::GetSoldeDetail" ref="a5" args="($p_cond=&quot;&quot;)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -229,9 +271,9 @@ give the balance of an account
<dl compact><dt><b>Returns:</b></dt><dd>balance of the account</dd></dl>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00121">121</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
Definition at line <a class="el" href="class__poste_8php-source.html#l00141">141</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
<p>
References <a class="el" href="setup_8php-source.html#l00374">$Max</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
References <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -255,7 +297,7 @@ References <a class="el" href="setup_8php-source.html#l00374">$Max</a>, <a class
<td>
<p>
database connection
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00029">29</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>. </td>
</tr>
@ -280,12 +322,62 @@ Definition at line <a class="el" href="class__poste_8php-source.html#l00029">29<
<td>
<p>
poste_id
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00030">30</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o2"></a><!-- doxytag: member="poste::$row" ref="o2" args="" --><p>
<a class="anchor" name="o2"></a><!-- doxytag: member="poste::$label" ref="o2" 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">poste::$<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>
label of the poste
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00031">31</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o3"></a><!-- doxytag: member="poste::$parent" ref="o3" 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">poste::$parent </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
parent account
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00032">32</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o4"></a><!-- doxytag: member="poste::$row" ref="o4" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -305,14 +397,14 @@ Definition at line <a class="el" href="class__poste_8php-source.html#l00030">30<
<td>
<p>
double array see GetRow
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00031">31</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>. </td>
Definition at line <a class="el" href="class__poste_8php-source.html#l00033">33</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__poste_8php-source.html">class_poste.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -74,7 +74,7 @@ Constructor.
<p>
Definition at line <a class="el" href="class__rapport_8php-source.html#l00033">33</a> of file <a class="el" href="class__rapport_8php-source.html">class_rapport.php</a>.
<p>
References <a class="el" href="user__update_8php-source.html#l00032">$p_id</a>, and <a class="el" href="action_8inc_8php-source.html#l00137">name</a>. </td>
References <a class="el" href="user__update_8php-source.html#l00032">$p_id</a>, and <a class="el" href="action_8inc_8php-source.html#l00160">name</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
@ -108,7 +108,7 @@ Return the report's name.
<p>
Definition at line <a class="el" href="class__rapport_8php-source.html#l00040">40</a> of file <a class="el" href="class__rapport_8php-source.html">class_rapport.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="impress__bilan_8php-source.html#l00029">$ret</a>, and <a class="el" href="action_8inc_8php-source.html#l00137">name</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, and <a class="el" href="action_8inc_8php-source.html#l00160">name</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="rapport::GetRow" ref="a2" args="($p_start, $p_end)" --><p>
@ -157,7 +157,7 @@ return all the row and parse formula from a report
<p>
Definition at line <a class="el" href="class__rapport_8php-source.html#l00053">53</a> of file <a class="el" href="class__rapport_8php-source.html">class_rapport.php</a>.
<p>
References <a class="el" href="bilan_8php-source.html#l00072">$col</a>, <a class="el" href="jrn__detail_8php-source.html#l00128">$l_line</a>, <a class="el" href="setup_8php-source.html#l00374">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="impress__inc_8php-source.html#l00724">ParseFormula()</a>. </td>
References <a class="el" href="bilan_8php-source.html#l00072">$col</a>, <a class="el" href="jrn__detail_8php-source.html#l00128">$l_line</a>, <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="impress__inc_8php-source.html#l00724">ParseFormula()</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -238,7 +238,7 @@ Definition at line <a class="el" href="class__rapport_8php-source.html#l00031">3
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__rapport_8php-source.html">class_rapport.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:35 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -17,7 +17,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#a2">IOValue</a> ($p_name=null, $<a class="el" href="poste_8inc_8php.html#a2">p_value</a>=null, $p_label=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">create the corresponding INPUT tag <a href="#a2"></a><br></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">create the corresponding INPUT tag js_search_only only for searching a card no new button <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#a3">debug</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#a4">Submit</a> ($p_name, $<a class="el" href="poste_8inc_8php.html#a2">p_value</a>)</td></tr>
@ -49,6 +49,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o11">$tabindex</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">special value js_search and js_search_only :you need to add a span widget the name of the js_* widget + '_label' , the member extra contains cred,deb to filter the search of cred of deb of a jrn or contains a string with a list of frd_id <a href="#o11"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
class widget This class is used to create all the HTML INPUT TYPE and some specials which works with javascript like js_search
@ -83,9 +84,9 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00032">32
<p>
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00059">59</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
Definition at line <a class="el" href="class__widget_8php-source.html#l00065">65</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
References <a class="el" href="impress__poste_8php-source.html#l00136">disabled</a>, <a class="el" href="tva_8inc_8php-source.html#l00215">heigh</a>, <a class="el" href="action_8inc_8php-source.html#l00143">label</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00070">readonly</a>, <a class="el" href="action_8inc_8php-source.html#l00165">selected</a>, <a class="el" href="tva_8inc_8php-source.html#l00212">size</a>, <a class="el" href="balance_8php-source.html#l00068">table</a>, <a class="el" href="action_8inc_8php-source.html#l00138">value</a>, and <a class="el" href="tva_8inc_8php-source.html#l00215">width</a>. </td>
References <a class="el" href="impress__poste_8php-source.html#l00144">disabled</a>, <a class="el" href="tva_8inc_8php-source.html#l00215">heigh</a>, <a class="el" href="action_8inc_8php-source.html#l00166">label</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00071">readonly</a>, <a class="el" href="action_8inc_8php-source.html#l00188">selected</a>, <a class="el" href="tva_8inc_8php-source.html#l00212">size</a>, <a class="el" href="balance_8php-source.html#l00071">table</a>, <a class="el" href="action_8inc_8php-source.html#l00161">value</a>, and <a class="el" href="tva_8inc_8php-source.html#l00215">width</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
@ -115,9 +116,9 @@ References <a class="el" href="impress__poste_8php-source.html#l00136">disabled<
<p>
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00371">371</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
Definition at line <a class="el" href="class__widget_8php-source.html#l00435">435</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
References <a class="el" href="class__widget_8php-source.html#l00050">$readonly</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00070">readonly</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>. </td>
References <a class="el" href="class__widget_8php-source.html#l00056">$readonly</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00071">readonly</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="widget::IOValue" ref="a2" args="($p_name=null, $p_value=null, $p_label=&quot;&quot;)" --><p>
@ -160,7 +161,7 @@ References <a class="el" href="class__widget_8php-source.html#l00050">$readonly<
<td>
<p>
create the corresponding INPUT tag
create the corresponding INPUT tag js_search_only only for searching a card no new button
<p>
function IOValue($p_name,$p_value="",$p_label="")<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
@ -173,9 +174,9 @@ function IOValue($p_name,$p_value="",$p_label="")<p>
<dl compact><dt><b>Returns:</b></dt><dd>string containing the tag</dd></dl>
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00084">84</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
Definition at line <a class="el" href="class__widget_8php-source.html#l00090">90</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
References <a class="el" href="fortis__be_8inc_8php-source.html#l00054">$check</a>, <a class="el" href="class__widget_8php-source.html#l00055">$disabled</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__poste_8php-source.html#l00136">disabled</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="action_8inc_8php-source.html#l00143">label</a>, <a class="el" href="action_8inc_8php-source.html#l00137">name</a>, <a class="el" href="action_8inc_8php-source.html#l00165">selected</a>, and <a class="el" href="action_8inc_8php-source.html#l00138">value</a>. </td>
References <a class="el" href="fortis__be_8inc_8php-source.html#l00054">$check</a>, <a class="el" href="class__widget_8php-source.html#l00061">$disabled</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="impress__poste_8php-source.html#l00144">disabled</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="action_8inc_8php-source.html#l00166">label</a>, <a class="el" href="action_8inc_8php-source.html#l00160">name</a>, <a class="el" href="action_8inc_8php-source.html#l00188">selected</a>, and <a class="el" href="action_8inc_8php-source.html#l00161">value</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="widget::Reset" ref="a5" args="($p_value)" --><p>
@ -205,7 +206,7 @@ References <a class="el" href="fortis__be_8inc_8php-source.html#l00054">$check</
<p>
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00381">381</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00445">445</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="widget::SetReadOnly" ref="a1" args="($p_read)" --><p>
@ -235,9 +236,9 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00381">38
<p>
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00072">72</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
Definition at line <a class="el" href="class__widget_8php-source.html#l00078">78</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
References <a class="el" href="ecrit__ouv_8php-source.html#l00070">readonly</a>. </td>
References <a class="el" href="ecrit__ouv_8php-source.html#l00071">readonly</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="widget::Submit" ref="a4" args="($p_name, $p_value)" --><p>
@ -276,7 +277,7 @@ References <a class="el" href="ecrit__ouv_8php-source.html#l00070">readonly</a>.
<p>
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00378">378</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00442">442</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
@ -286,7 +287,7 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00378">37
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">widget::$<a class="el" href="impress__poste_8php.html#a13">disabled</a> </td>
<td class="md" nowrap valign="top">widget::$<a class="el" href="impress__poste_8php.html#a14">disabled</a> </td>
</tr>
</table>
</td>
@ -302,9 +303,9 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00378">37
<p>
to disable the type
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00055">55</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
Definition at line <a class="el" href="class__widget_8php-source.html#l00061">61</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
Referenced by <a class="el" href="class__widget_8php-source.html#l00084">IOValue()</a>. </td>
Referenced by <a class="el" href="class__widget_8php-source.html#l00090">IOValue()</a>. </td>
</tr>
</table>
<a class="anchor" name="o9"></a><!-- doxytag: member="widget::$extra" ref="o9" args="" --><p>
@ -313,7 +314,7 @@ Referenced by <a class="el" href="class__widget_8php-source.html#l00084">IOValue
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">widget::$<a class="el" href="action_8inc_8php.html#a7">extra</a> </td>
<td class="md" nowrap valign="top">widget::$<a class="el" href="contact_8inc_8php.html#a9">extra</a> </td>
</tr>
</table>
</td>
@ -329,7 +330,7 @@ Referenced by <a class="el" href="class__widget_8php-source.html#l00084">IOValue
<p>
depends of the input type
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00056">56</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00062">62</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o10"></a><!-- doxytag: member="widget::$extra2" ref="o10" args="" --><p>
@ -338,7 +339,7 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00056">56
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">widget::$<a class="el" href="action_8inc_8php.html#a8">extra2</a> </td>
<td class="md" nowrap valign="top">widget::$<a class="el" href="action_8inc_8php.html#a9">extra2</a> </td>
</tr>
</table>
</td>
@ -354,7 +355,7 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00056">56
<p>
depends of the input type
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00057">57</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00063">63</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o7"></a><!-- doxytag: member="widget::$label" ref="o7" args="" --><p>
@ -363,7 +364,7 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00057">57
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">widget::$<a class="el" href="ecrit__ouv_8php.html#a5">label</a> </td>
<td class="md" nowrap valign="top">widget::$<a class="el" href="export__ouv_8php.html#a10">label</a> </td>
</tr>
</table>
</td>
@ -379,7 +380,7 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00057">57
<p>
text before the input tag
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00054">54</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00060">60</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o1"></a><!-- doxytag: member="widget::$name" ref="o1" args="" --><p>
@ -404,7 +405,7 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00054">54
<p>
name of the input tag
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00048">48</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00054">54</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o3"></a><!-- doxytag: member="widget::$readonly" ref="o3" args="" --><p>
@ -429,9 +430,9 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00048">48
<p>
if set to false cannot modify
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00050">50</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
Definition at line <a class="el" href="class__widget_8php-source.html#l00056">56</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
Referenced by <a class="el" href="class__widget_8php-source.html#l00371">debug()</a>. </td>
Referenced by <a class="el" href="class__widget_8php-source.html#l00435">debug()</a>. </td>
</tr>
</table>
<a class="anchor" name="o5"></a><!-- doxytag: member="widget::$selected" ref="o5" args="" --><p>
@ -456,7 +457,7 @@ Referenced by <a class="el" href="class__widget_8php-source.html#l00371">debug()
<p>
selected value for the radio or select
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00052">52</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00058">58</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o4"></a><!-- doxytag: member="widget::$size" ref="o4" args="" --><p>
@ -481,7 +482,7 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00052">52
<p>
size for the text type
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00051">51</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00057">57</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o11"></a><!-- doxytag: member="widget::$tabindex" ref="o11" args="" --><p>
@ -503,10 +504,12 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00051">51
</td>
<td>
<p>
special value js_search and js_search_only :you need to add a span widget the name of the js_* widget + '_label' , the member extra contains cred,deb to filter the search of cred of deb of a jrn or contains a string with a list of frd_id
<p>
the tabindex
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00058">58</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00064">64</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o6"></a><!-- doxytag: member="widget::$table" ref="o6" args="" --><p>
@ -515,7 +518,7 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00058">58
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">widget::$<a class="el" href="parametre_8php.html#a16">table</a> </td>
<td class="md" nowrap valign="top">widget::$<a class="el" href="parametre_8php.html#a19">table</a> </td>
</tr>
</table>
</td>
@ -529,9 +532,9 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00058">58
<td>
<p>
if we want to make a HTML table row
if we want to make a HTML table row the value is return with &lt;TD&gt;
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00053">53</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00059">59</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o0"></a><!-- doxytag: member="widget::$type" ref="o0" args="" --><p>
@ -556,7 +559,7 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00053">53
<p>
type of the input tag (text, select, files, js_search,...)
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00047">47</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00053">53</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o2"></a><!-- doxytag: member="widget::$value" ref="o2" args="" --><p>
@ -581,12 +584,12 @@ Definition at line <a class="el" href="class__widget_8php-source.html#l00047">47
<p>
value
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00049">49</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
Definition at line <a class="el" href="class__widget_8php-source.html#l00055">55</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__widget_8php-source.html">class_widget.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:36 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -29,7 +29,7 @@
<a name="l00020"></a>00020 <span class="comment">// Copyright Author Dany De Bontridder ddebontridder@yahoo.fr</span>
<a name="l00021"></a>00021 require_once(<span class="stringliteral">"class_customer.php"</span>);
<a name="l00022"></a><a class="code" href="client_8inc_8php.html#a0">00022</a> <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=(isset($_REQUEST['sa']))?$_REQUEST['sa']:<span class="stringliteral">""</span>;
<a name="l00023"></a>00023 var_dump($_REQUEST);
<a name="l00023"></a>00023
<a name="l00028"></a>00028 ?&gt;
<a name="l00029"></a>00029
<a name="l00030"></a>00030 &lt;?
@ -47,7 +47,7 @@
<a name="l00043"></a>00043 <span class="comment">// Add card</span>
<a name="l00044"></a>00044 <span class="keywordflow">if</span> ( $sub_action==<span class="stringliteral">"insert"</span> )
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046 <a class="code" href="action_8inc_8php.html#a1">$retour</a>=sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"two"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',
<a name="l00046"></a>00046 <a class="code" href="action_8inc_8php.html#a1">$retour</a>=sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"two"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',
<a name="l00047"></a>00047 urldecode($_REQUEST['url']));
<a name="l00048"></a>00048
<a name="l00049"></a><a class="code" href="client_8inc_8php.html#a1">00049</a> <a class="code" href="client_8inc_8php.html#a1">$customer</a>=<span class="keyword">new</span> <a class="code" href="classCustomer.html">Customer</a>($cn);
@ -74,19 +74,19 @@
<a name="l00072"></a>00072 <span class="comment">//Display a blank card </span>
<a name="l00073"></a>00073 <span class="keywordflow">if</span> ( $sub_action==<span class="stringliteral">"blank"</span>)
<a name="l00074"></a>00074 {
<a name="l00075"></a>00075 $retour=sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"two"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',
<a name="l00075"></a>00075 $retour=sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"two"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',
<a name="l00076"></a>00076 <span class="stringliteral">"commercial.php?p_action=client"</span>);
<a name="l00077"></a>00077 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00078"></a>00078
<a name="l00079"></a>00079 echo $retour;
<a name="l00080"></a><a class="code" href="client_8inc_8php.html#a2">00080</a> <a class="code" href="admin_8inc_8php.html#a2">$c</a>=<span class="keyword">new</span> <a class="code" href="classCustomer.html">Customer</a>($cn);
<a name="l00081"></a>00081 echo '&lt;form method=<span class="stringliteral">"post"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>';
<a name="l00082"></a>00082 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"client"</span>&gt;';
<a name="l00083"></a>00083 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"insert"</span>&gt;';
<a name="l00084"></a>00084 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"fd_id"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"'.$_GET['fd_id'].'"</span>&gt;';
<a name="l00085"></a>00085 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"'.$_GET['url'].'"</span>&gt;';
<a name="l00082"></a>00082 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"client"</span>&gt;';
<a name="l00083"></a>00083 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"insert"</span>&gt;';
<a name="l00084"></a>00084 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"fd_id"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$_GET['fd_id'].'"</span>&gt;';
<a name="l00085"></a>00085 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$_GET['url'].'"</span>&gt;';
<a name="l00086"></a>00086 echo <a class="code" href="admin_8inc_8php.html#a2">$c</a>-&gt;blank($_GET['fd_id']);
<a name="l00087"></a>00087 echo '&lt;input type=<span class="stringliteral">"Submit"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Sauve"</span>&gt;';
<a name="l00087"></a>00087 echo '&lt;input type=<span class="stringliteral">"Submit"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Sauve"</span>&gt;';
<a name="l00088"></a>00088 echo '&lt;/form&gt;';
<a name="l00089"></a>00089 echo $retour;
<a name="l00090"></a>00090 echo '&lt;/div&gt;';
@ -99,28 +99,28 @@
<a name="l00098"></a>00098 &lt;span&gt;
<a name="l00099"></a>00099 &lt;form method=<span class="stringliteral">"get"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>&gt;
<a name="l00100"></a>00100 &lt;?
<a name="l00101"></a>00101 <a class="code" href="action_8inc_8php.html#a15">$a</a>=(isset($_GET['query']))?$_GET['query']:<span class="stringliteral">""</span>;
<a name="l00102"></a>00102 printf ('&lt;input type=<span class="stringliteral">"text"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"query"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"%s"</span>&gt;',
<a name="l00101"></a>00101 <a class="code" href="action_8inc_8php.html#a16">$a</a>=(isset($_GET['query']))?$_GET['query']:<span class="stringliteral">""</span>;
<a name="l00102"></a>00102 printf ('&lt;input type=<span class="stringliteral">"text"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"query"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"%s"</span>&gt;',
<a name="l00103"></a>00103 $a);
<a name="l00104"></a>00104 ?&gt;
<a name="l00105"></a>00105 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"submit_query"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"recherche"</span>&gt;
<a name="l00106"></a>00106 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"client"</span>&gt;
<a name="l00105"></a>00105 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"submit_query"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"recherche"</span>&gt;
<a name="l00106"></a>00106 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"client"</span>&gt;
<a name="l00107"></a>00107 &lt;/form&gt;
<a name="l00108"></a>00108 &lt;/span&gt;
<a name="l00109"></a>00109 &lt;span&gt;
<a name="l00110"></a>00110 &lt;form method=<span class="stringliteral">"get"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>&gt;
<a name="l00111"></a><a class="code" href="client_8inc_8php.html#a3">00111</a> &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"url"</span> &lt;? <a class="code" href="admin_8inc_8php.html#a3">$url</a>=urlencode($_SERVER['REQUEST_URI']);echo '<a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"'.$url.'"</span>'; ?&gt;
<a name="l00112"></a>00112 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_action"</span> value=<span class="stringliteral">"client"</span>&gt;
<a name="l00111"></a><a class="code" href="client_8inc_8php.html#a3">00111</a> &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"url"</span> &lt;? <a class="code" href="admin_8inc_8php.html#a3">$url</a>=urlencode($_SERVER['REQUEST_URI']);echo '<a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$url.'"</span>'; ?&gt;
<a name="l00112"></a>00112 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_action"</span> value=<span class="stringliteral">"client"</span>&gt;
<a name="l00113"></a>00113
<a name="l00114"></a>00114 &lt;?
<a name="l00115"></a><a class="code" href="client_8inc_8php.html#a4">00115</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00116"></a><a class="code" href="client_8inc_8php.html#a5">00116</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"fd_id"</span>;
<a name="l00117"></a><a class="code" href="client_8inc_8php.html#a6">00117</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value= <a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select fd_id,fd_label from fiche_def where "</span>.
<a name="l00118"></a>00118 <span class="stringliteral">" frd_id="</span>.<a class="code" href="constant_8php.html#a63">FICHE_TYPE_CLIENT</a>);
<a name="l00118"></a>00118 <span class="stringliteral">" frd_id="</span>.<a class="code" href="constant_8php.html#a64">FICHE_TYPE_CLIENT</a>);
<a name="l00119"></a>00119 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00120"></a>00120 ?&gt;
<a name="l00121"></a>00121 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"sa"</span> value=<span class="stringliteral">"blank"</span>&gt;
<a name="l00122"></a>00122 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"submit_query"</span> value=<span class="stringliteral">"Ajout Client"</span>&gt;
<a name="l00121"></a>00121 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"sa"</span> value=<span class="stringliteral">"blank"</span>&gt;
<a name="l00122"></a>00122 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"submit_query"</span> value=<span class="stringliteral">"Ajout Client"</span>&gt;
<a name="l00123"></a>00123
<a name="l00124"></a>00124 &lt;/form&gt;
<a name="l00125"></a>00125 &lt;/span&gt;
@ -131,47 +131,38 @@
<a name="l00130"></a>00130 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00131"></a>00131 echo <a class="code" href="client_8inc_8php.html#a7">$client</a>-&gt;Summary($search);
<a name="l00132"></a>00132 echo '&lt;/div&gt;';
<a name="l00133"></a>00133 echo '&lt;div style=<span class="stringliteral">"position:absolute;right:1%;width:10%;color:blue;background-color:lightgrey;margin-top:10px;"</span>&gt;';
<a name="l00134"></a>00134 echo <span class="stringliteral">"&lt;strong&gt;Action :&lt;/strong&gt; Ajout, mise à jour ou effacement"</span>;
<a name="l00135"></a>00135 echo <span class="stringliteral">" &lt;ul&gt;"</span>;
<a name="l00136"></a>00136 echo <span class="stringliteral">"&lt;li&gt;C - Contact&lt;/li&gt;"</span>;
<a name="l00137"></a>00137 echo <span class="stringliteral">"&lt;li&gt;F - Facture&lt;/li&gt;"</span>;
<a name="l00138"></a>00138 echo <span class="stringliteral">"&lt;li&gt;FC - Courrier&lt;/li&gt;"</span>;
<a name="l00139"></a>00139 echo <span class="stringliteral">"&lt;/ul&gt;"</span>;
<a name="l00140"></a>00140
<a name="l00141"></a>00141 echo '&lt;/div&gt;';
<a name="l00142"></a>00142 echo '&lt;/div&gt;';
<a name="l00143"></a>00143
<a name="l00144"></a>00144 }
<a name="l00146"></a>00146 <span class="comment">// Show Detail</span>
<a name="l00147"></a>00147 <span class="keywordflow">if</span> ( $sub_action == 'detail' )
<a name="l00148"></a>00148 {
<a name="l00149"></a>00149 $f_id=$_REQUEST['<a class="code" href="facture_8inc_8php.html#a19">f_id</a>'];
<a name="l00150"></a>00150 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00151"></a>00151 <a class="code" href="client_8inc_8php.html#a7">$client</a>=<span class="keyword">new</span> <a class="code" href="classCustomer.html">Customer</a>($cn,$<a class="code" href="facture_8inc_8php.html#a19">f_id</a>);
<a name="l00152"></a><a class="code" href="client_8inc_8php.html#a9">00152</a> $retour=sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"two"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> value=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',
<a name="l00153"></a>00153 urldecode($_REQUEST['url']));
<a name="l00154"></a>00154 echo $retour;
<a name="l00155"></a>00155 echo '&lt;form <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"'.$_REQUEST['url'].'"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00156"></a>00156 echo <a class="code" href="client_8inc_8php.html#a7">$client</a>-&gt;Display(<span class="keyword">false</span>);
<a name="l00157"></a>00157 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00158"></a>00158 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"p_action"</span>;
<a name="l00159"></a>00159 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=<span class="stringliteral">"client"</span>;
<a name="l00160"></a>00160 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00161"></a>00161 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"f_id"</span>;
<a name="l00162"></a>00162 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=$f_id;
<a name="l00163"></a>00163 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00164"></a>00164
<a name="l00165"></a>00165 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Submit('mod<span class="charliteral">','</span>Sauver les modifications');
<a name="l00166"></a>00166 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Reset(<span class="stringliteral">"Annuler"</span>);
<a name="l00167"></a>00167 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Submit('<span class="keyword">delete</span><span class="charliteral">','</span>Effacer cette <a class="code" href="classfiche.html">fiche</a>');
<a name="l00168"></a>00168 echo '&lt;/form&gt;';
<a name="l00169"></a>00169 echo $retour;
<a name="l00170"></a>00170 echo '&lt;div&gt;';
<a name="l00171"></a>00171 }
<a name="l00172"></a>00172 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00173"></a>00173 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00133"></a>00133 echo '&lt;/div&gt;';
<a name="l00134"></a>00134
<a name="l00135"></a>00135 }
<a name="l00137"></a>00137 <span class="comment">// Show Detail</span>
<a name="l00138"></a>00138 <span class="keywordflow">if</span> ( $sub_action == 'detail' )
<a name="l00139"></a>00139 {
<a name="l00140"></a>00140 $f_id=$_REQUEST['<a class="code" href="facture_8inc_8php.html#a19">f_id</a>'];
<a name="l00141"></a>00141 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00142"></a>00142 <a class="code" href="client_8inc_8php.html#a7">$client</a>=<span class="keyword">new</span> <a class="code" href="classCustomer.html">Customer</a>($cn,$<a class="code" href="facture_8inc_8php.html#a19">f_id</a>);
<a name="l00143"></a><a class="code" href="client_8inc_8php.html#a9">00143</a> $retour=sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"two"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> value=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',
<a name="l00144"></a>00144 urldecode($_REQUEST['url']));
<a name="l00145"></a>00145 echo $retour;
<a name="l00146"></a>00146 echo '&lt;form <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"'.$_REQUEST['url'].'"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00147"></a>00147 echo <a class="code" href="client_8inc_8php.html#a7">$client</a>-&gt;Display(<span class="keyword">false</span>);
<a name="l00148"></a>00148 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00149"></a>00149 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"p_action"</span>;
<a name="l00150"></a>00150 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=<span class="stringliteral">"client"</span>;
<a name="l00151"></a>00151 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00152"></a>00152 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"f_id"</span>;
<a name="l00153"></a>00153 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=$f_id;
<a name="l00154"></a>00154 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00155"></a>00155
<a name="l00156"></a>00156 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Submit('mod<span class="charliteral">','</span>Sauver les modifications');
<a name="l00157"></a>00157 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Reset(<span class="stringliteral">"Annuler"</span>);
<a name="l00158"></a>00158 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Submit('<span class="keyword">delete</span><span class="charliteral">','</span>Effacer cette <a class="code" href="classfiche.html">fiche</a>');
<a name="l00159"></a>00159 echo '&lt;/form&gt;';
<a name="l00160"></a>00160 echo $retour;
<a name="l00161"></a>00161 echo '&lt;div&gt;';
<a name="l00162"></a>00162 }
<a name="l00163"></a>00163 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00164"></a>00164 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -140,11 +140,11 @@ Referenced by <a class="el" href="class__customer_8php-source.html#l00084">Custo
<td>
<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment">sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"two"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',
<b>Initial value:</b><div class="fragment"><pre class="fragment">sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"two"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',
urldecode($_REQUEST['url']))
</pre></div>
<p>
Definition at line <a class="el" href="client_8inc_8php-source.html#l00152">152</a> of file <a class="el" href="client_8inc_8php-source.html">client.inc.php</a>. </td>
Definition at line <a class="el" href="client_8inc_8php-source.html#l00143">143</a> of file <a class="el" href="client_8inc_8php-source.html">client.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="client.inc.php::$search" ref="a8" args="" --><p>
@ -293,13 +293,13 @@ Definition at line <a class="el" href="client_8inc_8php-source.html#l00116">116<
<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 fd_id,fd_label from fiche_def where "</span>.
<span class="stringliteral">" frd_id="</span>.<a class="code" href="constant_8php.html#a63">FICHE_TYPE_CLIENT</a>)
<span class="stringliteral">" frd_id="</span>.<a class="code" href="constant_8php.html#a64">FICHE_TYPE_CLIENT</a>)
</pre></div>
<p>
Definition at line <a class="el" href="client_8inc_8php-source.html#l00117">117</a> of file <a class="el" href="client_8inc_8php-source.html">client.inc.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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -139,7 +139,7 @@
<a name="l00151"></a>00151 {
<a name="l00152"></a>00152 require_once(<span class="stringliteral">"bank.inc.php"</span>);
<a name="l00153"></a>00153 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:32 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -55,7 +55,7 @@ Definition in file <a class="el" href="commercial_8php-source.html">commercial.p
<p>
Definition at line <a class="el" href="commercial_8php-source.html#l00035">35</a> of file <a class="el" href="commercial_8php-source.html">commercial.php</a>.
<p>
Referenced by <a class="el" href="class__user_8php-source.html#l00085">cl_user::Check()</a>, <a class="el" href="class__user_8php-source.html#l00040">cl_user::cl_user()</a>, <a class="el" href="class__fiche_8php-source.html#l00315">fiche::GetByDef()</a>, <a class="el" href="class__user_8php-source.html#l00257">cl_user::GetGlobalPref()</a>, <a class="el" href="user__common_8php-source.html#l00862">jrn_navigation_bar()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="class__action_8php-source.html#l00329">action::myList()</a>, <a class="el" href="postgres_8php-source.html#l00032">ShowDossier()</a>, <a class="el" href="import__inc_8php-source.html#l00090">TransferCSV()</a>, and <a class="el" href="fiche__inc_8php-source.html#l00394">ViewFiche()</a>. </td>
Referenced by <a class="el" href="class__user_8php-source.html#l00085">cl_user::Check()</a>, <a class="el" href="class__user_8php-source.html#l00040">cl_user::cl_user()</a>, <a class="el" href="class__fiche_8php-source.html#l00315">fiche::GetByDef()</a>, <a class="el" href="class__user_8php-source.html#l00257">cl_user::GetGlobalPref()</a>, <a class="el" href="user__common_8php-source.html#l00858">jrn_navigation_bar()</a>, <a class="el" href="user__common_8php-source.html#l00322">ListJrn()</a>, <a class="el" href="class__action_8php-source.html#l00393">action::myList()</a>, <a class="el" href="postgres_8php-source.html#l00032">ShowDossier()</a>, <a class="el" href="import__inc_8php-source.html#l00090">TransferCSV()</a>, and <a class="el" href="fiche__inc_8php-source.html#l00394">ViewFiche()</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="commercial.php::$cn" ref="a4" args="" --><p>
@ -158,7 +158,7 @@ Definition at line <a class="el" href="commercial_8php-source.html#l00041">41</a
Definition at line <a class="el" href="commercial_8php-source.html#l00043">43</a> of file <a class="el" href="commercial_8php-source.html">commercial.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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -95,293 +95,300 @@
<a name="l00091"></a><a class="code" href="constant_8php.html#a42">00091</a> define (<span class="stringliteral">"OPEN"</span>,1);
<a name="l00092"></a><a class="code" href="constant_8php.html#a43">00092</a> define (<span class="stringliteral">"CLOSED"</span>,0);
<a name="l00093"></a><a class="code" href="constant_8php.html#a44">00093</a> define (<span class="stringliteral">"NOTCENTRALIZED"</span>,3);
<a name="l00094"></a>00094
<a name="l00095"></a>00095 <span class="comment">// Pour les ShowMenuComptaLeft</span>
<a name="l00096"></a><a class="code" href="constant_8php.html#a45">00096</a> define (<span class="stringliteral">"MENU_FACT"</span>,1);
<a name="l00097"></a><a class="code" href="constant_8php.html#a46">00097</a> define (<span class="stringliteral">"MENU_FICHE"</span>,2);
<a name="l00098"></a><a class="code" href="constant_8php.html#a47">00098</a> define (<span class="stringliteral">"MENU_PARAM"</span>,3);
<a name="l00099"></a>00099
<a name="l00100"></a>00100 <span class="comment">// for the fiche_inc.GetSqlFiche function</span>
<a name="l00101"></a><a class="code" href="constant_8php.html#a48">00101</a> define (<span class="stringliteral">"ALL_FICHE_DEF_REF"</span>, 1000);
<a name="l00102"></a>00102
<a name="l00103"></a>00103 <span class="comment">// fixed value for attr_def data</span>
<a name="l00104"></a><a class="code" href="constant_8php.html#a49">00104</a> define (<span class="stringliteral">"ATTR_DEF_ACCOUNT"</span>,5);
<a name="l00105"></a><a class="code" href="constant_8php.html#a50">00105</a> define (<span class="stringliteral">"ATTR_DEF_NAME"</span>,1);
<a name="l00106"></a><a class="code" href="constant_8php.html#a51">00106</a> define (<span class="stringliteral">"ATTR_DEF_PRIX_ACHAT"</span>,7);
<a name="l00107"></a><a class="code" href="constant_8php.html#a52">00107</a> define (<span class="stringliteral">"ATTR_DEF_PRIX_VENTE"</span>,6);
<a name="l00108"></a><a class="code" href="constant_8php.html#a53">00108</a> define (<span class="stringliteral">"ATTR_DEF_TVA"</span>,2);
<a name="l00109"></a><a class="code" href="constant_8php.html#a54">00109</a> define (<span class="stringliteral">"ATTR_DEF_NUMTVA"</span>,13);
<a name="l00110"></a><a class="code" href="constant_8php.html#a55">00110</a> define (<span class="stringliteral">"ATTR_DEF_ADRESS"</span>,14);
<a name="l00111"></a><a class="code" href="constant_8php.html#a56">00111</a> define (<span class="stringliteral">"ATTR_DEF_CP"</span>,15);
<a name="l00112"></a><a class="code" href="constant_8php.html#a57">00112</a> define (<span class="stringliteral">"ATTR_DEF_PAYS"</span>,16);
<a name="l00113"></a><a class="code" href="constant_8php.html#a58">00113</a> define (<span class="stringliteral">"ATTR_DEF_STOCK"</span>,19);
<a name="l00114"></a><a class="code" href="constant_8php.html#a59">00114</a> define (<span class="stringliteral">"ATTR_DEF_TEL"</span>,17);
<a name="l00115"></a><a class="code" href="constant_8php.html#a60">00115</a> define (<span class="stringliteral">"ATTR_DEF_EMAIL"</span>,18);
<a name="l00116"></a><a class="code" href="constant_8php.html#a61">00116</a> define (<span class="stringliteral">"ATTR_DEF_COMPANY"</span>,25);
<a name="l00117"></a><a class="code" href="constant_8php.html#a62">00117</a> define (<span class="stringliteral">"ATTR_DEF_FAX"</span>,26);
<a name="l00118"></a>00118
<a name="l00094"></a><a class="code" href="constant_8php.html#a45">00094</a> define (<span class="stringliteral">"ALL"</span>,4);
<a name="l00095"></a>00095
<a name="l00096"></a>00096 <span class="comment">// Pour les ShowMenuComptaLeft</span>
<a name="l00097"></a><a class="code" href="constant_8php.html#a46">00097</a> define (<span class="stringliteral">"MENU_FACT"</span>,1);
<a name="l00098"></a><a class="code" href="constant_8php.html#a47">00098</a> define (<span class="stringliteral">"MENU_FICHE"</span>,2);
<a name="l00099"></a><a class="code" href="constant_8php.html#a48">00099</a> define (<span class="stringliteral">"MENU_PARAM"</span>,3);
<a name="l00100"></a>00100
<a name="l00101"></a>00101 <span class="comment">// for the fiche_inc.GetSqlFiche function</span>
<a name="l00102"></a><a class="code" href="constant_8php.html#a49">00102</a> define (<span class="stringliteral">"ALL_FICHE_DEF_REF"</span>, 1000);
<a name="l00103"></a>00103
<a name="l00104"></a>00104 <span class="comment">// fixed value for attr_def data</span>
<a name="l00105"></a><a class="code" href="constant_8php.html#a50">00105</a> define (<span class="stringliteral">"ATTR_DEF_ACCOUNT"</span>,5);
<a name="l00106"></a><a class="code" href="constant_8php.html#a51">00106</a> define (<span class="stringliteral">"ATTR_DEF_NAME"</span>,1);
<a name="l00107"></a><a class="code" href="constant_8php.html#a52">00107</a> define (<span class="stringliteral">"ATTR_DEF_PRIX_ACHAT"</span>,7);
<a name="l00108"></a><a class="code" href="constant_8php.html#a53">00108</a> define (<span class="stringliteral">"ATTR_DEF_PRIX_VENTE"</span>,6);
<a name="l00109"></a><a class="code" href="constant_8php.html#a54">00109</a> define (<span class="stringliteral">"ATTR_DEF_TVA"</span>,2);
<a name="l00110"></a><a class="code" href="constant_8php.html#a55">00110</a> define (<span class="stringliteral">"ATTR_DEF_NUMTVA"</span>,13);
<a name="l00111"></a><a class="code" href="constant_8php.html#a56">00111</a> define (<span class="stringliteral">"ATTR_DEF_ADRESS"</span>,14);
<a name="l00112"></a><a class="code" href="constant_8php.html#a57">00112</a> define (<span class="stringliteral">"ATTR_DEF_CP"</span>,15);
<a name="l00113"></a><a class="code" href="constant_8php.html#a58">00113</a> define (<span class="stringliteral">"ATTR_DEF_PAYS"</span>,16);
<a name="l00114"></a><a class="code" href="constant_8php.html#a59">00114</a> define (<span class="stringliteral">"ATTR_DEF_STOCK"</span>,19);
<a name="l00115"></a><a class="code" href="constant_8php.html#a60">00115</a> define (<span class="stringliteral">"ATTR_DEF_TEL"</span>,17);
<a name="l00116"></a><a class="code" href="constant_8php.html#a61">00116</a> define (<span class="stringliteral">"ATTR_DEF_EMAIL"</span>,18);
<a name="l00117"></a><a class="code" href="constant_8php.html#a62">00117</a> define (<span class="stringliteral">"ATTR_DEF_COMPANY"</span>,25);
<a name="l00118"></a><a class="code" href="constant_8php.html#a63">00118</a> define (<span class="stringliteral">"ATTR_DEF_FAX"</span>,26);
<a name="l00119"></a>00119
<a name="l00120"></a><a class="code" href="constant_8php.html#a63">00120</a> define (<span class="stringliteral">"FICHE_TYPE_CLIENT"</span>,9);
<a name="l00121"></a><a class="code" href="constant_8php.html#a64">00121</a> define (<span class="stringliteral">"FICHE_TYPE_VENTE"</span>,1);
<a name="l00122"></a><a class="code" href="constant_8php.html#a65">00122</a> define (<span class="stringliteral">"FICHE_TYPE_FOURNISSEUR"</span>,8);
<a name="l00123"></a><a class="code" href="constant_8php.html#a66">00123</a> define (<span class="stringliteral">"FICHE_TYPE_FIN"</span>,4);
<a name="l00124"></a><a class="code" href="constant_8php.html#a67">00124</a> define (<span class="stringliteral">"FICHE_TYPE_CONTACT"</span>,16);
<a name="l00125"></a><a class="code" href="constant_8php.html#a68">00125</a> define (<span class="stringliteral">"FICHE_TYPE_ADM_TAX"</span>,14);
<a name="l00126"></a><a class="code" href="constant_8php.html#a69">00126</a> define (<span class="stringliteral">"ATTR_DEF_DEPENSE_NON_DEDUCTIBLE"</span>,20);
<a name="l00127"></a><a class="code" href="constant_8php.html#a70">00127</a> define (<span class="stringliteral">"ATTR_DEF_TVA_NON_DEDUCTIBLE"</span>,21);
<a name="l00128"></a><a class="code" href="constant_8php.html#a71">00128</a> define (<span class="stringliteral">"ATTR_DEF_TVA_NON_DEDUCTIBLE_RECUP"</span>,22);
<a name="l00129"></a><a class="code" href="constant_8php.html#a72">00129</a> define (<span class="stringliteral">"ATTR_DEF_QUICKCODE"</span>,23);
<a name="l00130"></a><a class="code" href="constant_8php.html#a73">00130</a> define (<span class="stringliteral">"JS_SEARCH_POSTE"</span>,<span class="stringliteral">"&lt;SCRIPT language=\"javascript\"&gt;function SearchPoste(p_sessid,p_ctl,p_jrn)</span>
<a name="l00131"></a>00131 <span class="stringliteral"> {</span>
<a name="l00132"></a>00132 <span class="stringliteral"> var win=window.open('poste_search.php?p_jrn='+p_jrn+'&amp;p_ctl='+p_ctl+'&amp;PHPSESSID='+p_sessid,'Cherche','toolbar=no,width=600,height=600,scrollbars=yes,resizable=yes');</span>
<a name="l00133"></a>00133 <span class="stringliteral"> } </span>
<a name="l00134"></a>00134 <span class="stringliteral">function SearchPosteFilter(p_sessid,p_ctl,p_filter,jrn)</span>
<a name="l00135"></a>00135 <span class="stringliteral"> {</span>
<a name="l00136"></a>00136 <span class="stringliteral"> var win=window.open('poste_search.php?p_jrn='+jrn+'&amp;p_ctl='+p_ctl+'&amp;PHPSESSID='+p_sessid+'&amp;filter='+p_filter,'Cherche','toolbar=no,width=600,height=600,scrollbars=yes,resizable=yes');</span>
<a name="l00137"></a>00137 <span class="stringliteral"> } </span>
<a name="l00138"></a>00138 <span class="stringliteral"> function GetIt() {</span>
<a name="l00139"></a>00139 <span class="stringliteral"> window.close(); </span>
<a name="l00140"></a>00140 <span class="stringliteral"> } </span>
<a name="l00141"></a>00141 <span class="stringliteral">function SetItChild(p_ctl,p_value) {</span>
<a name="l00142"></a>00142 <span class="stringliteral"> self.opener.SetItParent(p_ctl,p_value);</span>
<a name="l00143"></a>00143 <span class="stringliteral"> window.close();</span>
<a name="l00144"></a>00144 <span class="stringliteral">}</span>
<a name="l00145"></a>00145 <span class="stringliteral">function SetItParent(p_ctl,p_value) {</span>
<a name="l00146"></a>00146 <span class="stringliteral"></span>
<a name="l00147"></a>00147 <span class="stringliteral"> var f=document.getElementsByName(p_ctl);</span>
<a name="l00148"></a>00148 <span class="stringliteral"> for (var h=0; h &lt; f.length; h++) {</span>
<a name="l00149"></a>00149 <span class="stringliteral"> f[h].value=p_value;</span>
<a name="l00150"></a>00150 <span class="stringliteral"> }</span>
<a name="l00151"></a>00151 <span class="stringliteral"> </span>
<a name="l00152"></a>00152 <span class="stringliteral">}</span>
<a name="l00153"></a>00153 <span class="stringliteral">/* SetValue( p_ctl,p_value )</span>
<a name="l00154"></a>00154 <span class="stringliteral">/* p_ctl is the name of the control</span>
<a name="l00155"></a>00155 <span class="stringliteral">/* p_value is the value to set in</span>
<a name="l00156"></a>00156 <span class="stringliteral">*/</span>
<a name="l00157"></a>00157 <span class="stringliteral">function SetValue(p_ctl,p_value) </span>
<a name="l00158"></a>00158 <span class="stringliteral">{</span>
<a name="l00159"></a>00159 <span class="stringliteral"></span>
<a name="l00160"></a>00160 <span class="stringliteral"> var f=document.getElementsByName(p_ctl);</span>
<a name="l00161"></a>00161 <span class="stringliteral"> for (var h=0; h &lt; f.length; h++) {</span>
<a name="l00162"></a>00162 <span class="stringliteral"> f[h].value=p_value;</span>
<a name="l00163"></a>00163 <span class="stringliteral"> }</span>
<a name="l00164"></a>00164 <span class="stringliteral"> </span>
<a name="l00165"></a>00165 <span class="stringliteral"></span>
<a name="l00166"></a>00166 <span class="stringliteral">}</span>
<a name="l00167"></a>00167 <span class="stringliteral"> &lt;/SCRIPT&gt;"</span>
<a name="l00168"></a>00168 );
<a name="l00169"></a><a class="code" href="constant_8php.html#a74">00169</a> define (<span class="stringliteral">"JS_SHOW_TVA"</span>,<span class="stringliteral">"&lt;SCRIPT language=\"javascript\"&gt;</span>
<a name="l00170"></a>00170 <span class="stringliteral">function ShowTva(p_sessid,ctl)</span>
<a name="l00171"></a>00171 <span class="stringliteral"> {</span>
<a name="l00172"></a>00172 <span class="stringliteral"> var win=window.open('show_tva.php?ctl='+ctl+'&amp;PHPSESSID='+p_sessid,'Montre','scrollbar,toolbar=no,width=300,height=300,resizable=yes');</span>
<a name="l00173"></a>00173 <span class="stringliteral"> } </span>
<a name="l00174"></a>00174 <span class="stringliteral"> function GetIt(ctl,tva_id) {</span>
<a name="l00175"></a>00175 <span class="stringliteral"> self.opener.SetValue(ctl,tva_id)</span>
<a name="l00176"></a>00176 <span class="stringliteral"> window.close(); </span>
<a name="l00177"></a>00177 <span class="stringliteral">} </span>
<a name="l00178"></a>00178 <span class="stringliteral"></span>
<a name="l00179"></a>00179 <span class="stringliteral"> &lt;/SCRIPT&gt;"</span>
<a name="l00180"></a>00180 );
<a name="l00181"></a>00181
<a name="l00182"></a><a class="code" href="constant_8php.html#a75">00182</a> define (<span class="stringliteral">"JS_VIEW_JRN_DETAIL"</span>,<span class="stringliteral">"&lt;script language=\"javascript\"&gt;function viewDetail(p_value,p_sessid)</span>
<a name="l00183"></a>00183 <span class="stringliteral"> {</span>
<a name="l00184"></a>00184 <span class="stringliteral"> var win=window.open('jrn_op_detail.php?jrn_op='+p_value+'&amp;PHPSESSID='+p_sessid,'Cherche','toolbar=no,width=400,height=400,scrollbars=yes,resizable=yes');</span>
<a name="l00185"></a>00185 <span class="stringliteral"> }</span>
<a name="l00186"></a>00186 <span class="stringliteral"></span>
<a name="l00187"></a>00187 <span class="stringliteral"> &lt;/script&gt;"</span>);
<a name="l00188"></a><a class="code" href="constant_8php.html#a76">00188</a> define (<span class="stringliteral">"JS_VIEW_JRN_CANCEL"</span>,<span class="stringliteral">"&lt;script language=\"javascript\" &gt;function cancelOperation(p_value,p_sessid,p_jrn)</span>
<a name="l00189"></a>00189 <span class="stringliteral"> {</span>
<a name="l00190"></a>00190 <span class="stringliteral"> var win=window.open('annulation.php?p_jrn='+p_jrn+'&amp;jrn_op='+p_value+'&amp;PHPSESSID='+p_sessid,'Annule','toolbar=no,width=400,height=400,scrollbars=yes,resizable=yes');</span>
<a name="l00191"></a>00191 <span class="stringliteral"> }</span>
<a name="l00192"></a>00192 <span class="stringliteral">function RefreshMe() {</span>
<a name="l00193"></a>00193 <span class="stringliteral">window.location.reload();</span>
<a name="l00194"></a>00194 <span class="stringliteral">}</span>
<a name="l00195"></a>00195 <span class="stringliteral"> &lt;/script&gt;"</span>);
<a name="l00196"></a><a class="code" href="constant_8php.html#a77">00196</a> define (<span class="stringliteral">"JS_VIEW_JRN_MODIFY"</span>,<span class="stringliteral">"&lt;script language=\"javascript\"&gt;function modifyOperation(p_value,p_sessid,p_jrn)</span>
<a name="l00197"></a>00197 <span class="stringliteral"> {</span>
<a name="l00198"></a>00198 <span class="stringliteral"> var win=window.open('modify_op.php?action=update&amp;p_jrn='+p_jrn+'&amp;line='+p_value+'&amp;PHPSESSID='+p_sessid,'Modifie','toolbar=no,width=500,height=400,scrollbars=yes,resizable=yes');</span>
<a name="l00199"></a>00199 <span class="stringliteral"> }</span>
<a name="l00200"></a>00200 <span class="stringliteral">function RefreshMe() {</span>
<a name="l00201"></a>00201 <span class="stringliteral">window.location.reload();</span>
<a name="l00202"></a>00202 <span class="stringliteral">}</span>
<a name="l00203"></a>00203 <span class="stringliteral"> function dropLink(p_value,p_value2,p_sessid) {</span>
<a name="l00204"></a>00204 <span class="stringliteral"> var win=window.open('modify_op.php?action=delete&amp;line='+p_value+'&amp;line2='+p_value2+'&amp;PHPSESSID='+p_sessid,'Liaison','toolbar=no,width=500,height=400,scrollbars=yes,resizable=yes');</span>
<a name="l00205"></a>00205 <span class="stringliteral"> }</span>
<a name="l00206"></a>00206 <span class="stringliteral"></span>
<a name="l00207"></a>00207 <span class="stringliteral"> </span>
<a name="l00208"></a>00208 <span class="stringliteral"> &lt;/script&gt;"</span>);
<a name="l00209"></a><a class="code" href="constant_8php.html#a78">00209</a> define (<span class="stringliteral">"JS_UPDATE_PCMN"</span>,<span class="stringliteral">"&lt;script language=\"javascript\"&gt;function PcmnUpdate(p_value,p_lib,p_parent,p_sessid)</span>
<a name="l00210"></a>00210 <span class="stringliteral"> {</span>
<a name="l00211"></a>00211 <span class="stringliteral"> var win=window.open('line_update.php?l='+p_value+'&amp;n='+p_lib+'&amp;p='+p_parent+'&amp;PHPSESSID='+p_sessid,'Modifie','toolbar=no,width=500,height=400,scrollbars=yes,resizable=yes');</span>
<a name="l00212"></a>00212 <span class="stringliteral"> }</span>
<a name="l00213"></a>00213 <span class="stringliteral">function RefreshMe() {</span>
<a name="l00214"></a>00214 <span class="stringliteral"> window.location.reload();</span>
<a name="l00215"></a>00215 <span class="stringliteral"> }</span>
<a name="l00216"></a>00216 <span class="stringliteral"> </span>
<a name="l00120"></a>00120
<a name="l00121"></a><a class="code" href="constant_8php.html#a64">00121</a> define (<span class="stringliteral">"FICHE_TYPE_CLIENT"</span>,9);
<a name="l00122"></a><a class="code" href="constant_8php.html#a65">00122</a> define (<span class="stringliteral">"FICHE_TYPE_VENTE"</span>,1);
<a name="l00123"></a><a class="code" href="constant_8php.html#a66">00123</a> define (<span class="stringliteral">"FICHE_TYPE_FOURNISSEUR"</span>,8);
<a name="l00124"></a><a class="code" href="constant_8php.html#a67">00124</a> define (<span class="stringliteral">"FICHE_TYPE_FIN"</span>,4);
<a name="l00125"></a><a class="code" href="constant_8php.html#a68">00125</a> define (<span class="stringliteral">"FICHE_TYPE_CONTACT"</span>,16);
<a name="l00126"></a><a class="code" href="constant_8php.html#a69">00126</a> define (<span class="stringliteral">"FICHE_TYPE_ADM_TAX"</span>,14);
<a name="l00127"></a><a class="code" href="constant_8php.html#a70">00127</a> define (<span class="stringliteral">"ATTR_DEF_DEPENSE_NON_DEDUCTIBLE"</span>,20);
<a name="l00128"></a><a class="code" href="constant_8php.html#a71">00128</a> define (<span class="stringliteral">"ATTR_DEF_TVA_NON_DEDUCTIBLE"</span>,21);
<a name="l00129"></a><a class="code" href="constant_8php.html#a72">00129</a> define (<span class="stringliteral">"ATTR_DEF_TVA_NON_DEDUCTIBLE_RECUP"</span>,22);
<a name="l00130"></a><a class="code" href="constant_8php.html#a73">00130</a> define (<span class="stringliteral">"ATTR_DEF_QUICKCODE"</span>,23);
<a name="l00131"></a><a class="code" href="constant_8php.html#a74">00131</a> define (<span class="stringliteral">"JS_SEARCH_POSTE"</span>,<span class="stringliteral">"&lt;SCRIPT language=\"javascript\"&gt;function SearchPoste(p_sessid,p_ctl,p_jrn)</span>
<a name="l00132"></a>00132 <span class="stringliteral"> {</span>
<a name="l00133"></a>00133 <span class="stringliteral"> var win=window.open('poste_search.php?p_jrn='+p_jrn+'&amp;p_ctl='+p_ctl+'&amp;PHPSESSID='+p_sessid,'Cherche','toolbar=no,width=600,height=600,scrollbars=yes,resizable=yes');</span>
<a name="l00134"></a>00134 <span class="stringliteral"> } </span>
<a name="l00135"></a>00135 <span class="stringliteral">function SearchPosteFilter(p_sessid,p_ctl,p_filter,jrn)</span>
<a name="l00136"></a>00136 <span class="stringliteral"> {</span>
<a name="l00137"></a>00137 <span class="stringliteral"> var win=window.open('poste_search.php?p_jrn='+jrn+'&amp;p_ctl='+p_ctl+'&amp;PHPSESSID='+p_sessid+'&amp;filter='+p_filter,'Cherche','toolbar=no,width=600,height=600,scrollbars=yes,resizable=yes');</span>
<a name="l00138"></a>00138 <span class="stringliteral"> } </span>
<a name="l00139"></a>00139 <span class="stringliteral"> function GetIt() {</span>
<a name="l00140"></a>00140 <span class="stringliteral"> window.close(); </span>
<a name="l00141"></a>00141 <span class="stringliteral"> } </span>
<a name="l00142"></a>00142 <span class="stringliteral">function SetItChild(p_ctl,p_value) {</span>
<a name="l00143"></a>00143 <span class="stringliteral"> self.opener.SetItParent(p_ctl,p_value);</span>
<a name="l00144"></a>00144 <span class="stringliteral"> window.close();</span>
<a name="l00145"></a>00145 <span class="stringliteral">}</span>
<a name="l00146"></a>00146 <span class="stringliteral">function SetItParent(p_ctl,p_value) {</span>
<a name="l00147"></a>00147 <span class="stringliteral"></span>
<a name="l00148"></a>00148 <span class="stringliteral"> var f=document.getElementsByName(p_ctl);</span>
<a name="l00149"></a>00149 <span class="stringliteral"> for (var h=0; h &lt; f.length; h++) {</span>
<a name="l00150"></a>00150 <span class="stringliteral"> f[h].value=p_value;</span>
<a name="l00151"></a>00151 <span class="stringliteral"> }</span>
<a name="l00152"></a>00152 <span class="stringliteral"> </span>
<a name="l00153"></a>00153 <span class="stringliteral">}</span>
<a name="l00154"></a>00154 <span class="stringliteral">/* SetValue( p_ctl,p_value )</span>
<a name="l00155"></a>00155 <span class="stringliteral">/* p_ctl is the name of the control</span>
<a name="l00156"></a>00156 <span class="stringliteral">/* p_value is the value to set in</span>
<a name="l00157"></a>00157 <span class="stringliteral">*/</span>
<a name="l00158"></a>00158 <span class="stringliteral">function SetValue(p_ctl,p_value) </span>
<a name="l00159"></a>00159 <span class="stringliteral">{</span>
<a name="l00160"></a>00160 <span class="stringliteral"></span>
<a name="l00161"></a>00161 <span class="stringliteral"> var f=document.getElementsByName(p_ctl);</span>
<a name="l00162"></a>00162 <span class="stringliteral"> for (var h=0; h &lt; f.length; h++) {</span>
<a name="l00163"></a>00163 <span class="stringliteral"> f[h].value=p_value;</span>
<a name="l00164"></a>00164 <span class="stringliteral"> }</span>
<a name="l00165"></a>00165 <span class="stringliteral"> </span>
<a name="l00166"></a>00166 <span class="stringliteral"></span>
<a name="l00167"></a>00167 <span class="stringliteral">}</span>
<a name="l00168"></a>00168 <span class="stringliteral"> &lt;/SCRIPT&gt;"</span>
<a name="l00169"></a>00169 );
<a name="l00170"></a><a class="code" href="constant_8php.html#a75">00170</a> define (<span class="stringliteral">"JS_SHOW_TVA"</span>,<span class="stringliteral">"&lt;SCRIPT language=\"javascript\"&gt;</span>
<a name="l00171"></a>00171 <span class="stringliteral">function ShowTva(p_sessid,ctl)</span>
<a name="l00172"></a>00172 <span class="stringliteral"> {</span>
<a name="l00173"></a>00173 <span class="stringliteral"> var win=window.open('show_tva.php?ctl='+ctl+'&amp;PHPSESSID='+p_sessid,'Montre','scrollbar,toolbar=no,width=300,height=300,resizable=yes');</span>
<a name="l00174"></a>00174 <span class="stringliteral"> } </span>
<a name="l00175"></a>00175 <span class="stringliteral"> function GetIt(ctl,tva_id) {</span>
<a name="l00176"></a>00176 <span class="stringliteral"> self.opener.SetValue(ctl,tva_id)</span>
<a name="l00177"></a>00177 <span class="stringliteral"> window.close(); </span>
<a name="l00178"></a>00178 <span class="stringliteral">} </span>
<a name="l00179"></a>00179 <span class="stringliteral"></span>
<a name="l00180"></a>00180 <span class="stringliteral"> &lt;/SCRIPT&gt;"</span>
<a name="l00181"></a>00181 );
<a name="l00182"></a>00182
<a name="l00183"></a><a class="code" href="constant_8php.html#a76">00183</a> define (<span class="stringliteral">"JS_VIEW_JRN_DETAIL"</span>,<span class="stringliteral">"&lt;script language=\"javascript\"&gt;function viewDetail(p_value,p_sessid)</span>
<a name="l00184"></a>00184 <span class="stringliteral"> {</span>
<a name="l00185"></a>00185 <span class="stringliteral"> var win=window.open('jrn_op_detail.php?jrn_op='+p_value+'&amp;PHPSESSID='+p_sessid,'Cherche','toolbar=no,width=400,height=400,scrollbars=yes,resizable=yes');</span>
<a name="l00186"></a>00186 <span class="stringliteral"> }</span>
<a name="l00187"></a>00187 <span class="stringliteral"></span>
<a name="l00188"></a>00188 <span class="stringliteral"> &lt;/script&gt;"</span>);
<a name="l00189"></a><a class="code" href="constant_8php.html#a77">00189</a> define (<span class="stringliteral">"JS_VIEW_JRN_CANCEL"</span>,<span class="stringliteral">"&lt;script language=\"javascript\" &gt;function cancelOperation(p_value,p_sessid,p_jrn)</span>
<a name="l00190"></a>00190 <span class="stringliteral"> {</span>
<a name="l00191"></a>00191 <span class="stringliteral"> var win=window.open('annulation.php?p_jrn='+p_jrn+'&amp;jrn_op='+p_value+'&amp;PHPSESSID='+p_sessid,'Annule','toolbar=no,width=400,height=400,scrollbars=yes,resizable=yes');</span>
<a name="l00192"></a>00192 <span class="stringliteral"> }</span>
<a name="l00193"></a>00193 <span class="stringliteral">function RefreshMe() {</span>
<a name="l00194"></a>00194 <span class="stringliteral">window.location.reload();</span>
<a name="l00195"></a>00195 <span class="stringliteral">}</span>
<a name="l00196"></a>00196 <span class="stringliteral"> &lt;/script&gt;"</span>);
<a name="l00197"></a><a class="code" href="constant_8php.html#a78">00197</a> define (<span class="stringliteral">"JS_VIEW_JRN_MODIFY"</span>,<span class="stringliteral">"&lt;script language=\"javascript\"&gt;function modifyOperation(p_value,p_sessid,p_jrn)</span>
<a name="l00198"></a>00198 <span class="stringliteral"> {</span>
<a name="l00199"></a>00199 <span class="stringliteral"> var win=window.open('modify_op.php?action=update&amp;p_jrn='+p_jrn+'&amp;line='+p_value+'&amp;PHPSESSID='+p_sessid,'Modifie','toolbar=no,width=500,height=400,scrollbars=yes,resizable=yes');</span>
<a name="l00200"></a>00200 <span class="stringliteral"> }</span>
<a name="l00201"></a>00201 <span class="stringliteral">function RefreshMe() {</span>
<a name="l00202"></a>00202 <span class="stringliteral">window.location.reload();</span>
<a name="l00203"></a>00203 <span class="stringliteral">}</span>
<a name="l00204"></a>00204 <span class="stringliteral"> function dropLink(p_value,p_value2,p_sessid) {</span>
<a name="l00205"></a>00205 <span class="stringliteral"> var win=window.open('modify_op.php?action=delete&amp;line='+p_value+'&amp;line2='+p_value2+'&amp;PHPSESSID='+p_sessid,'Liaison','toolbar=no,width=500,height=400,scrollbars=yes,resizable=yes');</span>
<a name="l00206"></a>00206 <span class="stringliteral"> }</span>
<a name="l00207"></a>00207 <span class="stringliteral"></span>
<a name="l00208"></a>00208 <span class="stringliteral"> </span>
<a name="l00209"></a>00209 <span class="stringliteral"> &lt;/script&gt;"</span>);
<a name="l00210"></a><a class="code" href="constant_8php.html#a79">00210</a> define (<span class="stringliteral">"JS_UPDATE_PCMN"</span>,<span class="stringliteral">"&lt;script language=\"javascript\"&gt;function PcmnUpdate(p_value,p_lib,p_parent,p_sessid)</span>
<a name="l00211"></a>00211 <span class="stringliteral"> {</span>
<a name="l00212"></a>00212 <span class="stringliteral"> var win=window.open('line_update.php?l='+p_value+'&amp;n='+p_lib+'&amp;p='+p_parent+'&amp;PHPSESSID='+p_sessid,'Modifie','toolbar=no,width=500,height=400,scrollbars=yes,resizable=yes');</span>
<a name="l00213"></a>00213 <span class="stringliteral"> }</span>
<a name="l00214"></a>00214 <span class="stringliteral">function RefreshMe() {</span>
<a name="l00215"></a>00215 <span class="stringliteral"> window.location.reload();</span>
<a name="l00216"></a>00216 <span class="stringliteral"> }</span>
<a name="l00217"></a>00217 <span class="stringliteral"> </span>
<a name="l00218"></a>00218 <span class="stringliteral"> &lt;/script&gt;"</span>);
<a name="l00219"></a>00219
<a name="l00220"></a><a class="code" href="constant_8php.html#a79">00220</a> define (<span class="stringliteral">"JS_SEARCH_CARD"</span>,<span class="stringliteral">"</span>
<a name="l00221"></a>00221 <span class="stringliteral">&lt;script language=\"javascript\"&gt;</span>
<a name="l00222"></a>00222 <span class="stringliteral">/* type must be cred or deb and name is</span>
<a name="l00223"></a>00223 <span class="stringliteral"> * the control's name</span>
<a name="l00224"></a>00224 <span class="stringliteral">*/</span>
<a name="l00225"></a>00225 <span class="stringliteral">function SearchCard(p_sessid,type,name,jrn)</span>
<a name="l00226"></a>00226 <span class="stringliteral">{</span>
<a name="l00227"></a>00227 <span class="stringliteral"> var a=window.open('fiche_search.php?p_jrn='+jrn+'&amp;PHPSESSID='+p_sessid+'&amp;type='+type+'&amp;name='+name,'item','toolbar=no,width=350,height=450,scrollbars=yes');</span>
<a name="l00228"></a>00228 <span class="stringliteral">}</span>
<a name="l00229"></a>00229 <span class="stringliteral"> function NewCard(p_sessid,type,name,jrn)</span>
<a name="l00230"></a>00230 <span class="stringliteral">{</span>
<a name="l00231"></a>00231 <span class="stringliteral"> var a=window.open('fiche_new.php?p_jrn='+jrn+'&amp;PHPSESSID='+p_sessid+'&amp;type='+type+'&amp;name='+name,'item','toolbar=no,width=350,height=450,scrollbars=yes');</span>
<a name="l00232"></a>00232 <span class="stringliteral">}</span>
<a name="l00233"></a>00233 <span class="stringliteral">/* SetValue( p_ctl,p_value )</span>
<a name="l00234"></a>00234 <span class="stringliteral">/* p_ctl is the name of the control</span>
<a name="l00235"></a>00235 <span class="stringliteral">/* p_value is the value to set in</span>
<a name="l00236"></a>00236 <span class="stringliteral">*/</span>
<a name="l00237"></a>00237 <span class="stringliteral">function SetValue(p_ctl,p_value) </span>
<a name="l00238"></a>00238 <span class="stringliteral">{</span>
<a name="l00239"></a>00239 <span class="stringliteral"></span>
<a name="l00240"></a>00240 <span class="stringliteral"> var f=document.getElementsByName(p_ctl);</span>
<a name="l00241"></a>00241 <span class="stringliteral"> for (var h=0; h &lt; f.length; h++) {</span>
<a name="l00242"></a>00242 <span class="stringliteral"> f[h].value=p_value;</span>
<a name="l00243"></a>00243 <span class="stringliteral"> }</span>
<a name="l00244"></a>00244 <span class="stringliteral"> </span>
<a name="l00245"></a>00245 <span class="stringliteral"></span>
<a name="l00246"></a>00246 <span class="stringliteral">}</span>
<a name="l00247"></a>00247 <span class="stringliteral">/* Parameters </span>
<a name="l00248"></a>00248 <span class="stringliteral"> * i = ctl _name</span>
<a name="l00249"></a>00249 <span class="stringliteral"> * p_id = code id (fiche.f_id)</span>
<a name="l00250"></a>00250 <span class="stringliteral"> *¨p_label = label</span>
<a name="l00251"></a>00251 <span class="stringliteral"> * p_sell vw_fiche_attr.vw_sell</span>
<a name="l00252"></a>00252 <span class="stringliteral"> * p_buy vw_fiche_attr.vw_buy</span>
<a name="l00253"></a>00253 <span class="stringliteral"> * p_tva_id vw_fiche_attr.tva_id</span>
<a name="l00254"></a>00254 <span class="stringliteral"> * p_tva_label vw_fiche_attr.tva_label</span>
<a name="l00255"></a>00255 <span class="stringliteral"> */</span>
<a name="l00256"></a>00256 <span class="stringliteral"> function SetData(i,p_id,p_label,p_sell,p_buy,p_tva_id, p_tva_label)</span>
<a name="l00257"></a>00257 <span class="stringliteral">{</span>
<a name="l00258"></a>00258 <span class="stringliteral"> SetValue(i,p_id);</span>
<a name="l00259"></a>00259 <span class="stringliteral"> // for the form we use 1. and for span 2. </span>
<a name="l00260"></a>00260 <span class="stringliteral"> //1. document.form_detail.eval(a).value=p_buy;</span>
<a name="l00261"></a>00261 <span class="stringliteral"> //2. document.getElementById(a).innerHTML=p_sell;</span>
<a name="l00262"></a>00262 <span class="stringliteral"></span>
<a name="l00263"></a>00263 <span class="stringliteral"> // Compute name of label ctl</span>
<a name="l00264"></a>00264 <span class="stringliteral"> var a=i+'_label';</span>
<a name="l00265"></a>00265 <span class="stringliteral"> document.getElementById(a).innerHTML=p_label;</span>
<a name="l00266"></a>00266 <span class="stringliteral"> </span>
<a name="l00267"></a>00267 <span class="stringliteral"> // Compute name of sell ctl </span>
<a name="l00268"></a>00268 <span class="stringliteral"> var a=i+'_sell';</span>
<a name="l00269"></a>00269 <span class="stringliteral"> // if the object exist</span>
<a name="l00270"></a>00270 <span class="stringliteral"> var e=document.getElementsByName(a) </span>
<a name="l00271"></a>00271 <span class="stringliteral"> if ( e.length != 0 ) {</span>
<a name="l00272"></a>00272 <span class="stringliteral"> SetValue(a,p_sell);</span>
<a name="l00273"></a>00273 <span class="stringliteral"></span>
<a name="l00274"></a>00274 <span class="stringliteral"> }</span>
<a name="l00275"></a>00275 <span class="stringliteral"></span>
<a name="l00276"></a>00276 <span class="stringliteral"> // Compute name of buy ctl </span>
<a name="l00277"></a>00277 <span class="stringliteral"> var a=i+'_buy';</span>
<a name="l00278"></a>00278 <span class="stringliteral"> // if the object exist</span>
<a name="l00279"></a>00279 <span class="stringliteral"> var e=document.getElementsByName(a) </span>
<a name="l00280"></a>00280 <span class="stringliteral"> if ( e.length != 0 ) {</span>
<a name="l00281"></a>00281 <span class="stringliteral"> SetValue(a,p_buy);</span>
<a name="l00282"></a>00282 <span class="stringliteral"> }</span>
<a name="l00283"></a>00283 <span class="stringliteral"> // Compute name of tva_id ctl </span>
<a name="l00284"></a>00284 <span class="stringliteral"> var a=i+'_tva_id';</span>
<a name="l00218"></a>00218 <span class="stringliteral"> </span>
<a name="l00219"></a>00219 <span class="stringliteral"> &lt;/script&gt;"</span>);
<a name="l00220"></a>00220
<a name="l00221"></a><a class="code" href="constant_8php.html#a80">00221</a> define (<span class="stringliteral">"JS_SEARCH_CARD"</span>,<span class="stringliteral">"</span>
<a name="l00222"></a>00222 <span class="stringliteral">&lt;script language=\"javascript\"&gt;</span>
<a name="l00223"></a>00223 <span class="stringliteral">function showfiche(p_sessid,qcode)</span>
<a name="l00224"></a>00224 <span class="stringliteral">{</span>
<a name="l00225"></a>00225 <span class="stringliteral"> var a=window.open('show_fiche.php?PHPSESSID='+p_sessid+'&amp;q='+qcode,'','toolbar=no,width=350,height=450,scrollbar=yes');</span>
<a name="l00226"></a>00226 <span class="stringliteral"> </span>
<a name="l00227"></a>00227 <span class="stringliteral">}</span>
<a name="l00228"></a>00228 <span class="stringliteral"></span>
<a name="l00229"></a>00229 <span class="stringliteral">/* type must be cred or deb and name is</span>
<a name="l00230"></a>00230 <span class="stringliteral"> * the control's name</span>
<a name="l00231"></a>00231 <span class="stringliteral">*/</span>
<a name="l00232"></a>00232 <span class="stringliteral">function SearchCard(p_sessid,type,name,jrn)</span>
<a name="l00233"></a>00233 <span class="stringliteral">{</span>
<a name="l00234"></a>00234 <span class="stringliteral"> var a=window.open('fiche_search.php?p_jrn='+jrn+'&amp;PHPSESSID='+p_sessid+'&amp;type='+type+'&amp;name='+name,'item','toolbar=no,width=350,height=450,scrollbars=yes');</span>
<a name="l00235"></a>00235 <span class="stringliteral">}</span>
<a name="l00236"></a>00236 <span class="stringliteral"> function NewCard(p_sessid,type,name,jrn)</span>
<a name="l00237"></a>00237 <span class="stringliteral">{</span>
<a name="l00238"></a>00238 <span class="stringliteral"> var a=window.open('fiche_new.php?p_jrn='+jrn+'&amp;PHPSESSID='+p_sessid+'&amp;type='+type+'&amp;name='+name,'item','toolbar=no,width=350,height=450,scrollbars=yes');</span>
<a name="l00239"></a>00239 <span class="stringliteral">}</span>
<a name="l00240"></a>00240 <span class="stringliteral">/* SetValue( p_ctl,p_value )</span>
<a name="l00241"></a>00241 <span class="stringliteral">/* p_ctl is the name of the control</span>
<a name="l00242"></a>00242 <span class="stringliteral">/* p_value is the value to set in</span>
<a name="l00243"></a>00243 <span class="stringliteral">*/</span>
<a name="l00244"></a>00244 <span class="stringliteral">function SetValue(p_ctl,p_value) </span>
<a name="l00245"></a>00245 <span class="stringliteral">{</span>
<a name="l00246"></a>00246 <span class="stringliteral"></span>
<a name="l00247"></a>00247 <span class="stringliteral"> var f=document.getElementsByName(p_ctl);</span>
<a name="l00248"></a>00248 <span class="stringliteral"> for (var h=0; h &lt; f.length; h++) {</span>
<a name="l00249"></a>00249 <span class="stringliteral"> f[h].value=p_value;</span>
<a name="l00250"></a>00250 <span class="stringliteral"> }</span>
<a name="l00251"></a>00251 <span class="stringliteral"> </span>
<a name="l00252"></a>00252 <span class="stringliteral"></span>
<a name="l00253"></a>00253 <span class="stringliteral">}</span>
<a name="l00254"></a>00254 <span class="stringliteral">/* Parameters </span>
<a name="l00255"></a>00255 <span class="stringliteral"> * i = ctl _name</span>
<a name="l00256"></a>00256 <span class="stringliteral"> * p_id = code id (fiche.f_id)</span>
<a name="l00257"></a>00257 <span class="stringliteral"> *¨p_label = label</span>
<a name="l00258"></a>00258 <span class="stringliteral"> * p_sell vw_fiche_attr.vw_sell</span>
<a name="l00259"></a>00259 <span class="stringliteral"> * p_buy vw_fiche_attr.vw_buy</span>
<a name="l00260"></a>00260 <span class="stringliteral"> * p_tva_id vw_fiche_attr.tva_id</span>
<a name="l00261"></a>00261 <span class="stringliteral"> * p_tva_label vw_fiche_attr.tva_label</span>
<a name="l00262"></a>00262 <span class="stringliteral"> */</span>
<a name="l00263"></a>00263 <span class="stringliteral"> function SetData(i,p_id,p_label,p_sell,p_buy,p_tva_id, p_tva_label)</span>
<a name="l00264"></a>00264 <span class="stringliteral">{</span>
<a name="l00265"></a>00265 <span class="stringliteral"> SetValue(i,p_id);</span>
<a name="l00266"></a>00266 <span class="stringliteral"> // for the form we use 1. and for span 2. </span>
<a name="l00267"></a>00267 <span class="stringliteral"> //1. document.form_detail.eval(a).value=p_buy;</span>
<a name="l00268"></a>00268 <span class="stringliteral"> //2. document.getElementById(a).innerHTML=p_sell;</span>
<a name="l00269"></a>00269 <span class="stringliteral"></span>
<a name="l00270"></a>00270 <span class="stringliteral"> // Compute name of label ctl</span>
<a name="l00271"></a>00271 <span class="stringliteral"> var a=i+'_label';</span>
<a name="l00272"></a>00272 <span class="stringliteral"> document.getElementById(a).innerHTML=p_label;</span>
<a name="l00273"></a>00273 <span class="stringliteral"> </span>
<a name="l00274"></a>00274 <span class="stringliteral"> // Compute name of sell ctl </span>
<a name="l00275"></a>00275 <span class="stringliteral"> var a=i+'_sell';</span>
<a name="l00276"></a>00276 <span class="stringliteral"> // if the object exist</span>
<a name="l00277"></a>00277 <span class="stringliteral"> var e=document.getElementsByName(a) </span>
<a name="l00278"></a>00278 <span class="stringliteral"> if ( e.length != 0 ) {</span>
<a name="l00279"></a>00279 <span class="stringliteral"> SetValue(a,p_sell);</span>
<a name="l00280"></a>00280 <span class="stringliteral"></span>
<a name="l00281"></a>00281 <span class="stringliteral"> }</span>
<a name="l00282"></a>00282 <span class="stringliteral"></span>
<a name="l00283"></a>00283 <span class="stringliteral"> // Compute name of buy ctl </span>
<a name="l00284"></a>00284 <span class="stringliteral"> var a=i+'_buy';</span>
<a name="l00285"></a>00285 <span class="stringliteral"> // if the object exist</span>
<a name="l00286"></a>00286 <span class="stringliteral"> var e=document.getElementsByName(a) </span>
<a name="l00287"></a>00287 <span class="stringliteral"> if ( e.length != 0 ) {</span>
<a name="l00288"></a>00288 <span class="stringliteral"> SetValue(a,p_tva_id);</span>
<a name="l00288"></a>00288 <span class="stringliteral"> SetValue(a,p_buy);</span>
<a name="l00289"></a>00289 <span class="stringliteral"> }</span>
<a name="l00290"></a>00290 <span class="stringliteral"></span>
<a name="l00291"></a>00291 <span class="stringliteral"> // Compute name of tva_label ctl </span>
<a name="l00292"></a>00292 <span class="stringliteral"> var a=i+'_tva_label';</span>
<a name="l00293"></a>00293 <span class="stringliteral"> // if the object exist</span>
<a name="l00294"></a>00294 <span class="stringliteral"> if (document.getElementById(a) ) {</span>
<a name="l00295"></a>00295 <span class="stringliteral"> document.getElementById(a).innerHTML=p_tva_label;</span>
<a name="l00290"></a>00290 <span class="stringliteral"> // Compute name of tva_id ctl </span>
<a name="l00291"></a>00291 <span class="stringliteral"> var a=i+'_tva_id';</span>
<a name="l00292"></a>00292 <span class="stringliteral"> // if the object exist</span>
<a name="l00293"></a>00293 <span class="stringliteral"> var e=document.getElementsByName(a) </span>
<a name="l00294"></a>00294 <span class="stringliteral"> if ( e.length != 0 ) {</span>
<a name="l00295"></a>00295 <span class="stringliteral"> SetValue(a,p_tva_id);</span>
<a name="l00296"></a>00296 <span class="stringliteral"> }</span>
<a name="l00297"></a>00297 <span class="stringliteral">}</span>
<a name="l00298"></a>00298 <span class="stringliteral"></span>
<a name="l00299"></a>00299 <span class="stringliteral"></span>
<a name="l00300"></a>00300 <span class="stringliteral">&lt;/script&gt;</span>
<a name="l00301"></a>00301 <span class="stringliteral"></span>
<a name="l00302"></a>00302 <span class="stringliteral"></span>
<a name="l00303"></a>00303 <span class="stringliteral">"</span>);
<a name="l00304"></a>00304 <span class="comment">// concerned operation</span>
<a name="l00305"></a><a class="code" href="constant_8php.html#a80">00305</a> define (<span class="stringliteral">"JS_CONCERNED_OP"</span>,<span class="stringliteral">"</span>
<a name="l00306"></a>00306 <span class="stringliteral">&lt;script language=\"javascript\"&gt;</span>
<a name="l00307"></a>00307 <span class="stringliteral"></span>
<a name="l00308"></a>00308 <span class="stringliteral">function SearchJrn(p_sessid,p_ctl)</span>
<a name="l00309"></a>00309 <span class="stringliteral">{</span>
<a name="l00310"></a>00310 <span class="stringliteral"> var win=window.open('jrn_search.php?p_ctl='+p_ctl+'&amp;PHPSESSID='+p_sessid,'Cherche','toolbar=no,width=600,height=600,scrollbars=yes');</span>
<a name="l00311"></a>00311 <span class="stringliteral">}</span>
<a name="l00312"></a>00312 <span class="stringliteral">function GetIt(p_ctl,p_value) {</span>
<a name="l00313"></a>00313 <span class="stringliteral"> self.opener.SetIt(p_value,p_ctl);</span>
<a name="l00314"></a>00314 <span class="stringliteral"> window.close(); </span>
<a name="l00315"></a>00315 <span class="stringliteral">}</span>
<a name="l00316"></a>00316 <span class="stringliteral">/* SetValue( p_ctl,p_value )</span>
<a name="l00317"></a>00317 <span class="stringliteral">/* p_ctl is the name of the control</span>
<a name="l00318"></a>00318 <span class="stringliteral">/* p_value is the value to set in</span>
<a name="l00319"></a>00319 <span class="stringliteral">*/</span>
<a name="l00320"></a>00320 <span class="stringliteral">function SetIt(p_value,p_ctl) {</span>
<a name="l00321"></a>00321 <span class="stringliteral"> </span>
<a name="l00322"></a>00322 <span class="stringliteral"> var f=document.getElementsByName(p_ctl);</span>
<a name="l00323"></a>00323 <span class="stringliteral"> for (var h=0; h &lt; f.length; h++) {</span>
<a name="l00324"></a>00324 <span class="stringliteral"> f[h].value=p_value;</span>
<a name="l00325"></a>00325 <span class="stringliteral"> }</span>
<a name="l00326"></a>00326 <span class="stringliteral"> </span>
<a name="l00327"></a>00327 <span class="stringliteral"></span>
<a name="l00328"></a>00328 <span class="stringliteral">}</span>
<a name="l00329"></a>00329 <span class="stringliteral"></span>
<a name="l00330"></a>00330 <span class="stringliteral"></span>
<a name="l00331"></a>00331 <span class="stringliteral">&lt;/script&gt;</span>
<a name="l00332"></a>00332 <span class="stringliteral">"</span>);
<a name="l00333"></a>00333 <span class="comment">// One line calculator</span>
<a name="l00334"></a><a class="code" href="constant_8php.html#a81">00334</a> define (<span class="stringliteral">"JS_CALC_LINE"</span>,<span class="stringliteral">"</span>
<a name="l00335"></a>00335 <span class="stringliteral"></span>
<a name="l00336"></a>00336 <span class="stringliteral">&lt;form name=\"calc_line\" onSubmit=\"cal()\"&gt;</span>
<a name="l00337"></a>00337 <span class="stringliteral">&lt;input type=\"text\" size=\"20\" name=\"calculator\" onBlur=\"cal()\"&gt;</span>
<a name="l00338"></a>00338 <span class="stringliteral">Answer:&lt;span id=\"name\"&gt;&lt;/span&gt;</span>
<a name="l00339"></a>00339 <span class="stringliteral">&lt;br&gt;</span>
<a name="l00340"></a>00340 <span class="stringliteral"></span>
<a name="l00341"></a>00341 <span class="stringliteral">&lt;!-- &lt;input type=\"button\" name=\"B1\" value=\"Calculate\" &gt; --&gt;</span>
<a name="l00297"></a>00297 <span class="stringliteral"></span>
<a name="l00298"></a>00298 <span class="stringliteral"> // Compute name of tva_label ctl </span>
<a name="l00299"></a>00299 <span class="stringliteral"> var a=i+'_tva_label';</span>
<a name="l00300"></a>00300 <span class="stringliteral"> // if the object exist</span>
<a name="l00301"></a>00301 <span class="stringliteral"> if (document.getElementById(a) ) {</span>
<a name="l00302"></a>00302 <span class="stringliteral"> document.getElementById(a).innerHTML=p_tva_label;</span>
<a name="l00303"></a>00303 <span class="stringliteral"> }</span>
<a name="l00304"></a>00304 <span class="stringliteral">}</span>
<a name="l00305"></a>00305 <span class="stringliteral"></span>
<a name="l00306"></a>00306 <span class="stringliteral"></span>
<a name="l00307"></a>00307 <span class="stringliteral">&lt;/script&gt;</span>
<a name="l00308"></a>00308 <span class="stringliteral"></span>
<a name="l00309"></a>00309 <span class="stringliteral"></span>
<a name="l00310"></a>00310 <span class="stringliteral">"</span>);
<a name="l00311"></a>00311 <span class="comment">// concerned operation</span>
<a name="l00312"></a><a class="code" href="constant_8php.html#a81">00312</a> define (<span class="stringliteral">"JS_CONCERNED_OP"</span>,<span class="stringliteral">"</span>
<a name="l00313"></a>00313 <span class="stringliteral">&lt;script language=\"javascript\"&gt;</span>
<a name="l00314"></a>00314 <span class="stringliteral"></span>
<a name="l00315"></a>00315 <span class="stringliteral">function SearchJrn(p_sessid,p_ctl)</span>
<a name="l00316"></a>00316 <span class="stringliteral">{</span>
<a name="l00317"></a>00317 <span class="stringliteral"> var win=window.open('jrn_search.php?p_ctl='+p_ctl+'&amp;PHPSESSID='+p_sessid,'Cherche','toolbar=no,width=600,height=600,scrollbars=yes');</span>
<a name="l00318"></a>00318 <span class="stringliteral">}</span>
<a name="l00319"></a>00319 <span class="stringliteral">function GetIt(p_ctl,p_value) {</span>
<a name="l00320"></a>00320 <span class="stringliteral"> self.opener.SetIt(p_value,p_ctl);</span>
<a name="l00321"></a>00321 <span class="stringliteral"> window.close(); </span>
<a name="l00322"></a>00322 <span class="stringliteral">}</span>
<a name="l00323"></a>00323 <span class="stringliteral">/* SetValue( p_ctl,p_value )</span>
<a name="l00324"></a>00324 <span class="stringliteral">/* p_ctl is the name of the control</span>
<a name="l00325"></a>00325 <span class="stringliteral">/* p_value is the value to set in</span>
<a name="l00326"></a>00326 <span class="stringliteral">*/</span>
<a name="l00327"></a>00327 <span class="stringliteral">function SetIt(p_value,p_ctl) {</span>
<a name="l00328"></a>00328 <span class="stringliteral"> </span>
<a name="l00329"></a>00329 <span class="stringliteral"> var f=document.getElementsByName(p_ctl);</span>
<a name="l00330"></a>00330 <span class="stringliteral"> for (var h=0; h &lt; f.length; h++) {</span>
<a name="l00331"></a>00331 <span class="stringliteral"> f[h].value=p_value;</span>
<a name="l00332"></a>00332 <span class="stringliteral"> }</span>
<a name="l00333"></a>00333 <span class="stringliteral"> </span>
<a name="l00334"></a>00334 <span class="stringliteral"></span>
<a name="l00335"></a>00335 <span class="stringliteral">}</span>
<a name="l00336"></a>00336 <span class="stringliteral"></span>
<a name="l00337"></a>00337 <span class="stringliteral"></span>
<a name="l00338"></a>00338 <span class="stringliteral">&lt;/script&gt;</span>
<a name="l00339"></a>00339 <span class="stringliteral">"</span>);
<a name="l00340"></a>00340 <span class="comment">// One line calculator</span>
<a name="l00341"></a><a class="code" href="constant_8php.html#a82">00341</a> define (<span class="stringliteral">"JS_CALC_LINE"</span>,<span class="stringliteral">"</span>
<a name="l00342"></a>00342 <span class="stringliteral"></span>
<a name="l00343"></a>00343 <span class="stringliteral">&lt;input type=\"reset\" name=\"B2\" value=\"Reset\"&gt;&lt;br&gt;</span>
<a name="l00344"></a>00344 <span class="stringliteral"></span>
<a name="l00345"></a>00345 <span class="stringliteral"></span>
<a name="l00346"></a>00346 <span class="stringliteral">&lt;/form&gt;</span>
<a name="l00347"></a>00347 <span class="stringliteral">&lt;SCRIPT language=\"javascript\"&gt;</span>
<a name="l00348"></a>00348 <span class="stringliteral"></span>
<a name="l00349"></a>00349 <span class="stringliteral">function cal()</span>
<a name="l00350"></a>00350 <span class="stringliteral">{</span>
<a name="l00351"></a>00351 <span class="stringliteral"> document.getElementById(\"name\").innerHTML=</span>
<a name="l00352"></a>00352 <span class="stringliteral"> eval(document.calc_line.calculator.value)</span>
<a name="l00353"></a>00353 <span class="stringliteral">}</span>
<a name="l00354"></a>00354 <span class="stringliteral">&lt;/script&gt;</span>
<a name="l00343"></a>00343 <span class="stringliteral">&lt;form name=\"calc_line\" onSubmit=\"cal()\"&gt;</span>
<a name="l00344"></a>00344 <span class="stringliteral">&lt;input type=\"text\" size=\"20\" name=\"calculator\" onBlur=\"cal()\"&gt;</span>
<a name="l00345"></a>00345 <span class="stringliteral">Answer:&lt;span id=\"name\"&gt;&lt;/span&gt;</span>
<a name="l00346"></a>00346 <span class="stringliteral">&lt;br&gt;</span>
<a name="l00347"></a>00347 <span class="stringliteral"></span>
<a name="l00348"></a>00348 <span class="stringliteral">&lt;!-- &lt;input type=\"button\" name=\"B1\" value=\"Calculate\" &gt; --&gt;</span>
<a name="l00349"></a>00349 <span class="stringliteral"></span>
<a name="l00350"></a>00350 <span class="stringliteral">&lt;input type=\"reset\" name=\"B2\" value=\"Reset\"&gt;&lt;br&gt;</span>
<a name="l00351"></a>00351 <span class="stringliteral"></span>
<a name="l00352"></a>00352 <span class="stringliteral"></span>
<a name="l00353"></a>00353 <span class="stringliteral">&lt;/form&gt;</span>
<a name="l00354"></a>00354 <span class="stringliteral">&lt;SCRIPT language=\"javascript\"&gt;</span>
<a name="l00355"></a>00355 <span class="stringliteral"></span>
<a name="l00356"></a>00356 <span class="stringliteral"></span>
<a name="l00357"></a>00357 <span class="stringliteral"></span>
<a name="l00358"></a>00358 <span class="stringliteral">"</span>
<a name="l00359"></a>00359 );
<a name="l00360"></a>00360
<a name="l00361"></a><a class="code" href="constant_8php.html#a82">00361</a> define (<span class="stringliteral">"JS_TVA"</span>,<span class="stringliteral">"&lt;script language=\"javascript\"&gt;</span>
<a name="l00356"></a>00356 <span class="stringliteral">function cal()</span>
<a name="l00357"></a>00357 <span class="stringliteral">{</span>
<a name="l00358"></a>00358 <span class="stringliteral"> document.getElementById(\"name\").innerHTML=</span>
<a name="l00359"></a>00359 <span class="stringliteral"> eval(document.calc_line.calculator.value)</span>
<a name="l00360"></a>00360 <span class="stringliteral">}</span>
<a name="l00361"></a>00361 <span class="stringliteral">&lt;/script&gt;</span>
<a name="l00362"></a>00362 <span class="stringliteral"></span>
<a name="l00363"></a>00363 <span class="stringliteral">function ChangeTVA(p_ctl,p_value) {</span>
<a name="l00364"></a>00364 <span class="stringliteral"> if (document.getElementById(p_ctl) ) {</span>
<a name="l00365"></a>00365 <span class="stringliteral"> var f=document.getElementsByName(p_value);</span>
<a name="l00366"></a>00366 <span class="stringliteral"> for ( var i=0; i &lt; f.length ; i++) {</span>
<a name="l00367"></a>00367 <span class="stringliteral"> document.getElementById(p_ctl).innerHTML=f[i].value;</span>
<a name="l00368"></a>00368 <span class="stringliteral"> }</span>
<a name="l00369"></a>00369 <span class="stringliteral"> }</span>
<a name="l00370"></a>00370 <span class="stringliteral">}</span>
<a name="l00371"></a>00371 <span class="stringliteral"></span>
<a name="l00372"></a>00372 <span class="stringliteral">&lt;/script&gt;"</span>);
<a name="l00373"></a>00373 <span class="comment">// Sql string</span>
<a name="l00374"></a><a class="code" href="constant_8php.html#a83">00374</a> define (<span class="stringliteral">"SQL_LIST_ALL_INVOICE"</span>,<span class="stringliteral">""</span>);
<a name="l00375"></a>00375
<a name="l00376"></a><a class="code" href="constant_8php.html#a84">00376</a> define (<span class="stringliteral">"SQL_LIST_UNPAID_INVOICE"</span>,<span class="stringliteral">" where (jr_rapt is null or jr_rapt = '') and jr_valid = true "</span>);
<a name="l00377"></a><a class="code" href="constant_8php.html#a85">00377</a> define (<span class="stringliteral">"SQL_LIST_UNPAID_INVOICE_DATE_LIMIT"</span> ,<span class="stringliteral">" where (jr_rapt is null or jr_rapt = '') </span>
<a name="l00378"></a>00378 <span class="stringliteral"> and to_date(to_char(jr_ech,'DD.MM.YYYY'),'DD.MM.YYYY') &lt; to_date(to_char(now(),'DD.MM.YYYY'),'DD.MM.YYYY') and jr_valid = true"</span> );
<a name="l00379"></a>00379 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00363"></a>00363 <span class="stringliteral"></span>
<a name="l00364"></a>00364 <span class="stringliteral"></span>
<a name="l00365"></a>00365 <span class="stringliteral">"</span>
<a name="l00366"></a>00366 );
<a name="l00367"></a>00367
<a name="l00368"></a><a class="code" href="constant_8php.html#a83">00368</a> define (<span class="stringliteral">"JS_TVA"</span>,<span class="stringliteral">"&lt;script language=\"javascript\"&gt;</span>
<a name="l00369"></a>00369 <span class="stringliteral"></span>
<a name="l00370"></a>00370 <span class="stringliteral">function ChangeTVA(p_ctl,p_value) {</span>
<a name="l00371"></a>00371 <span class="stringliteral"> if (document.getElementById(p_ctl) ) {</span>
<a name="l00372"></a>00372 <span class="stringliteral"> var f=document.getElementsByName(p_value);</span>
<a name="l00373"></a>00373 <span class="stringliteral"> for ( var i=0; i &lt; f.length ; i++) {</span>
<a name="l00374"></a>00374 <span class="stringliteral"> document.getElementById(p_ctl).innerHTML=f[i].value;</span>
<a name="l00375"></a>00375 <span class="stringliteral"> }</span>
<a name="l00376"></a>00376 <span class="stringliteral"> }</span>
<a name="l00377"></a>00377 <span class="stringliteral">}</span>
<a name="l00378"></a>00378 <span class="stringliteral"></span>
<a name="l00379"></a>00379 <span class="stringliteral">&lt;/script&gt;"</span>);
<a name="l00380"></a>00380 <span class="comment">// Sql string</span>
<a name="l00381"></a><a class="code" href="constant_8php.html#a84">00381</a> define (<span class="stringliteral">"SQL_LIST_ALL_INVOICE"</span>,<span class="stringliteral">""</span>);
<a name="l00382"></a>00382
<a name="l00383"></a><a class="code" href="constant_8php.html#a85">00383</a> define (<span class="stringliteral">"SQL_LIST_UNPAID_INVOICE"</span>,<span class="stringliteral">" where (jr_rapt is null or jr_rapt = '') and jr_valid = true "</span>);
<a name="l00384"></a><a class="code" href="constant_8php.html#a86">00384</a> define (<span class="stringliteral">"SQL_LIST_UNPAID_INVOICE_DATE_LIMIT"</span> ,<span class="stringliteral">" where (jr_rapt is null or jr_rapt = '') </span>
<a name="l00385"></a>00385 <span class="stringliteral"> and to_date(to_char(jr_ech,'DD.MM.YYYY'),'DD.MM.YYYY') &lt; to_date(to_char(now(),'DD.MM.YYYY'),'DD.MM.YYYY') and jr_valid = true"</span> );
<a name="l00386"></a>00386 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

File diff suppressed because it is too large Load diff

View file

@ -30,14 +30,14 @@
<a name="l00022"></a>00022 <span class="comment"></span>require_once('class_contact.php');
<a name="l00023"></a>00023 require_once('class_widget.php');
<a name="l00030"></a><a class="code" href="contact_8inc_8php.html#a0">00030</a> <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=(isset($_REQUEST['sa']))?$_REQUEST['sa']:<span class="stringliteral">""</span>;
<a name="l00031"></a>00031 var_dump($_REQUEST);
<a name="l00031"></a>00031
<a name="l00032"></a>00032 <span class="comment">// if this page is called from another menu (customer, supplier,...)</span>
<a name="l00033"></a>00033 <span class="comment">// a button back is added</span>
<a name="l00034"></a>00034 <span class="comment">// TODO add function for generating url, hidden tags...</span>
<a name="l00035"></a>00035 <span class="keywordflow">if</span> ( isset ($_REQUEST['url']))
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037 <a class="code" href="action_8inc_8php.html#a1">$retour</a>=sprintf('&lt;A HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',urldecode($_REQUEST['url']));
<a name="l00038"></a><a class="code" href="contact_8inc_8php.html#a1">00038</a> <a class="code" href="action_8inc_8php.html#a2">$h_url</a>=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"%s"</span>&gt;',urldecode($_REQUEST['url']));
<a name="l00037"></a>00037 <a class="code" href="action_8inc_8php.html#a1">$retour</a>=sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"mtitle"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',urldecode($_REQUEST['url']));
<a name="l00038"></a><a class="code" href="contact_8inc_8php.html#a1">00038</a> <a class="code" href="action_8inc_8php.html#a2">$h_url</a>=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"%s"</span>&gt;',urldecode($_REQUEST['url']));
<a name="l00039"></a>00039 }
<a name="l00040"></a>00040 <span class="keywordflow">else</span>
<a name="l00041"></a>00041 {
@ -59,11 +59,11 @@
<a name="l00058"></a>00058 <span class="comment">// Add card</span>
<a name="l00059"></a>00059 <span class="keywordflow">if</span> ( $sub_action==<span class="stringliteral">"insert"</span> )
<a name="l00060"></a>00060 {
<a name="l00061"></a>00061 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>=<span class="keyword">new</span> Contact($cn);
<a name="l00062"></a>00062 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;Save($_REQUEST['fd_id']);
<a name="l00061"></a>00061 <a class="code" href="contact_8inc_8php.html#a11">$contact</a>=<span class="keyword">new</span> Contact($cn);
<a name="l00062"></a>00062 <a class="code" href="contact_8inc_8php.html#a11">$contact</a>-&gt;Save($_REQUEST['fd_id']);
<a name="l00063"></a>00063 echo <a class="code" href="action_8inc_8php.html#a1">$retour</a>;
<a name="l00064"></a>00064 echo <span class="stringliteral">"&lt;table&gt;"</span>;
<a name="l00065"></a>00065 echo <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;Display(<span class="keyword">true</span>);
<a name="l00065"></a>00065 echo <a class="code" href="contact_8inc_8php.html#a11">$contact</a>-&gt;Display(<span class="keyword">true</span>);
<a name="l00066"></a>00066 echo <span class="stringliteral">"&lt;/table&gt;"</span>;
<a name="l00067"></a>00067 echo $retour;
<a name="l00068"></a>00068
@ -75,8 +75,8 @@
<a name="l00075"></a>00075 <span class="comment">// modification is asked</span>
<a name="l00076"></a>00076 $f_id=$_REQUEST['<a class="code" href="facture_8inc_8php.html#a19">f_id</a>'];
<a name="l00077"></a>00077
<a name="l00078"></a>00078 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>=<span class="keyword">new</span> <a class="code" href="classcontact.html">contact</a>($cn,$<a class="code" href="facture_8inc_8php.html#a19">f_id</a>);
<a name="l00079"></a>00079 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;Save();
<a name="l00078"></a>00078 <a class="code" href="contact_8inc_8php.html#a11">$contact</a>=<span class="keyword">new</span> <a class="code" href="classcontact.html">contact</a>($cn,$<a class="code" href="facture_8inc_8php.html#a19">f_id</a>);
<a name="l00079"></a>00079 <a class="code" href="contact_8inc_8php.html#a11">$contact</a>-&gt;Save();
<a name="l00080"></a>00080 <a class="code" href="action_8inc_8php.html#a0">$sub_action</a>=<span class="stringliteral">"list"</span>;
<a name="l00081"></a>00081 }
<a name="l00082"></a>00082 <span class="comment">// by default open liste</span>
@ -85,19 +85,19 @@
<a name="l00086"></a>00086 <span class="comment">//Display a blank card </span>
<a name="l00087"></a>00087 <span class="keywordflow">if</span> ( $sub_action==<span class="stringliteral">"blank"</span>)
<a name="l00088"></a>00088 {
<a name="l00089"></a>00089 $retour=sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"two"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',
<a name="l00089"></a>00089 $retour=sprintf('&lt;A <span class="keyword">class</span>=<span class="stringliteral">"two"</span> HREF=<span class="stringliteral">"%s"</span>&gt;&lt;input type=<span class="stringliteral">"button"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;',
<a name="l00090"></a>00090 <span class="stringliteral">"commercial.php?p_action=contact"</span>);
<a name="l00091"></a>00091 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00092"></a>00092
<a name="l00093"></a>00093 echo $retour;
<a name="l00094"></a><a class="code" href="contact_8inc_8php.html#a2">00094</a> <a class="code" href="admin_8inc_8php.html#a2">$c</a>=<span class="keyword">new</span> <a class="code" href="classcontact.html">contact</a>($cn);
<a name="l00095"></a>00095 echo '&lt;form method=<span class="stringliteral">"post"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>';
<a name="l00096"></a>00096 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"client"</span>&gt;';
<a name="l00097"></a>00097 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"insert"</span>&gt;';
<a name="l00098"></a>00098 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"fd_id"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"'.$_GET['fd_id'].'"</span>&gt;';
<a name="l00099"></a>00099 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"'.$_GET['url'].'"</span>&gt;';
<a name="l00096"></a>00096 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"client"</span>&gt;';
<a name="l00097"></a>00097 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"sa"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"insert"</span>&gt;';
<a name="l00098"></a>00098 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"fd_id"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$_GET['fd_id'].'"</span>&gt;';
<a name="l00099"></a>00099 echo '&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"url"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$_GET['url'].'"</span>&gt;';
<a name="l00100"></a>00100 echo <a class="code" href="admin_8inc_8php.html#a2">$c</a>-&gt;blank($_GET['fd_id']);
<a name="l00101"></a>00101 echo '&lt;input type=<span class="stringliteral">"Submit"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"Sauve"</span>&gt;';
<a name="l00101"></a>00101 echo '&lt;input type=<span class="stringliteral">"Submit"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"Sauve"</span>&gt;';
<a name="l00102"></a>00102 echo '&lt;/form&gt;';
<a name="l00103"></a>00103 echo $retour;
<a name="l00104"></a>00104 echo '&lt;/div&gt;';
@ -110,84 +110,104 @@
<a name="l00112"></a>00112 &lt;span&gt;
<a name="l00113"></a>00113 &lt;form method=<span class="stringliteral">"get"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>&gt;
<a name="l00114"></a>00114 &lt;?
<a name="l00115"></a>00115 <a class="code" href="action_8inc_8php.html#a15">$a</a>=(isset($_GET['query']))?$_GET['query']:<span class="stringliteral">""</span>;
<a name="l00116"></a>00116 printf ('&lt;input type=<span class="stringliteral">"text"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"query"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"%s"</span>&gt;',
<a name="l00115"></a>00115 <a class="code" href="action_8inc_8php.html#a16">$a</a>=(isset($_GET['query']))?$_GET['query']:<span class="stringliteral">""</span>;
<a name="l00116"></a>00116 printf ('&lt;input type=<span class="stringliteral">"text"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"query"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"%s"</span>&gt;',
<a name="l00117"></a>00117 $a);
<a name="l00118"></a>00118 ?&gt;
<a name="l00119"></a>00119 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"submit_query"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"recherche"</span>&gt;
<a name="l00120"></a>00120 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"contact"</span>&gt;
<a name="l00119"></a>00119 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"submit_query"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"recherche"</span>&gt;
<a name="l00120"></a>00120 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_action"</span> <a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"contact"</span>&gt;
<a name="l00121"></a>00121 &lt;/form&gt;
<a name="l00122"></a>00122 &lt;/span&gt;
<a name="l00123"></a>00123 &lt;span&gt;
<a name="l00124"></a>00124 &lt;form method=<span class="stringliteral">"get"</span> <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"commercial.php"</span>&gt;
<a name="l00125"></a><a class="code" href="contact_8inc_8php.html#a3">00125</a> &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"url"</span> &lt;? <a class="code" href="admin_8inc_8php.html#a3">$url</a>=urlencode($_SERVER['REQUEST_URI']);echo '<a class="code" href="action_8inc_8php.html#a4">value</a>=<span class="stringliteral">"'.$url.'"</span>'; ?&gt;
<a name="l00126"></a>00126 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_action"</span> value=<span class="stringliteral">"contact"</span>&gt;
<a name="l00125"></a><a class="code" href="contact_8inc_8php.html#a3">00125</a> &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"url"</span> &lt;? <a class="code" href="admin_8inc_8php.html#a3">$url</a>=urlencode($_SERVER['REQUEST_URI']);echo '<a class="code" href="action_8inc_8php.html#a5">value</a>=<span class="stringliteral">"'.$url.'"</span>'; ?&gt;
<a name="l00126"></a>00126 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_action"</span> value=<span class="stringliteral">"contact"</span>&gt;
<a name="l00127"></a>00127
<a name="l00128"></a>00128 &lt;?
<a name="l00129"></a><a class="code" href="contact_8inc_8php.html#a4">00129</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"select"</span>);
<a name="l00130"></a><a class="code" href="contact_8inc_8php.html#a5">00130</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"fd_id"</span>;
<a name="l00131"></a><a class="code" href="contact_8inc_8php.html#a6">00131</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value= <a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select fd_id,fd_label from fiche_def where "</span>.
<a name="l00132"></a>00132 <span class="stringliteral">" frd_id="</span>.<a class="code" href="constant_8php.html#a67">FICHE_TYPE_CONTACT</a>);
<a name="l00133"></a>00133 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00134"></a>00134 ?&gt;
<a name="l00135"></a>00135 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"sa"</span> value=<span class="stringliteral">"blank"</span>&gt;
<a name="l00136"></a>00136 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"submit_query"</span> value=<span class="stringliteral">"Ajout Contact"</span>&gt;
<a name="l00137"></a>00137
<a name="l00138"></a>00138 &lt;/form&gt;
<a name="l00139"></a>00139 &lt;/span&gt;
<a name="l00132"></a>00132 <span class="stringliteral">" frd_id="</span>.<a class="code" href="constant_8php.html#a68">FICHE_TYPE_CONTACT</a>);
<a name="l00133"></a>00133 <span class="comment">// if array is empty show an warning and stops</span>
<a name="l00134"></a>00134 <span class="keywordflow">if</span> ( <span class="keyword">sizeof</span> ($w-&gt;value) == 0 ) {
<a name="l00135"></a>00135 echo '&lt;p style=<span class="stringliteral">"color:red"</span>&gt;Aucune <a class="code" href="classfiche.html">fiche</a> de catégories <a class="code" href="classcontact.html">contact</a>&lt;/p&gt;';
<a name="l00136"></a>00136 echo '&lt;p&gt;allez dans comptabilité -&gt; <a class="code" href="classfiche.html">fiche</a> creation et choississez <a class="code" href="classcontact.html">contact</a> comme sorte&lt;/p&gt;';
<a name="l00137"></a>00137 <a class="code" href="balance_8php.html#a0">exit</a>();
<a name="l00138"></a>00138 }
<a name="l00139"></a>00139 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00140"></a>00140
<a name="l00141"></a>00141 &lt;form&gt;
<a name="l00142"></a>00142 &lt;?
<a name="l00143"></a><a class="code" href="contact_8inc_8php.html#a7">00143</a> <a class="code" href="bank_8inc_8php.html#a9">$qcode</a>=(isset($_GET['<a class="code" href="action_8inc_8php.html#a20">qcode</a>']))?$_GET['<a class="code" href="action_8inc_8php.html#a20">qcode</a>']:<span class="stringliteral">""</span>;
<a name="l00144"></a>00144 printf ('&lt;span&gt;Tiers QuickCode: &lt;input type="text" name="qcode" value="%s"&gt;&lt;/span&gt;',
<a name="l00145"></a>00145 $<a class="code" href="action_8inc_8php.html#a20">qcode</a>);
<a name="l00146"></a>00146 ?&gt;
<a name="l00147"></a>00147 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"submit_query"</span> value=<span class="stringliteral">"recherche"</span>&gt;
<a name="l00148"></a>00148 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a3">name</a>=<span class="stringliteral">"p_action"</span> value=<span class="stringliteral">"contact"</span>&gt;
<a name="l00149"></a>00149
<a name="l00150"></a>00150 &lt;/<a class="code" href="constant_8php.html#a7">FORM</a>&gt;
<a name="l00151"></a>00151 &lt;?
<a name="l00152"></a><a class="code" href="contact_8inc_8php.html#a8">00152</a> <a class="code" href="contact_8inc_8php.html#a8">$contact</a>=<span class="keyword">new</span> Contact($cn);
<a name="l00153"></a><a class="code" href="contact_8inc_8php.html#a9">00153</a> <a class="code" href="admin_8inc_8php.html#a8">$search</a>=(isset($_GET['query']))?$_GET['query']:<span class="stringliteral">""</span>;
<a name="l00154"></a>00154 <span class="comment">// check if a company is asked if yes, add a condition</span>
<a name="l00155"></a>00155 <span class="keywordflow">if</span> ( $<a class="code" href="action_8inc_8php.html#a20">qcode</a> != <span class="stringliteral">""</span> )
<a name="l00156"></a>00156 {
<a name="l00157"></a>00157 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;company=<a class="code" href="bank_8inc_8php.html#a9">$qcode</a>;
<a name="l00158"></a>00158 }
<a name="l00159"></a>00159 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00160"></a>00160 echo <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;Summary($search);
<a name="l00161"></a>00161 echo '&lt;/div&gt;';
<a name="l00162"></a>00162
<a name="l00163"></a>00163
<a name="l00164"></a>00164 }
<a name="l00166"></a>00166 <span class="comment">// Show Detail</span>
<a name="l00167"></a>00167 <span class="keywordflow">if</span> ( $sub_action == 'detail' )
<a name="l00168"></a>00168 {
<a name="l00169"></a>00169 $f_id=$_REQUEST['<a class="code" href="facture_8inc_8php.html#a19">f_id</a>'];
<a name="l00170"></a>00170 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00171"></a>00171 <a class="code" href="contact_8inc_8php.html#a8">$contact</a>=<span class="keyword">new</span> <a class="code" href="classcontact.html">contact</a>($cn,$<a class="code" href="facture_8inc_8php.html#a19">f_id</a>);
<a name="l00172"></a>00172 echo $retour;
<a name="l00173"></a>00173 echo '&lt;form <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"'.$_SERVER['REQUEST_URI'].'"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00174"></a>00174 echo <a class="code" href="contact_8inc_8php.html#a8">$contact</a>-&gt;Display(<span class="keyword">false</span>);
<a name="l00175"></a>00175 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00176"></a>00176 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"p_action"</span>;
<a name="l00177"></a>00177 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=<span class="stringliteral">"contact"</span>;
<a name="l00178"></a>00178 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00179"></a>00179 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"f_id"</span>;
<a name="l00180"></a>00180 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=$f_id;
<a name="l00181"></a>00181 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00141"></a>00141 ?&gt;
<a name="l00142"></a>00142 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"sa"</span> value=<span class="stringliteral">"blank"</span>&gt;
<a name="l00143"></a>00143 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"submit_query"</span> value=<span class="stringliteral">"Ajout Contact"</span>&gt;
<a name="l00144"></a>00144
<a name="l00145"></a>00145 &lt;/form&gt;
<a name="l00146"></a>00146 &lt;/span&gt;
<a name="l00147"></a>00147
<a name="l00148"></a>00148 &lt;form&gt;
<a name="l00149"></a>00149 &lt;?
<a name="l00150"></a><a class="code" href="contact_8inc_8php.html#a7">00150</a> <a class="code" href="bank_8inc_8php.html#a9">$qcode</a>=(isset($_GET['<a class="code" href="action_8inc_8php.html#a21">qcode</a>']))?$_GET['<a class="code" href="action_8inc_8php.html#a21">qcode</a>']:<span class="stringliteral">""</span>;
<a name="l00151"></a>00151 echo <a class="code" href="constant_8php.html#a80">JS_SEARCH_CARD</a>;
<a name="l00152"></a>00152 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>('js_search_only');
<a name="l00153"></a>00153 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name='<a class="code" href="action_8inc_8php.html#a21">qcode</a>';
<a name="l00154"></a>00154 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=<a class="code" href="bank_8inc_8php.html#a9">$qcode</a>;
<a name="l00155"></a><a class="code" href="contact_8inc_8php.html#a8">00155</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;label='<a class="code" href="action_8inc_8php.html#a21">qcode</a>';
<a name="l00156"></a><a class="code" href="contact_8inc_8php.html#a9">00156</a> <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;extra='4,8,9,14';
<a name="l00157"></a><a class="code" href="contact_8inc_8php.html#a10">00157</a> <a class="code" href="contact_8inc_8php.html#a10">$sp</a>= <span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"span"</span>);
<a name="l00158"></a>00158 echo <a class="code" href="contact_8inc_8php.html#a10">$sp</a>-&gt;IOValue(<span class="stringliteral">"qcode_label"</span>,$<a class="code" href="action_8inc_8php.html#a21">qcode</a>).<span class="stringliteral">"&lt;/TD&gt;&lt;/TR&gt;"</span>;
<a name="l00159"></a>00159
<a name="l00160"></a>00160 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00161"></a>00161
<a name="l00162"></a>00162 <span class="comment">// printf ('&lt;span&gt;Tiers QuickCode: &lt;input type="text" name="qcode" value="%s"&gt;&lt;/span&gt;',</span>
<a name="l00163"></a>00163 <span class="comment">// $qcode);</span>
<a name="l00164"></a>00164 ?&gt;
<a name="l00165"></a>00165 &lt;input type=<span class="stringliteral">"submit"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"submit_query"</span> value=<span class="stringliteral">"recherche"</span>&gt;
<a name="l00166"></a>00166 &lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a4">name</a>=<span class="stringliteral">"p_action"</span> value=<span class="stringliteral">"contact"</span>&gt;
<a name="l00167"></a>00167
<a name="l00168"></a>00168 &lt;/<a class="code" href="constant_8php.html#a7">FORM</a>&gt;
<a name="l00169"></a>00169 &lt;?
<a name="l00170"></a><a class="code" href="contact_8inc_8php.html#a11">00170</a> <a class="code" href="contact_8inc_8php.html#a11">$contact</a>=<span class="keyword">new</span> Contact($cn);
<a name="l00171"></a><a class="code" href="contact_8inc_8php.html#a12">00171</a> <a class="code" href="admin_8inc_8php.html#a8">$search</a>=(isset($_GET['query']))?$_GET['query']:<span class="stringliteral">""</span>;
<a name="l00172"></a>00172 <span class="comment">// check if a company is asked if yes, add a condition</span>
<a name="l00173"></a>00173 <span class="keywordflow">if</span> ( $<a class="code" href="action_8inc_8php.html#a21">qcode</a> != <span class="stringliteral">""</span> )
<a name="l00174"></a>00174 {
<a name="l00175"></a>00175 <a class="code" href="contact_8inc_8php.html#a11">$contact</a>-&gt;company=<a class="code" href="bank_8inc_8php.html#a9">$qcode</a>;
<a name="l00176"></a>00176 }
<a name="l00177"></a>00177 echo $retour;
<a name="l00178"></a>00178 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00179"></a>00179 echo <a class="code" href="contact_8inc_8php.html#a11">$contact</a>-&gt;Summary($search);
<a name="l00180"></a>00180 echo '&lt;/div&gt;';
<a name="l00181"></a>00181 echo $retour;
<a name="l00182"></a>00182
<a name="l00183"></a>00183 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Submit('mod<span class="charliteral">','</span>Sauver les modifications');
<a name="l00184"></a>00184 echo '&lt;A HREF=<span class="stringliteral">"commercial.php?p_action=contact"</span>&gt;&lt;INPUT TYPE=<span class="stringliteral">"button"</span> value=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;';
<a name="l00185"></a>00185 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Submit('<span class="keyword">delete</span><span class="charliteral">','</span>Effacer cette <a class="code" href="classfiche.html">fiche</a>');
<a name="l00186"></a>00186 echo '&lt;/form&gt;';
<a name="l00187"></a>00187 echo $retour;
<a name="l00188"></a>00188 echo '&lt;div&gt;';
<a name="l00189"></a>00189 }
<a name="l00190"></a>00190 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00191"></a>00191
<a name="l00192"></a>00192
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
<a name="l00183"></a>00183
<a name="l00184"></a>00184 }
<a name="l00186"></a>00186 <span class="comment">// Show Detail</span>
<a name="l00187"></a>00187 <span class="keywordflow">if</span> ( $sub_action == 'detail' )
<a name="l00188"></a>00188 {
<a name="l00189"></a>00189 $f_id=$_REQUEST['<a class="code" href="facture_8inc_8php.html#a19">f_id</a>'];
<a name="l00190"></a>00190 echo '&lt;div <span class="keyword">class</span>=<span class="stringliteral">"u_redcontent"</span>&gt;';
<a name="l00191"></a>00191 <a class="code" href="contact_8inc_8php.html#a11">$contact</a>=<span class="keyword">new</span> <a class="code" href="classcontact.html">contact</a>($cn,$<a class="code" href="facture_8inc_8php.html#a19">f_id</a>);
<a name="l00192"></a>00192 echo $retour;
<a name="l00193"></a>00193 echo '&lt;form <a class="code" href="classaction.html">action</a>=<span class="stringliteral">"'.$_SERVER['REQUEST_URI'].'"</span> method=<span class="stringliteral">"post"</span>&gt;';
<a name="l00194"></a>00194 echo <a class="code" href="contact_8inc_8php.html#a11">$contact</a>-&gt;Display(<span class="keyword">false</span>);
<a name="l00195"></a>00195 <a class="code" href="admin_8inc_8php.html#a4">$w</a>=<span class="keyword">new</span> <a class="code" href="classwidget.html">widget</a>(<span class="stringliteral">"hidden"</span>);
<a name="l00196"></a>00196 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"p_action"</span>;
<a name="l00197"></a>00197 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=<span class="stringliteral">"contact"</span>;
<a name="l00198"></a>00198 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00199"></a>00199 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;name=<span class="stringliteral">"f_id"</span>;
<a name="l00200"></a>00200 <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;value=$f_id;
<a name="l00201"></a>00201 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;IOValue();
<a name="l00202"></a>00202
<a name="l00203"></a>00203 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Submit('mod<span class="charliteral">','</span>Sauver les modifications');
<a name="l00204"></a>00204 echo '&lt;A HREF=<span class="stringliteral">"commercial.php?p_action=contact"</span>&gt;&lt;INPUT TYPE=<span class="stringliteral">"button"</span> value=<span class="stringliteral">"Retour"</span>&gt;&lt;/A&gt;';
<a name="l00205"></a>00205 echo <a class="code" href="admin_8inc_8php.html#a4">$w</a>-&gt;Submit('<span class="keyword">delete</span><span class="charliteral">','</span>Effacer cette <a class="code" href="classfiche.html">fiche</a>');
<a name="l00206"></a>00206 echo '&lt;/form&gt;';
<a name="l00207"></a>00207 echo $retour;
<a name="l00208"></a>00208 echo '&lt;div&gt;';
<a name="l00209"></a>00209 }
<a name="l00210"></a>00210 <a class="code" href="ac__common_8php.html#a6">html_page_stop</a>();
<a name="l00211"></a>00211
<a name="l00212"></a>00212
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -28,11 +28,17 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a6">value</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a7">$qcode</a> = (isset($_GET['<a class="el" href="action_8inc_8php.html#a20">qcode</a>']))?$_GET['<a class="el" href="action_8inc_8php.html#a20">qcode</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="contact_8inc_8php.html#a7">$qcode</a> = (isset($_GET['<a class="el" href="action_8inc_8php.html#a21">qcode</a>']))?$_GET['<a class="el" href="action_8inc_8php.html#a21">qcode</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="contact_8inc_8php.html#a8">$contact</a> = new Contact($cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a8">label</a> = '<a class="el" href="action_8inc_8php.html#a21">qcode</a>'</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a9">$search</a> = (isset($_GET['query']))?$_GET['query']:&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="contact_8inc_8php.html#a9">extra</a> = '4,8,9,14'</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a10">$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="contact_8inc_8php.html#a11">$contact</a> = new Contact($cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a12">$search</a> = (isset($_GET['query']))?$_GET['query']:&quot;&quot;</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
@ -66,7 +72,7 @@ Definition in file <a class="el" href="contact_8inc_8php-source.html">contact.in
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00094">94</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="contact.inc.php::$contact" ref="a8" args="" --><p>
<a class="anchor" name="a11"></a><!-- doxytag: member="contact.inc.php::$contact" ref="a11" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -88,7 +94,9 @@ Definition at line <a class="el" href="contact_8inc_8php-source.html#l00094">94<
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00152">152</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00170">170</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>.
<p>
Referenced by <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="contact.inc.php::$h_url" ref="a1" args="" --><p>
@ -122,7 +130,7 @@ Definition at line <a class="el" href="contact_8inc_8php-source.html#l00038">38<
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">$<a class="el" href="action_8inc_8php.html#a20">qcode</a> = (isset($_GET['<a class="el" href="action_8inc_8php.html#a20">qcode</a>']))?$_GET['<a class="el" href="action_8inc_8php.html#a20">qcode</a>']:&quot;&quot; </td>
<td class="md" nowrap valign="top">$<a class="el" href="action_8inc_8php.html#a21">qcode</a> = (isset($_GET['<a class="el" href="action_8inc_8php.html#a21">qcode</a>']))?$_GET['<a class="el" href="action_8inc_8php.html#a21">qcode</a>']:&quot;&quot; </td>
</tr>
</table>
</td>
@ -138,10 +146,10 @@ Definition at line <a class="el" href="contact_8inc_8php-source.html#l00038">38<
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00143">143</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00150">150</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="contact.inc.php::$search" ref="a9" args="" --><p>
<a class="anchor" name="a12"></a><!-- doxytag: member="contact.inc.php::$search" ref="a12" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@ -163,7 +171,34 @@ Definition at line <a class="el" href="contact_8inc_8php-source.html#l00143">143
<p>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00153">153</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00171">171</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="contact.inc.php::$sp" 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">$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="contact_8inc_8php-source.html#l00157">157</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>.
<p>
Referenced by <a class="el" href="action_8inc_8php-source.html#l00037">ShowActionList()</a>, and <a class="el" href="user__menu_8php-source.html#l00371">u_ShowMenuRecherche()</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="contact.inc.php::$sub_action" ref="a0" args="" --><p>
@ -241,6 +276,56 @@ Definition at line <a class="el" href="contact_8inc_8php-source.html#l00125">125
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00129">129</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="contact.inc.php::extra" 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 <a class="el" href="contact_8inc_8php.html#a9">extra</a> = '4,8,9,14' </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="contact_8inc_8php-source.html#l00156">156</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="contact.inc.php::label" 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="export__ouv_8php.html#a10">label</a> = '<a class="el" href="action_8inc_8php.html#a21">qcode</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="contact_8inc_8php-source.html#l00155">155</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="contact.inc.php::name" ref="a5" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@ -287,13 +372,13 @@ Definition at line <a class="el" href="contact_8inc_8php-source.html#l00130">130
<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 fd_id,fd_label from fiche_def where "</span>.
<span class="stringliteral">" frd_id="</span>.<a class="code" href="constant_8php.html#a67">FICHE_TYPE_CONTACT</a>)
<span class="stringliteral">" frd_id="</span>.<a class="code" href="constant_8php.html#a68">FICHE_TYPE_CONTACT</a>)
</pre></div>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00131">131</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -40,7 +40,7 @@
<a name="l00040"></a>00040 }
<a name="l00041"></a>00041
<a name="l00042"></a>00042 ?&gt;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

File diff suppressed because one or more lines are too long

View file

@ -32,22 +32,22 @@
<a name="l00038"></a>00038 <span class="comment">//--</span>
<a name="l00039"></a>00039 require_once(<span class="stringliteral">"class_own.php"</span>);
<a name="l00040"></a>00040 <span class="comment">// load the data</span>
<a name="l00041"></a>00041 <a class="code" href="parametre_8php.html#a14">$my</a>=<span class="keyword">new</span> <a class="code" href="classOwn.html">Own</a>($p_cn);
<a name="l00041"></a>00041 <a class="code" href="parametre_8php.html#a17">$my</a>=<span class="keyword">new</span> <a class="code" href="classOwn.html">Own</a>($p_cn);
<a name="l00042"></a>00042 <span class="comment">//Make the first record</span>
<a name="l00043"></a>00043 <a class="code" href="action_8inc_8php.html#a15">$a</a>=<span class="stringliteral">"000000"</span>;
<a name="l00044"></a>00044 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"% 32s"</span>,$my-&gt;MY_NAME);
<a name="l00045"></a>00045 <a class="code" href="balance_8php.html#a10">$b</a>=<a class="code" href="parametre_8php.html#a14">$my</a>-&gt;MY_STREET.<span class="stringliteral">","</span>.<a class="code" href="parametre_8php.html#a14">$my</a>-&gt;MY_NUMBER;
<a name="l00046"></a>00046 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"% 24s"</span>,$b);
<a name="l00047"></a>00047 <a class="code" href="balance_8php.html#a10">$b</a>=<a class="code" href="parametre_8php.html#a14">$my</a>-&gt;MY_CP.<span class="stringliteral">" "</span>.<a class="code" href="parametre_8php.html#a14">$my</a>-&gt;MY_COMMUNE;
<a name="l00048"></a>00048 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"% 27s"</span>,$b);
<a name="l00049"></a>00049 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=<span class="stringliteral">"BE"</span>;
<a name="l00050"></a>00050 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"%9s"</span>,$my-&gt;MY_TVA);
<a name="l00043"></a>00043 <a class="code" href="action_8inc_8php.html#a16">$a</a>=<span class="stringliteral">"000000"</span>;
<a name="l00044"></a>00044 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"% 32s"</span>,$my-&gt;MY_NAME);
<a name="l00045"></a>00045 <a class="code" href="balance_8php.html#a11">$b</a>=<a class="code" href="parametre_8php.html#a17">$my</a>-&gt;MY_STREET.<span class="stringliteral">","</span>.<a class="code" href="parametre_8php.html#a17">$my</a>-&gt;MY_NUMBER;
<a name="l00046"></a>00046 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"% 24s"</span>,$b);
<a name="l00047"></a>00047 <a class="code" href="balance_8php.html#a11">$b</a>=<a class="code" href="parametre_8php.html#a17">$my</a>-&gt;MY_CP.<span class="stringliteral">" "</span>.<a class="code" href="parametre_8php.html#a17">$my</a>-&gt;MY_COMMUNE;
<a name="l00048"></a>00048 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"% 27s"</span>,$b);
<a name="l00049"></a>00049 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=<span class="stringliteral">"BE"</span>;
<a name="l00050"></a>00050 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"%9s"</span>,$my-&gt;MY_TVA);
<a name="l00051"></a>00051 <span class="comment">// special zone</span>
<a name="l00052"></a>00052 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"% 20s"</span>,<span class="charliteral">' '</span>);
<a name="l00052"></a>00052 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"% 20s"</span>,<span class="charliteral">' '</span>);
<a name="l00053"></a>00053 <span class="comment">//</span>
<a name="l00054"></a>00054 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=<span class="stringliteral">"E"</span>;
<a name="l00055"></a>00055 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=$p_year;
<a name="l00056"></a>00056 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=<span class="stringliteral">"\n"</span>;
<a name="l00054"></a>00054 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=<span class="stringliteral">"E"</span>;
<a name="l00055"></a>00055 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=$p_year;
<a name="l00056"></a>00056 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=<span class="stringliteral">"\n"</span>;
<a name="l00057"></a>00057 <span class="comment">// customer record</span>
<a name="l00058"></a>00058 $rec_id=0;
<a name="l00059"></a>00059 $tot_amount=0;
@ -55,30 +55,30 @@
<a name="l00061"></a>00061 foreach ($p_array as $client) {
<a name="l00062"></a>00062 <span class="keywordflow">if</span> ( strlen(trim($client['tva'])) != 0 ) {
<a name="l00063"></a>00063 $rec_id++;
<a name="l00064"></a>00064 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"%06d"</span>,$rec_id);
<a name="l00065"></a>00065 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"% 32s"</span>,$client['<a class="code" href="action_8inc_8php.html#a3">name</a>']);
<a name="l00066"></a>00066 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=str_repeat(<span class="stringliteral">" "</span>,51);
<a name="l00067"></a>00067 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"BE%s"</span>,$client['vat_number']);
<a name="l00068"></a>00068 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"%010d"</span>,$client['amount']*100);
<a name="l00069"></a>00069 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"%010d"</span>,$client['tva']*100);
<a name="l00070"></a>00070 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=str_repeat(<span class="stringliteral">" "</span>,10);
<a name="l00071"></a>00071 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=<span class="stringliteral">"\n"</span>;
<a name="l00064"></a>00064 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"%06d"</span>,$rec_id);
<a name="l00065"></a>00065 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"% 32s"</span>,$client['<a class="code" href="action_8inc_8php.html#a4">name</a>']);
<a name="l00066"></a>00066 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=str_repeat(<span class="stringliteral">" "</span>,51);
<a name="l00067"></a>00067 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"BE%s"</span>,$client['vat_number']);
<a name="l00068"></a>00068 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"%010d"</span>,$client['amount']*100);
<a name="l00069"></a>00069 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"%010d"</span>,$client['tva']*100);
<a name="l00070"></a>00070 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=str_repeat(<span class="stringliteral">" "</span>,10);
<a name="l00071"></a>00071 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=<span class="stringliteral">"\n"</span>;
<a name="l00072"></a>00072 $tot_amount=+<a class="code" href="client_8inc_8php.html#a7">$client</a>['amount']*100;
<a name="l00073"></a>00073 $tot_tva+=<a class="code" href="client_8inc_8php.html#a7">$client</a>['tva']*100;
<a name="l00074"></a>00074 }
<a name="l00075"></a>00075 }
<a name="l00076"></a>00076 <span class="comment">//Last Record</span>
<a name="l00077"></a>00077 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=<span class="stringliteral">"999999"</span>;
<a name="l00078"></a>00078 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"%016d"</span>,$tot_amount);
<a name="l00079"></a>00079 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=sprintf(<span class="stringliteral">"%016d"</span>,$tot_tva);
<a name="l00080"></a>00080 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=str_repeat(<span class="stringliteral">" "</span>,51);
<a name="l00081"></a>00081 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=<span class="stringliteral">"BE"</span>;
<a name="l00082"></a>00082 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=<a class="code" href="parametre_8php.html#a14">$my</a>-&gt;MY_TVA;
<a name="l00083"></a>00083 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=str_repeat(<span class="stringliteral">" "</span>,28);
<a name="l00084"></a>00084 <a class="code" href="action_8inc_8php.html#a15">$a</a>.=<span class="stringliteral">"\r\n"</span>;
<a name="l00085"></a>00085 <span class="keywordflow">return</span> <a class="code" href="action_8inc_8php.html#a15">$a</a>;
<a name="l00077"></a>00077 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=<span class="stringliteral">"999999"</span>;
<a name="l00078"></a>00078 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"%016d"</span>,$tot_amount);
<a name="l00079"></a>00079 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=sprintf(<span class="stringliteral">"%016d"</span>,$tot_tva);
<a name="l00080"></a>00080 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=str_repeat(<span class="stringliteral">" "</span>,51);
<a name="l00081"></a>00081 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=<span class="stringliteral">"BE"</span>;
<a name="l00082"></a>00082 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=<a class="code" href="parametre_8php.html#a17">$my</a>-&gt;MY_TVA;
<a name="l00083"></a>00083 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=str_repeat(<span class="stringliteral">" "</span>,28);
<a name="l00084"></a>00084 <a class="code" href="action_8inc_8php.html#a16">$a</a>.=<span class="stringliteral">"\r\n"</span>;
<a name="l00085"></a>00085 <span class="keywordflow">return</span> <a class="code" href="action_8inc_8php.html#a16">$a</a>;
<a name="l00086"></a>00086 }
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:33 2006 for phpcompta by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:35 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>

View file

@ -65,10 +65,10 @@ parm : -array gen : -none return:<ul>
<p>
Definition at line <a class="el" href="decla_8BE_8inc_8php-source.html#l00036">36</a> of file <a class="el" href="decla_8BE_8inc_8php-source.html">decla.BE.inc.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00213">$a</a>, <a class="el" href="balance_8php-source.html#l00109">$b</a>, <a class="el" href="client_8inc_8php-source.html#l00127">$client</a>, <a class="el" href="parametre_8php-source.html#l00164">$my</a>, and <a class="el" href="action_8inc_8php-source.html#l00137">name</a>. </td>
References <a class="el" href="action_8inc_8php-source.html#l00236">$a</a>, <a class="el" href="balance_8php-source.html#l00114">$b</a>, <a class="el" href="client_8inc_8php-source.html#l00127">$client</a>, <a class="el" href="parametre_8php-source.html#l00167">$my</a>, and <a class="el" href="action_8inc_8php-source.html#l00160">name</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;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:36 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>

View file

@ -13,7 +13,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">directory &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000001.html">phpcompta-dev</a></td></tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:36 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -13,7 +13,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">directory &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000002.html">phpcompta</a></td></tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:36 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

View file

@ -15,7 +15,7 @@
<tr><td class="memItemLeft" nowrap align="right" valign="top">directory &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dir_000006.html">include</a></td></tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 20:41:36 2006 for phpcompta by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:05:38 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>

Some files were not shown because too many files have changed in this diff Show more