*/ class Mage_Sales_Model_Order_Pdf_Items_Invoice_Grouped extends Mage_Sales_Model_Order_Pdf_Items_Invoice_Default { /** * Draw process */ public function draw() { $type = $this->getItem()->getOrderItem()->getRealProductType(); $renderer = $this->getRenderedModel()->getRenderer($type); $renderer->setOrder($this->getOrder()); $renderer->setItem($this->getItem()); $renderer->setPdf($this->getPdf()); $renderer->setPage($this->getPage()); $renderer->draw(); } }