projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 603: Interne Bemerkungen bei Workflow aus Lieferanten heraus
[kivitendo-erp.git]
/
SL
/
OE.pm
diff --git
a/SL/OE.pm
b/SL/OE.pm
index
e8756af
..
27f57f9
100644
(file)
--- a/
SL/OE.pm
+++ b/
SL/OE.pm
@@
-121,8
+121,6
@@
sub transactions {
$sth->execute(@values) ||
$form->dberror($query . " (" . join(", ", @values) . ")");
$sth->execute(@values) ||
$form->dberror($query . " (" . join(", ", @values) . ")");
- dump_query(0, "laqje", $query, @values);
-
my %id = ();
while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
$ref->{exchangerate} = 1 unless $ref->{exchangerate};
my %id = ();
while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
$ref->{exchangerate} = 1 unless $ref->{exchangerate};
@@
-486,6
+484,9
@@
Message: $form->{message}\r| if $form->{message};
my $rc = $dbh->commit;
$dbh->disconnect;
my $rc = $dbh->commit;
$dbh->disconnect;
+ $form->{saved_xyznumber} = $form->{$form->{type} =~ /_quotation$/ ?
+ "quonumber" : "ordnumber"};
+
Common::webdav_folder($form) if ($main::webdav);
$main::lxdebug->leave_sub();
Common::webdav_folder($form) if ($main::webdav);
$main::lxdebug->leave_sub();
@@
-700,7
+701,8
@@
sub retrieve {
$ref = $sth->fetchrow_hashref(NAME_lc);
map { $form->{$_} = $ref->{$_} } keys %$ref;
$ref = $sth->fetchrow_hashref(NAME_lc);
map { $form->{$_} = $ref->{$_} } keys %$ref;
-
+ $form->{saved_xyznumber} = $form->{$form->{type} =~ /_quotation$/ ?
+ "quonumber" : "ordnumber"};
# set all entries for multiple ids blank that yield different information
while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
# set all entries for multiple ids blank that yield different information
while ($ref = $sth->fetchrow_hashref(NAME_lc)) {