numerify the taxRate for making JSON
This commit is contained in:
parent
3f5d947282
commit
4b4f389586
1 changed files with 1 additions and 0 deletions
|
|
@ -370,6 +370,7 @@ sub www_getTaxesAsJson {
|
|||
my @records = ();
|
||||
my $sth = $db->read($sql, \@placeholders);
|
||||
while (my $record = $sth->hashRef) {
|
||||
$record->{taxRate} += 0; ##Convert to numeric
|
||||
push(@records,$record);
|
||||
}
|
||||
$results{'recordsReturned'} = $sth->rows()+0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue