<table>
    <thead>
    <tr>
      <th>Beszállító</th>
        <th>Profitcenter</th>
    </tr>
    </thead>
    <tbody>
    @foreach($Suppliers as $supplier)
        @foreach($supplier->profitCenter as $profitCenter)
            <tr>
                <td>
                    {{$supplier->name}}
                </td>
                <td>
                    {{$profitCenter->name}}
                </td>
            </tr>
        @endforeach
    @endforeach

    </tbody>


</table>

