Skip to content

Commit

Permalink
fix formattazione "riassunto prodotti" con luoghi di consegna. ref #215
Browse files Browse the repository at this point in the history
  • Loading branch information
madbob committed Oct 2, 2023
1 parent 955dc9f commit 0ad971b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/app/Printers/Components/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function renderHtml()

public function renderCsv()
{

return null;
}

public function download($filename)
Expand Down
3 changes: 1 addition & 2 deletions code/app/Printers/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0ad971b

Please sign in to comment.