<link href="/css/pages/cart.css" rel="stylesheet">

<div id="page_cart" class="container h-100">
    <article class="my-3 p-3 h-100">
        <h4 class="ml-4 mt-3 mb-4"><i class="fas fa-shopping-cart mr-2"></i>Корзина</h4>
        <div class="col list">

            <div class="row py-2">
                <div class="col-1">
                    <input id="checkbox_cart_all" type="checkbox"/>
                </div>
                <div class="col">
                    <span>Артикул</span>
                </div>
                <div class="col">
                    <span>Описание</span>
                </div>
                <div class="col">
                    <span>Количество</span>
                </div>
                <div class="col">
                    <span>Доставка</span>
                </div>
                <div class="col">
                    <span>Стоимость </span>
                </div>
            </div>
            <?php
            foreach ($supplies as $supply) {
                echo <<<HTML
                    <div class="row py-2">
                        <div class="col-1">
                            <input id="checkbox_cart_$supply->catn" type="checkbox"/>
                        </div>
                        <div class="col">
                            $supply->catn
                        </div>
                        <div class="col">
                            $supply->desc
                        </div>
                        <div class="col">
                            $supply->amnt
                        </div>
                        <div class="col">
                            $supply->time
                        </div>
                        <div class="col">
                            $supply->cost
                        </div>
                    </div>
                HTML;
            }
            ?>
        </div>
    </article>
</div>