            <div class="row profile">
                <div class="col-md-12">
                    <!--BEGIN TABS-->
                    <div class="tabbable tabbable-custom tabbable-full-width">
                        <div id="response_msg"></div>
                        <ul class="nav nav-tabs">
                            <li class="active">
                                <a href="#tab_1_1" data-toggle="tab"> Overview </a>
                            </li>
                            <li>
                                <a href="#tab_1_3" data-toggle="tab"> Edit Details </a>
                            </li>
                        </ul>
                        <div class="tab-content">
                            <div class="tab-pane active" id="tab_1_1">
                                <div class="row">
                                    <div class="col-md-12">
                                        <div class="row">
                                            <div class="col-md-offset-1 col-md-10">
                                                <table class="table table-hover table-bordered table-striped">
                                                    <tr>
                                                        <td>
                                                            <strong>Item ID</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $item_details->id; ?>
                                                        </td>
                                                        <td>
                                                            <strong>Item Type</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $item_details->item_type; ?>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <strong>Item Code</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $item_details->item_code; ?>
                                                        </td>
                                                        <td>
                                                            <strong>Item Name</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $item_details->item_name; ?>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <strong>Item Category</strong>
                                                        </td>
                                                        <td>
                                                            <?php echo $item_details->category_name; ?>
                                                        </td>
                                                        <td>
                                                            <strong>Item Status</strong>
                                                        </td>
                                                        <td>
                                                            <?php
                                                            if($item_details->status == 1){
                                                                echo '<span class="label label-success">Active</span>';
                                                            }else if($item_details->status == 2){
                                                                echo '<span class="label label-warning">Inactive</span>';
                                                            }else if($item_details->status == 3){
                                                                echo '<span class="label label-danger">Deleted</span>';
                                                            }
                                                            ?>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <strong>Item Description</strong>
                                                        </td>
                                                        <td colspan="3">
                                                            <?php echo $item_details->description; ?>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <!--end col-md-10-->
                                        </div>
                                        <!--end row-->   
                                    </div>
                                </div>
                            </div>
                            <!--tab_1_2-->
                            <div class="tab-pane" id="tab_1_3">
                                <div class="row profile-account">
                                    <div class="col-md-3">
                                        <ul class="ver-inline-menu tabbable margin-bottom-10">
                                            <li class="active">
                                                <a data-toggle="tab" href="#tab_1-1">
                                                <i class="fa fa-cog"></i> Item info </a>
                                                <span class="after">
                                                </span>
                                            </li>
                                        </ul>
                                    </div>
                                        <div class="col-md-9">
                                            <div class="tab-content">
                                                <div id="tab_1-1" class="tab-pane active">
                                                    <form id="edit_stock_item" class="form-horizontal" method="post" enctype="multipart/form-data"  novalidate="novalidate">
                                                        <input type="hidden" name="item_id" id="item_id" class="form-control" value="<?php echo $item_details->id; ?>"/>
                                                        <div class="form-body">
                                                            <div class="form-group">
                                                                <label class="col-md-3 control-label pull-left">Item Type</label>
                                                                <div class="col-md-6">
                                                                    <select class="form-control" name="item_type">
                                                                        <option value="Dxb" <?php echo ($item_details->item_type=='Dxb')?'selected':'';?>>Dxb</option>
                                                                        <option value="Box" <?php echo ($item_details->item_type=='Box')?'selected':'';?>>Box</option>
                                                                    </select>
                                                                </div>
                                                            </div>
                                                            <div class="form-group">
                                                                <label class="col-md-3 control-label pull-left">Item Category</label>
                                                                <div class="col-md-6">
                                                                    <select class="form-control select2me" name="stock_item_category" id="stock_item_category">
                                                                        <option value="">Please select a category</option>
                                                                        <option value="Add New Category">Add New Category</option>
                                                                        <?php
                                                                        $categories = $this->admin_db->get_stock_item_categories();
                                                                        foreach ($categories as $category) {
                                                                            if($category['id'] == $item_details->category_id){
                                                                                $sel = 'selected';
                                                                            }else{
                                                                                $sel = '';
                                                                            }
                                                                        ?>

                                                                        <option value="<?php echo $category['id']; ?>" <?php echo $sel; ?>><?php echo $category['category_name']; ?></option>

                                                                        <?php } ?>
                                                                    </select>
                                                                </div>
                                                            </div>
                                                            <div id="add_new_category" class="hidden">
                                                                <div class="form-group">
                                                                    <label class="control-label col-md-3">Category Name</label>
                                                                    <div class="col-md-6">
                                                                        <input type="text" name="category_name" id="customer_name" placeholder="Type Here.." class="form-control"/>
                                                                    </div>
                                                                </div>
                                                                <div class="form-group">
                                                                    <label class="control-label col-md-3">Category Description</label>
                                                                    <div class="col-md-6">
                                                                        <textarea name="description" id="description" class="form-control"></textarea>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="form-group">
                                                                <label class="col-md-3 control-label pull-left">Item Code</label>
                                                                <div class="col-md-6">
                                                                    <input type="text" name="item_code" id="item_code" class="form-control" value="<?php echo $item_details->item_code; ?>"/>
                                                                </div>
                                                            </div>
                                                            <div class="form-group">
                                                                <label class="col-md-3 control-label pull-left">Item Name</label>
                                                                <div class="col-md-6">
                                                                    <input type="text" name="item_name" id="item_name" class="form-control" value="<?php echo $item_details->item_name; ?>"/>
                                                                </div>
                                                            </div>
                                                            <div class="form-group">
                                                                <label class="col-md-3 control-label pull-left">Item Description</label>
                                                                <div class="col-md-6">
                                                                    <textarea name="item_description" id="item_description" class="form-control"><?php echo $item_details->description; ?></textarea>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="form-actions fluid">
                                                            <div class="col-md-3"></div>
                                                            <div class="col-md-6">
                                                                <button type="submit" class="btn green"> Submit </button>
                                                            </div>
                                                        </div>
                                                    </form>
                                                </div>
                                            </div>
                                        </div>
                                        <!--end col-md-9-->
                                </div>
                            </div>
                            <!--end tab-pane-->
                        </div>
                    </div>
                    <!--END TABS-->
                </div>
            </div>
            <!-- END PAGE CONTENT-->
        </div>
    </div>
    <!-- END CONTENT -->
<!-- END QUICK SIDEBAR -->
</div>