changes to new order PDF

This commit is contained in:
Frank Schubert
2021-08-27 10:59:06 +02:00
parent ad2cdbe4dd
commit 97c73d172d
2 changed files with 2 additions and 2 deletions

View File

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