public function onPdfInvoiceColLeft(Am_Event $e) { $invoice = $e->getInvoice(); if ($invoice->paysys_id == $this->getId()) { $c = $e->getCol(); $c->ddr = ___('Direct Debit Reference: %s', self::REF_PREFIX . $invoice->public_id); } }