noalyss
Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
include
widget
event
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"
) );
26
if
( empty (
$array
)) {
27
echo
_
(
"Aucun événement en retard ou prévu"
);
28
return
;
29
}
30
$idx
=0;
31
foreach
(
$array
as $item):
32
$idx
++;
33
$class
=(
$idx
&1)?
'odd'
:
'even'
;
34
$style
=
""
;
35
$date
=date(
'ymd'
);
36
if
($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
52
endforeach
;
53
?>
54
55
endforeach
if(isset($tot['tva'][$a]))($tot['tva'][$a])?></td ><?php else endforeach
Definition
acc_ledger_history_purchase_detail.php:183
$date
$date
Definition
action_display_short.php:30
$array
$array
Definition
ajax_add_concerned_card.php:115
$idx
$idx
Definition
ajax_bookmark.php:79
style
$opd_description style
Definition
ajax_mod_predf_op.php:52
$style
$style
Definition
ajax_preference.php:51
_
_("actif, passif,charge,...")
Definition
balance.inc.php:195
$class
$class
Definition
cfgplugin.inc.php:95
HtmlInput\detail_action
static detail_action($ag_id, $p_mesg, $p_modify=1)
return an anchor to view the detail of an action
Definition
html_input.class.php:320
title
$anc_filter title
Definition
company.inc.php:119
elseif
if( $delta< 0) elseif( $delta==0)
Definition
letter_prop.php:166
Generated on Wed Jun 25 2025 09:57:48 for noalyss by
1.13.2