<div class="content-header d-flex justify-content-between align-items-center">
  <h4><i class="fas fa-pills"></i> <?= html_escape($page_title ?? 'Farmasi'); ?></h4>
  <div class="btn-group">
    <a href="<?= site_url('farmasi/resep'); ?>" class="btn btn-sm btn-outline-primary">Resep</a>
    <a href="<?= site_url('farmasi/master_obat'); ?>" class="btn btn-sm btn-outline-primary">Master Obat</a>
    <a href="<?= site_url('farmasi/stok'); ?>" class="btn btn-sm btn-outline-primary">Stok</a>
    <a href="<?= site_url('farmasi/mutasi'); ?>" class="btn btn-sm btn-outline-primary">Mutasi</a>
  </div>
</div>

<?php if ($this->session->flashdata('success')): ?>
  <div class="alert alert-success"><?= $this->session->flashdata('success'); ?></div>
<?php endif; ?>
<?php if ($this->session->flashdata('error')): ?>
  <div class="alert alert-danger"><?= $this->session->flashdata('error'); ?></div>
<?php endif; ?>
