noalyss Version-9
test-only-card.php
Go to the documentation of this file.
1
2
3
4<HTML><HEAD>
5 <TITLE>VEN NOALYSS</TITLE>
6 <link rel="icon" type="image/ico" href="favicon.ico" />
7 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
8 <LINK REL="stylesheet" type="text/css" href="css/style-classic.css" media="screen">
9 <link rel="stylesheet" type="text/css" href="style-print.css" media="print">
10 <script language="javascript" src="js/calendar.js"></script>
11 <script type="text/javascript" src="js/lang/calendar-en.js"></script>
12 <script language="javascript" src="js/calendar-setup.js"></script>
13 <LINK REL="stylesheet" type="text/css" href="calendar-blue.css" media="screen">
14 </HEAD>
15 <BODY ><div id="info_div"></div><div id="error_div"><div style="position:absolute;margin:2px;right:2px"><span id="close_div" class="input_text" onclick="$('error_div').hide();">Fermer</span></div><h2 class="title" >Erreur</h2><div id="error_content_div"></div><p style="text-align:center"><input type="button" id="xx_892167" class="button" onclick="$('error_div').style.visibility = 'hidden';
16 $('error_content_div').innerHTML = '';" value="Valider"></p></div>
17 <DIV id="bulle" class="infobulle"></DIV>
18 <script type="text/javascript" language="javascript" src="js/infobulle.js">
19 </script><script type="text/javascript" charset="utf-8" language="javascript" src="js/prototype.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/scriptaculous.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/scripts.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/effects.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/dragdrop.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/controls.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/slider.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/acc_ledger.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/accounting_item.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/ajax_fiche.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/anc_script.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/builder.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/calc.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/card.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/compute_direct.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/compute.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/confirm.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/forecast.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/gestion.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/todo_list.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/sorttable.js"></script><script type="text/javascript" charset="utf-8" language="javascript" src="js/nicEdit.js"></script>
20 <div id="top">
21 <div id="dossier">
22 0 Alchimerys </div>
23 <div style="clear:both;"></div>
24 <div class="name">
25
26 <div id="calc"><input type="BUTTON" name="shcalc" class="smallbutton " id="shcalc" value="Calculatrice" onClick="show_calc()"></div> <div id="direct">
27 <form method="get">
28 COMPTA/VENMENU/VEN <input type="hidden" id="gDossier" name="gDossier" value="46"> <INPUT class="input_text" TYPE="TEXT" id="ac" NAME="ac" VALUE="" SIZE="20" > <div id="ac_choices" class="autocomplete" style="width:150"></div>
29 <INPUT TYPE="SUBMIT" class="smallbutton" NAME="go" ID="go_submit_id" VALUE="aller" >
30 </form>
31 <script>
32
33 try {
34 new Ajax.Autocompleter("ac", "ac_choices", "direct.php?gDossier=46",
35 {paramName: "acs", minChars: 1, indicator: null,
36 callback: null,
37 afterUpdateElement: null});
38 } catch (e) {
39 $('info_div').innerHTML = e.message;
40 }
41 ;
42 </script>
43 </div>
44
45 </div>
46
47 <div id="module">
48 <table>
49 <tr>
50 <td class="tool">
51 <a class="mtitle" href="javascript:void(0)" title="Raccourci vers vos menus préférés" onclick="show_bookmark(46)" >Favori</a></td>
52 <td class="tool">
53 <a class="mtitle" href="javascript:void(0)" title="Menu simplifié pour retrouver rapidement un menu" onclick="ask_navigator(46)" >Navigateur</a></td>
54 <td class="tool">
55 <a class="mtitle" href="do.php?gDossier=46&ac=DASHBOARD" title="Tableau de bord" >Tableau de bord</a></td>
56 <td class="tool">
57 <a class="mtitle" href="javascript:void(0)" title="Préférence" onclick="set_preference(46)" >Préférence</a></td>
58 <td class="tool">
59 <a class="mtitle" href="do.php?gDossier=46&ac=PARAM" title="Module paramètre" >Paramètre</a></td>
60 <td class="tool">
61 <a class="mtitle" href="user_login.php" title="Accueil" >Accueil</a></td>
62 <td class="tool">
63 <a class="mtitle" href="logout.php" title="Sortie" >Sortie</a></td>
64 </tr><tr> <td class="toolselected">
65 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA" title="Module comptabilité" >Comptabilité</a></td>
66 <td class="tool">
67 <a class="mtitle" href="do.php?gDossier=46&ac=AGENDA" title="Agenda" >Agenda</a></td>
68 <td class="tool">
69 <a class="mtitle" href="do.php?gDossier=46&ac=GESTION" title="Module gestion" >Gestion</a></td>
70 <td class="tool">
71 <a class="mtitle" href="do.php?gDossier=46&ac=ANC" title="Module comptabilité analytique" >Compta Analytique</a></td>
72 <td class="tool">
73 <a class="mtitle" href="do.php?gDossier=46&ac=EXT" title="Extensions (plugins)" >Extension</a></td>
74 <td class="tool">
75 <a class="mtitle" href="javascript:void(0)" title="Recherche" onclick="popup_recherche(46)" >Recherche</a></td>
76 </tr>
77 </table>
78
79 </div>
80
81 </d<div class="topmenu">
82 <table style= "width:100%" >
83
84
85 <tr>
86 <td class="mtitle">
87 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/HIST" title="Historique">
88 Historique </a>
89 </td>
90
91
92 <td class="selectedcell">
93 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/VENMENU/VEN" title="Menu ventes et recettes" >
94 Vente / Recette </a>
95 </td>
96 <td class="mtitle">
97 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/MENUACH" title="Menu achat">
98 Achat </a>
99 </td>
100
101
102 <td class="mtitle">
103 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/MENUFIN" title="Menu Financier">
104 Trésorerie </a>
105 </td>
106
107
108 <td class="mtitle">
109 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/MENUODS" title="Menu opérations diverses">
110 Opérations diverses </a>
111 </td>
112
113
114 <td class="mtitle">
115 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/PRINT" title="Menu impression">
116 Impression </a>
117 </td>
118
119
120 <td class="mtitle">
121 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/CARD" title="Liste,Balance,Historique par fiche">
122 Fiche </a>
123 </td>
124
125
126 <td class="mtitle">
127 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/LET" title="Lettrage">
128 Lettrage </a>
129 </td>
130
131
132 <td class="mtitle">
133 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/STOCK" title="Stock">
134 Stock </a>
135 </td>
136
137
138 <td class="mtitle">
139 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/ADV" title="Menu avancé">
140 Avancé </a>
141 </td>
142
143
144 </tr>
145
146
147 </table>
148 </div>
149 <div class="menu2">
150 <table class="mtitle" >
151
152
153 <tr>
154 <td class="selectedcell">
155 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/VENMENU/VEN" title="Nouvelle vente ou recette" >
156 Vente </a>
157 </td>
158 <td class="mtitle">
159 <a class="mtitle" href="do.php?gDossier=46&ac=COMPTA/VENMENU/VEHISTO" title="Historique des ventes">
160 Historique vente </a>
161 </td>
162
163
164 </tr>
165
166
167 </table>
168 </div>
169 Journal <SELECT id="p_jrn" NAME="p_jrn" onChange='update_predef("ven", "f", "COMPTA/VENMENU/VEN");
170 update_pj();
171 get_last_date();
172 update_name();
173 update_pay_method();
174 update_row("sold_item");' ><OPTION VALUE="2" SELECTED>Vente</SELECT>
175
176 <div style="position:absolute" class="content">
177 <table>
178 <tr>
179 <td>
180 <INPUT TYPE="Text" class="input_text" NAME="e_client" ID="e_client" VALUE="" SIZE="20" ondblclick="fill_ipopcard(this);" onchange="fill_data_onchange('e_client');" style="vertical-align:50%"><script type="text/javascript" charset="utf-8" language="javascript">$('e_client').ipopup = 'ipopcard';
181 $('e_client').label = 'e_client_label';
182 $('e_client').typecard = 'deb';</script><span id="ind_e_client" class="autocomplete" style="position:absolute;display:none">Un instant... <img src="image/loading.gif" alt="Chargement..."/></span><div id="e_client_choices" class="autocomplete"></div><script type="text/javascript" charset="utf-8" language="javascript">try {
183 new Ajax.Autocompleter("e_client", "e_client_choices", "fid_card.php?gDossier=46&e=deb", {paramName: "FID", minChars: 1, indicator: ind_e_client, callback: filter_card, afterUpdateElement: fill_data});
184 } catch (e) {
185 alert(e.message);
186 }
187 ;
188 ondblclick = "fill_ipopcard(this);"</script><image id="e_client_bt" alt="Recherche" class="image_search" onclick="this.typecard = 'deb';
189 this.label = 'e_client_label';
190 this.inp = 'e_client';
191 this.popup = 'ipop_card';
192 search_card(this);
193 return false;" src="image/magnifier13.png" /> <span style="display:inline" id="e_client_label">&nbsp; </span>
194 </td>
195 </tr>
196 </TABLE>
197 </div>
198 <div style="position:absolute" class="content"><div id="predef_form"><INPUT TYPE="hidden" id="p_jrn_predef" NAME="p_jrn_predef" VALUE="2"><input type="button" id="xx_773953" class="button" onclick=" $('modele_op_div').style.display = 'block';
199 $('lk_modele_op_tab').focus();" value="Modèle d'opérations"><div id="modele_op_div" class="noprint"><div style="position:absolute;margin:2px;right:2px"><span id="close_div" class="input_text" onclick="$('modele_op_div').hide();">&#10761;</span></div><h2 class="title" >Modèle d'opérations </h2><INPUT TYPE="HIDDEN" id="action" name="action" value="use_opd"><INPUT TYPE="HIDDEN" id="action" name="jrn_type" value="VEN"><h2>Choisissez un modèle</h2>Filtrer
200 <span>
201 <input id="lk_modele_op_tab" autocomplete="off" class="input_text" name="filter" onkeyup="filter_table(this, 'modele_op_tab', '0', 0)" type="text">
202 <input type="button" class="smallbutton" onclick="$('lk_modele_op_tab').value = '';
203 filter_table($('lk_modele_op_tab'), 'modele_op_tab', '0', 0);" value="X">
204 </span>
205 <span class="notice" id="info_modele_op_tab"></span><table style="width:100%" id="modele_op_tab"><tr class="even"><td style="font-weight:bold;vertical-align:top;text-decoration:underline"><a href="do.php?p_jrn_predef=2&ac=COMPTA%2FVENMENU%2FVEN&gDossier=46&pre_def=132" onclick="waiting_box()">ATOS - SG</a> </td><td>Consultation Oracle SG, Lux</td></tr><tr class="odd"><td style="font-weight:bold;vertical-align:top;text-decoration:underline"><a href="do.php?p_jrn_predef=2&ac=COMPTA%2FVENMENU%2FVEN&gDossier=46&pre_def=123" onclick="waiting_box()">Digit</a> </td><td>DBA à la DIGIT</td></tr><tr class="even"><td style="font-weight:bold;vertical-align:top;text-decoration:underline"><a href="do.php?p_jrn_predef=2&ac=COMPTA%2FVENMENU%2FVEN&gDossier=46&pre_def=67" onclick="waiting_box()">facture hebergement phpcompta</a> </td><td></td></tr><tr class="odd"><td style="font-weight:bold;vertical-align:top;text-decoration:underline"><a href="do.php?p_jrn_predef=2&ac=COMPTA%2FVENMENU%2FVEN&gDossier=46&pre_def=116" onclick="waiting_box()">Facture uptime</a> </td><td>Facturation pour uptime : forem &amp; kontich</td></tr><tr class="even"><td style="font-weight:bold;vertical-align:top;text-decoration:underline"><a href="do.php?p_jrn_predef=2&ac=COMPTA%2FVENMENU%2FVEN&gDossier=46&pre_def=130" onclick="waiting_box()"> NOALYSS Hébergement PME</a> </td><td>Hébergement noalyss sur aevalys à 8.5 HTVA</td></tr></table></div></div><div class="content"><p class="notice"></p><FORM class="print" NAME="form_detail" METHOD="POST" ><INPUT TYPE="hidden" id="ledger_type" NAME="ledger_type" VALUE="VEN"><INPUT TYPE="hidden" id="ac" NAME="ac" VALUE="COMPTA/VENMENU/VEN"><INPUT TYPE="hidden" id="sa" NAME="sa" VALUE="p"><input type="hidden" id="gDossier" name="gDossier" value="46"><INPUT TYPE="HIDDEN" id="nb_item" name="nb_item" value="3"> <div id="jrn_name_div">
206 <h2 id="jrn_name"> Vente</h2>
207 </div>
208 <table>
209 <tr>
210 <td>
211 Journal <td><SELECT id="p_jrn" NAME="p_jrn" onChange='update_predef("ven", "f", "COMPTA/VENMENU/VEN");
212 update_pj();
213 get_last_date();
214 update_name();
215 update_pay_method();
216 update_row("sold_item");' ><OPTION VALUE="2" SELECTED>Vente</SELECT></td> </td>
217 </tr>
218 <tr>
219 <td>
220 Date
221 </td>
222 <td>
223 <input type="text" name="e_date" id="e_date_562788" class="input_text" size="10" style="width:6em" value ="01.11.2014" /><img src="image/x-office-calendar.png" id="e_date_562788_trigger" style="cursor: pointer" onmouseover="this.style.background = 'red';" onmouseout="this.style.background = ''" /><script type="text/javascript">Calendar.setup({inputField: "e_date_562788", // id of the input field
224 ifFormat: "%d.%m.%Y", // format of the input field
225 button: "e_date_562788_trigger", // trigger for the calendar (button ID)
226 align: "Bl", // alignment (defaults to "Bl")
227 singleClick: true
228 });
229 </script>
230 </td>
231 </tr>
232 <tr>
233 <td>
234 Echeance
235 </td>
236 <td>
237 <input type="text" name="e_ech" id="e_ech_326321" class="input_text" size="10" style="width:6em" value ="" /><img src="image/x-office-calendar.png" id="e_ech_326321_trigger" style="cursor: pointer" onmouseover="this.style.background = 'red';" onmouseout="this.style.background = ''" /><script type="text/javascript">Calendar.setup({inputField: "e_ech_326321", // id of the input field
238 ifFormat: "%d.%m.%Y", // format of the input field
239 button: "e_ech_326321_trigger", // trigger for the calendar (button ID)
240 align: "Bl", // alignment (defaults to "Bl")
241 singleClick: true
242 });
243 </script>
244 </td>
245 </tr>
246 <tr>
247 <td>Client</td>
248 <td>
249 <INPUT TYPE="Text" class="input_text" NAME="e_client" ID="e_client" VALUE="" SIZE="20" ondblclick="fill_ipopcard(this);" onchange="fill_data_onchange('e_client');" style="vertical-align:50%"><script type="text/javascript" charset="utf-8" language="javascript">$('e_client').ipopup = 'ipopcard';
250 $('e_client').label = 'e_client_label';
251 $('e_client').typecard = 'deb';</script><span id="ind_e_client" class="autocomplete" style="position:absolute;display:none">Un instant... <img src="image/loading.gif" alt="Chargement..."/></span><div id="e_client_choices" class="autocomplete"></div><script type="text/javascript" charset="utf-8" language="javascript">try {
252 new Ajax.Autocompleter("e_client", "e_client_choices", "fid_card.php?gDossier=46&e=deb", {paramName: "FID", minChars: 1, indicator: ind_e_client, callback: filter_card, afterUpdateElement: fill_data});
253 } catch (e) {
254 alert(e.message);
255 }
256 ;
257 ondblclick = "fill_ipopcard(this);"</script><image id="e_client_bt" alt="Recherche" class="image_search" onclick="this.typecard = 'deb';
258 this.label = 'e_client_label';
259 this.inp = 'e_client';
260 this.popup = 'ipop_card';
261 search_card(this);
262 return false;" src="image/magnifier13.png" /> <span style="display:inline" id="e_client_label">&nbsp; </span></td>
263 </td>
264 </tr>
265
266 <tr>
267 </tr>
268 <tr>
269 <td>
270 Numéro Pièce
271 </td>
272 <td>
273 <INPUT class="input_text" TYPE="TEXT" id="e_pj" NAME="e_pj" VALUE="V14/252" SIZE="10" ><INPUT TYPE="hidden" id="e_pj_suggest" NAME="e_pj_suggest" VALUE="V14/252"> </td>
274 </tr>
275 <tr>
276 <td>
277 Libellé
278 </td>
279 <td>
280 <INPUT class="input_text" TYPE="TEXT" id="e_comm" NAME="e_comm" VALUE="" SIZE="60" ><A HREF="#" tabindex="-1" style="display:inline;color:black;background-color:yellow;padding-left:4px;width:2em;padding-right:4px;text-decoration:none;" onmouseover="showBulle('1')" onclick="showBulle('1')" onmouseout="hideBulle(0)">?</A> </td>
281 </tr>
282
283 </table>
284
285
286 <br>
287 <input type="BUTTON" name="add_card" class="smallbutton " tabindex="-1" id="add_card" value="Créer une nouvelle fiche" onClick="this.jrn = $('p_jrn').value;
288 select_card_type(this);"><script type="text/javascript" charset="utf-8" language="javascript">$('add_card').ipopup = 'ipop_newcard';
289 $('add_card').jrn = '2';</script>
290 <h2>Détail articles vendus</h2>
291 <table id="sold_item" style="width:100%;border-width: 0px">
292 <tr>
293 <th style="width:auto"colspan="2">Code <A HREF="#" tabindex="-1" style="display:inline;color:black;background-color:yellow;padding-left:4px;width:2em;padding-right:4px;text-decoration:none;" onmouseover="showBulle('0')" onclick="showBulle('0')" onmouseout="hideBulle(0)">?</A></th>
294 <th>Dénomination</th>
295 <th>prix/unité htva<A HREF="#" tabindex="-1" style="display:inline;color:black;background-color:yellow;padding-left:4px;width:2em;padding-right:4px;text-decoration:none;" onmouseover="showBulle('6')" onclick="showBulle('6')" onmouseout="hideBulle(0)">?</A></th>
296 <th>quantité</th>
297 <th>Total HTVA</th>
298 <th>tva</th>
299 <th>tot.tva</th>
300 <th>tvac</th>
301
302
303
304 </tr>
305 <tr><td ><INPUT TYPE="Text" class="input_text" NAME="e_march0" ID="e_march0" VALUE="" SIZE="20" ondblclick="fill_ipopcard(this);" onchange="fill_data_onchange('e_march0');" style="vertical-align:50%"><script type="text/javascript" charset="utf-8" language="javascript">$('e_march0').typecard = 'cred';
306 $('e_march0').ipopup = 'ipopcard';
307 $('e_march0').label = 'e_march0_label';
308 $('e_march0').price = 'e_march0_price';
309 $('e_march0').tvaid = 'e_march0_tva_id';</script><span id="ind_e_march0" class="autocomplete" style="position:absolute;display:none">Un instant... <img src="image/loading.gif" alt="Chargement..."/></span>
310 <div style="position:absolute;top:2px" id="e_march0_choices" class="autocomplete"></div><script type="text/javascript" charset="utf-8" language="javascript">try {
311 new Ajax.Autocompleter("e_march0", "e_march0_choices", "fid_card.php?gDossier=46&e=cred", {paramName: "FID", minChars: 1, indicator: ind_e_march0, callback: filter_card, afterUpdateElement: fill_data});
312 } catch (e) {
313 alert(e.message);
314 }
315 ;
316 ondblclick = "fill_ipopcard(this);"</script></td><td><image id="e_march0_bt" alt="Recherche" class="image_search" onclick="this.typecard = 'cred';
317 this.label = 'e_march0_label';
318 this.price = 'e_march0_price';
319 this.tvaid = 'e_march0_tva_id';
320 this.inp = 'e_march0';
321 this.popup = 'ipop_card';
322 search_card(this);
323 return false;" src="image/magnifier13.png" /></td><td style="width: 75%;"><INPUT class="input_text" TYPE="TEXT" id="e_march0_label" NAME="e_march0_label" VALUE="" style="width:100%;" ></td>
324 <td ><INPUT class="inum" TYPE="TEXT" id="e_march0_price" NAME="e_march0_price" VALUE="" SIZE="9" onBlur='format_number(this);
325 clean_tva(0);
326 compute_ledger(0)' ></td><td ><INPUT class="inum" TYPE="TEXT" id="e_quant0" NAME="e_quant0" VALUE="1" SIZE="8" onChange='format_number(this);
327 clean_tva(0);
328 compute_ledger(0)' ></td><td ><INPUT class="inum input_text_ro" TYPE="TEXT" id="htva_march0"NAME="htva_march0" VALUE="0" SIZE="9" onchange="format_number(this, 2);" readonly ></td><td ><table><tr><td ><input type="TEXT" class="input_text" name="e_march0_tva_id" value="" id="e_march0_tva_id" size="3" onblur="format_number(this);
329 clean_tva(0);
330 compute_ledger(0)"></td><td ><input type="BUTTON" name="bt_e_march0_tva_id" class="smallbutton" tabindex="-1" id="bt_e_march0_tva_id" value=" TVA " onClick="popup_select_tva(this)"><script type="text/javascript" charset="utf-8" language="javascript">$('bt_e_march0_tva_id').gDossier = '46';
331 $('bt_e_march0_tva_id').ctl = 'e_march0_tva_id';
332 $('bt_e_march0_tva_id').popup = 'popup_tva';
333 $('bt_e_march0_tva_id').compute = '0';</script></td></tr></table></td><td ><INPUT class="inum" TYPE="TEXT" id="e_march0_tva_amount" NAME="e_march0_tva_amount" VALUE="" SIZE="6" onBlur='format_number(this);
334 compute_ledger(0)' ><INPUT TYPE="hidden" id="tva_march0" NAME="tva_march0" VALUE="0"></td><td ><INPUT class="inum input_text_ro" TYPE="TEXT" id="tvac_march0"NAME="tvac_march0" VALUE="0" SIZE="9" onchange="format_number(this, 2);" readonly ></td></tr><tr><td ><INPUT TYPE="Text" class="input_text" NAME="e_march1" ID="e_march1" VALUE="" SIZE="20" ondblclick="fill_ipopcard(this);" onchange="fill_data_onchange('e_march1');" style="vertical-align:50%"><script type="text/javascript" charset="utf-8" language="javascript">$('e_march1').typecard = 'cred';
335 $('e_march1').ipopup = 'ipopcard';
336 $('e_march1').label = 'e_march1_label';
337 $('e_march1').price = 'e_march1_price';
338 $('e_march1').tvaid = 'e_march1_tva_id';</script><span id="ind_e_march1" class="autocomplete" style="position:absolute;display:none">Un instant... <img src="image/loading.gif" alt="Chargement..."/></span><div id="e_march1_choices" class="autocomplete"></div><script type="text/javascript" charset="utf-8" language="javascript">try {
339 new Ajax.Autocompleter("e_march1", "e_march1_choices", "fid_card.php?gDossier=46&e=cred", {paramName: "FID", minChars: 1, indicator: ind_e_march1, callback: filter_card, afterUpdateElement: fill_data});
340 } catch (e) {
341 alert(e.message);
342 }
343 ;
344 ondblclick = "fill_ipopcard(this);"</script></td><td><image id="e_march1_bt" alt="Recherche" class="image_search" onclick="this.typecard = 'cred';
345 this.label = 'e_march1_label';
346 this.price = 'e_march1_price';
347 this.tvaid = 'e_march1_tva_id';
348 this.inp = 'e_march1';
349 this.popup = 'ipop_card';
350 search_card(this);
351 return false;" src="image/magnifier13.png" /></td><td style="width: 75%;"><INPUT class="input_text" TYPE="TEXT" id="e_march1_label" NAME="e_march1_label" VALUE="" style="width:100%;" ></td>
352 <td ><INPUT class="inum" TYPE="TEXT" id="e_march1_price" NAME="e_march1_price" VALUE="" SIZE="9" onBlur='format_number(this);
353 clean_tva(1);
354 compute_ledger(1)' ></td><td ><INPUT class="inum" TYPE="TEXT" id="e_quant1" NAME="e_quant1" VALUE="1" SIZE="8" onChange='format_number(this);
355 clean_tva(1);
356 compute_ledger(1)' ></td><td ><INPUT class="inum input_text_ro" TYPE="TEXT" id="htva_march1"NAME="htva_march1" VALUE="0" SIZE="9" onchange="format_number(this, 2);" readonly ></td><td ><table><tr><td ><input type="TEXT" class="input_text" name="e_march1_tva_id" value="" id="e_march1_tva_id" size="3" onblur="format_number(this);
357 clean_tva(1);
358 compute_ledger(1)"></td><td ><input type="BUTTON" name="bt_e_march1_tva_id" class="smallbutton" tabindex="-1" id="bt_e_march1_tva_id" value=" TVA " onClick="popup_select_tva(this)"><script type="text/javascript" charset="utf-8" language="javascript">$('bt_e_march1_tva_id').gDossier = '46';
359 $('bt_e_march1_tva_id').ctl = 'e_march1_tva_id';
360 $('bt_e_march1_tva_id').popup = 'popup_tva';
361 $('bt_e_march1_tva_id').compute = '1';</script></td></tr></table></td><td ><INPUT class="inum" TYPE="TEXT" id="e_march1_tva_amount" NAME="e_march1_tva_amount" VALUE="" SIZE="6" onBlur='format_number(this);
362 compute_ledger(1)' ><INPUT TYPE="hidden" id="tva_march1" NAME="tva_march1" VALUE="0"></td><td ><INPUT class="inum input_text_ro" TYPE="TEXT" id="tvac_march1"NAME="tvac_march1" VALUE="0" SIZE="9" onchange="format_number(this, 2);" readonly ></td></tr><tr><td ><INPUT TYPE="Text" class="input_text" NAME="e_march2" ID="e_march2" VALUE="" SIZE="20" ondblclick="fill_ipopcard(this);" onchange="fill_data_onchange('e_march2');" style="vertical-align:50%"><script type="text/javascript" charset="utf-8" language="javascript">$('e_march2').typecard = 'cred';
363 $('e_march2').ipopup = 'ipopcard';
364 $('e_march2').label = 'e_march2_label';
365 $('e_march2').price = 'e_march2_price';
366 $('e_march2').tvaid = 'e_march2_tva_id';</script><span id="ind_e_march2" class="autocomplete" style="position:absolute;display:none">Un instant... <img src="image/loading.gif" alt="Chargement..."/></span><div id="e_march2_choices" class="autocomplete"></div><script type="text/javascript" charset="utf-8" language="javascript">try {
367 new Ajax.Autocompleter("e_march2", "e_march2_choices", "fid_card.php?gDossier=46&e=cred", {paramName: "FID", minChars: 1, indicator: ind_e_march2, callback: filter_card, afterUpdateElement: fill_data});
368 } catch (e) {
369 alert(e.message);
370 }
371 ;
372 ondblclick = "fill_ipopcard(this);"</script></td><td><image id="e_march2_bt" alt="Recherche" class="image_search" onclick="this.typecard = 'cred';
373 this.label = 'e_march2_label';
374 this.price = 'e_march2_price';
375 this.tvaid = 'e_march2_tva_id';
376 this.inp = 'e_march2';
377 this.popup = 'ipop_card';
378 search_card(this);
379 return false;" src="image/magnifier13.png" /></td><td style="width: 75%;"><INPUT class="input_text" TYPE="TEXT" id="e_march2_label" NAME="e_march2_label" VALUE="" style="width:100%;" ></td>
380 <td ><INPUT class="inum" TYPE="TEXT" id="e_march2_price" NAME="e_march2_price" VALUE="" SIZE="9" onBlur='format_number(this);
381 clean_tva(2);
382 compute_ledger(2)' ></td><td ><INPUT class="inum" TYPE="TEXT" id="e_quant2" NAME="e_quant2" VALUE="1" SIZE="8" onChange='format_number(this);
383 clean_tva(2);
384 compute_ledger(2)' ></td><td ><INPUT class="inum input_text_ro" TYPE="TEXT" id="htva_march2"NAME="htva_march2" VALUE="0" SIZE="9" onchange="format_number(this, 2);" readonly ></td><td ><table><tr><td ><input type="TEXT" class="input_text" name="e_march2_tva_id" value="" id="e_march2_tva_id" size="3" onblur="format_number(this);
385 clean_tva(2);
386 compute_ledger(2)"></td><td ><input type="BUTTON" name="bt_e_march2_tva_id" class="smallbutton" tabindex="-1" id="bt_e_march2_tva_id" value=" TVA " onClick="popup_select_tva(this)"><script type="text/javascript" charset="utf-8" language="javascript">$('bt_e_march2_tva_id').gDossier = '46';
387 $('bt_e_march2_tva_id').ctl = 'e_march2_tva_id';
388 $('bt_e_march2_tva_id').popup = 'popup_tva';
389 $('bt_e_march2_tva_id').compute = '2';</script></td></tr></table></td><td ><INPUT class="inum" TYPE="TEXT" id="e_march2_tva_amount" NAME="e_march2_tva_amount" VALUE="" SIZE="6" onBlur='format_number(this);
390 compute_ledger(2)' ><INPUT TYPE="hidden" id="tva_march2" NAME="tva_march2" VALUE="0"></td><td ><INPUT class="inum input_text_ro" TYPE="TEXT" id="tvac_march2"NAME="tvac_march2" VALUE="0" SIZE="9" onchange="format_number(this, 2);" readonly ></td></tr></table>
391
392 <div style="position:float;float:right;text-align:right;padding-right:5px;font-size:1.2em;font-weight:bold">
393 <INPUT TYPE="button" class="smallbutton" NAME="act" ID="act" VALUE="Actualiser" onClick="compute_all_ledger();"> </div>
394
395 <div style="position:float;float:right;text-align:left;font-size:1.2em;font-weight:bold;" id="sum">
396 <br><span id="htva">0.0</span>
397 <br><span id="tva">0.0</span>
398 <br><span id="tvac" >0.0</span>
399
400 </div>
401
402 <div style="position:float;float:right;text-align:right;padding-right:5px;font-size:1.2em;font-weight:bold;">
403 <br>Total HTVA <br>Total TVA <br>Total TVAC </div>
404
405
406
407 <INPUT TYPE="hidden" id="jrn_type" NAME="jrn_type" VALUE="VEN"><INPUT TYPE="button" class="smallbutton" NAME="add_item" ID="add_item" VALUE="Ajout article" onClick="ledger_add_row()"><script type="text/javascript" charset="utf-8" language="javascript">$('e_date_562788').focus()</script><div class="content"><div id="payment"> <h2> Payé par </h2><INPUT TYPE="hidden" id="gDossier" NAME="gDossier" VALUE="46"> Acompte à déduire<INPUT class="inum" TYPE="TEXT" id="acompte" NAME="acompte" VALUE="0" SIZE="9" onchange="format_number(this, 2);" ><p> Libellé du paiement<INPUT class="input_text" TYPE="TEXT" id="e_comm_paiement" NAME="e_comm_paiement" VALUE="" SIZE="60" ></p><ol><li ><input type="radio" name="e_mp" value="0" checked>Paiement encodé plus tard<li><input type="radio" name="e_mp" value="16">BKCP <INPUT TYPE="hidden" id="e_mp_qcode_16" NAME="e_mp_qcode_16" VALUE="BKCP"><li><input type="radio" name="e_mp" value="17">Paiement par paypal <INPUT TYPE="hidden" id="e_mp_qcode_17" NAME="e_mp_qcode_17" VALUE="PAYPAL "></ol></div></div><script>compute_all_ledger();</script><div class="content"><INPUT TYPE="button" class="smallbutton" NAME="act" ID="act" VALUE="Actualiser" onClick="compute_all_ledger();"><INPUT TYPE="SUBMIT" class="smallbutton" NAME="view_invoice" ID="view_invoice_submit_id" VALUE="Enregistrer" ><INPUT TYPE="RESET" class="smallbutton" VALUE="Effacer "></div></FORM><script> update_pj()</script><script type="text/javascript" charset="utf-8" language="javascript"> get_last_date()</script><script type="text/javascript" charset="utf-8" language="javascript"> update_name()</script>
h2($p_string, $p_class="", $raw="")
Definition: ac_common.php:68
span($p_string, $p_extra='')
Definition: ac_common.php:43
tr($p_string, $p_extra='')
Definition: ac_common.php:88
p($p_string)
Definition: ac_common.php:39
td($p_string='', $p_extra='')
surround the string with td
Definition: ac_common.php:83
alert($p_msg, $buffer=false)
alert in javascript
Definition: ac_common.php:738
$opd_description style
$from_poste name
$input_from type
Definition: balance.inc.php:65
else $card content[$j]['j_montant']
manage the extension, it involves the table extension
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
Definition: fiche.class.php:38
manage the stocks
Definition: stock.class.php:37
$all table
$anc_filter title