<ul class="list-group list-group-flush">
    <?php foreach($data as $item) : ?>
        <li class="list-group-item cursor-pointer py-3" onclick="pilih_add(<?= $item -> id ?>)">
            <small class="text-muted">
                <i class="fa fa-map-marker-alt me-1"></i> 
                <?= $item -> judul ?> 
                <?= $item -> utama == 1 ? ' (Utama)' : '' ?>
            </small>
            <p class="mb-1">
                <?= $item -> penerima ?>
            </p>
            <p class="mb-1">
                <?= $item -> alamat ?>
            </p>
            <p class="mb-1">
                <?= $item -> kel ?>, 
                Kec. <?= $this -> app -> get_kec('semua', $item -> kec, 'nama') ?>
            </p>
            <p class="mb-1">
                <?= $this -> app -> get_kab('semua', $item -> kab, 'nama') ?>, 
                <?= $this -> app -> get_prov($item -> prov, 'nama') ?>
            </p>
            <p class="mb-0">
                <?= $item -> nohp ?>
            </p>
        </li>
    <?php endforeach ?>
</ul>