Fixed: Showing no customer found while adding new customers during booking.

This commit is contained in:
vishalsingh.qlo325
2025-06-09 15:07:12 +05:30
parent 63dad00de9
commit 65cd903153

View File

@@ -635,7 +635,10 @@
'width': '90%',
'height': '90%',
'afterClose' : function () {
searchCustomers();
let customer = $('#customer').val();
if (customer != '' && customer.length > 3) {
searchCustomers();
}
}
});
/*$("#new_address").fancybox({
@@ -888,7 +891,7 @@
let customerSearchAjax = '';
function searchCustomers()
{
abortRunningAjax(customerSearchAjax);Add commentMore actions
abortRunningAjax(customerSearchAjax);
customerSearchAjax = $.ajax({
type:"POST",
url : "{$link->getAdminLink('AdminCustomers')}",