public function getSendStatusAction() { $document = Document\Newsletter::getById($this->getParam("id")); $data = Tool\TmpStore::get($document->getTmpStoreId()); $this->_helper->json(["data" => $data ? $data->getData() : null, "success" => true]); }