From 77e94429990a3e350717cf4dd72fe8c384575c27 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Tue, 22 Oct 2013 14:47:50 +0100 Subject: [PATCH] Bug 11114 Correct spelling of shipmentdate field Searching invoices using shipmentdate failed as the attribute name was misspelt --- C4/Acquisition.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index e470b24..072b9fb 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -2267,11 +2267,11 @@ sub GetInvoices { push @bind_args, "%$args{suppliername}%"; } if($args{shipmentdatefrom}) { - push @bind_strs, " aqinvoices.shipementdate >= ? "; + push @bind_strs, ' aqinvoices.shipmentdate >= ? '; push @bind_args, $args{shipmentdatefrom}; } if($args{shipmentdateto}) { - push @bind_strs, " aqinvoices.shipementdate <= ? "; + push @bind_strs, ' aqinvoices.shipmentdate <= ? '; push @bind_args, $args{shipmentdateto}; } if($args{billingdatefrom}) { -- 1.8.3.1