changes to new order PDF
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user