changes to new order PDF

This commit is contained in:
Frank Schubert
2021-08-27 10:56:36 +02:00
parent a045592d96
commit ad2cdbe4dd
4 changed files with 177 additions and 177 deletions

View File

@@ -383,7 +383,7 @@ class OrderController extends mfBaseController {
if($owner->save()) {
// render service pin PDF
$pdf = new Layout();
$pdf = Layout::singleton();
$pdf->setTemplate("Emailtemplates/attachments/new_order.pdf");
$pdf->set("ressourcePathPrefix", BASEDIR."/public/");
$pdf->set("owner", $owner);