Merge pull request #1483 from vishal-singh-webkul/gli-2686

Fixed: Showing no customer found while adding new customers while creating new order in the back-office.
This commit is contained in:
Rohit Jain
2025-06-09 17:30:54 +05:30
committed by GitHub

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')}",