<?php defined('BASEPATH')or exit("NO DIRECT ACCESS iS ALLOWED");?>
 <div class="content-wrapper">
<?php /*?>    <section class="content-header">
      <h1><small>View WorkPackage</small></h1>
      <ol class="breadcrumb">
        <li><?php echo anchor('dashboard','<i class="fa fa-dashboard"></i> Dashboard')?></li>
        <li><?php echo anchor('master/Activity','Activity')?></li>
        <li class="active">View WorkPackage</li>
      </ol>
    </section> <?php */?>
        <section class="content">
          <div class="row">
            <div class="col-xs-12">
              <div class="box">
                <div class="box-header">
                  <!--<h3 class="box-title">Add Products</h3>-->
                  <?php echo form_open('admin/master/Category/view',['name'=>'category_form_view','id'=>'category_form_view']);?>
          		  <?php echo form_hidden('my_array',['name'=>'doaction','id'=>'doaction']);?>
                  <?php echo $message;?>
                  <?php /*?><?php echo form_submit(['name'=>'save','value'=>'Save','class'=>'btn btn-default pull-right',
				  'style'=>'margin-left:5px;background-color: #ffffff;']); ?><?php */?>
                  <?php echo anchor('admin/master/Category/create','<i class="fa fa-fw fa-plus-square"></i> Add Category',['class'=>'btn btn-default pull-right',
				  'style'=>'margin-left:5px;background-color: #ffffff;']); ?>
                  <?php echo anchor("admin/master/Category/edit/{$list->id}",'<i class="fa fa-edit"></i> Edit Category',['class'=>'btn btn-default pull-right',
				  'style'=>'margin-left:5px;background-color: #ffffff;']); ?>  
				  <?php echo anchor('admin/master/Category','<i class="fa fa-fw fa-arrows"></i> Category List',['class'=>'btn btn-default pull-right','style'=>'background-color: #ffffff;']); ?>    
                </div><!-- /.box-header -->
                <div class="box-body">
                <hr />
                	<div class="row">
                		<div class="col-md-12">
                    		<div class="col-md-3">
                       		 	<div class="form-group">
									<?php echo form_label('Category','category',['for'=>'category']);?><?php echo form_error('category'); ?>
                    				<?php echo form_input(['name'=>'category','class'=>'form-control','id'=>'category','placeholder'=>'Enter category  here',
                    				    'value'=>set_value('category',strtoupper($list->category)),'disabled'=>'disabled']);?>
                                </div>
                                </div>
                                <div class="col-md-3">
                       		 	<div class="form-group">
									<?php echo form_label('Category Code','category_code',['for'=>'category']);?><?php echo form_error('category_code'); ?>
                    				<?php echo form_input(['name'=>'category_code','class'=>'form-control','id'=>'category_code','placeholder'=>'Enter categoryCode  here',
                    				    'value'=>set_value('category_code',strtoupper($list->category_code)),'disabled'=>'disabled']);?>
                                </div>
                                </div>
                                <div class="col-md-3">
                                <div class="form-group">
									<?php echo form_label('Description','description',['for'=>'description']);?><?php echo form_error('description'); ?>
                    				<?php echo form_input(['name'=>'description','class'=>'form-control','id'=>'description','placeholder'=>'Enter description  here',
                    				    'value'=>set_value('description',strtoupper($list->description)),'disabled'=>'disabled']);?>
                                </div>
                                </div>
                                <div class="col-md-3">
                                <div class="form-group">
									<?php echo form_label('Status','status',['for'=>'status']);?><?php echo form_error('status'); ?>
                    				<?php $options=array(''=>'Select Status','1'=>'Active','0'=>'Inactive');  ?>
                  					<?php echo form_dropdown('status',$options,set_value('status',$list->status),['class'=>'form-control','disabled'=>'disabled']);?>
                                </div>	
                                </div>		                    
                        </div>
                    </div>
                </div>
<hr />
<?php $js=['onClick'=>'return inventory_validate();'];?>
<?php /*?><?php echo form_submit(['name'=>'save','value'=>'Save','class'=>'btn btn-default pull-right','style'=>'margin-left:5px;background-color: #ffffff;']); ?><?php */?>
<?php echo  form_close();?>
</div>
</div>
</div>
</section>
</div>
