fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [9098]


From: Torstein
Subject: [Fmsystem-commits] [9098]
Date: Wed, 04 Apr 2012 09:20:38 +0000

Revision: 9098
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9098
Author:   vator
Date:     2012-04-04 09:20:37 +0000 (Wed, 04 Apr 2012)
Log Message:
-----------


Modified Paths:
--------------
    trunk/controller/inc/class.uicalendar.inc.php
    trunk/controller/inc/class.uicase.inc.php

Modified: trunk/controller/inc/class.uicalendar.inc.php
===================================================================
--- trunk/controller/inc/class.uicalendar.inc.php       2012-04-04 09:08:44 UTC 
(rev 9097)
+++ trunk/controller/inc/class.uicalendar.inc.php       2012-04-04 09:20:37 UTC 
(rev 9098)
@@ -233,7 +233,7 @@
                        $location_array = 
execMethod('property.bolocation.read_single', array('location_code' => 
$location_code));
                        
                        $heading_array = array("Jan", "Feb", "Mar", "Apr", 
"Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des");
-                       
+                       print_r($controls_calendar_array);
                        $data = array
                        (
                                'my_locations'                    => 
$my_locations,
@@ -245,7 +245,7 @@
                                'period'                                  => 
$year,
                                'year'                                    => 
$year
                        );
-                       
+                       print_r( $controls_calendar_array );
                        
self::render_template_xsl('calendar/view_calendar_year', $data);
                        
                        self::add_javascript('controller', 'controller', 
'jquery.js');

Modified: trunk/controller/inc/class.uicase.inc.php
===================================================================
--- trunk/controller/inc/class.uicase.inc.php   2012-04-04 09:08:44 UTC (rev 
9097)
+++ trunk/controller/inc/class.uicase.inc.php   2012-04-04 09:20:37 UTC (rev 
9098)
@@ -99,9 +99,9 @@
                                $new_check_item->set_check_list_id( 
$check_list_id );
                                $new_check_item->set_control_item_id( 
$control_item_id );
                                if($status == 0)
-                                       $new_check_item->set_status( 0 );
+                                       $new_check_item->set_status( 
controller_check_item_case::STATUS_OPEN );
                                else
-                                       $new_check_item->set_status( 1 );
+                                       $new_check_item->set_status( 
controller_check_item_case::STATUS_CLOSED );
                                $new_check_item->set_comment( null );
                                
                                $saved_check_item_id = 
$this->so_check_item->store( $new_check_item );




reply via email to

[Prev in Thread] Current Thread [Next in Thread]