From c1a92bfb52acbe81a1393165e12032f772fbd67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 5 Apr 2021 11:04:33 +0200 Subject: [PATCH] Fixes #5312 (https://github.com/invoiceninja/invoiceninja/issues/5312) --- app/Services/PdfMaker/Design.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/Services/PdfMaker/Design.php b/app/Services/PdfMaker/Design.php index ca501eb69b3a..7ad507f0aa2e 100644 --- a/app/Services/PdfMaker/Design.php +++ b/app/Services/PdfMaker/Design.php @@ -507,13 +507,6 @@ class Design extends BaseDesign } } - if (!is_null($this->entity->partial) && $this->entity->partial > 0) { - $elements[1]['elements'][] = ['element' => 'div', 'elements' => [ - ['element' => 'span', 'content' => '$partial_due_label', 'properties' => ['data-ref' => 'totals_table-partial_due-label']], - ['element' => 'span', 'content' => '$partial_due'], - ]]; - } - $elements[1]['elements'][] = ['element' => 'div', 'elements' => [ ['element' => 'span', 'content' => '',], ['element' => 'span', 'content' => ''],