Lines 2267-2277
sub GetInvoices {
Link Here
|
2267 |
push @bind_args, "%$args{suppliername}%"; |
2267 |
push @bind_args, "%$args{suppliername}%"; |
2268 |
} |
2268 |
} |
2269 |
if($args{shipmentdatefrom}) { |
2269 |
if($args{shipmentdatefrom}) { |
2270 |
push @bind_strs, " aqinvoices.shipementdate >= ? "; |
2270 |
push @bind_strs, ' aqinvoices.shipmentdate >= ? '; |
2271 |
push @bind_args, $args{shipmentdatefrom}; |
2271 |
push @bind_args, $args{shipmentdatefrom}; |
2272 |
} |
2272 |
} |
2273 |
if($args{shipmentdateto}) { |
2273 |
if($args{shipmentdateto}) { |
2274 |
push @bind_strs, " aqinvoices.shipementdate <= ? "; |
2274 |
push @bind_strs, ' aqinvoices.shipmentdate <= ? '; |
2275 |
push @bind_args, $args{shipmentdateto}; |
2275 |
push @bind_args, $args{shipmentdateto}; |
2276 |
} |
2276 |
} |
2277 |
if($args{billingdatefrom}) { |
2277 |
if($args{billingdatefrom}) { |
2278 |
- |
|
|