display('short',0); ?>
load_all();
$a_todo=Todo_List::to_object($cn,$array);
echo HtmlInput::button('add',_('Ajout'),'onClick="add_todo()"','smallbutton');
echo '
';
echo 'Date | Titre | | ';
if ( ! empty ($array) ) {
$nb=0;
$today=date('d.m.Y');
foreach ($a_todo as $row) {
if ( $nb % 2 == 0 ) $odd='odd '; else $odd='even ';
$nb++;
echo $row->display_row($odd);
}
}
echo '
---|
';
?>
|
|
|
|
0): ?>
0
|
0): ?>
0
|
|
0): ?>
0
|
0): ?>
0
|
|
0): ?>
0
|
0): ?>
0
|
get_mini_report();
$rapport=new Acc_Report($cn);
$rapport->id=$report;
if ( $rapport->exist() == false ) {
$g_user->set_mini_report(0);
$report=0;
}
if ( $report != 0 ) : ?>
get_name(),'report_div','none','','n');?>
get_exercice();
if ( $exercice == 0 ) {
alert(_('Aucune periode par defaut'));
} else {
$periode=new Periode($cn);
$limit=$periode->limit_year($exercice);
$result=$rapport->get_row($limit['start'],$limit['end'],'periode');
$ix=0;
if ( count ($result) > 0)
{
echo '
';
foreach ($result as $row) {
$ix++;
$class=($ix%2==0)?' class="even" ':' class="odd" ';
echo '';
echo ' '.$row['desc'].' | '.
''.nbm($row['montant'])." € | ";
echo '
';
}
echo '
';
} else {
echo _('Aucun résultat');
}
}
?>
get_last(MAX_ACTION_SHOW);
$len_array=count($array);
?>