[Vtigercrm-commits] [vtiger-commits] r9244 - /vtigercrm/trunk/soap/vtigerolservice.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Sep 4 04:12:24 EDT 2006
Author: richie
Date: Mon Sep 4 02:11:52 2006
New Revision: 9244
Log:
Issue in Calendar end time has been fixed --Jeri
Modified:
vtigercrm/trunk/soap/vtigerolservice.php
Modified: vtigercrm/trunk/soap/vtigerolservice.php
==============================================================================
--- vtigercrm/trunk/soap/vtigerolservice.php (original)
+++ vtigercrm/trunk/soap/vtigerolservice.php Mon Sep 4 02:11:52 2006
@@ -1144,7 +1144,7 @@
$clndr->column_fields[time_end]= in_array('time_end',$permitted_lists) ? $stimeend : "";
//$clndr->column_fields[duration_hours]= in_array('duration_hours',$permitted_lists) ? $stimeduehr : "";
//$clndr->column_fields[duration_minutes]= in_array('duration_minutes',$permitted_lists) ? $stimeduemin : "";
-
+
$clndr->column_fields[location]= in_array('location',$permitted_lists) ? $clndrow["location"] : "";
$clndr->column_fields[description]= in_array('description',$permitted_lists) ? $clndrow["description"] : "";
$clndr->column_fields[activitytype]="Meeting";
@@ -1199,19 +1199,20 @@
$stimestart = $atimestart[0].":".$atimestart[1];
$stimeend = $atimedue[0].":".$atimedue[1];
- if( $diff=@get_time_difference($stimestart, $stimeend) )
+ /*if( $diff=@get_time_difference($stimestart, $stimeend) )
{
$stimeduehr = sprintf('%02d',$diff['hours']);
$stimeduemin = sprintf('%02d',$diff['minutes']);
- }
+ }*/
$clndr->retrieve_entity_info($clndrow["id"],"Calendar");
$clndr->column_fields[subject] = in_array('subject',$permitted_lists) ? $clndrow["subject"] : "";
$clndr->column_fields[date_start]= in_array('date_start',$permitted_lists) ? getDisplayDate(trim($astartdtm[0])) : "";
$clndr->column_fields[due_date]= in_array('due_date',$permitted_lists) ? getDisplayDate(trim($aduedtm[0])) : "";
$clndr->column_fields[time_start]= in_array('time_start',$permitted_lists) ? $stimestart : "";
- $clndr->column_fields[duration_hours]= in_array('duration_hours',$permitted_lists) ? $stimeduehr : "";
- $clndr->column_fields[duration_minutes]= in_array('duration_minutes',$permitted_lists) ? $stimeduemin : "";
+ $clndr->column_fields[time_end]= in_array('time_end',$permitted_lists) ? $stimeend : "";
+ //$clndr->column_fields[duration_hours]= in_array('duration_hours',$permitted_lists) ? $stimeduehr : "";
+ //$clndr->column_fields[duration_minutes]= in_array('duration_minutes',$permitted_lists) ? $stimeduemin : "";
$clndr->column_fields[location]= in_array('location',$permitted_lists) ? $clndrow["location"] : "";
$clndr->column_fields[description]= in_array('description',$permitted_lists) ? $clndrow["description"] : "";
$clndr->column_fields[activitytype]="Meeting";
More information about the vtigercrm-commits
mailing list