From c8be714d1613d0f2d88c00379ae80463c8c56084 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 21 Oct 2020 06:24:27 +0200 Subject: [PATCH] Do now show not uploaded attachments #3973 --- app/Helpers/Collector/GroupCollector.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Helpers/Collector/GroupCollector.php b/app/Helpers/Collector/GroupCollector.php index f38f9c6575..612f3d0049 100644 --- a/app/Helpers/Collector/GroupCollector.php +++ b/app/Helpers/Collector/GroupCollector.php @@ -528,6 +528,7 @@ class GroupCollector implements GroupCollectorInterface ->where( static function (EloquentBuilder $q1) { $q1->where('attachments.attachable_type', TransactionJournal::class); + $q1->where('attachments.uploaded',1); $q1->orWhereNull('attachments.attachable_type'); } );