22 Cherche <?php echo HtmlInput::infobulle(400)?> <?php echo HtmlInput::filter_table(
"list_amortissement",
"0,1,2,3,4",1)?>
24 <
table id=
"list_amortissement" class=
"sortable" style=
"width:99%;margin-left:0.5%">
27 <th
class=
" sorttable_sorted">
29 <span
id=
"sorttable_sortfwdind">&
nbsp;&
nbsp;▾</span>
31 <th>Date acquisition</th>
33 <th
style=
"text-align:right">Montant Initial</th>
34 <th
style=
"text-align:right">Montant Amorti</th>
35 <th
style=
"text-align:right">Valeur Net Comptable</th>
43 for ($i =0 ;$i < Database::num_row(
$ret);$i++) :
50 echo td(
$fiche->strAttribut(ATTR_DEF_NAME));
52 echo
'<td sorttable_customkey="'.$row->a_date.
'">'.format_date(
$row->a_date).
'</td>';
53 echo td(
$row->a_start);
54 echo td(nbm(
$row->a_amount),
' sorttable_customkey="'.$row->a_amount.
'" style="text-align:right"');
55 $amortized=
$cn->get_value(
"select coalesce(sum(h_amount),0) from amortissement.amortissement_histo where a_id=$1",array(
$row->a_id));
58 echo td(nbm(
$remain),
'sorttable_customkey="'.
$remain.
'" style="text-align:right"');
67 <tr
class=
"highlight">
72 <td
style=
"text-align:right">
75 <td style=
"text-align:right">
78 <td style=
"text-align:right">
for($i=0;$i< Database::num_row($ret);$i++) $row
detail_material($f_id, $p_label)