[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [11927] property: update historylog on change actual
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [11927] property: update historylog on change actual cost |
Date: |
Tue, 29 Apr 2014 10:31:47 +0000 |
Revision: 11927
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11927
Author: sigurdne
Date: 2014-04-29 10:31:45 +0000 (Tue, 29 Apr 2014)
Log Message:
-----------
property: update historylog on change actual cost
Modified Paths:
--------------
trunk/property/inc/cron/default/import_oppdatering_av_bestilling_fra_agresso_bkb.php
Modified:
trunk/property/inc/cron/default/import_oppdatering_av_bestilling_fra_agresso_bkb.php
===================================================================
---
trunk/property/inc/cron/default/import_oppdatering_av_bestilling_fra_agresso_bkb.php
2014-04-28 13:58:41 UTC (rev 11926)
+++
trunk/property/inc/cron/default/import_oppdatering_av_bestilling_fra_agresso_bkb.php
2014-04-29 10:31:45 UTC (rev 11927)
@@ -52,6 +52,7 @@
$this->sotts =
CreateObject('property.sotts');
$this->config =
CreateObject('admin.soconfig',$GLOBALS['phpgw']->locations->get_id('property',
'.invoice'));
$this->send =
CreateObject('phpgwapi.send');
+ $this->historylog =
CreateObject('property.historylog','tts');
}
public function execute()
@@ -279,6 +280,7 @@
}
$this->receipt['message'][] = array('msg' =>"Oppdaterer
melding #{$id} for agresso prosjekt {$agresso_prosjekt}: gammelt beløp:
{$old_actual_cost}, nytt beløp: {$new_actual_cost}");
+ $this->historylog->add('AC',$id, $new_actual_cost ,
$old_actual_cost);
$value_set = array
(
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [11927] property: update historylog on change actual cost,
Sigurd Nes <=