"use strict";var KTDatatablesBasicScrollable={init:function(){$("#kt_datatable1").DataTable({scrollY:"50vh",scrollX:!0,scrollCollapse:!0,columnDefs:[{targets:-1,title:"Actions",orderable:!1,width:"125px",render:function(t,l,a,s){return'\t
\t \t \t \t \t \t \t \t \t \t \t '}},{targets:8,width:"75px",render:function(t,l,a,s){var i={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===i[t]?t:''+i[t].title+""}},{targets:9,width:"75px",render:function(t,l,a,s){var i={1:{title:"Online",state:"danger"},2:{title:"Retail",state:"primary"},3:{title:"Direct",state:"success"}};return void 0===i[t]?t:''+i[t].title+""}}]}),$("#kt_datatable2").DataTable({scrollY:"50vh",scrollX:!0,scrollCollapse:!0,createdRow:function(t,l,a){var s={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"}},i=''+s[l[18]].title+"";t.getElementsByTagName("td")[18].innerHTML=i,i=''+s[l[19]].title+"",t.getElementsByTagName("td")[19].innerHTML=i},columnDefs:[{targets:-1,title:"Actions",orderable:!1,width:"125px",render:function(t,l,a,s){return'\t \t \t \t \t \t \t \t \t \t \t \t '}},{targets:8,width:"75px",render:function(t,l,a,s){var i={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===i[t]?t:''+i[t].title+""}},{targets:9,width:"75px",render:function(t,l,a,s){var i={1:{title:"Online",state:"danger"},2:{title:"Retail",state:"primary"},3:{title:"Direct",state:"success"}};return void 0===i[t]?t:''+i[t].title+""}}]})}};jQuery(document).ready(function(){KTDatatablesBasicScrollable.init()});