21 <div
class=
"content" style=
"width:80%;margin-left:10%">
22 <!-- <h2
class=
"info">Historique</h2> -->
25 echo HtmlInput::hidden(
'sa',
$_REQUEST[
'sa']);
26 echo HtmlInput::hidden(
'sb',
$_REQUEST[
'sb']);
27 echo HtmlInput::hidden(
'ac',
$_REQUEST[
'ac']);
28 echo HtmlInput::hidden(
'plugin_code',
$_REQUEST[
'plugin_code']);
29 echo dossier::hidden();
30 echo _(
'Cherche').
' : '.HtmlInput::filter_table(
'amortissement_tb',
'1,2,3,5,6',1);
32 <
table id=
"amortissement_tb" class=
"result">
34 <th><?php echo
$header->get_header(0)?></th>
35 <th><?php echo
$header->get_header(1)?></th>
36 <th
style=
"text-align:right"><?php echo
$header->get_header(2)?></th>
37 <th style=
"text-align:center"><?php echo
$header->get_header(3)?></th>
38 <th><?php echo
$header->get_header(4)?></th>
39 <th><?php echo
$header->get_header(5)?></th>
44 for ($i=0;$i<count(
$array);$i++) :
45 $class=($i%2==0)?
"odd":
"even";
46 echo
'<tr class="'.$class.
'">';
47 echo td(
$array[$i][
'quick_code']);
48 echo td(
$array[$i][
'vw_name']);
49 echo td(nbm(
$array[$i][
'h_amount']),
'align="right"');
50 echo td(
$array[$i][
'h_year'],
'align="center"');
52 echo td(
$array[$i][
'h_pj']);
54 if (
$array[$i][
'jr_internal'] !=
'' )
56 $jrid=
$cn->get_value(
'select jr_id from jrn where jr_internal=$1',array(
$array[$i][
'jr_internal']));
57 $msg=HtmlInput::detail_op($jrid,
$array[$i][
'jr_internal']);
60 $ic=
new ICheckBox(
'p_sel[]');
62 echo td(
$ic->input());
71 <?php echo HtmlInput::submit(
'remove',
'Effacer la sélection',
'onclick="confirm(\'Confirmez Effacement ?\')"')?>
if(isset($_POST['remove'])) $array