]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Part.pm
Prüfen der Bestandteile eines Erzeugnisses beim Hinzufügen
[mfinanz.git] / SL / DB / Part.pm
index 5ea3b26989c223d071411179b8398b947bef01a3..21240a64a86fe35a75614c75b1b9747f961b3fbb 100644 (file)
@@ -162,7 +162,7 @@ sub new_assortment {
 
 sub last_modification {
   my ($self) = @_;
-  return $self->mtime or $self->itime;
+  return $self->mtime // $self->itime;
 };
 
 sub orphaned {
@@ -176,7 +176,6 @@ sub orphaned {
     SL::DB::OrderItem
     SL::DB::DeliveryOrderItem
     SL::DB::Inventory
-    SL::DB::Assembly
     SL::DB::AssortmentItem
   );