<?php 
foreach ($deliveries as $record) {
    ?>
            <tr>
                <td>{!! $record['parcel_pickup_location'] !!}</td>
                <td>{!! $record['pickup_time'] !!}</td>
                <td>{!! $record['parcel_type'] !!} / {!! $record['parcel_weight'] !!}kg</td>
                <td>{!! $record['parcel_content'] !!}</td>
                <td>{!! $record['parcel_dropoff_location'] !!}</td>
                <td>{!! $record['dropoff_contact_name'] !!} / {!! $record['dropoff_contact'] !!}</td>
                <td>{!! $record['dropoff_time'] !!}</td>
                <?php 
    if (SiteHelpers::is_payg_customer()) {
        ?>
                <td class="text-right">
                    <?php 
        echo SiteHelpers::get_delivery_price($record['id']);
        ?>
                </td>
                <?php 
    }
    ?>
            </tr>
            <?php 
}
?>
            </tbody>
        </table>
    </div>
</body>
</html>