public function generateHtml(InvoiceEntity $invoiceEntity)
{
/** @var NewsletterPresenter $presenter */
$presenter = $this->application->getPresenterFactory()->createPresenter('Cms:Admin:Invoices');
$presenter->autoCanonicalize = FALSE;
$request = new \Nette\Application\Request('Cms:Admin:Invoices', 'GET', array('table-table-actions-show-item' => $invoiceEntity->id, 'do' => 'table-table-actions-show-click'));
$response = $presenter->run($request);
return (string) $response->getSource();
}