

<section class="content-header">
      <h1>
          <br>
      </h1>
    <ol class="breadcrumb" style="right: 10px;">
        <li><a href="<?=base_url('Dashboard/')?>"><i class="fa fa-dashboard"></i><?php echo $this->lang->line('main') ?> </a></li>
        <li><a href="<?=base_url('bills/')?>"><?php echo $this->lang->line('invoives') ?></a></li>
      </ol>
    </section>

  <div class="row">
    <!-- Main content -->
   
      <div class="row">
        <div class="col-md-12">
          <div class="box">
            <div class="box-header with-border">
              <h3 class="box-title"><?php echo $this->lang->line('view-an-invoice') ?></h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <table class="table table-bordered">
                <tr>
           
                    <th  colspan="4"><?php echo $this->lang->line('data') ?></th>
                 
                             </tr>
                
               <tr>
                   <td><?php echo $this->lang->line('the-amount') ?></td>
                  <td><?= $show['text1']; ?></td>
                       <td><?php echo $this->lang->line('type') ?></td>
                        <td><?= $show['catid']; ?></td>
                                  </tr>
                
               <tr>
                       <td><?php echo $this->lang->line('the-description') ?></td>
                  <td><?= $show['text2']; ?> </td>
                      <td><?php echo $this->lang->line('history') ?></td>
                      <td><?= $show['dateadd']; ?> </td>
                
                    
                       </tr>
                   
                
               <tr>
                
             
                   
                 
           
                </tr>
              
                
                
              </table>
                
            </div>
        
          </div>
         </div>
     </div>
         
  

      <!-- /.row -->
     <?php if($this->session->userdata('group') ):?>
      <br>
        <?php  if(get_ap('account_edit',$this->operator_id)==1){ ?>
               <a title="Edit" class="update btn btn-sm btn-primary pull-right" href="<?= base_url(''.$this->thispage.'/edit/'.$show['id'])?>"><i class="material-icons"><?php echo $this->lang->line('edit') ?> </i></a>
              <?php } ?>
      <?php endif;?>   
                <?php if($show['catid']!='ايراد' or $this->session->userdata('group')  or  $this->session->userdata('editor')):?>
                  <?php  if(get_ap('account_del',$this->operator_id)==1){ ?>
                                <a title="Delete" class="delete btn btn-sm btn-danger pull-right '.$disabled.'" href="<?= base_url(''.$this->thispage.'/del/'.$show['id']); ?>" ><i class="material-icons"><?php echo $this->lang->line('delete') ?></i></a>
                            <?php } ?>
            <?php endif;?>      
      <br> <br>     <!-- /.box -->

          
          <!-- /.box -->
      


   
</div>