[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9658] display checklists on home, added check on pla
From: |
Erik Holm-Larsen |
Subject: |
[Fmsystem-commits] [9658] display checklists on home, added check on planned |
Date: |
Tue, 26 Jun 2012 06:25:34 +0000 |
Revision: 9658
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9658
Author: erikhl
Date: 2012-06-26 06:25:33 +0000 (Tue, 26 Jun 2012)
Log Message:
-----------
display checklists on home, added check on planned
Modified Paths:
--------------
trunk/controller/inc/hook_home.inc.php
Modified: trunk/controller/inc/hook_home.inc.php
===================================================================
--- trunk/controller/inc/hook_home.inc.php 2012-06-25 13:40:36 UTC (rev
9657)
+++ trunk/controller/inc/hook_home.inc.php 2012-06-26 06:25:33 UTC (rev
9658)
@@ -314,13 +314,16 @@
}
else
{
- $next_date = "Fristdato: " .
date('d/m/Y', $check_list->get_deadline());
- $portalbox2_data[] = array
- ($check_list->get_deadline(),
array
- (
- 'text' =>
"{$location_name} - {$control_area_name} - {$current_control["title"]} ::
{$next_date}",
- 'link' =>
$GLOBALS['phpgw']->link('/index.php', array('menuaction' =>
'controller.uicheck_list.edit_check_list', 'check_list_id' =>
$check_list->get_id()))
- ));
+ if(!$check_list->get_planned_date())
+ {
+ $next_date = "Fristdato: " .
date('d/m/Y', $check_list->get_deadline());
+ $portalbox2_data[] = array
+ ($check_list->get_deadline(),
array
+ (
+ 'text' =>
"{$location_name} - {$control_area_name} - {$current_control["title"]} ::
{$next_date}",
+ 'link' =>
$GLOBALS['phpgw']->link('/index.php', array('menuaction' =>
'controller.uicheck_list.edit_check_list', 'check_list_id' =>
$check_list->get_id()))
+ ));
+ }
}
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9658] display checklists on home, added check on planned,
Erik Holm-Larsen <=