text: $(document).ready(function() {
      $('.filterTable').DataTable({
          initComplete: function() {
              this.api().columns(5).every(function() {
                  var column = this;
                  var select = $('<select><option value="">Tất cả</option></select>')
                      .appendTo($(column.footer()).empty())
                      .on('change', function() {
                          var val = $.fn.dataTable.util.escapeRegex(
                              $(this).val()
                          );
  
                          column
                              .search(val ? '^' + val + '$' : '', true, false)
                              .draw();
                      });
  
                  column.data().unique().sort().each(function(d, j) {
                      select.append('<option value="' + d + '">' + d + '</option>')
                  });
              });
              this.api().columns(6).every(function() {
                  var column = this;
                  var select = $('<select><option value="">Tất cả</option></select>')
                      .appendTo($(column.footer()).empty())
                      .on('change', function() {
                          var val = $.fn.dataTable.util.escapeRegex(
                              $(this).val()
                          );
  
                          column
                              .search(val ? '^' + val + '$' : '', true, false)
                              .draw();
                      });
  
                  column.data().unique().sort().each(function(d, j) {
                      select.append('<option value="' + d + '">' + d + '</option>')
                  });
              });
              this.api().columns(7).every(function() {
                  var column = this;
                  var select = $('<select><option value="">Tất cả</option></select>')
                      .appendTo($(column.footer()).empty())
                      .on('change', function() {
                          var val = $.fn.dataTable.util.escapeRegex(
                              $(this).val()
                          );
  
                          column
                              .search(val ? '^' + val + '$' : '', true, false)
                              .draw();
                      });
  
                  column.data().unique().sort().each(function(d, j) {
                      select.append('<option value="' + d + '">' + d + '</option>')
                  });
              });
              this.api().columns(8).every(function() {
                  var column = this;
                  var select = $('<select><option value="">Tất cả</option></select>')
                      .appendTo($(column.footer()).empty())
                      .on('change', function() {
                          var val = $.fn.dataTable.util.escapeRegex(
                              $(this).val()
                          );
  
                          column
                              .search(val ? '^' + val + '$' : '', true, false)
                              .draw();
                      });
  
                  column.data().unique().sort().each(function(d, j) {
                      select.append('<option value="' + d + '">' + d + '</option>')
                  });
              });
          }
      });
      $('.filterAnother').DataTable({
          initComplete: function() {
  
              this.api().columns(5).every(function() {
                  var column = this;
                  var select = $('<select><option value="">Tất cả</option></select>')
                      .appendTo($(column.footer()).empty())
                      .on('change', function() {
                          var val = $.fn.dataTable.util.escapeRegex(
                              $(this).val()
                          );
  
                          column
                              .search(val ? '^' + val + '$' : '', true, false)
                              .draw();
                      });
  
                  column.data().unique().sort().each(function(d, j) {
                      select.append('<option value="' + d + '">' + d + '</option>')
                  });
              });
              this.api().columns(6).every(function() {
                  var column = this;
                  var select = $('<select><option value="">Tất cả</option></select>')
                      .appendTo($(column.footer()).empty())
                      .on('change', function() {
                          var val = $.fn.dataTable.util.escapeRegex(
                              $(this).val()
                          );
  
                          column
                              .search(val ? '^' + val + '$' : '', true, false)
                              .draw();
                      });
  
                  column.data().unique().sort().each(function(d, j) {
                      select.append('<option value="' + d + '">' + d + '</option>')
                  });
              });
              this.api().columns(7).every(function() {
                  var column = this;
                  var select = $('<select><option value="">Tất cả</option></select>')
                      .appendTo($(column.footer()).empty())
                      .on('change', function() {
                          var val = $.fn.dataTable.util.escapeRegex(
                              $(this).val()
                          );
  
                          column
                              .search(val ? '^' + val + '$' : '', true, false)
                              .draw();
                      });
  
                  column.data().unique().sort().each(function(d, j) {
                      select.append('<option value="' + d + '">' + d + '</option>')
                  });
              });
          }
      });
  });