From: Bernd Bleßmann Date: Fri, 17 May 2013 08:22:12 +0000 (+0200) Subject: Verkauf->Berichte->Lieferscheine: Lieferdatum mit anzeigen lassen. X-Git-Tag: release-3.1.0beta1~408 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=253a9323f241c4cc5244f2386a96a5fbcb920fa2;p=kivitendo-erp.git Verkauf->Berichte->Lieferscheine: Lieferdatum mit anzeigen lassen. --- diff --git a/SL/DO.pm b/SL/DO.pm index 15e16cc16..8d71fbcda 100644 --- a/SL/DO.pm +++ b/SL/DO.pm @@ -61,7 +61,8 @@ sub transactions { my $vc = $form->{vc} eq "customer" ? "customer" : "vendor"; my $query = - qq|SELECT dord.id, dord.donumber, dord.ordnumber, dord.transdate, + qq|SELECT dord.id, dord.donumber, dord.ordnumber, + dord.transdate, dord.reqdate, ct.${vc}number, ct.name, dord.${vc}_id, dord.globalproject_id, dord.closed, dord.delivered, dord.shippingpoint, dord.shipvia, dord.transaction_description, @@ -143,6 +144,7 @@ sub transactions { my %allowed_sort_columns = ( "transdate" => "dord.transdate", + "reqdate" => "dord.reqdate", "id" => "dord.id", "donumber" => "dord.donumber", "ordnumber" => "dord.ordnumber", diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 576564fe7..a155e8aac 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -489,7 +489,7 @@ sub orders { $form->{rowcount} = scalar @{ $form->{DO} }; my @columns = qw( - ids transdate + ids transdate reqdate id donumber ordnumber customernumber name employee salesman @@ -516,6 +516,7 @@ sub orders { my %column_defs = ( 'ids' => { 'text' => '', }, 'transdate' => { 'text' => $locale->text('Date'), }, + 'reqdate' => { 'text' => $locale->text('Reqdate'), }, 'id' => { 'text' => $locale->text('ID'), }, 'donumber' => { 'text' => $locale->text('Delivery Order'), }, 'ordnumber' => { 'text' => $locale->text('Order'), }, @@ -531,7 +532,7 @@ sub orders { 'department' => { 'text' => $locale->text('Department'), }, ); - foreach my $name (qw(id transdate donumber ordnumber name employee salesman shipvia transaction_description department)) { + foreach my $name (qw(id transdate reqdate donumber ordnumber name employee salesman shipvia transaction_description department)) { my $sortdir = $form->{sort} eq $name ? 1 - $form->{sortdir} : $form->{sortdir}; $column_defs{$name}->{link} = $href . "&sort=$name&sortdir=$sortdir"; } diff --git a/templates/webpages/do/search.html b/templates/webpages/do/search.html index 6e1bedc15..5bc2a192b 100644 --- a/templates/webpages/do/search.html +++ b/templates/webpages/do/search.html @@ -163,7 +163,13 @@ + + + + + +