12 <div
id=
"jrn_name_div">
13 <
h1 id=
"jrn_name"> <?php echo $this->get_name()?></
h1>
18 <?php echo
_(
'Journal')?>
25 <
td> <?php echo
_(
'Modèle opération') ?></
td>
27 <?php echo $str_op_template;?>
32 <?php echo
_(
'Date')?>
40 <?php echo
_(
'Echeance')?>
43 <?php echo $f_echeance?>
47 <
td><?php echo $f_type?></
td>
49 <?php echo $f_client_qcode?><?php echo $f_client_bt?><?php echo $str_add_button_tiers;?> <?php echo $f_client?>
54 <?php echo $f_periode?>
58 <?php echo
_(
'Numéro Pièce')?>
66 <?php echo
_(
'Libellé')?>
74 <
td style=
"width:100%" colspan=
"2">
77 <div
id=
"jrn_note_td"><?php
90 <?=$currency_select->input()?>
91 <?=$currency_input->change(
'CurrencyCompute(\'p_currency_rate\',\'p_currency_euro\');')?>
104$hidden=($this->has_quantity()==0)?
'd-none':
'';
106<
h2 class=
"h-section"><?php echo $f_legend_detail?></
h2>
107<
table id=
"sold_item" >
110 <
th class=
"visible_gt800 visible_gt1155"><?php echo
_(
'Dénomination')?></
th>
111<?php
if ($flag_tva ==
'Y') : ?>
113 <
th class=
"text-center col_quant <?=$hidden?>"><?php echo
_(
'quantité')?></
th>
114 <
th class=
"text-center visible_gt800" ><?php echo
_(
'Total HTVA')?></
th>
115 <
th><?php echo
_(
'tva')?></
th>
116 <
th class=
"text-center visible_gt800"><?php echo
_(
'tot.tva')?></
th>
117 <
th class=
"text-center "><?php echo
_(
'tvac')?></
th>
120 <
th class=
"text-center col_quant <?=$hidden?>"><?php echo
_(
'quantité')?></
th>
121 <
th class=
"text-center "><?php echo
_(
'Total ')?></
th>
130echo $item[
'quick_code'];
132echo $item[
'bt'].$item[
'card_add'].
'</td>';
134<
td class=
"visible_gt800 visible_gt1155"><?php echo $item[
'denom'] ?></
td>
136echo
td($item[
'pu'],
'class=" text-center"');
137echo
td($item[
'quantity' ],
'class="col_quant '.
$hidden.
' text-center"');
138echo
td($item[
'htva'],
' class="visible_gt800 text-center" ');
140 echo
td($item[
'tva']);
141 echo
td($item[
'amount_tva'].$item[
'hidden'],
' class="visible_gt800 text-center" ');
144echo
td($item[
'tvac'],
'class="text-center"');
150 <
tr class=
"highlight">
151 <
td> <?php echo
_(
"Total")?>
155 <
td class=
"visible_gt800 visible_gt1155"> </
td>
156 <
td class=
"col_quant <?=$hidden?> text-center"'> </td>
157 <td style="text-align:center" class="visible_gt800"> <span id="htva">0.0</span></td>
158 <?php if ( $flag_tva=='Y
' ) : ?>
160 <td style="text-align:center" class="visible_gt800"> <span id="tva">0.0</span> </td>
161 <td style="text-align:center"> <span id="tvac" >0.0</span> </td>
165 <tr id="row_currency" class="highlight" style="display:none">
166 <td> <?php printf( _("Total %s"),$default_currency->get_code() );?>
169 <td class="num visible_gt800"></td>
170 <td class="col_quant <?=$hidden?> text-center"'> </
td>
171<?php
if ($flag_tva==
'Y') {?>
172 <
td style=
"text-align:center" class=
"visible_gt800 visible_gt1155"></
td>
174 <
td class=
"visible_gt800"></
td>
185<?php echo
HtmlInput::button(
'act',
_(
'Actualiser'),
'onClick="compute_all_ledger();"'); ?>
189 if ($(
'p_currency_code').
value != 0) {
190 $(
'row_currency').show();
192 compute_all_ledger();
h2($p_string, $p_class="", $raw="")
th($p_string, $p_extra='', $raw='')
span($p_string, $p_extra='')
h1($p_string, $p_class="")
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
_("actif, passif,charge,...")
display currency , convert to euro , and save them if used.
static longer($p_domid, $p_size)
Increase size of input_text (p_domid) with p_domid.
static infobulle($p_comment)
Display a info in a bubble, text is in message_javascript.
static show_note($p_domid)
Increase size of input_text (p_domid) with p_domid.
static echo_file($msg, $print=true)
display the file