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">
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>
23 <div
style=
"clear:both;"></div>
26 <div
id=
"calc"><input
type=
"BUTTON" name=
"shcalc" class=
"smallbutton " id=
"shcalc" value=
"Calculatrice" onClick=
"show_calc()"></div> <div
id=
"direct">
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" >
34 new Ajax.Autocompleter(
"ac",
"ac_choices",
"direct.php?gDossier=46",
35 {paramName:
"acs", minChars: 1, indicator:
null,
37 afterUpdateElement:
null});
39 $(
'info_div').innerHTML = e.message;
51 <a
class=
"mtitle" href=
"javascript:void(0)" title=
"Raccourci vers vos menus préférés" onclick=
"show_bookmark(46)" >Favori</a></
td>
53 <a
class=
"mtitle" href=
"javascript:void(0)" title=
"Menu simplifié pour retrouver rapidement un menu" onclick=
"ask_navigator(46)" >Navigateur</a></
td>
55 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=DASHBOARD" title=
"Tableau de bord" >Tableau de bord</a></
td>
57 <a
class=
"mtitle" href=
"javascript:void(0)" title=
"Préférence" onclick=
"set_preference(46)" >Préférence</a></
td>
59 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=PARAM" title=
"Module paramètre" >Paramètre</a></
td>
61 <a
class=
"mtitle" href=
"user_login.php" title=
"Accueil" >Accueil</a></
td>
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>
67 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=AGENDA" title=
"Agenda" >Agenda</a></
td>
69 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=GESTION" title=
"Module gestion" >Gestion</a></
td>
71 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=ANC" title=
"Module comptabilité analytique" >Compta Analytique</a></
td>
73 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=EXT" title=
"Extensions (plugins)" >
Extension</a></
td>
75 <a
class=
"mtitle" href=
"javascript:void(0)" title=
"Recherche" onclick=
"popup_recherche(46)" >Recherche</a></
td>
81 </d<div
class=
"topmenu">
87 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/HIST" title=
"Historique">
92 <
td class=
"selectedcell">
93 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/VENMENU/VEN" title=
"Menu ventes et recettes" >
97 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/MENUACH" title=
"Menu achat">
103 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/MENUFIN" title=
"Menu Financier">
109 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/MENUODS" title=
"Menu opérations diverses">
110 Opérations diverses </a>
115 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/PRINT" title=
"Menu impression">
121 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/CARD" title=
"Liste,Balance,Historique par fiche">
127 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/LET" title=
"Lettrage">
133 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/STOCK" title=
"Stock">
139 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/ADV" title=
"Menu avancé">
150 <
table class=
"mtitle" >
154 <
td class=
"selectedcell">
155 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/VENMENU/VEN" title=
"Nouvelle vente ou recette" >
159 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/VENMENU/VEHISTO" title=
"Historique des ventes">
160 Historique vente </a>
169 Journal <SELECT
id=
"p_jrn" NAME=
"p_jrn" onChange=
'update_predef("ven", "f", "COMPTA/VENMENU/VEN");
174 update_row("sold_item");' ><OPTION VALUE=
"2" SELECTED>Vente</SELECT>
176 <div
style=
"position:absolute" class=
"content">
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});
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';
193 return false;" src=
"image/magnifier13.png" /> <
span style=
"display:inline" id=
"e_client_label"> </
span>
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();">⨉</
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
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">
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 & 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>
211 Journal <td><SELECT id="p_jrn" NAME="p_jrn" onChange='update_predef(
"ven",
"f",
"COMPTA/VENMENU/VEN");
216 update_row(
"sold_item");
' ><OPTION VALUE="2" SELECTED>Vente</SELECT></td> </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")
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")
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});
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
';
262 return false;" src="image/magnifier13.png" /> <span style="display:inline" id="e_client_label"> </span></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>
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>
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">
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>
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});
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
';
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);
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);
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);
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});
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
';
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);
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);
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);
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});
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
';
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);
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);
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);
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>
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>
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>
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>
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="")
span($p_string, $p_extra='')
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
alert($p_msg, $buffer=false)
alert in javascript
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...