<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            Cek Kepesertaan BPJS
            <small><?= $abdulradjak['NamaPerusahaan']; ?></small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Vclaim</a></li>
            <li class="active">Peserta BPJS</li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="box">
            <div class="box-body">

                <?php
                if ($cekpeserta == 200) {
                ?>

                    <div class="row">
                        <div class="col-md-6">
                            <table class="table table-striped table-bordered">
                                <tr>
                                    <td width="35%">Nama</td>
                                    <td width="5%" align="center">:</td>
                                    <td><?= $getpeserta['nama']; ?></td>
                                </tr>
                                <tr>
                                    <td width="15%">NIK</td>
                                    <td width="5%" align="center">:</td>
                                    <td><?= $getpeserta['noKTP']; ?></td>
                                </tr>
                                <tr>
                                    <td width="15%">Nomor BPJS</td>
                                    <td width="5%" align="center">:</td>
                                    <td>
                                        <small><b><?= $getpeserta['noKartu']; ?> (<?= $getpeserta['ketAktif']; ?>)</b></small>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="15%">Jenis Kelamin</td>
                                    <td width="5%" align="center">:</td>
                                    <td><?= $getpeserta['sex']; ?></td>
                                </tr>
                                <tr>
                                    <td width="15%">Tanggal Lahir</td>
                                    <td width="5%" align="center">:</td>
                                    <td><?= $getpeserta['tglLahir']; ?></td>
                                </tr>
                                <tr>
                                    <td width="15%">TanggalMulai</td>
                                    <td width="5%" align="center">:</td>
                                    <td><?= $getpeserta['tglMulaiAktif']; ?></td>
                                </tr>
                                <tr>
                                    <td width="15%">Tanggal Berlaku</td>
                                    <td width="5%" align="center">:</td>
                                    <td><?= $getpeserta['tglAkhirBerlaku']; ?></td>
                </tr>
                                <tr>
                                    <td width="15%">Asal Faskes</td>
                                    <td width="5%" align="center">:</td>
                                    <td><?= $getpeserta['kdProviderPst']['kdProvider']; ?> - <?= $getpeserta['kdProviderPst']['nmProvider']; ?></td>
                                </tr>
                                <tr>
                                    <td width="15%">Hak Kelas</td>
                                    <td width="5%" align="center">:</td>
                                    <td><?= $getpeserta['jnsKelas']['nama']; ?></td>
                                </tr>

                            </table>
                        </div>

                        <div class="col-md-6">
                            <table class="table table-striped table-bordered">
                                <tr>
                                    <td width="15%">No.HP</td>
                                    <td width="5%" align="center">:</td>
                                    <td><?= $getpeserta['noHP']; ?></td>
                                </tr>
                                <tr>
                                    <td width="15%">Golongan Darah</td>
                                    <td width="5%" align="center">:</td>
                                    <td>
                                        <?= $getpeserta['golDarah']; ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="15%">Hubungan</td>
                                    <td width="5%" align="center">:</td>
                                    <td>
                                        <?= $getpeserta['hubunganKeluarga']; ?>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>

                <?php
                } else {
                    echo $messagepeserta;
                }
                ?>

            </div><!-- /.box-body -->
        </div><!-- /.box -->

    </section><!-- /.content -->


</div><!-- /.content-wrapper -->