| Lines 1565-1570
          sub AddIssue {
      
      
        Link Here | 
        
          | 1565 |             $item_object->holdingbranch(C4::Context->userenv->{'branch'}); | 1565 |             $item_object->holdingbranch(C4::Context->userenv->{'branch'}); | 
        
          | 1566 |             $item_object->itemlost(0); | 1566 |             $item_object->itemlost(0); | 
        
          | 1567 |             $item_object->onloan($datedue->ymd()); | 1567 |             $item_object->onloan($datedue->ymd()); | 
            
              |  |  | 1568 |             $item_object->make_column_dirty('onloan'); # Force write onloan so we don't need to fetch from db | 
        
          | 1568 |             $item_object->datelastborrowed( dt_from_string()->ymd() ); | 1569 |             $item_object->datelastborrowed( dt_from_string()->ymd() ); | 
        
          | 1569 |             $item_object->datelastseen( dt_from_string()->ymd() ); | 1570 |             $item_object->datelastseen( dt_from_string()->ymd() ); | 
        
          | 1570 |             $item_object->store({log_action => 0}); | 1571 |             $item_object->store({log_action => 0}); | 
            
              | 1571 | -  |  |  |