<nav class="navbar fixed-top">
    <div id="specificCard" class="card col-12" style="border-radius: 20px; background: none; border: none; margin-top: 10px;">
        <div class="row">
            <div class="col-6 icon-container">
                <a href="index.php" class="fa fa-arrow-left text-light"></a>
            </div>
            <div class="col-6 text-right">
                <h6 class="text-light mt-2 mb-2">List Paket Voucher</h6>
            </div>
        </div>
    </div>
</nav>
<div class="card" style="border-radius: 0px; background: none; border: none; margin-top: 100px;">
	<div class="card-body">
	</div>
</div>
<div class="card" id="2" style="border-top-right-radius: 40px; border-top-left-radius: 40px; min-height: 750px; border: none; z-index: 1;">
	<div class="card-body">
		<?php
		$sqlPaket = (empty($pcmem['list_paket'])) ? "" : "AND id IN (".$pcmem['list_paket'].")";
		$ambil=$con->query("SELECT * FROM profile_paket WHERE id_data_server = '$pcmem[id_data_server]' AND jenis_profile = 'Hotspot' AND status = '1' $sqlPaket");
		while ($tiap = $ambil->fetch_assoc()) {
		$fee = $tiap["vi_agen"];
		?>
		<div class="card" style="margin-bottom: 10px; border: none; background-color: #e9e9e9e9; border-radius: 0px;">
			<div class="card-body">
				<h5><b><?php echo $tiap["nama"]; ?><b/></h5>
				<h4 class="text-info">Harga jual : Rp. <?php echo number_format($tiap["harga_paket"]); ?></h4>
				<?php if($jenisAgen === "Prabayar") { ?>
					<h6>Fee Reseller : Rp. <?php echo number_format($fee); ?></h6>
					<h6>Harga Beli Reseller : <?php echo number_format($tiap["harga_paket"]-$fee); ?></h6>
				<?php } ?>
				<hr>
			</div>
		</div>
		<?php } ?>
	</div>
</div>