From 50e757933b92bcf9f2c0f521f7931c913732a7af Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Sat, 3 Nov 2018 15:08:15 +0800 Subject: [PATCH] Remove invoice print out table tfoot Table tfoot contains invoice total, if we use tfoot for multi page invoice item listing, the tfoot will be shown on each page (which we don't want). If we use tbody, the total rows will only shown on the bottom of the invoice item listing table. --- resources/views/invoices/pdf.blade.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/views/invoices/pdf.blade.php b/resources/views/invoices/pdf.blade.php index 51d6de9..c1eefc1 100755 --- a/resources/views/invoices/pdf.blade.php +++ b/resources/views/invoices/pdf.blade.php @@ -116,8 +116,6 @@ $subtotal += $item['amount']; @endphp @endforeach - - @if ($invoice->discount) {{ __('invoice.subtotal') }} : @@ -135,7 +133,7 @@ {{ trans('app.total') }} {{ formatRp($invoice->amount) }} - +