%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/workflow/src/public/app-assets/js/scripts/pages/
Upload File :
Create Path :
Current File : /home/opti/workflow/src/public/app-assets/js/scripts/pages/invoices-list.min.js

/*!
 * stack-admin-theme (https://pixinvent.com/bootstrap-admin-template/stack)
 * Copyright 2018 PIXINVENT
 * Licensed under the Themeforest Standard Licenses
 */
$(document).ready(function(){$(".row-grouping").DataTable({responsive:!0,rowReorder:!0,columnDefs:[{visible:!1,targets:5}],displayLength:25,drawCallback:function(settings){var api=this.api(),rows=api.rows({page:"current"}).nodes(),last=null;api.column(5,{page:"current"}).data().each(function(group,i){last!==group&&($(rows).eq(i).before('<tr class="group"><td colspan="9">'+group+"</td></tr>"),last=group)})}});$(".row-grouping tbody").on("click","tr.group",function(){if("undefined"!=typeof table&&table.order()[0]){var currentOrder=table.order()[0];5===currentOrder[0]&&"asc"===currentOrder[1]?table.order([5,"desc"]).draw():table.order([5,"asc"]).draw()}}),$(".icheck input").iCheck({checkboxClass:"icheckbox_square-blue",radioClass:"iradio_square-blue"}),$("#invoices-list").on("draw.dt",function(){$(".icheck input").iCheck({checkboxClass:"icheckbox_square-blue",radioClass:"iradio_square-blue"})});var checkAll=$("input.input-chk-all"),checkboxes=$("input.input-chk");checkAll.on("ifChecked ifUnchecked",function(event){"ifChecked"==event.type?checkboxes.iCheck("check"):checkboxes.iCheck("uncheck")}),checkboxes.on("ifChanged",function(event){checkboxes.filter(":checked").length==checkboxes.length?checkAll.prop("checked","checked"):checkAll.removeProp("checked"),checkAll.iCheck("update")})});

Zerion Mini Shell 1.0