<style>
    #tblResult td
    {
        height: 30px;
        width:50px;
        text-align:center;
        vertical-align:middle;
    }
</style>

<table id="tblResult">
    <thead>
    <tr>
        <th>Belge No</th>
        <th>Belge Tarihi</th>
        <th>Firma</th>
        <th>Sevk Eden</th>
        <th>Sevk Alan</th>
        <th>Miktar</th>
    </tr>
    </thead>
    <tbody>
    {% for deliveryHistory in deliveryHistories %}
        <tr>
            <td>{{ deliveryHistory.delivery.no }}</td>
            <td>{% if deliveryHistory.creationDate %}{{ deliveryHistory.creationDate|date('d.m.Y') }}{% endif %}</td>
            <td></td>
            <td>{{ deliveryHistory.delivery.fromLocation.name }}</td>
            <td>{{ deliveryHistory.delivery.location.name }}</td>
            <td>{{ deliveryHistory.amount }}</td>
        </tr>
    {% endfor %}
    {% for productHistory in productHistories %}
        <tr>
            <td>{{ productHistory.invoice.no }}</td>
            <td>{% if productHistory.creationDate %}{{ productHistory.creationDate|date('d.m.Y') }}{% endif %}</td>
            <td>{{ productHistory.invoice.company.name }}</td>
            <td></td>
            <td></td>
            <td>{{ productHistory.amount }}</td>
        </tr>
    {% endfor %}
    </tbody>
</table>