Hello,
I observed a bug while creating Invoice. I added multiple entries in Inventory such as SU00001,SU00002,....,SU00020. Now when i create invoice, under title when i type "SU", i get these 20 suggestion in dropdown through Autocomplete......Now let say i click on SU00007...But in text box it still sets SU00020 which is the last entry of dropdown list.
Above event is true for both filter_name and filter_sku (if i change the query in invoice.php from "=" to "LIKE" with "%")
Any idea whats the issue here.
Any help will be appreciated.Thanks in advance.
-Ashutosh
Always selects the last SKU entry from dropdown list under title
Re: Always selects the last SKU entry from dropdown list under title
I've just done a test on a clean installation, doesn't seem to have any such issues on our end
Re: Always selects the last SKU entry from dropdown list under title
Ok...got it... It used to work value in response was item['name'] and in my case all the inventory qualities have same Name but different SKU.
response($.map(json, function (item) {
return {
label: item['name']+ ' (' + item['sku'] + ')',
value: item['name'],
sell: item['sell']
}
I changed filter by sku and value: item['sku'] and it worked...
Thanks a lot for your reply
response($.map(json, function (item) {
return {
label: item['name']+ ' (' + item['sku'] + ')',
value: item['name'],
sell: item['sell']
}
I changed filter by sku and value: item['sku'] and it worked...
Thanks a lot for your reply
Re: Always selects the last SKU entry from dropdown list under title
okay that's great to hear. if there's further issues or bugs do let us know
Always selects the last SKU entry from dropdown list under title
Further to my previous test with 0.5.1b beta under Windows XP, the 0.5.1c Beta now gives us an error code.