Change joins with a collection to use collection joins

This commit is contained in:
Deon George
2021-08-14 11:22:45 +10:00
parent 6db826c8a4
commit 6c6976678f
8 changed files with 12 additions and 12 deletions

View File

@@ -62,7 +62,7 @@ use App\Models\Setup;
@foreach ($o->system->addresses->groupBy('zone_id') as $zones)
<tr>
<th>{{ $zones->first()->zone->domain->name }}</th>
<th class="text-end">{!! join('<br>',$zones->pluck('ftn')->toArray()) !!}</th>
<th class="text-end">{!! $zones->pluck('ftn')->join('<br>') !!}</th>
</tr>
@endforeach
</tbody>