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é')?>
79 <pre
id=
"jrn_note_td"></pre>
88 <?=$currency_select->input()?>
89 <?=$currency_input->change(
'CurrencyCompute(\'p_currency_rate\',\'p_currency_euro\');')?>
102$hidden=($this->has_quantity()==0)?
'd-none':
'';
104<
h2><?php echo $f_legend_detail?></
h2>
105<
table id=
"sold_item" >
108 <
th class=
"visible_gt800 visible_gt1155"><?php echo _(
'Dénomination')?></
th>
109<?php
if ($flag_tva ==
'Y') : ?>
111 <
th class=
"text-center col_quant <?=$hidden?>"><?php echo _(
'quantité')?></
th>
112 <
th class=
"text-center visible_gt800" ><?php echo _(
'Total HTVA')?></
th>
113 <
th><?php echo _(
'tva')?></
th>
114 <
th class=
"text-center visible_gt800"><?php echo _(
'tot.tva')?></
th>
115 <
th class=
"text-center "><?php echo _(
'tvac')?></
th>
118 <
th class=
"text-center col_quant <?=$hidden?>"><?php echo _(
'quantité')?></
th>
119 <
th class=
"text-center "><?php echo _(
'Total ')?></
th>
128echo $item[
'quick_code'];
130echo
'<td>'.$item[
'bt'].$item[
'card_add'].
'</td>';
132<
td class=
"visible_gt800 visible_gt1155"><?php echo $item[
'denom'] ?></
td>
134echo
td($item[
'pu'],
'class=" text-center"');
135echo
td($item[
'quantity' ],
'class="col_quant '.
$hidden.
' text-center"');
136echo
td($item[
'htva'],
' class="visible_gt800 text-center" ');
138 echo
td($item[
'tva']);
139 echo
td($item[
'amount_tva'].$item[
'hidden'],
' class="visible_gt800 text-center" ');
142echo
td($item[
'tvac'],
'class="text-center"');
148 <
tr class=
"highlight">
149 <
td> <?php echo _(
"Total")?>
153 <
td class=
"visible_gt800 visible_gt1155"> </
td>
156 <
td style=
"text-align:center" class=
"visible_gt800"> <
span id=
"htva">0.0</
span></
td>
157 <?php
if ( $flag_tva==
'Y' ) : ?>
159 <
td style=
"text-align:center" class=
"visible_gt800"> <
span id=
"tva">0.0</
span> </
td>
164 <
tr id=
"row_currency" class=
"highlight" style=
"display:none">
168 <
td class=
"num visible_gt800"></
td>
169<?php
if ($flag_tva==
'Y') {?>
170 <
td style=
"text-align:center" class=
"visible_gt800 visible_gt1155"></
td>
172 <
td class=
"visible_gt800"></
td>
184<?php echo
HtmlInput::button(
'act',_(
'Actualiser'),
'onClick="compute_all_ledger();"'); ?>
188 if ($(
'p_currency_code').
value != 0) {
189 $(
'row_currency').show();
191 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
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