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:
8545004
)
Auftrags-Controller: CVars die nicht editierbar und nicht "valid" sind, behandeln …
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Fri, 11 Sep 2015 15:25:07 +0000
(17:25 +0200)
committer
G. Richardson
<information@kivitendo-premium.de>
Mon, 16 Nov 2015 15:15:57 +0000
(16:15 +0100)
… Todo: Noch nicht berücksichtigt ist der Filter nach Warengruppen bei CVars.
SL/Controller/Order.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Order.pm
b/SL/Controller/Order.pm
index
8393850
..
469eb40
100644
(file)
--- a/
SL/Controller/Order.pm
+++ b/
SL/Controller/Order.pm
@@
-322,6
+322,11
@@
sub _recalc {
sub _save {
my ($self) = @_;
+ # autovivify all cvars that are not in the form (cvars_by_config can do it)
+ foreach my $item (@{ $self->order->items }) {
+ $item->cvars_by_config;
+ }
+
my $errors = [];
my $db = $self->order->db;