When it is typed speedily in the ajax,at some cases the result was not as expected.
commit1dc940d59c66e233a8f8f48486cf82f7daf938c4
authorPaul Simon <paul@zhservices.com>
Wed, 24 Nov 2010 10:20:25 +0000 (24 15:50 +0530)
committerbradymiller <bradymiller@users.sourceforge.net>
Wed, 24 Nov 2010 12:08:27 +0000 (24 04:08 -0800)
treedb477dc5e43d8474a44754f3643a1b29ab0a8790
parentb55cf2c3d27d675545a67a80360f32bb114f7b96
When it is typed speedily in the ajax,at some cases the result was not as expected.
This usually happens when the result set is huge.It is corrected.
The ajax when patient name was typed, now picks only from the starting of the first,middle or last names.
When multiple encounters are there the issue that the non payed one getting pushed to the next level is avoided.
Ajax code for patient search only with non submission is added.

Signed-off-by: Paul Simon <paul@zhservices.com>
library/ajax/payment_ajax.php
library/ajax/payment_ajax_jav.inc.php
library/payment.inc.php