Dashboard : cannot zoom event from follow-up
This commit is contained in:
parent
5bd038a2a3
commit
f32a4d8595
4 changed files with 14 additions and 6 deletions
|
|
@ -283,6 +283,8 @@ function action_show(p_dossier)
|
|||
remove_waiting_box();
|
||||
add_div({id: 'action_list_div', style:"top:1%;width:90%;left:5%" , cssclass: 'inner_box'});
|
||||
$('action_list_div').innerHTML=p_xml.responseText;
|
||||
var table_followup=document.getElementById('event_followup');
|
||||
if ( table_followup) { sorttable.makeSortable(table_followup); }
|
||||
}
|
||||
});
|
||||
} catch (e)
|
||||
|
|
|
|||
|
|
@ -21,9 +21,7 @@
|
|||
Show the default order
|
||||
example:
|
||||
<th class=" sorttable_sorted_reverse">
|
||||
....<span id="sorttable_sortrevind"> ▴</span>
|
||||
<th class=" sorttable_sorted">
|
||||
....<span id="sorttable_sortfwdind"> ▾</span>
|
||||
<th class=" sorttable_sorted">
|
||||
|
||||
Sort on date
|
||||
<td sorttable_customkey="<?=$row_bank['b_date']?>"> // format YYYYMMDD
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ if ($op=='action_show')
|
|||
*/
|
||||
require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
|
||||
$gestion=new Follow_Up($cn);
|
||||
$array=$gestion->get_last(25);
|
||||
$array=$gestion->get_last(35);
|
||||
$len_array=count($array);
|
||||
require_once NOALYSS_TEMPLATE.'/action_show.php';
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -29,13 +29,21 @@ require_once NOALYSS_INCLUDE.'/class/default_menu.class.php';
|
|||
$a_default=new Default_Menu();
|
||||
|
||||
echo HtmlInput::title_box(_('Suivi'), 'action_list_div');
|
||||
|
||||
echo _("Recherche"),HtmlInput::filter_table("event_followup", '0,1,2,3', 1);
|
||||
?>
|
||||
<table style="width: 100%">
|
||||
<table id="event_followup" class="sortable" style="width: 100%">
|
||||
<tr>
|
||||
<th class="sorttable_sorted_reverse"><?=_("Date création")?></th>
|
||||
<th><?=_("Référence")?></th>
|
||||
<th><?=_("Destinataire")?></th>
|
||||
<th><?=_("Titre")?></th>
|
||||
</tr>
|
||||
<?php
|
||||
for ($i=0;$i < $len_array;$i++) :
|
||||
?>
|
||||
<tr class=" <?php echo ($i%2==0)?'even':'odd'?>">
|
||||
<td class="box">
|
||||
<td sorttable_customkey="<?=$array[$i]['ag_timestamp']?>" class="box">
|
||||
<?php echo smaller_date($array[$i]['ag_timestamp_fmt']) ;?>
|
||||
<?php echo " ".$array[$i]['ag_hour'] ;?>
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue