<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Reporte</title>
</head>

<body>

    <div style="width: 100%;">
        <?php foreach ($data['productos'] as $producto) { ?>
            <div style="width: 50%;float: left; margin-bottom: 30px; text-align: center;">
                <img src="<?php echo base_url . 'Assets/img/barcode/' . $producto['id'] . '.png'; ?>" style="max-width:200px; height:auto" />
                <p><?php echo $producto['codigo']; ?></p>
            </div>
        <?php } ?>
    </div>
</body>

</html>