Go to the documentation of this file.
31 <
table class=
"result">
35 echo
th(_(
'Quick Code'));
36 echo
th(_(
'Description'));
37 echo
th(_(
'Prix/Un'),
'style="text-align:right"');
38 echo
th(_(
'Quantité'),
'style="text-align:right"');
40 echo
th(_(
'Taux TVA'),
'style="text-align:right"');
44 echo
th(_(
'HTVA'),
'style="text-align:right"');
45 echo
th(_(
'TVA NP'),
'style="text-align:right"');
46 echo
th(_(
'TVA'),
'style="text-align:right"');
47 echo
th(_(
'TVAC'),
'style="text-align:right"');
49 echo
th(_(
'Total'),
'style="text-align:right"');
66 if (
$q[
'qs_quantite'] != 0) $pu=bcdiv(
$q[
'qs_price'],
$q[
'qs_quantite']);
74 $sym_tva=(
h($tva->get_parameter(
'label')));
78 $row.=
td($sym_tva,
'style="text-align:center"');
83 $tvac=bcadd($htva,
$q[
'qs_vat']);
87 if (
$q[
'qs_vat_sided'] != 0) {
88 $class=
' style="text-decoration:line-through"';
89 $tvac=bcsub($tvac,
$q[
'qs_vat']);
101 $row=
td(_(
'Total'),
' style="font-style:italic;text-align:right;font-weight: bolder;" colspan="5"');
103 $row=
td(_(
'Total'),
' style="font-style:italic;text-align:right;font-weight: bolder;" colspan="5"');
nbm($p_number, $p_dec=2)
format the number with a sep.
h( $row[ 'oa_description'])
tr($p_string, $p_extra='')
Acc_Tva is used for to map the table tva_rate parameter are.
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
th($p_string, $p_extra='', $raw='')
td($p_string='', $p_extra='')
surround the string with td