"use strict";var KTDatatablesAdvancedColumnRendering={init:function(){$("#kt_datatable").DataTable({responsive:!0,paging:!0,columnDefs:[{targets:0,title:"Agent",render:function(t,a,e,s){var l=KTUtil.getRandomInt(1,14);return l>8?'\n
\n
\n
\n
\n
\n
":'\n \n
\n
'+e[2].substring(0,1)+'
\n
\n
\n
"}},{targets:1,render:function(t,a,e,s){return''+t+""}},{targets:-1,title:"Actions",orderable:!1,render:function(t,a,e,s){return'\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t \t \t\t\t\t\t\t\t \t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'}},{targets:4,render:function(t,a,e,s){var l={1:{title:"Pending",class:"label-light-primary"},2:{title:"Delivered",class:" label-light-danger"},3:{title:"Canceled",class:" label-light-primary"},4:{title:"Success",class:" label-light-success"},5:{title:"Info",class:" label-light-info"},6:{title:"Danger",class:" label-light-danger"},7:{title:"Warning",class:" label-light-warning"}};return void 0===l[t]?t:''+l[t].title+""}},{targets:5,render:function(t,a,e,s){var l={1:{title:"Online",state:"danger"},2:{title:"Retail",state:"primary"},3:{title:"Direct",state:"success"}};return void 0===l[t]?t:''+l[t].title+""}}]}),$("#kt_datatable_search_status").on("change",function(){datatable.search($(this).val().toLowerCase(),"Status")}),$("#kt_datatable_search_type").on("change",function(){datatable.search($(this).val().toLowerCase(),"Type")}),$("#kt_datatable_search_status, #kt_datatable_search_type").selectpicker()}};jQuery(document).ready(function(){KTDatatablesAdvancedColumnRendering.init()});