Passolution

This commit is contained in:
Kevin Adametz 2020-10-16 16:18:34 +02:00
parent f79806ffe8
commit 06fc3ba919
31 changed files with 337 additions and 119 deletions

View file

@ -140,7 +140,11 @@ class CMSFeWoController extends Controller
if($data['action'] === 'previewPDF'){
$pdf_content = BookingFewo::getFeWoCMSContentForPDF($this->identifier_content, $identifier_fewo);
$pdf_file = new CreatePDF('pdf.fewo_instructions');
return $pdf_file->create($fewo, $pdf_content);
return $pdf_file->create([
'contents' => $pdf_content,
'fewo' => $fewo
]
);
}
if($data['action'] === 'addItem' && isset($data['content_pos_id'])) {