Public Member Functions | |
afterSave ($object) |
Definition at line 28 of file Parent.php.
afterSave | ( | $ | object | ) |
Save invoice items
Reimplemented from Mage_Eav_Model_Entity_Attribute_Backend_Abstract.
Definition at line 31 of file Parent.php.
00032 { 00033 parent::afterSave($object); 00034 00035 /** 00036 * Save invoice items 00037 */ 00038 foreach ($object->getAllItems() as $item) { 00039 $item->setOrderItem($item->getOrderItem()); 00040 $item->save(); 00041 } 00042 00043 foreach($object->getCommentsCollection() as $comment) { 00044 $comment->save(); 00045 } 00046 00047 return $this; 00048 }