Do now show not uploaded attachments #3973

This commit is contained in:
James Cole
2020-10-21 06:24:27 +02:00
parent 2f885d65cc
commit c8be714d16

View File

@@ -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');
}
);