Added drive to library view
This commit is contained in:
@@ -34,5 +34,14 @@ class Slot {
|
||||
public function __toString() {
|
||||
return $this->slot;
|
||||
}
|
||||
|
||||
public function barcodelabel() {
|
||||
if ($this->status == 'Allocated' AND $this->barcode == 'not present')
|
||||
return _('No Label');
|
||||
elseif ($this->status == 'Unallocated')
|
||||
return _('Slot Empty');
|
||||
else
|
||||
return $this->barcodelabel;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user