mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-13 14:04:44 -04:00
wip
This commit is contained in:
parent
6a4afe3e65
commit
ed22c62c42
@ -348,7 +348,7 @@ class Design extends BaseDesign
|
|||||||
|
|
||||||
$items = $this->transformLineItems($this->entity->line_items, $type);
|
$items = $this->transformLineItems($this->entity->line_items, $type);
|
||||||
|
|
||||||
// $this->processMarkdownOnLineItems($items);
|
$this->processMarkdownOnLineItems($items);
|
||||||
|
|
||||||
if (count($items) == 0) {
|
if (count($items) == 0) {
|
||||||
return [];
|
return [];
|
||||||
|
@ -95,7 +95,7 @@ trait PdfMakerUtilities
|
|||||||
$child['content'] = $this->commonmark->convertToHtml($child['content'] ?? '');
|
$child['content'] = $this->commonmark->convertToHtml($child['content'] ?? '');
|
||||||
}
|
}
|
||||||
|
|
||||||
$child['content'] = array_key_exists('content', $child) ? nl2br($child['content']) : '';
|
// $child['content'] = array_key_exists('content', $child) ? nl2br($child['content']) : '';
|
||||||
|
|
||||||
if (isset($child['content'])) {
|
if (isset($child['content'])) {
|
||||||
if (isset($child['is_empty']) && $child['is_empty'] === true) {
|
if (isset($child['is_empty']) && $child['is_empty'] === true) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user