<?= $this->extend('Modules\Admin\Views\index'); ?>

<?= $this->section('content');?>
<div class="container-fluid">
<div class="row mb-md-3">
	<div class="col">
		<h4> Notifications</h4>
		<!-- Breadcrumb !-->
		<nav aria-label="breadcrumb"><small>
			<ol class="breadcrumb mb-0">
				<li class="breadcrumb-item"><a href="<?= base_url('administrator') ?> ">Home</a></li>
                <li class="breadcrumb-item active" aria-current="page"><?= esc($bcrumb) ?> </li>
			</ol></small>
		</nav>
		<!-- End Breadcrumb !-->
	</div>
</div>
  <div>
  <?php if(session()->getTempdata('error')):?>
    <div class="alert alert-danger">  <?= session()->getTempdata('error');?></div>
    <?php endif;?>
      <?php if(session()->getTempdata('success')):?>
      <div class="alert alert-success">  <?= session()->getTempdata('success');?></div>
      <?php endif;?>
			<?php if(session()->getTempdata('warning')):?>
      <div class="alert alert-warning">  <?= session()->getTempdata('warning');?></div>
      <?php endif;?> 					
    </div>
    <?php if(isset($validation)): ?>
			<div class="alert alert-danger">
			<?= $validation->listErrors()?>
			</div>
    <?php endif;?>

<!-- Main Area for CREATE/EDIT/DELETE Expenses!-->
    <div class="row g-5">
        <div class="col-lg-9">
            <div class="card card-body info-card">
              <div class="table-responsive">
                <table id="notification-list" class="table table-hover table-borderless table-sm w-100" >
                <thead><tr>
                  <th>Date</th>
                  <th>Message</th>
                  <th width="2%"></th>
                </tr></thead>
                <tbody style="font-size: 12px;">
                  
                </tbody>
                </table>
              </div>

            </div>
        </div>
    </div>
        
</div>   
<!-- End of Main Area !-->

<script src="<?= base_url();?>/assets/js/notifications.js"></script>
<?php echo $this->endSection() ?>