<aside class="right-side">
    <section class="content-header">
        <div class="title_bar">
            <h1 class="major_txt_color">Price View</h1>
            <div class="breadcrumb_container"><?php echo breadcrumb_links();?></div>
        </div>
    </section>
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <div class="box box-danger">
                    <div class="box-body">
                        <div class="col-xs-12">
                            <div class="col-md-6">
                                <div class="form-group">
                                    <span class="first-coln">Category Name</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo text($result->category_name);?></span>
                                </div>
                                <?php $items = explode(',',$result->item_id);?>
                                <div class="form-group">
                                    <span class="first-coln">Item Name</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln">
                                    <?php foreach($items as $key=>$value) {
                                        $item = $this->price_model->get_items($value);?>
                                        <?php echo ++$key . '. ' . text($item->item_name);?><br/>
                                    <?php } ?>
                                    </span>
                                </div>
                                
                                <div class="form-group">
                                    <span class="first-coln">Status</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo ($result->status_str);?>
                                    </span>
                                </div>
                                
                            </div>
                            <div class="col-md-6">
                                <div class="form-group">
                                    <span class="first-coln">Start Date</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo date('d-m-Y',strtotime($result->start_date));?></span>
                                </div>
                                
                                <div class="form-group">
                                    <span class="first-coln">End Date</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo date('d-m-Y',strtotime($result->end_date));?></span>
                                </div>
                                
                                <div class="form-group">
                                    <span class="first-coln">Price</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo '$ ' . $result->price;?>
                                    </span>
                                </div>
                            </div>
                        </div>
                        <div class="box-footer form-actions float-clear"></div>
                    </div><!-- /.box-body -->
                </div><!-- /.box -->
            </div><!-- /.col-xs-12 -->
        </div><!-- /.row -->
    </section><!-- /.content -->
</aside>