noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
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 18/08/24
20/*!
21 * \file
22 * \brief display events for 10 days
23 */
24//echo \HtmlInput::title_box(_("A faire"), uniqid(), 'custom', $this->button_zoom(), 'n');
25$this->title(_("Ev. pour 14 jours") );
26if ( empty ($array)) {
27 echo _("Aucun événement en retard ou prévu");
28 return;
29}
31foreach ($array as $item):
32 $idx++;
33$class=($idx&1)?'odd':'even';
35$date=date('ymd');
36if ($item['remind_date'] < $date) {
37 $style="background-color:brown;color:white;";
38} elseif ($item['remind_date'] == $date ) {
39 $style="background-color:orange;color:white;";
40}
41?>
42<div class="row <?=$class?> border" style="<?=$style?>">
43 <div class="col-2">
44 <?=$item['ag_timestamp_fmt']?>
45 </div>
46 <div class="col" style="text-overflow:hidden;text-wrap:nowrap;text-overflow:ellipsis ">
47 <?=HtmlInput::detail_action($item['ag_id'],
48 $item['ag_ref']." ".$item['ag_title'])?>
49 </div>
50</div>
51<?php
53?>
54
55
if(isset($tot['tva'][$a]))($tot['tva'][$a])?></td ><?php else endforeach
$opd_description style
_("actif, passif,charge,...")
static detail_action($ag_id, $p_mesg, $p_modify=1)
return an anchor to view the detail of an action
$anc_filter title
if( $delta< 0) elseif( $delta==0)