(bug #3512) fix acquisition reports and group by

This fix, just change a grep value that make different way to calculate the table depending on the choosen column and line.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Nahuel ANGELINETTI 2009-08-26 01:44:35 +02:00 committed by Henri-Damien LAURENT
parent 50c069e822
commit 5feefe497d
1 changed files with 3 additions and 3 deletions

View File

@ -478,17 +478,17 @@ sub calculate {
$colfield .= "Year($column)";
}
elsif ( ( $column =~ /deliverydate/ ) and ( $rodsp == 1 ) ) {
elsif ( ( $column =~ /received/ ) and ( $rodsp == 1 ) ) {
#Display by day
$colfield .= "dayname($column)";
}
elsif ( ( $column =~ /deliverydate/ ) and ( $rodsp == 2 ) ) {
elsif ( ( $column =~ /received/ ) and ( $rodsp == 2 ) ) {
#Display by Month
$colfield .= "monthname($column)";
}
elsif ( ( $column =~ /deliverydate/ ) and ( $rodsp == 3 ) ) {
elsif ( ( $column =~ /received/ ) and ( $rodsp == 3 ) ) {
#Display by Year
$colfield .= "Year($column)";