<script type="text/javascript" src="<?php echo base_url();?>assets/js/price.js"></script>
<aside class="right-side">
    <section class="content-header">
        <div class="title_bar">
            <h1 class="major_txt_color">Price Add</h1>
            <div class="breadcrumb_container"><?php echo breadcrumb_links();?></div>
        </div>
    </section>
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <form action="<?php echo $form_action;?>" method="post" name="price_form" enctype="multipart/form-data" method="post" onsubmit="return validate(this);">    
                    <input type="hidden" name="hidden_id" value="" />    
                    <div class="box box-danger">
                        <div class="box-body">
                            <ul class="error_container"></ul>
                            <div class="col-xs-12">
                                <div class="col-md-6">
                                    <div class="form-group float-clear">
                                        <label>Category Name<span class="required">*</span></label>
                                        <select name="category_id" class="form-control select2">
                                            <option value="">Select Category Name</option>
                                                <?php foreach($category as $key=>$value) {?>
                                                    <option value="<?php echo $value->id;?>" data-group="<?php echo $value->grouping; ?>" ><?php echo $value->category_name;?></option>
                                                <?php } ?>
                                        </select>
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>Item Name<span class="required">*</span></label>
                                        <select name="item_id[]" class="form-control select2" multiple>
                                            
                                        </select>
                                    </div>
                                    
                                    <div class="form-group">
                                        <label class="leftcol">Status</label>
                                        <div>
                                            <label for="status" style="width: 32%;"><input type="radio" name="status" value="1" checked/> &nbsp;&nbsp;Active</label> 
                                            <label for="status" style="width: 32%;"><input type="radio" name="status" value="0" /> &nbsp;&nbsp;Inactive</label> 
                                        </div>
                                    </div>
                                    
                                    
                                </div>
                                <div class="col-md-6">
                                    <div class="form-group float-clear">
                                        <label>Start Date</label>
                                        <div class="input-group">
                                            <input type="text" class="form-control datepicker start_date" name="start_date" placeholder="DD-MM-YYYY" />
                                            <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                        </div>
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>End Date</label> 
                                        <div class="input-group">
                                            <input type="text" class="form-control datepicker end_date" name="end_date" placeholder="DD-MM-YYYY" />
                                            <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                        </div>
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>Price<span class="required">*</span></label>
                                        <div class="input-group">
                                            <div class="input-group-addon">$</div>
                                            <input type="text" class="form-control float_value" name="price" />
                                        </div>
                                    </div> 
                                </div>
                            </div>
                        </div>
                        
                        <div class="box-footer form-actions float-clear">
                            <input class="btn reset" type="reset" value="Reset" />
                            <input type="submit" name="submit" value="Save" class="btn btn-success btn-primary" />
                        </div>
                    </div><!-- /.box -->
                </form>
            </div><!-- /.col-xs-12 -->
        </div><!-- /.row -->
    </section><!-- /.content -->
</aside>