</tr> </tfoot> </table> </div> <h3>События корзины</h3> <table class="table table-bordered table-hover list"> <thead> <tr> <td class="text-left">Добавлено</td> <td class="text-left">Тип</td> <td class="text-left">Значение</td> </tr> </thead> <tbody> <?php $statuses = Ecommerce\Cart\Event::getList(['where' => [['cart_id', $cart->id]], 'order' => ['date_create', 'desc']]); foreach ($statuses as $status) { ?> <tr> <td class="text-left"><?php echo $status->date_create; ?> </td> <td class="text-left"><?php echo $status->type->name; ?> </td> <td class="text-left"> <?php switch ($status->cart_event_type_id) { case '1':