Jump to content


Member Since 28 Jan 2015
Offline Last Active Aug 03 2015 03:30 PM

Posts I've Made

In Topic: Custom on-Save Workflow

29 July 2015 - 02:40 PM

Up to now I "hacked" zurmo a little bit and added my calculation to models/Account.php

The field is calculated and updated, every time an activity is created. It would be possible to check if the custom field is empty.. but not neccessary in this case. 

 public function setLatestActivityDateTime($dateTime)
    AuditUtil::saveOriginalAttributeValue($this, 'latestActivityDateTime', $dateTime);
    $this->unrestrictedSet('latestActivityDateTime', $dateTime);

// calculate / update custom field
     $accountId = 5000+$this->id;
     $accountNr = "CUSTOMER-{$accountId}";
     AuditUtil::saveOriginalAttributeValue($this, 'account_nrCstm', $accountNr);
     $this->unrestrictedSet('account_nrCstm', $accountNr);

In Topic: German Translation for 3.0

04 March 2015 - 12:34 PM

Interessting Question for me to. 

I checked and found no translation for 3.0.