#1188 : display accouting for detail operations (ACH / VEN)

This commit is contained in:
Dany De Bontridder 2015-10-28 11:56:16 +01:00
parent a3fd1a9804
commit 35aa11ba34
2 changed files with 30 additions and 2 deletions

View file

@ -144,7 +144,20 @@ $str_anc="";
$x = count($a_anc);
/* set the width of the col */
/* add hidden variables pa[] to hold the value of pa_id */
$str_anc.='<tr><th>Code</th><th>Montant</th><th colspan="' . $x . '">' . _('Compt. Analytique') . Anc_Plan::hidden($a_anc).'</th></tr>';
$str_anc.='<tr>'.
'<th>'.
_('Code').
'</th>'.
'<th>'.
_('Poste').
'</th>'.
'<th>'.
_('Montant').
'</th>'.
'<th colspan="' . $x . '">'
. _('Compt. Analytique') .Anc_Plan::hidden($a_anc).
'</th>'.
'</tr>';
}
echo '</tr>';
@ -224,6 +237,7 @@ $str_anc="";
bcscale(2);
$str_anc.='<tr>';
$str_anc.=td($qcode);
$str_anc.=td($poste);
$str_anc.=td(nbm($htva)." {$side}");
$str_anc.=$anc_op->display_table(1, $htva, $div);
} else

View file

@ -146,7 +146,20 @@ echo $ipaid->input();
$x = count($a_anc);
/* set the width of the col */
/* add hidden variables pa[] to hold the value of pa_id */
$str_anc.='<tr><th>Code</th><th>Montant</th><th colspan="' . $x . '">' . _('Compt. Analytique') .Anc_Plan::hidden($a_anc). '</th>'.'</tr>';
$str_anc.='<tr>'.
'<th>'.
_('Code').
'</th>'.
'<th>'.
_('Poste').
'</th>'.
'<th>'.
_('Montant').
'</th>'.
'<th colspan="' . $x . '">'
. _('Compt. Analytique') .Anc_Plan::hidden($a_anc).
'</th>'.
'</tr>';
}
@ -221,6 +234,7 @@ echo $ipaid->input();
bcscale(2);
$str_anc.='<tr>';
$str_anc.=td($qcode);
$str_anc.=td($poste);
$str_anc.=td(nbm($htva)." {$side}");
$str_anc.=$anc_op->display_table(1, $htva, $div).'</tr>';
// $row.=($div == 'popup') ? $anc_op->display_table(1, $htva, $div):"";