| 
      
            Lines 73-80
          sub checkout {
      
      
        Link Here
      
     | 
  
        
          | 73 | 
              my ($self) = @_;  | 
          73 | 
              my ($self) = @_;  | 
        
        
          | 74 | 
           | 
          74 | 
           | 
        
        
          | 75 | 
              my $checkout_rs = $self->_result->checkout;  | 
          75 | 
              my $checkout_rs = $self->_result->checkout;  | 
        
          
            
              | 76 | 
                  return unless $checkout_rs;  | 
              76 | 
                  return Koha::Checkout->_new_from_dbic($checkout_rs)  | 
            
            
              | 77 | 
                  return Koha::Checkout->_new_from_dbic($checkout_rs);  | 
              77 | 
                      if $checkout_rs;  | 
            
            
               | 
               | 
              78 | 
               | 
            
            
              | 79 | 
                  $checkout_rs = $self->_result->old_checkout;  | 
            
            
              | 80 | 
                  return Koha::Old::Checkout->_new_from_dbic($checkout_rs)  | 
            
            
              | 81 | 
                      if $checkout_rs;  | 
            
        
          | 78 | 
          }  | 
          82 | 
          }  | 
        
        
          | 79 | 
           | 
          83 | 
           | 
        
        
          | 80 | 
          =head3 old_checkout  | 
          84 | 
          =head3 old_checkout  | 
        
            
              | 81 | 
              -   | 
               | 
               |