<div class="main-content"> <div class="container-fluid"> <div class="row"> <table class="table table-hover table-bordered"> <thead> <tr class="bg-primary"> <th class="text-white text-center">#</th> <th class="text-white text-center">NPWP</th> <th class="text-white text-center">Nama WP</th> <th class="text-white text-center">Total</th> </tr> </thead> <tbody> <?php foreach ($detkat as $row) { ?> <tr> <td class="text-center"><?= $nomor++; ?></td> <td class="text-center"><?= $row['NPWP'] ?></td> <td><?= $row['NAMA'] ?></td> <td class="text-right"><?= number_format($row['TOTAL'], 0, ',', '.') ?></td> </tr> <?php } ?> </tbody> </table> <?= $pager->links('detkat', 'bootstrapag') ?> </div> </div> </div> <?php echo view('inc/js.php') ?>