projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e10590
)
better behavior when zip code is missing
author
jeff
<jeff>
Thu, 4 Dec 2008 01:46:20 +0000
(
01:46
+0000)
committer
jeff
<jeff>
Thu, 4 Dec 2008 01:46:20 +0000
(
01:46
+0000)
httemplate/edit/cust_main/choose_tax_location.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/cust_main/choose_tax_location.html
b/httemplate/edit/cust_main/choose_tax_location.html
index
23fdbf2
..
045490b
100644
(file)
--- a/
httemplate/edit/cust_main/choose_tax_location.html
+++ b/
httemplate/edit/cust_main/choose_tax_location.html
@@
-50,7
+50,10
@@
my $hashref = { data_vendor => $data_vendor,
my @keys = qw ( zip );
my @cust_tax_location = ();
until ( @cust_tax_location ) {
- @cust_tax_location = qsearch( 'cust_tax_location', $hashref );
+ @cust_tax_location = qsearch({ table => 'cust_tax_location',
+ hashref => $hashref,
+ order_by => 'LIMIT 50',
+ });
last unless scalar(@keys);
delete $hashref->{ shift @keys };
}