5<div
class=
"row" style=
"margin-right: 0px;margin-left:0px">
6<div
id=
"calendar_box_div" class=
"box">
8<?php echo
$cal->display(
'short',0); ?>
11<div
id=
"todo_listg_div" class=
"box"> <?php echo
HtmlInput::title_box(_(
'Pense-Bête'),
"todo_listg_div",
'zoom',
"zoom_todo()",
'n')?>
17echo dossier::hidden();
23 echo
'<table id="table_todo" class="sortable" width="100%">';
24 echo
'<tr><th class=" sorttable_sorted_reverse" id="todo_list_date">Date</th><th>Titre</th><th></th>';
30 if (
$nb % 2 == 0 ) $odd=
'odd ';
else $odd=
'even ';
32 echo
$row->display_row($odd);
39<div
id=
"situation_div" class=
"box">
62 alert(_(
'Aucune periode par defaut'));
71 echo
'<table class="result">';
74 $class=(
$ix%2==0)?
' class="even" ':
' class="odd" ';
75 echo
'<tr '.$class.
'>';
77 echo
'<td> '.$row[
'desc'].
'</td>'.
78 '<td style="text-align:right">'.nbm(
$row[
'montant']).
" €</td>";
83 echo _(
'Aucun résultat');
91 <div
id=
"report_div" class=
"box"> <?php echo
HtmlInput::title_box(_(
'Aucun rapport défini'),
'report_div',
'none',
'',
'n')?>
93 <a href=
"javascript:void(0)" class=
"cell" onclick=
"set_preference('<?php echo dossier::id()?>')"><?php echo _(
'Cliquez ici pour mettre à jour vos préférences')?></a>
104<div
id=
"last_operation_box_div" class=
"box">
107<
table class=
"result" >
111$last_ledger=
$Ledger->get_last(20);
113for(
$i=0;
$i<count($last_ledger);
$i++):
114 $class=(
$i%2==0)?
' class="even" ':
' class="odd" ';
116<tr <?php echo $class ?>>
121 <?php echo $last_ledger[
$i][
'jr_pj_number']?>
125 <?php echo
h(mb_substr($last_ledger[
$i][
'jr_comment']??
"",0,40,
'UTF-8'))?>
131<?php echo
nbm($last_ledger[
$i][
'jr_montant'])?>
139<div
id=
"last_operation_management_div" class=
"box">
148 <
table class=
"result" >
150 for (
$i=0;
$i < $len_array;
$i++) :
152 <
tr class=
" <?php echo ($i%2==0)?'even':'odd'?>">
160 <?php echo mb_substr(
h(
$array[
$i][
'quick_code']),0,15)?>
171</div><!--
class=
"row" -->
172<div
id=
"add_todo_list" class=
"box" style=
"display:none">
179$wDesc=
new ITextArea(
'p_desc');
183echo _(
"Date").
" ".
$wDate->input().
'<br>';
184echo _(
"Titre").
" ".
$wTitle->input().
'<br>';
185echo _(
"Description").
"<br>".
$wDesc->input().
'<br>';
186echo dossier::hidden();
188echo
HtmlInput::submit(
'save_todo_list',_(
'Sauve'),
'onClick="Effect.Fold(\'add_todo_list\');return true;"');
189echo
HtmlInput::button(
'hide',_(
'Annuler'),
'onClick="Effect.Fold(\'add_todo_list\');return true;"');
smaller_date($p_date)
shrink the date, make a date shorter for the printing
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
nbm($p_number, $p_dec=2)
format the number with a sep.
alert($p_msg, $buffer=false)
alert in javascript
global $g_user
if no group available , then stop
h( $row[ 'oa_description'])
foreach(array( 'l', 'gDossier') as $a) if(is_numeric($l)==false) $Ledger
Class rapport Create, view, modify and parse report.
Html Input : Input a date format dd.mm.yyyy The property title should be set to indicate what it is e...
For the periode tables parm_periode and jrn_periode.
static main_display(Database $cn)
This class manages the table todo_list.
static to_object($p_cn, $p_array)