- Timestamp:
- 01/06/10 17:35:36 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/recurringinvoices/scheduler_recurr.php
r674 r722 209 209 210 210 $fieldList = array(); 211 211 212 foreach($therecord as $name=>$value){ 212 213 switch($name){ … … 293 294 $theid = $this->db->insertId(); 294 295 295 $this->copyLineItems($therecord["uuid"],$theid); 296 $this->insertHistory($theid,$therecord["statusid"],$therecord["statusdate"],$therecord["assignedtoid"]); 296 $this->copyLineItems($therecord["id"], $theid); 297 298 $this->insertHistory($therecord["uuid"], $therecord["statusid"], $therecord["statusdate"], $therecord["assignedtoid"]); 297 299 298 300 $this->updateReccurence($therecord["recurrid"],$therecord["firstrepeat"]); … … 323 325 324 326 case "invoiceid": 325 $therecord[$name] = "'".$newInvoiceID."'";327 $therecord[$name] = $newInvoiceID; 326 328 $fieldlist[] = $name; 327 329 break;