Go to the documentation of this file.
29 <
table class=
"result">
32 echo
th(_(
'Poste Comptable'));
33 echo
th(_(
'Quick Code'));
34 echo
th(_(
'Libellé'));
35 echo
th(_(
'Débit'),
'style="text-align:right"');
36 echo
th(_(
'Crédit'),
'style="text-align:right"');
39 for (
$e = 0;
$e < count(
$obj->det->array);
$e++)
47 if (
$q[
$e][
'j_qcode'] !=
'')
57 $l_lib =
$q[
$e][
'j_text'];
61 $l_lib =
$q[
$e][
'j_text'];
63 else if (
$q[
$e][
'j_qcode'] !=
'')
67 $ff->get_by_qcode(
$q[
$e][
'j_qcode']);
73 $name =
$cn->get_value(
'select pcm_lib from tmp_pcmn where pcm_val=$1', array(
$q[
$e][
'j_poste']));
76 $l_lib = strip_tags($l_lib);
81 $montant =
td(
nbm(
$q[
$e][
'j_montant']),
'class="num"');
82 $row.=(
$q[
$e][
'j_debit'] ==
't') ? $montant :
td(
'');
83 $row.=(
$q[
$e][
'j_debit'] ==
'f') ? $montant :
td(
'');
nbm($p_number, $p_dec=2)
format the number with a sep.
catch(Exception $e) $exercice
tr($p_string, $p_extra='')
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