<?php /** @var $block \Magento\Sales\Block\Order\Email\Items */ ?> <?php $_order = $block->getOrder() ?> <?php if ($_order) : ?> <?php $_items = $_order->getAllItems(); ?> <table class="email-items" style="margin-top: 30px;"><thead><tr><th class="item-info" style="padding-left: 0; font-size: 13px;"><?= $block->escapeHtml(__('Produs')) ?></th><th class="item-info">&nbsp;</th><th class="item-info" style="font-size: 13px;"><?= $block->escapeHtml(__('Cod produs')) ?></th><th class="item-qty" style="font-size: 13px;"><?= $block->escapeHtml(__('Qty')) ?></th><th class="item-price" style="font-size: 13px;"><?= $block->escapeHtml(__('Price')) ?></th></tr></thead><?php foreach ($_items as $_item) : ?> <?php if (!$_item->getParentItem()) : ?> <tbody><?= $block->getItemHtml($_item) ?></tbody><?php endif; ?> <?php endforeach; ?> <tfoot class="order-totals"><?= $block->getChildHtml('order_totals') ?></tfoot></table><?php endif; ?>