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

@@ -50,7 +50,7 @@
@default No details
@endswitch
</td>
<td>{{ join(',',$oo->addresses->pluck('ftn')->toArray()) }}</td>
<td>{{ $oo->addresses->pluck('ftn')->join(', ') }}</td>
<td>{{ $oo->zt_id }}</td>
</tr>
@endforeach