diff --git a/code/app/Printers/Components/Document.php b/code/app/Printers/Components/Document.php index 700374df..c95d992d 100644 --- a/code/app/Printers/Components/Document.php +++ b/code/app/Printers/Components/Document.php @@ -62,7 +62,7 @@ public function renderHtml() public function renderCsv() { - + return null; } public function download($filename) diff --git a/code/app/Printers/Order.php b/code/app/Printers/Order.php index cac1b833..382d2731 100644 --- a/code/app/Printers/Order.php +++ b/code/app/Printers/Order.php @@ -190,8 +190,7 @@ protected function handleSummary($obj, $request) $document->append(new Title($document_title)); - $table = $this->formatSummary($obj, $document, $required_fields, $status, $shipping_place); - $document->append($table); + $document = $this->formatSummary($obj, $document, $required_fields, $status, $shipping_place); if ($send_mail) { $document->save($temp_file_path);