1<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2 FINAL//EN" ><HTML><HEAD> <meta http-equiv=
"x-ua-compatible" content=
"IE=edge"/>
2 <TITLE>VEN NOALYSS</TITLE>
3 <link rel=
"icon" type=
"image/ico" href=
"favicon.ico" />
4 <META http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
5 <LINK REL=
"stylesheet" type=
"text/css" href=
"./style-classic.css" media=
"screen">
6 <link rel=
"stylesheet" type=
"text/css" href=
"style-print.css" media=
"print">
7 <script language=
"javascript" src=
"js/calendar.js"></script>
8 <script
type=
"text/javascript" src=
"js/lang/calendar-en.js"></script>
9 <script language=
"javascript" src=
"js/calendar-setup.js"></script>
10 <LINK REL=
"stylesheet" type=
"text/css" href=
"calendar-blue.css" media=
"screen"> </HEAD> <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();">⨉</
span></div><
h2 class=
"title" >Erreur</
h2><div
id=
"error_content_div"></div><
p style=
"text-align:center"><input
type=
"button" id=
"xx_160282" class=
"button" onclick=
"$('error_div').style.visibility='hidden';$('error_content_div').innerHTML='';" value=
"Valider"></
p></div>
11 <DIV
id=
"bulle" class=
"infobulle"></DIV>
12 <script
type=
"text/javascript" language=
"javascript" src=
"js/infobulle.js">
13 </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><div
id=
"top">
16 <div
style=
"clear:both;"></div>
19<div
id=
"calc"><input
type=
"BUTTON" name=
"shcalc" class=
"smallbutton " id=
"shcalc" value=
"Calculatrice" onClick=
"show_calc()"></div> <div
id=
"direct">
21 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>
22 <INPUT TYPE=
"SUBMIT" class=
"smallbutton" NAME=
"go" ID=
"go_submit_id" VALUE=
"aller" >
27 new Ajax.Autocompleter(
"ac",
"ac_choices",
"direct.php?gDossier=46",
28 {paramName:
"acs",minChars:1,indicator:
null,
30 afterUpdateElement:
null});}
catch (e){$(
'info_div').innerHTML=e.message;};
40 <a
class=
"mtitle" href=
"javascript:void(0)" title=
"Raccourci vers vos menus préférés" onclick=
"show_bookmark(46)" >Favori</a></
td>
42 <a
class=
"mtitle" href=
"javascript:void(0)" title=
"Menu simplifié pour retrouver rapidement un menu" onclick=
"ask_navigator(46)" >Navigateur</a></
td>
44 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=DASHBOARD" title=
"Tableau de bord" >Tableau de bord</a></
td>
46 <a
class=
"mtitle" href=
"javascript:void(0)" title=
"Préférence" onclick=
"set_preference(46)" >Préférence</a></
td>
48 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=PARAM" title=
"Module paramètre" >Paramètre</a></
td>
50 <a
class=
"mtitle" href=
"user_login.php" title=
"Accueil" >Accueil</a></
td>
52 <a
class=
"mtitle" href=
"logout.php" title=
"Sortie" >Sortie</a></
td>
53 </
tr><
tr> <
td class=
"toolselected">
54 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA" title=
"Module comptabilité" >Comptabilité</a></
td>
56 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=AGENDA" title=
"Agenda" >Agenda</a></
td>
58 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=GESTION" title=
"Module gestion" >Gestion</a></
td>
60 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=ANC" title=
"Module comptabilité analytique" >Compta Analytique</a></
td>
62 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=EXT" title=
"Extensions (plugins)" >
Extension</a></
td>
64 <a
class=
"mtitle" href=
"javascript:void(0)" title=
"Recherche" onclick=
"popup_recherche(46)" >Recherche</a></
td>
71<div
style=
"clear:both;"></div>
78 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/HIST" title=
"Historique">
83 <
td class=
"selectedcell">
84 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/VENMENU/VEN" title=
"Menu ventes et recettes" >
88 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/MENUACH" title=
"Menu achat">
94 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/MENUFIN" title=
"Menu Financier">
100 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/MENUODS" title=
"Menu opérations diverses">
101 Opérations diverses </a>
106 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/PRINT" title=
"Menu impression">
112 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/CARD" title=
"Liste,Balance,Historique par fiche">
118 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/LET" title=
"Lettrage">
124 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/STOCK" title=
"Stock">
130 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/ADV" title=
"Menu avancé">
141 <
table class=
"mtitle" >
145 <
td class=
"selectedcell">
146 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/VENMENU/VEN" title=
"Nouvelle vente ou recette" >
150 <a
class=
"mtitle" href=
"do.php?gDossier=46&ac=COMPTA/VENMENU/VEHISTO" title=
"Historique des ventes">
151 Historique vente </a>
161 <div
id=
"predef_form"><INPUT TYPE=
"hidden" id=
"p_jrn_predef" NAME=
"p_jrn_predef" VALUE=
"2"><input
type=
"button" id=
"xx_676273" class=
"button" onclick=
" $('modele_op_div').style.display='block';$('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
163 <input id="lk_modele_op_tab" autocomplete="off" class="input_text" name="filter" onkeyup="filter_table(this, 'modele_op_tab
','0
',0 )" type="text">
164 <input type="button" class="smallbutton" onclick="$('lk_modele_op_tab
').value='';filter_table($('lk_modele_op_tab
'), 'modele_op_tab
','0
',0 );" value="X">
166 <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">
167 <h2 id="jrn_name"> Vente</h2>
172 Journal <td><SELECT id="p_jrn" NAME="p_jrn" onChange='update_predef(
"ven",
"f",
"COMPTA/VENMENU/VEN");update_pj();get_last_date();update_name();update_pay_method();update_row(
"sold_item");
' ><OPTION VALUE="2" SELECTED>Vente</SELECT></td> </td>
179 <input type="text" name="e_date" id="e_date_618445" class="input_text" size="10" style="width:6em" value ="01.11.2014" /><img src="image/x-office-calendar.png" id="e_date_618445_trigger" style="cursor: pointer" onmouseover="this.style.background='red
';" onmouseout="this.style.background=''" /><script type="text/javascript">Calendar.setup({inputField : "e_date_618445", // id of the input field
180 ifFormat : "%d.%m.%Y", // format of the input field
181 button : "e_date_618445_trigger", // trigger for the calendar (button ID)
182 align : "Bl", // alignment (defaults to "Bl")
193 <input type="text" name="e_ech" id="e_ech_545287" class="input_text" size="10" style="width:6em" value ="" /><img src="image/x-office-calendar.png" id="e_ech_545287_trigger" style="cursor: pointer" onmouseover="this.style.background='red
';" onmouseout="this.style.background=''" /><script type="text/javascript">Calendar.setup({inputField : "e_ech_545287", // id of the input field
194 ifFormat : "%d.%m.%Y", // format of the input field
195 button : "e_ech_545287_trigger", // trigger for the calendar (button ID)
196 align : "Bl", // alignment (defaults to "Bl")
205 <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
';$('e_client
').label='e_client_label
';$('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 { new Ajax.Autocompleter("e_client","e_client_choices","fid_card.php?gDossier=46&e=deb",{paramName:"FID",minChars:1,indicator:null, callback:filter_card, afterUpdateElement:fill_data});} catch (e){alert(e.message);}; ondblclick="fill_ipopcard(this);" </script><image id="e_client_bt" alt="Recherche" class="image_search" onclick="this.typecard='deb
';this.label='e_client_label
';this.inp='e_client
';this.popup='ipop_card
'; search_card(this);return false;" src="image/magnifier13.png" /> <span style="display:inline" id="e_client_label"> </span></td>
216 <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>
223 <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>
230<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; select_card_type(this);"><script type="text/javascript" charset="utf-8" language="javascript">$('add_card
').ipopup='ipop_newcard
';$('add_card
').jrn='2
'; </script>
231<h2>Détail articles vendus</h2>
232<table id="sold_item" style="width:100%;border-width: 0px">
234<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>
235 <th>Dénomination</th>
236 <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>
246<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
';$('e_march0
').ipopup='ipopcard
';$('e_march0
').label='e_march0_label
';$('e_march0
').price='e_march0_price
';$('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><div id="e_march0_choices" class="autocomplete"></div><script type="text/javascript" charset="utf-8" language="javascript">try { new Ajax.Autocompleter("e_march0","e_march0_choices","fid_card.php?gDossier=46&e=cred",{paramName:"FID",minChars:1,indicator:null, callback:filter_card, afterUpdateElement:fill_data});} catch (e){alert(e.message);}; ondblclick="fill_ipopcard(this);" </script></td><td><image id="e_march0_bt" alt="Recherche" class="image_search" onclick="this.typecard='cred
';this.label='e_march0_label
';this.price='e_march0_price
';this.tvaid='e_march0_tva_id
';this.inp='e_march0
';this.popup='ipop_card
'; search_card(this);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>
247<td ><INPUT class="inum" TYPE="TEXT" id="e_march0_price" NAME="e_march0_price" VALUE="" SIZE="9" onBlur='format_number(
this);clean_tva(0);compute_ledger(0)
' ></td><td ><INPUT class="inum" TYPE="TEXT" id="e_quant0" NAME="e_quant0" VALUE="1" SIZE="8" onChange='format_number(
this);clean_tva(0);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);clean_tva(0);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
';$('bt_e_march0_tva_id
').ctl='e_march0_tva_id
';$('bt_e_march0_tva_id
').popup='popup_tva
';$('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);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
';$('e_march1
').ipopup='ipopcard
';$('e_march1
').label='e_march1_label
';$('e_march1
').price='e_march1_price
';$('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 { new Ajax.Autocompleter("e_march1","e_march1_choices","fid_card.php?gDossier=46&e=cred",{paramName:"FID",minChars:1,indicator:null, callback:filter_card, afterUpdateElement:fill_data});} catch (e){alert(e.message);}; ondblclick="fill_ipopcard(this);" </script></td><td><image id="e_march1_bt" alt="Recherche" class="image_search" onclick="this.typecard='cred
';this.label='e_march1_label
';this.price='e_march1_price
';this.tvaid='e_march1_tva_id
';this.inp='e_march1
';this.popup='ipop_card
'; search_card(this);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>
248<td ><INPUT class="inum" TYPE="TEXT" id="e_march1_price" NAME="e_march1_price" VALUE="" SIZE="9" onBlur='format_number(
this);clean_tva(1);compute_ledger(1)
' ></td><td ><INPUT class="inum" TYPE="TEXT" id="e_quant1" NAME="e_quant1" VALUE="1" SIZE="8" onChange='format_number(
this);clean_tva(1);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);clean_tva(1);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
';$('bt_e_march1_tva_id
').ctl='e_march1_tva_id
';$('bt_e_march1_tva_id
').popup='popup_tva
';$('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);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
';$('e_march2
').ipopup='ipopcard
';$('e_march2
').label='e_march2_label
';$('e_march2
').price='e_march2_price
';$('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 { new Ajax.Autocompleter("e_march2","e_march2_choices","fid_card.php?gDossier=46&e=cred",{paramName:"FID",minChars:1,indicator:null, callback:filter_card, afterUpdateElement:fill_data});} catch (e){alert(e.message);}; ondblclick="fill_ipopcard(this);" </script></td><td><image id="e_march2_bt" alt="Recherche" class="image_search" onclick="this.typecard='cred
';this.label='e_march2_label
';this.price='e_march2_price
';this.tvaid='e_march2_tva_id
';this.inp='e_march2
';this.popup='ipop_card
'; search_card(this);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>
249<td ><INPUT class="inum" TYPE="TEXT" id="e_march2_price" NAME="e_march2_price" VALUE="" SIZE="9" onBlur='format_number(
this);clean_tva(2);compute_ledger(2)
' ></td><td ><INPUT class="inum" TYPE="TEXT" id="e_quant2" NAME="e_quant2" VALUE="1" SIZE="8" onChange='format_number(
this);clean_tva(2);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);clean_tva(2);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
';$('bt_e_march2_tva_id
').ctl='e_march2_tva_id
';$('bt_e_march2_tva_id
').popup='popup_tva
';$('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);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>
251<div style="position:float;float:right;text-align:right;padding-right:5px;font-size:1.2em;font-weight:bold">
252 <INPUT TYPE="button" class="smallbutton" NAME="act" ID="act" VALUE="Actualiser" onClick="compute_all_ledger();"> </div>
254 <div style="position:float;float:right;text-align:left;font-size:1.2em;font-weight:bold;" id="sum">
255 <br><span id="htva">0.0</span>
256 <br><span id="tva">0.0</span>
257 <br><span id="tvac" >0.0</span>
261<div style="position:float;float:right;text-align:right;padding-right:5px;font-size:1.2em;font-weight:bold;">
262 <br>Total HTVA <br>Total TVA <br>Total TVAC </div>
266<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_618445
').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
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...