<!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 for ($i = 0; $i < $data['cantidad']; $i++) { ?>
            <div style="width: 50%;float: left; margin-bottom: 30px; text-align: center;">
                <img src="<?php echo base_url . 'Assets/img/barcode.png'; ?>" style="max-width:200px; height:auto" />
                <p><?php echo $data['codigo']; ?></p>
            </div>
        <?php } ?>
    </div>
</body>

</html>