noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
last_event-display.php
Go to the documentation of this file.
1<?php
2/*
3 * This file is part of NOALYSS.
4 *
5 * NOALYSS is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * NOALYSS is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with NOALYSS; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18*/
19// Copyright Author Dany De Bontridder danydb@aevalys.eu 11/08/24
20/*!
21 * \file
22 * \brief display last follow-up
23 */
24 ?>
25 <table class="result" >
26 <?php
27 for ($i=0;$i < $len_array;$i++) :
28 ?>
29 <tr class=" <?php echo ($i%2==0)?'even':'odd'?>">
30 <td class="box">
31 <?php echo smaller_date($array[$i]['ag_timestamp_fmt']) ;?>
32 </td>
33 <td class="box">
34 <?php echo HtmlInput::detail_action($array[$i]['ag_id'], $array[$i]['ag_ref'], 1) ?>
35 </td>
36 <td class="box">
37 <?php echo mb_substr(h($array[$i]['quick_code']),0,15)?>
38 </td>
39 <td class="box cut">
40 <?php echo h($array[$i]['ag_title'])?>
41 </td>
42 </tr>
43 <?php
44 endfor;
45 ?>
46 </table>
smaller_date($p_date)
shrink the date, make a date shorter for the printing
tr($p_string, $p_extra='')
Definition ac_common.php:88
td($p_string='', $p_extra='')
surround the string with td
Definition ac_common.php:83
h( $row[ 'oa_description'])
static detail_action($ag_id, $p_mesg, $p_modify=1)
return an anchor to view the detail of an action
$all table