From 9f5df20920bbb224f0420ffaef06ce1e1f0615e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=BCren?= Date: Sun, 22 Dec 2024 12:53:37 +0100 Subject: [PATCH] dodate ist das LS-Datum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wahrscheinlich beim Überarbeiten vergessen anzupassen --- SL/DB/Helper/FlattenToForm.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/DB/Helper/FlattenToForm.pm b/SL/DB/Helper/FlattenToForm.pm index f3339540f0..27134b4a84 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -30,6 +30,7 @@ sub flatten_to_form { if (_has($self, 'transdate')) { my $transdate_idx = ref($self) eq 'SL::DB::Order' ? ($self->quotation ? 'quodate' : 'orddate') : ref($self) eq 'SL::DB::Invoice' ? 'invdate' + : ref($self) eq 'SL::DB::DeliveryOrder' ? 'dodate' : 'transdate'; $form->{$transdate_idx} = $self->transdate->to_lxoffice; }