Thêm nút thêm khách hàng khi tìm kiếm

Trong sale.js ở \themes\default\admin\assets\js $(document).ready(function (e) { $(‘body a, body button’).attr(‘tabindex’, -1); check_add_item_val(); if (site.settings.set_focus != 1) { $(‘#add_item’).focus(); } var $customer = $(‘#slcustomer’); $customer.change(function (e) { localStorage.setItem(‘slcustomer’, $(this).val()); //$(‘#slcustomer_id’).val($(this).val()); }); if (slcustomer = localStorage.getItem(‘slcustomer’)) { $customer.val(slcustomer).select2({ minimumInputLength: 1, data: [], initSelection: function (element, callback) { $.ajax({ type: “get”, async: […]