| 
      
            Lines 49-54
          $offset=0 unless $offset;
      
      
        Link Here
      
     | 
  
        
          | 49 | 
          my $pagesize = $input->param('pagesize'); | 
          49 | 
          my $pagesize = $input->param('pagesize'); | 
        
        
          | 50 | 
          $pagesize=50 unless $pagesize;  | 
          50 | 
          $pagesize=50 unless $pagesize;  | 
        
        
          | 51 | 
          my $branchcode = $input->param('branchcode'); | 
          51 | 
          my $branchcode = $input->param('branchcode'); | 
        
            
               | 
               | 
              52 | 
              my $branch     = $input->param('branch'); | 
            
        
          | 52 | 
          my $op = $input->param('op'); | 
          53 | 
          my $op = $input->param('op'); | 
        
        
          | 53 | 
          my $res;    #contains the results loop  | 
          54 | 
          my $res;    #contains the results loop  | 
        
        
          | 54 | 
          # warn "uploadbarcodes : ".$uploadbarcodes;  | 
          55 | 
          # warn "uploadbarcodes : ".$uploadbarcodes;  | 
        
  
    | 
      
            Lines 129-134
          $template->param(branchloop => \@branch_loop,
      
      
        Link Here
      
     | 
  
        
          | 129 | 
                          location=>$location,  | 
          130 | 
                          location=>$location,  | 
        
        
          | 130 | 
                          ignoreissued=>$ignoreissued,  | 
          131 | 
                          ignoreissued=>$ignoreissued,  | 
        
        
          | 131 | 
                          branchcode=>$branchcode,        | 
          132 | 
                          branchcode=>$branchcode,        | 
        
            
               | 
               | 
              133 | 
                              branch    => $branch,  | 
            
        
          | 132 | 
                          offset => $offset,  | 
          134 | 
                          offset => $offset,  | 
        
        
          | 133 | 
                          pagesize => $pagesize,  | 
          135 | 
                          pagesize => $pagesize,  | 
        
        
          | 134 | 
                          datelastseen => $datelastseen,  | 
          136 | 
                          datelastseen => $datelastseen,  | 
        
  
    | 
      
            Lines 183-189
          if ( ! ($uploadbarcodes && length($uploadbarcodes)>0 ) || ( $input->param('compa
      
      
        Link Here
      
     | 
  
        
          | 183 | 
                  }  | 
          185 | 
                  }  | 
        
        
          | 184 | 
              }  | 
          186 | 
              }  | 
        
        
          | 185 | 
              if ($markseen or $op) { | 
          187 | 
              if ($markseen or $op) { | 
        
          
            
              | 186 | 
                      $res = GetItemsForInventory($minlocation,$maxlocation,$location, $ignoreissued,$itemtype,$datelastseen,$branchcode,$offset,$pagesize,$staton);  | 
              188 | 
                      $res = GetItemsForInventory( $minlocation, $maxlocation, $location, $ignoreissued, $itemtype, $datelastseen, $branchcode, $branch, $offset, $pagesize, $staton );  | 
            
        
          | 187 | 
                  $template->param(loop =>$res,  | 
          189 | 
                  $template->param(loop =>$res,  | 
        
        
          | 188 | 
                                  nextoffset => ($offset+$pagesize),  | 
          190 | 
                                  nextoffset => ($offset+$pagesize),  | 
        
        
          | 189 | 
                                  prevoffset => ($offset?$offset-$pagesize:0),  | 
          191 | 
                                  prevoffset => ($offset?$offset-$pagesize:0),  | 
        
            
              | 190 | 
              -   | 
               | 
               |