Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
31b62ce3
Commit
31b62ce3
authored
14 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: bug #31825 : Tri des taches par date du plus récent au plus ancien
parent
86589d23
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/comm/action/listactions.php
+4
-4
4 additions, 4 deletions
htdocs/comm/action/listactions.php
with
4 additions
and
4 deletions
htdocs/comm/action/listactions.php
+
4
−
4
View file @
31b62ce3
<?php
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Eric Seigne <erics@rycks.com>
* Copyright (C) 2004-201
0
Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004-201
1
Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -22,7 +22,7 @@
/**
* \file htdocs/comm/action/listactions.php
* \ingroup agenda
* \brief Page list
e des
actions
commerciales
* \brief Page
to
list actions
* \version $Id$
*/
...
...
@@ -56,7 +56,7 @@ $offset = $limit * $page ;
if
(
!
$sortorder
)
{
$sortorder
=
"ASC"
;
if
(
$status
==
'todo'
)
$sortorder
=
"
DE
SC"
;
if
(
$status
==
'todo'
)
$sortorder
=
"
A
SC"
;
if
(
$status
==
'done'
)
$sortorder
=
"DESC"
;
}
if
(
!
$sortfield
)
...
...
@@ -235,7 +235,7 @@ if ($resql)
if
(
$obj
->
percent
==
0
&&
!
$obj
->
dp
&&
$obj
->
dp2
&&
$db
->
jdate
(
$obj
->
dp
)
<
(
$now
-
$delay_warning
))
$late
=
1
;
if
(
$obj
->
percent
>
0
&&
$obj
->
percent
<
100
&&
$obj
->
dp2
&&
$db
->
jdate
(
$obj
->
dp2
)
<
(
$now
-
$delay_warning
))
$late
=
1
;
if
(
$obj
->
percent
>
0
&&
$obj
->
percent
<
100
&&
!
$obj
->
dp2
&&
$obj
->
dp
&&
$db
->
jdate
(
$obj
->
dp
)
<
(
$now
-
$delay_warning
))
$late
=
1
;
if
(
$late
)
print
img_warning
(
$langs
->
trans
(
"Late"
));
if
(
$late
)
print
img_warning
(
$langs
->
trans
(
"Late"
))
.
' '
;
print
'</td>'
;
print
'<td align="center" nowrap="nowrap">'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment