<?php if (empty($rows)): ?><div class="text-muted text-center py-4">Order tidak ditemukan.</div><?php else: foreach ($rows as $row): $token=encrypt_url($row['id_invoice']); ?>
<button type="button" class="spk-order-option open-spk-form" data-id="<?=html_escape($token);?>"><span><strong><?=html_escape($row['id_transaksi']);?></strong><small><?=html_escape($row['nama']);?> · <?=html_escape(dtimes($row['tgl_trx'],false,false));?></small></span><i class="fa fa-chevron-right text-primary mt-2"></i></button>
<?php endforeach; endif; ?>
