X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0aa885f4f0bb531a7691a641f954ff296ffa04a5..2cf35cb6f7e1ae4d0adb0cc36d804528f84ffb0b:/SL/DB/DeliveryOrderItem.pm diff --git a/SL/DB/DeliveryOrderItem.pm b/SL/DB/DeliveryOrderItem.pm index 045e2e6c7..a42dad510 100644 --- a/SL/DB/DeliveryOrderItem.pm +++ b/SL/DB/DeliveryOrderItem.pm @@ -48,6 +48,12 @@ sub displayable_delivery_order_info { . " (" . $self->delivery_order->transdate->to_kivitendo . ")"; }; +sub effective_project { + my ($self) = @_; + + $self->project // $self->delivery_order->project; +} + __END__ =pod