HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/thread-self/cwd/pm/plugins/Purchase/assets/js/quotations/manage_quotations_js.php
<script>
$('.select2').select2();
(function($) {

    "use strict";
    var Params = {
        "pur_request": "[name='pur_request[]']",
        "vendor": "[name='vendor[]']",
    };
    var table_estimates = $('.table-pur_estimates');
    initDataTable(table_estimates, "<?php echo get_uri('purchase/table_estimates'); ?>",[0], [0], Params);


     $.each(Params, function(i, obj) {
        $('select' + obj).on('change', function() {  
            table_estimates.DataTable().ajax.reload()
                .columns.adjust()
                .responsive.recalc();
        });
    });
})(jQuery);





</script>