Diverse Fremdschlüssel für Tabellen ar und ap
[kivitendo-erp.git] / SL / DB / PurchaseInvoice.pm
index 5123d68..9c6f54e 100644 (file)
@@ -17,6 +17,7 @@ __PACKAGE__->meta->add_relationship(invoiceitems => { type         => 'one to ma
 
 __PACKAGE__->meta->initialize;
 
-sub items { goto &invoiceitems; }
+sub items        { goto &invoiceitems; }
+sub payment_term { goto &payment;      }
 
 1;