projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae90611
)
Druckvorbereitung: Lieferschein-Model mit richtigem Primärattribut laden
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 1 Jul 2014 07:59:52 +0000
(09:59 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 1 Jul 2014 07:59:52 +0000
(09:59 +0200)
Das ging im Commit »Einkauf/Verkauf: Lieferadressenfelder nie aus
Stammdaten vorbelegen« kaputt.
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
7030454
..
4451440
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-3344,7
+3344,7
@@
sub prepare_for_printing {
# Load shipping address from database if shipto_id is set.
if ($self->{shipto_id}) {
- my $shipto = SL::DB::Shipto->new(id => $self->{shipto_id})->load;
+ my $shipto = SL::DB::Shipto->new(
shipto_
id => $self->{shipto_id})->load;
$self->{$_} = $shipto->$_ for grep { m{^shipto} } map { $_->name } @{ $shipto->meta->columns };
}