Update besar apk finance
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<div class="container py-3">
|
||||
<div class="d-flex justify-content-between align-items-center mb-3"><div><h4 class="mb-0">Kotak Persetujuan</h4><small class="text-muted">Transaksi yang menunggu tindakan Anda</small></div><span class="badge bg-primary"><?= count($requests) ?></span></div>
|
||||
<div class="table-responsive"><table class="table table-hover align-middle"><thead><tr><th>No.</th><th>Jenis</th><th>Pemohon</th><th>Nilai</th><th>Diajukan</th><th>Aksi</th></tr></thead><tbody>
|
||||
<?php foreach($requests as $row): ?><tr><td><?= html_escape($row->request_no) ?></td><td><?= html_escape($row->workflow_name) ?><small class="d-block text-muted"><?=html_escape($row->entity_type)?> #<?=(int)$row->entity_id?></small></td><td><?= html_escape($row->requester_name ?: '-') ?></td><td class="text-end"><?= number_format($row->amount,0,',','.') ?></td><td><?= html_escape($row->requested_at) ?></td><td><a class="btn btn-sm btn-primary" href="<?=html_escape($row->destination_url)?>"><i class="bi bi-box-arrow-up-right"></i> <?=html_escape($row->destination_label)?></a></td></tr><?php endforeach; ?>
|
||||
<?php if(!$requests): ?><tr><td colspan="6" class="text-center text-muted py-4">Tidak ada transaksi yang menunggu persetujuan.</td></tr><?php endif; ?></tbody></table></div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user