public function actionIssue($id)
{
if ($this->getManager()->issueCvi($this->event, $this->getApp()->user->id)) {
$this->getApp()->user->setFlash('success.cvi_issue', 'The CVI has been successfully generated.');
//$this->redirect(array('/' . $this->event->eventType->class_name . '/default/pdfPrint/' . $id));
$this->redirect(array('/' . $this->event->eventType->class_name . '/default/view/' . $id . '?print=1'));
} else {
$this->getApp()->user->setFlash('error.cvi_issue', 'The CVI could not be generated.');
$this->redirect(array('/' . $this->event->eventType->class_name . '/default/view/' . $id));
}
}