<div class="page-content">
    <!-- Page Breadcrumb -->
    <div class="page-breadcrumbs">
        <ul class="breadcrumb">
            <li>
                <i class="fa fa-home"></i>
                <a href="#"><?php echo $this->lang->line("BANKING"); ?></a>
            </li>
            <li class="active"><?php echo $this->lang->line("PAYMENTHEAD"); ?></li>
        </ul>
    </div>
    <!-- /Page Breadcrumb -->
    <!-- Page Header -->
    <div class="page-header position-relative">
        <div class="header-title">
            <h1>
                <?php echo $this->lang->line("PAYMENTHEAD"); ?>
            </h1>
        </div>
        <!--Header Buttons-->
        <div class="header-buttons">
            <a class="sidebar-toggler" href="#">
                <i class="fa fa-arrows-h"></i>
            </a>
            <a class="refresh" id="refresh-toggler" href="">
                <i class="glyphicon glyphicon-refresh"></i>
            </a>
            <a class="fullscreen" id="fullscreen-toggler" href="#">
                <i class="glyphicon glyphicon-fullscreen"></i>
            </a>
        </div>
        <!--Header Buttons End-->
    </div>
    <!-- /Page Header -->
    <!-- Page Body -->
    <!-- End Page Body -->
    <div class="page-body">
        <div class="row">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                <div class="row">
                    <div class="col-xs-12 col-md-12">
                        <div class="widget">
                            <div class="widget-body">

                                <div class = "row center">
                                    <div class="col-lg-12 col-sm-12 col-xs-12">
                                        <div class="widget center">
<div>
    <div id="horizontal-form">
        <form class="form-horizontal" role="form" method="POST" action="<?php echo site_url('finance/paymentshead/add_paymenthead')?>">
            <input type="hidden" name="id" value="<?php echo !empty($paymenthead)?$paymenthead->ID:''?>">
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label no-padding-right"><?php echo $this->lang->line("PAYMENTHEAD"); ?></label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="PAYMENTHEAD" placeholder="<?php echo $this->lang->line("PAYMENTHEADNAME"); ?>"
                           required value="<?php echo !empty($paymenthead)?$paymenthead->PAYMENTHEAD:''?>" />
                </div>
            </div>
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label no-padding-right"><?php echo $this->lang->line("TAXCATEGORY"); ?></label>
                <div class="col-sm-10">
                    <select class="form-control" name="TAXCAT" id="TAXCAT">
                    <option value=""><?php echo $this->lang->line("SELECTTAXCATEGORY"); ?></option>
                     <?php
                     !empty($paymenthead)?$taxcat   =   $paymenthead->TAXCAT:$taxcat='';
                     foreach($tax_cat as $tax_cat_list) { ?>
                       <option value="<?php echo $tax_cat_list->ID; ?>" <?php if($taxcat==$tax_cat_list->ID) echo "selected"; ?>>
                           <?php echo $tax_cat_list->NAME; ?>
                       </option>
                     <?php } ?>
                  </select>
                </div>
            </div>
            
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-success shiny">
                    <span class="fa fa-check"></span>
                    <?php echo $this->lang->line("SAVE"); ?></button>
                    <a id="close" href="<?php echo site_url('finance/paymentshead')?>" class="btn btn-danger shiny">
                        <span class="fa fa-close"></span>
                        <?php echo $this->lang->line("CLOSE"); ?>
                    </a>
                </div>
            </div>
        </form>
    </div>
</div>
                                        </div>
                                    </div> 
                                    
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- End Page Content -->