[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7504] property: fix import of service-agreement deta
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7504] property: fix import of service-agreement details from spreadsheet |
Date: |
Wed, 17 Aug 2011 06:37:13 +0000 |
Revision: 7504
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7504
Author: sigurdne
Date: 2011-08-17 06:37:12 +0000 (Wed, 17 Aug 2011)
Log Message:
-----------
property: fix import of service-agreement details from spreadsheet
Modified Paths:
--------------
trunk/property/inc/class.bos_agreement.inc.php
Modified: trunk/property/inc/class.bos_agreement.inc.php
===================================================================
--- trunk/property/inc/class.bos_agreement.inc.php 2011-08-16 11:36:06 UTC
(rev 7503)
+++ trunk/property/inc/class.bos_agreement.inc.php 2011-08-17 06:37:12 UTC
(rev 7504)
@@ -384,8 +384,7 @@
function import($import_data,$id)
{
- $this->so->role = 'detail';
- $custom_attributes =
$this->so->read_attrib(array('allrows'=>true));
+ $custom_attributes = $this->custom->find('property',
'.s_agreement.detail', 0, '', 'ASC', 'attrib_sort', true, true);
foreach($custom_attributes as $attrib)
{
@@ -407,6 +406,7 @@
unset($values['extra']['location_code']);
unset($values['extra']['address']);
unset($values['extra']['cost']);
+
return $this->so->add_item($values);
}
@@ -525,4 +525,3 @@
}
}
-
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7504] property: fix import of service-agreement details from spreadsheet,
Sigurd Nes <=