<div class="content-header">
    <div class="container-fluid">
        <div class="row mb-2">
            <div class="col-4 d-flex flex-row justify-content-between">
                <h1 class="m-0 text-dark">Notification
                </h1>
            </div>
            <!-- /.col -->
            <div class="col-8">
                <ol class="breadcrumb float-sm-right">
                    <button type="button" onclick="window.location='<?= base_url('dashboard/addnotification') ?>'" class="btn btn-sm bg-custom-blue text-white text-uppercase rounded-pill">Add Notification</button>
                </ol>
            </div>
        </div>
    </div>
</div>
<section class="content">
    <div class="container-fluid">
        <div class="card">
            <div class="card-body p-0">
                <div class="table-responsive">
                    <table id="custtbl" class="table card-table table-vcenter text-nowrap">
                        <thead>
                            <tr>

                                <th>Description

                                </th>
                                <th></th>
                            </tr>
                        </thead>
                        <tbody>

                            <?php
                            if (!empty($users)) {
                                $count = 1;
                                foreach ($users as $id => $customerlists) {
                                    // echo "<pre>";
                                    // print_r($customerlists);
                                    // echo "</pre>";
                                    updatenotificationcount($id);

                            ?>
                                    <tr>

                                        <td> <?php echo getclientname($customerlists['staffId']) . " " . $customerlists['status'] . " your Request"; ?></td>
                                        <td>

                                            <a class="icon" href="<?php echo base_url() . 'dashboard/deletenewnotification/' . $id ?>">
                                                <i class="fa fa-trash"></i>

                                            </a>
                                        </td>
                                    </tr>

                            <?php }
                            } ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</section>