<h2>Мои доставки</h2>

<?php foreach ($deliveries as $delivery): ?>
    <div class="card mb-3">
        <div class="card-body">
            <b>Заказ #<?= $delivery->order_id ?></b><br>
            Адрес: <?= $delivery->delivery_address ?><br>

            <a href="<?= \yii\helpers\Url::to(['complete', 'id' => $delivery->id]) ?>"
               class="btn btn-primary mt-2">
                Доставлено
            </a>
        </div>
    </div>
<?php endforeach; ?>
