phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.bodocument.php, 1.1.1.5


From: nomail
Subject: [Phpgroupware-cvs] property/class.bodocument.php, 1.1.1.5
Date: Fri, 21 May 2004 18:35:19 -0000

Update of /property
Modified Files:
        Branch: 
          class.bodocument.php

date: 2004/04/24 21:36:26;  author: sigurdne;  state: Exp;  lines: +4 -4

Log Message:
no message
=====================================================================
Index: property/class.bodocument.php
diff -u property/class.bodocument.php:1.1.1.4 
property/class.bodocument.php:1.1.1.5
--- property/class.bodocument.php:1.1.1.4       Sat Apr 24 19:39:54 2004
+++ property/class.bodocument.php       Sat Apr 24 21:36:26 2004
@@ -282,8 +282,8 @@
                        for ($i=0; $i<count($document); $i++)
                        {
                                $document[$i]['user'] = 
$GLOBALS['phpgw']->accounts->id2name($document[$i]['user_id']);
-                               $document[$i]['document_date'] = 
$GLOBALS['phpgw']->common->show_date($document[$i]['start_date'],$dateformat);
-                               $document[$i]['entry_date'] = 
$GLOBALS['phpgw']->common->show_date($document[$i]['entry_date'],$dateformat);
+                               $document[$i]['document_date'] = 
$this->bocommon->show_date($document[$i]['start_date'],$dateformat);
+                               $document[$i]['entry_date'] = 
$this->bocommon->show_date($document[$i]['entry_date'],$dateformat);
                        }
 
                        return $document;
@@ -293,7 +293,7 @@
                {
                        $document                                               
= $this->so->read_single($document_id);
                        $dateformat                                             
= $GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
-                       $document['document_date']              = 
$GLOBALS['phpgw']->common->show_date($document['document_date'],$dateformat);
+                       $document['document_date']              = 
$this->bocommon->show_date($document['document_date'],$dateformat);
                        $vendor                                                 
= 
$this->contacts->read_single_entry($document['vendor_id'],array('org_name'=>'org_name','email'=>'email'));
                        $document['vendor_name']                = 
$vendor[0]['org_name'];
                        $document['vendor_email']               = 
$vendor[0]['email'];
@@ -380,7 +380,7 @@
                        while (is_array($history_array) && list(,$value) = 
each($history_array))
                        {
 
-                               $record_history[$i]['value_date']       = 
$GLOBALS['phpgw']->common->show_date($value['datetime']);
+                               $record_history[$i]['value_date']       = 
$this->bocommon->show_date($value['datetime']);
                                $record_history[$i]['value_user']       = 
$value['owner'];
 
                                switch ($value['status'])




reply via email to

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