From 9804db7988cd3fdaba894137614d62cb9b5c5ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Wed, 30 Jun 2021 20:41:03 +0200 Subject: [PATCH] Show attachments on invoices page --- .../portal/ninja2020/invoices/show.blade.php | 30 +------------------ 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/resources/views/portal/ninja2020/invoices/show.blade.php b/resources/views/portal/ninja2020/invoices/show.blade.php index 46b160a8672b..c26c3c9a71e5 100644 --- a/resources/views/portal/ninja2020/invoices/show.blade.php +++ b/resources/views/portal/ninja2020/invoices/show.blade.php @@ -70,35 +70,7 @@ @endif - @if($invoice->documents->count() > 0) -
-
-
-
-

{{ ctrans('texts.attachments') }}:

- @foreach($invoice->documents as $document) -
- {{ Illuminate\Support\Str::limit($document->name, 40) }} - - - - - - - - @if(!$loop->last) - - @endif -
- @endforeach -
-
-
-
- @endif + @include('portal.ninja2020.components.entity-documents', ['entity' => $invoice])