DataObjects/Mtrack_change.php
authorAlan Knowles <alan@roojs.com>
Wed, 14 Nov 2018 02:16:36 +0000 (10:16 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 14 Nov 2018 02:16:36 +0000 (10:16 +0800)
DataObjects/Mtrack_change.php

index 76793d9..1b91450 100644 (file)
@@ -650,7 +650,7 @@ class Pman_MTrack_DataObjects_Mtrack_change extends DB_DataObject
         }
         DB_DataObject::debugLevel(1);
         // look up in the accounting system what time was spent on the ticket..
-        $ie = DB_DataObject::factory('invoice_entry');
+        $ie = DB_DataObject::factory('cash_invoice_entry');
         $ie->ticket_id = $q['onid'];
         $ie->orderBy('entered_dt ASC'); // doesnt matter really - we will sort it..
         $ie->autoJoin();