<?php
$title='Add Fee Head';
?>
<style>

</style>
<div class="container-fluid mt-3 mb-3">
    <div class="row">
        <div class="col-sm-12 bg-white pt-3 pb-3">

            <ul class="breadcrumb">

                <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>Welcome">Home</a></li> 
                <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>Fee/heads">Fee Heads</a></li>
                <li class="breadcrumb-item">Add New Fee Heads</li>
            </ul>
            <div class="fee-structure-section">

                <form method="post" class="form-outer">
                    <div class="w_100">
                    <p class="font-weight-bold">Add New Fee Head</p>
                    <hr>
                    <?php
                    if($success){
                    ?>
                    <p class="alert alert-success"><?php echo $success;?></p>
                    <?php
                    }

                    if($error){
                    ?>
                    <p class="alert alert-danger"><?php echo $error; ?></p>
                    <?php
                    }
                    ?>

                    <div class="form-group w-50">
                        <label>Fee Head Name</label>
                        <input type="hidden" name="acdemic_session" value="<?php echo $this->session->userdata("acedemic_session"); ?>">
                        <input type="text" class="form-control" name="fee_head" placeholder="Fee Head Name" required>
                    </div>

                    <div class="form-group w-50">
                        <label>Fee Type</label>
                        <select name="fee_type" class="form-control">
                            <option value="">-- select fee type --</option>
                            <option value="yearly">Yearly</option>
                            <option value="monthly">Monthly</option>
                        </select>
                    </div>
                    <div class="form-group w-50">
                        <input type="submit" name="add_fee_head" class="btn btn-sm btn-info" value="<?php echo $title; ?>">
                    </div>
                    </div>
                </form>
            </div>

        </div>
    </div>
</div>