fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7773] Added field unit leader


From: Torstein
Subject: [Fmsystem-commits] [7773] Added field unit leader
Date: Mon, 03 Oct 2011 07:39:26 +0000

Revision: 7773
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7773
Author:   vator
Date:     2011-10-03 07:39:26 +0000 (Mon, 03 Oct 2011)
Log Message:
-----------
Added field unit leader

Modified Paths:
--------------
    trunk/rental/inc/model/class.party.inc.php

Modified: trunk/rental/inc/model/class.party.inc.php
===================================================================
--- trunk/rental/inc/model/class.party.inc.php  2011-10-03 07:39:02 UTC (rev 
7772)
+++ trunk/rental/inc/model/class.party.inc.php  2011-10-03 07:39:26 UTC (rev 
7773)
@@ -43,6 +43,7 @@
        protected $sync_data;
        protected $sync_problems = array();
        protected $org_enhet_id;
+       protected $unit_leader;
 
        public function __construct($id = 0)
        {
@@ -119,7 +120,14 @@
        {
                $this->org_enhet_id = $org_enhet_id;
        }
+       
+       public function get_unit_leader() { return $this->unit_leader; }
 
+       public function set_unit_leader($unit_leader)
+       {
+               $this->unit_leader = $unit_leader;
+       }
+
        public function get_sync_data() { return $this->sync_data; }
        
        public function set_sync_data($sync_data)
@@ -388,6 +396,7 @@
                        'service_id' => $this->sync_data['service_id'],
                        'responsibility_id' => 
$this->sync_data['responsibility_id'],
                        'org_enhet_id' => $this->get_org_enhet_id(),
+                       'unit_leader' => $this->get_unit_leader(),
                        'sync_message' => 
implode('<br/>',$this->get_sync_problems())
                );
                




reply via email to

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