added pdf template and other invoice improvements (#1693)

This commit is contained in:
Kevin Papst
2020-05-10 16:19:59 +02:00
committed by GitHub
parent 4e1ffedc20
commit e3749c8e8f
45 changed files with 561 additions and 89 deletions

View File

@@ -14,7 +14,8 @@ interface HtmlToPdfConverter
/**
* Returns the binary content of the PDF, which can be saved as file or send via Reponse.
* @param string $html
* @param array $options
* @return mixed
*/
public function convertToPdf(string $html);
public function convertToPdf(string $html, array $options = []);
}