<html>
<style>
    table{
        border-spacing: 0;
    }
    td,th{
        border-style:solid; border-width:1px; border-color:#6c7b88;
        border-spacing: 0;
        padding: 5px;
    }
</style>
<body>
<p>Lekérdezés időpontja: {{$fromTime}}</p>
<table >
    <tr>
        <th>Profitcenter</th>
    <th>Termék</th>
    <th>Beszállító</th>
    </tr>
    @foreach($items as $item)
        <tr>
            <td>{{$item['profit_center_name']}}</td>
            <td>{{$item['name']}}</td>
            <td>{{$item['supplier_name']}}</td>
        </tr>
    @endforeach
</table>
</body>
</html>
