<?php
$title='Add Fee Head';
?>
<style>
/*body{background:#EAEDED;}*/
.fee-structure-section{box-shadow:0 0 2px silver;}    
</style>
<div class="container mt-3 mb-3  bg-white pt-3 pb-3">
    <div class="row">
        <div class="col-sm-12">

            <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(); ?>Miscellaneous">Miscellaneous</a></li> 
                <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>Miscellaneous/fee_heads">Fee Heads</a></li>
                <li class="breadcrumb-item">Add New Fee Heads</li>
                <li class="breadcrumb-item"><?php echo $this->session->userdata('ac_year'); ?></li> 
            </ul>
            <div class="fee-structure-section p-3 mt-3 mb-3">
                <p class="font-weight-bold">Add New Fee Head</p>
                <hr>
                <form method="post" action="#">
                    <?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">
                        <label>Fee Head Title</label>
                        <input type="text" class="form-control" name="fee_head" placeholder="Fee Head Title" required>
                    </div>

                    <div class="form-group">
                        <label>Fee Amount Type</label>
                        <select class="form-control" name="fee_amount_type" required>
                            <option vlaue="course_wise">Course Wise</option>
                            <option value="fixed">Fixed</option>
                            <option value="other">Other</option>
                        </select>
                    </div>
                    
                    <div class="form-group">
                        <input type="submit" name="add_misc_fee_head" class="btn btn-sm btn-info" value="<?php echo $title; ?>">
                    </div>  

                </form>
            </div>

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