(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{JyC3:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var a=n("H+bZ"),o=n("OlR4"),i=n("1i8C"),l=n("8Y7J"),r=n("G0yt");let s=(()=>{class t{constructor(t,e,n,a,o){this.api=t,this.common=e,this.map=n,this.modalService=a,this.activeModal=o,this.tripId=0,this.showData={gps:null,google:null,repaired:null},this.GPSData=[],this.GoogleData=[],this.RepairData=[],this.GPSDis=0,this.GoogleDis=0,this.RequiredDis=0,this.tripId=this.common.params.tripId,this.map.map=null}ngOnInit(){}ngAfterViewInit(){this.getTripKmData()}getTripKmData(){this.tripId?(++this.common.loading,this.api.get("HaltOperations/populateKmsInVTStates?tripIds="+this.tripId).subscribe(t=>{--this.common.loading,console.log("Res:",t.data);let e=this.formatCSVData(t.data.info[0].debugPath.gpsPath);this.GPSData=e.data,this.GPSDis=e.dis;let n=this.formatCSVData(t.data.info[0].debugPath.googlePath);this.GoogleData=n.data,this.GoogleDis=n.dis;let a=this.formatCSVData(t.data.info[0].debugPath.path);this.RepairData=a.data,this.RequiredDis=a.dis},t=>{--this.common.loading,console.log("Err:",t)})):this.common.showError("No Trip Present")}formatCSVData(t){let e=[],n=null,a=0;return t.split("\n").forEach(t=>{let o=t.split(",");o[1]&&(e.push({lat:o[1],long:o[0]}),n&&(a+=this.common.distanceFromAToB(o[1],o[0],n[1],n[0],"Mt")),n=o)}),{data:e,dis:Math.round(a/1e3)}}setAndShowData(t){switch(console.log("type",t,this.map.map),this.map.map||(this.map.mapIntialize("map"),setTimeout(()=>{this.map.addListerner(this.map.map,"click",t=>{console.log("latLng",t.latLng.lat()+","+t.latLng.lng())})},100)),t){case"gps":this.showData.gps?(this.showData.gps.setMap(null),this.showData.gps=null):this.showData.gps=this.showPoly(this.GPSData,{strokeColor:"#f44336",strokeOpacity:1,strokeWeight:1,icons:[{icon:this.map.lineSymbol,offset:"100%",repeat:"20px"}]});break;case"google":this.showData.google?(this.showData.google.setMap(null),this.showData.google=null):this.showData.google=this.showPoly(this.GoogleData,{strokeColor:"#008CBA",strokeOpacity:1,strokeWeight:1,icons:[{icon:this.map.lineSymbol,offset:"100%",repeat:"20px"}]});break;case"repaired":this.showData.repaired?(this.showData.repaired.setMap(null),this.showData.repaired=null):this.showData.repaired=this.showPoly(this.RepairData,{strokeColor:"#4CAF50",strokeOpacity:1,strokeWeight:1,icons:[{icon:this.map.lineSymbol,offset:"100%",repeat:"20px"}]});break;default:this.common.showToast("Unknown Type")}}showPoly(t,e){this.map.polygonPath=null;let n=null;t.forEach(t=>{n=this.map.createPolyPathManual(this.map.createLatLng(t.lat,t.long),e)});let a=t.map(t=>({lat:parseFloat(t.lat),lng:parseFloat(t.long)}));return this.map.setMultiBounds(a,!0),n}closeModal(){this.activeModal.close()}}return t.\u0275fac=function(e){return new(e||t)(l["\u0275\u0275directiveInject"](a.a),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](i.a),l["\u0275\u0275directiveInject"](r.r),l["\u0275\u0275directiveInject"](r.b))},t.\u0275cmp=l["\u0275\u0275defineComponent"]({type:t,selectors:[["trip-km-repair-view"]],decls:20,vars:3,consts:[[1,"modal-header"],["id","modal-basic-title",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[1,"row"],[1,"col-4"],["type","button",1,"button","button-red",3,"click"],["type","button",1,"button","button-blue",3,"click"],["type","button",1,"button",3,"click"],["id","map",2,"width","100%","height","68vh"]],template:function(t,e){1&t&&(l["\u0275\u0275elementStart"](0,"div",0),l["\u0275\u0275elementStart"](1,"h5",1),l["\u0275\u0275text"](2,"Trip KM Repair"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](3,"button",2),l["\u0275\u0275listener"]("click",(function(){return e.closeModal()})),l["\u0275\u0275elementStart"](4,"span",3),l["\u0275\u0275text"](5,"\xd7"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](6,"div",4),l["\u0275\u0275elementStart"](7,"div",5),l["\u0275\u0275elementStart"](8,"div",6),l["\u0275\u0275elementStart"](9,"button",7),l["\u0275\u0275listener"]("click",(function(){return e.setAndShowData("gps")})),l["\u0275\u0275text"](10),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](11,"div",6),l["\u0275\u0275elementStart"](12,"button",8),l["\u0275\u0275listener"]("click",(function(){return e.setAndShowData("google")})),l["\u0275\u0275text"](13),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](14,"div",6),l["\u0275\u0275elementStart"](15,"button",9),l["\u0275\u0275listener"]("click",(function(){return e.setAndShowData("repaired")})),l["\u0275\u0275text"](16),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](17,"br"),l["\u0275\u0275element"](18,"br"),l["\u0275\u0275element"](19,"div",10),l["\u0275\u0275elementEnd"]()),2&t&&(l["\u0275\u0275advance"](10),l["\u0275\u0275textInterpolate1"]("GPS (",e.GPSDis," Km)"),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"]("Google (",e.GoogleDis," Km)"),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"]("Repaired (",e.RequiredDis," Km)"))},styles:[".button[_ngcontent-%COMP%]{background-color:#4caf50;border:none;color:#fff;padding:15px 32px;text-align:center;text-decoration:none;display:inline-block;font-size:16px;margin:4px 2px;width:100%;height:100%;cursor:pointer}.button-blue[_ngcontent-%COMP%]{background-color:#008cba}.button-red[_ngcontent-%COMP%]{background-color:#f44336}.button-gray[_ngcontent-%COMP%]{background-color:#e7e7e7;color:#000}.button-black[_ngcontent-%COMP%]{background-color:#555}"]}),t})()},hOtG:function(t,e,n){"use strict";n.r(e),n.d(e,"ChallanModule",(function(){return A}));var a=n("SVse"),o=n("vTDv"),i=n("FUS3"),l=n("z+eI"),r=n("yotz"),s=n("iInd"),d=n("UTcu"),c=n("mNmA"),p=n("qfBg"),m=n("8Y7J"),h=n("IAMq"),g=n("tKwJ");let f=(()=>{class t{constructor(t,e){this.user=t,this.router=e}}return t.\u0275fac=function(e){return new(e||t)(m["\u0275\u0275directiveInject"](p.a),m["\u0275\u0275directiveInject"](s.c))},t.\u0275cmp=m["\u0275\u0275defineComponent"]({type:t,selectors:[["ngx-pages"]],decls:3,vars:1,consts:[["autoCollapse","true",3,"items"]],template:function(t,e){1&t&&(m["\u0275\u0275elementStart"](0,"ngx-sample-layout"),m["\u0275\u0275element"](1,"nb-menu",0),m["\u0275\u0275element"](2,"router-outlet"),m["\u0275\u0275elementEnd"]()),2&t&&(m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("items",e.user._menu.challan))},directives:[h.a,g.W,s.h],encapsulation:2}),t})();var u=n("OlR4"),b=n("H+bZ"),x=n("m9e2"),v=n("tTnc"),S=n("7xJQ"),y=n("iJpb"),C=n("1+iI"),D=n("G0yt"),P=n("csNM"),w=n("s7LF"),E=n("wD9S");function k(t,e){if(1&t){const t=m["\u0275\u0275getCurrentView"]();m["\u0275\u0275elementStart"](0,"div",28),m["\u0275\u0275elementStart"](1,"span",29),m["\u0275\u0275elementStart"](2,"span",30),m["\u0275\u0275listener"]("click",(function(){return m["\u0275\u0275restoreView"](t),m["\u0275\u0275nextContext"]().printPDF()})),m["\u0275\u0275element"](3,"i",31),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](4,"span",32),m["\u0275\u0275listener"]("click",(function(){return m["\u0275\u0275restoreView"](t),m["\u0275\u0275nextContext"]().printCSV()})),m["\u0275\u0275element"](5,"i",33),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"]()}}function _(t,e){if(1&t&&(m["\u0275\u0275elementStart"](0,"div",2),m["\u0275\u0275elementStart"](1,"div",22),m["\u0275\u0275elementStart"](2,"div",34),m["\u0275\u0275elementStart"](3,"div",35),m["\u0275\u0275text"](4," Total Amount"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](5,"div",36),m["\u0275\u0275elementStart"](6,"span",37),m["\u0275\u0275text"](7,"\u20b9"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275text"](8),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](9,"div",22),m["\u0275\u0275elementStart"](10,"div",34),m["\u0275\u0275elementStart"](11,"div",38),m["\u0275\u0275text"](12," Pending Amount"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](13,"div",39),m["\u0275\u0275elementStart"](14,"span",40),m["\u0275\u0275text"](15,"\u20b9"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275text"](16),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](17,"div",22),m["\u0275\u0275elementStart"](18,"div",34),m["\u0275\u0275elementStart"](19,"div",41),m["\u0275\u0275text"](20," Paid Amount"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](21,"div",42),m["\u0275\u0275elementStart"](22,"span",43),m["\u0275\u0275text"](23,"\u20b9"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275text"](24),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"]()),2&t){const t=m["\u0275\u0275nextContext"]();m["\u0275\u0275advance"](8),m["\u0275\u0275textInterpolate"](t.totalAmount),m["\u0275\u0275advance"](8),m["\u0275\u0275textInterpolate"](t.pendingAmount),m["\u0275\u0275advance"](8),m["\u0275\u0275textInterpolate"](t.paidAmount)}}function M(t,e){if(1&t&&m["\u0275\u0275element"](0,"smart-table",44),2&t){const t=m["\u0275\u0275nextContext"]();m["\u0275\u0275property"]("data",t.table.data)("settings",t.table.settings)}}const O=[{path:"",component:f,children:[{path:"pending-challan",component:(()=>{class t{constructor(t,e,n,a,o,i){this.common=t,this.pdfService=e,this.csvService=n,this.user=a,this.api=o,this.modalService=i,this.endDate=new Date,this.startDate=new Date((new Date).setDate(new Date(this.endDate).getDate()-30)),this.challanStatus="-1",this.challan=[],this.paidAmount="",this.pendingAmount="",this.totalAmount="",this.table={data:{headings:{},columns:[]},settings:{hideHeader:!0}},this.pdfUrl=""}ngOnInit(){}getPendingChallans(){if(this.challan=[],this.startDate||this.endDate)if(this.startDate)if(this.endDate)if(this.startDate>this.endDate)this.common.showError("StartDate Should be less Then EndDate");else{let t="fromTime="+this.common.dateFormatter(this.startDate)+"&toTime="+this.common.dateFormatter(this.endDate)+"&viewType="+this.challanStatus+"&appType=dashboard";this.common.loading++,this.api.get("RcDetails/getPendingChallans?"+t).subscribe(t=>{if(console.log("Res:",t),this.common.loading--,this.clearAllTableData(),!t.data)return void this.common.showError("Data Not Found");this.challan=t.data,console.log("ChallanData:",this.challan);const e=this.challan.filter(t=>"Pending"===t["Payment Type"]).reduce((t,e)=>t+e.Amount,0);var n=Number(e).toLocaleString("en-GB");this.pendingAmount=n;const a=this.challan.filter(t=>"Cash"===t["Payment Type"]).reduce((t,e)=>t+e.Amount,0);var o=Number(a).toLocaleString("en-GB");this.paidAmount=o;var i=Number(e+a).toLocaleString("en-GB");this.totalAmount=i,this.setTable()},t=>{this.common.loading--,this.common.showError(t)})}else this.common.showError("Please Enter EndDate");else this.common.showError("Please Enter StartDate");else this.common.showError("Please Enter StartDate and EndDate")}setTable(){this.table.data={headings:this.generateHeadings(this.challan[0]),columns:this.getColumns(this.challan,this.challan[0])}}generateHeadings(t){let e={};for(var n in t)"_"!=n.charAt(0)&&(e[n]={title:this.formatTitle(n),placeholder:this.formatTitle(n)},"Challan Date"===n&&(e[n].type="date"));return e}formatTitle(t){return t.charAt(0).toUpperCase()+t.slice(1)}getColumns(t,e){let n=[];return t.map(t=>{let a={};for(let n in this.generateHeadings(e))a[n]="Action"==n?{value:"",action:null,icons:[{class:t._ch_doc_id?"far fa-file-alt":"far fa-file-alt text-color",action:this.paymentDocImage.bind(this,t._ch_doc_id)},{class:t._payment_doc_id?"far fa-file-pdf":"far far fa-file-pdf text-color",action:this.paymentDocImage.bind(this,t._payment_doc_id)},{class:"Pending"==t["Payment Type"]&&t._ch_doc_id&&0==t._req_status?"far fa-money-bill-alt":"",action:this.challanPendingRequest.bind(this,t)}]}:{value:t[n],class:"black",action:""};n.push(a)}),n}challanPendingRequest(t){this.common.params={regNo:t.Regno,chDate:t["Challan Date"],chNo:t["Challan No"],amount:t.Amount,rowId:t._id,vehId:t._vid,foid:t._foid},this.modalService.open(v.a,{size:"lg",container:"nb-layout",backdrop:"static"}).result.then(t=>{t.response&&this.getPendingChallans()})}paymentDocImage(t){if(t){this.pdfUrl="";let e="docId="+t;this.common.loading++,this.api.get("Documents/getRepositoryImages?"+e).subscribe(t=>{this.common.loading--,console.log(t.data),t.data&&(this.pdfUrl=t.data[0].url,this.common.params={pdfUrl:this.pdfUrl,title:"Challan"},console.log("params",this.common.params),this.modalService.open(x.a,{size:"lg",container:"nb-layout"}))},t=>{this.common.loading--,console.log(t)})}}clearAllTableData(){this.table={data:{headings:{},columns:[]},settings:{hideHeader:!0}}}lastchecked(){this.common.handleModalSize("class","modal-lg","1100"),this.common.params={data:{view:{api:"Challans/getPendingLastCheckedReport",param:{}},title:"Last Checked Report "}},this.modalService.open(S.a,{size:"lg",container:"nb-layout",backdrop:"static"})}printPDF(){let t="admin"==this.user._loggedInBy?this.user._details.username:this.user._details.name;console.log("Name:",t);let e=[["Name: "+t,"Start Date: "+this.common.dateFormatter1(this.startDate),"End Date: "+this.common.dateFormatter1(this.endDate),"Report: Challan"]];this.pdfService.jrxTablesPDF(["pendingChallan"],"challan",e)}printCSV(){let t=[{name:"Name:"+("admin"==this.user._loggedInBy?this.user._details.username:this.user._details.name),startdate:"Start Date:"+this.common.dateFormatter1(this.startDate),enddate:"End Date:"+this.common.dateFormatter1(this.endDate),report:"Report:Challan"}];this.csvService.byMultiIds(["pendingChallan"],"challan",t)}}return t.\u0275fac=function(e){return new(e||t)(m["\u0275\u0275directiveInject"](u.a),m["\u0275\u0275directiveInject"](y.a),m["\u0275\u0275directiveInject"](C.a),m["\u0275\u0275directiveInject"](p.a),m["\u0275\u0275directiveInject"](b.a),m["\u0275\u0275directiveInject"](D.r))},t.\u0275cmp=m["\u0275\u0275defineComponent"]({type:t,selectors:[["pending-challan"]],decls:40,vars:9,consts:[[2,"border","0px","height","100%"],[1,"toll-soft-recovery"],[1,"row"],[1,"col-sm-9"],[1,"col-sm-10"],["class","col-sm-3",4,"ngIf"],[1,"Pending_challan"],[1,"col-12"],[1,"row","mb-3"],[1,"col-3"],[1,"row","row","align-items-center"],[1,"col-5","pl-0","pr-0"],[1,"col-7","pl-0"],[3,"dateTimeValue","isTime","onChanged"],[1,"row","align-items-center"],[1,"col-4","pr-0","pl-0"],[1,"col-8"],[3,"dateTimeValue","isTime","isStart","onChanged"],[1,"col-2"],[1,"form-control",2,"border","2px solid darkcyan","font-size","13px",3,"ngModel","ngModelChange"],["value","-1"],["value","0"],[1,"col-4"],["type","button",1,"btn","btn-primary",3,"click"],["type","button",1,"btn","btn-primary",2,"margin-left","15px",3,"click"],["class","row",4,"ngIf"],[1,"mt-1"],["id","pendingChallan",3,"data","settings",4,"ngIf"],[1,"col-sm-3"],[2,"display","block"],["title","PDF Export",1,"pdf-icon",2,"cursor","pointer",3,"click"],[1,"fa","fa-file-pdf"],["title","CSV Export",1,"exel-icon",2,"cursor","pointer","margin-left","5px",3,"click"],[1,"fas","fa-file-excel"],[1,"solid","boxStyle"],[1,"heading",2,"color","blue"],[1,"data"],[1,"data",2,"padding-right","5px","color","blue"],[1,"heading",2,"color","red"],[1,"data1"],[1,"data1",2,"padding-right","5px","color","red"],[1,"heading",2,"color","green"],[1,"data2"],[1,"data2",2,"padding-right","5px","color","green"],["id","pendingChallan",3,"data","settings"]],template:function(t,e){1&t&&(m["\u0275\u0275elementStart"](0,"nb-card",0),m["\u0275\u0275elementStart"](1,"nb-card-header",1),m["\u0275\u0275elementStart"](2,"div",2),m["\u0275\u0275elementStart"](3,"div",3),m["\u0275\u0275elementStart"](4,"h5",4),m["\u0275\u0275text"](5,"Pending Challan"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275template"](6,k,6,0,"div",5),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](7,"nb-card-body"),m["\u0275\u0275elementStart"](8,"div",6),m["\u0275\u0275elementStart"](9,"div",2),m["\u0275\u0275elementStart"](10,"div",7),m["\u0275\u0275elementStart"](11,"div",8),m["\u0275\u0275elementStart"](12,"div",9),m["\u0275\u0275elementStart"](13,"div",10),m["\u0275\u0275elementStart"](14,"div",11),m["\u0275\u0275elementStart"](15,"label"),m["\u0275\u0275text"](16,"From Date :"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](17,"div",12),m["\u0275\u0275elementStart"](18,"uj-date-time-picker",13),m["\u0275\u0275listener"]("onChanged",(function(t){return e.startDate=t})),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](19,"div",9),m["\u0275\u0275elementStart"](20,"div",14),m["\u0275\u0275elementStart"](21,"div",15),m["\u0275\u0275elementStart"](22,"label"),m["\u0275\u0275text"](23,"To Date :"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](24,"div",16),m["\u0275\u0275elementStart"](25,"uj-date-time-picker",17),m["\u0275\u0275listener"]("onChanged",(function(t){return e.endDate=t})),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](26,"div",18),m["\u0275\u0275elementStart"](27,"select",19),m["\u0275\u0275listener"]("ngModelChange",(function(t){return e.challanStatus=t})),m["\u0275\u0275elementStart"](28,"option",20),m["\u0275\u0275text"](29,"All"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](30,"option",21),m["\u0275\u0275text"](31,"Pending"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](32,"div",22),m["\u0275\u0275elementStart"](33,"button",23),m["\u0275\u0275listener"]("click",(function(){return e.getPendingChallans()})),m["\u0275\u0275text"](34,"OK"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](35,"button",24),m["\u0275\u0275listener"]("click",(function(){return e.lastchecked()})),m["\u0275\u0275text"](36,"Last Check Report"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275template"](37,_,25,3,"div",25),m["\u0275\u0275elementStart"](38,"div",26),m["\u0275\u0275template"](39,M,1,2,"smart-table",27),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"]()),2&t&&(m["\u0275\u0275advance"](6),m["\u0275\u0275property"]("ngIf",e.challan&&e.challan.length),m["\u0275\u0275advance"](12),m["\u0275\u0275property"]("dateTimeValue",e.startDate)("isTime",!1),m["\u0275\u0275advance"](7),m["\u0275\u0275property"]("dateTimeValue",e.endDate)("isTime",!1)("isStart",!1),m["\u0275\u0275advance"](2),m["\u0275\u0275property"]("ngModel",e.challanStatus),m["\u0275\u0275advance"](10),m["\u0275\u0275property"]("ngIf",e.challan&&e.challan.length),m["\u0275\u0275advance"](2),m["\u0275\u0275property"]("ngIf",e.challan&&e.challan.length))},directives:[g.s,g.v,a.u,g.r,P.a,w.D,w.r,w.u,w.w,w.G,E.a],styles:['.fa-edit[_ngcontent-%COMP%]{color:#00f}.pdf-iconnew[_ngcontent-%COMP%]{font-size:20px;color:#9f0001}.exel-iconnew[_ngcontent-%COMP%]{font-size:20px;color:#217346}[_nghost-%COMP%]     td i.fa-file-alt{background-color:#04a9f5;color:#fff;border-radius:3px;position:relative;padding:11px 5px 5px;height:29px}[_nghost-%COMP%]     td i.fa-file-alt:hover span{display:block}[_nghost-%COMP%]     td i.fa-file-alt span{position:absolute;display:none;padding:11px 57px;left:-44px;top:-28px;font-family:Roboto;z-index:999}[_nghost-%COMP%]     td i.fa-file-alt span:before{content:"Challan";display:block;position:absolute;top:0;left:0;background-color:#04a9f5;border-radius:3px;padding:5px 10px}[_nghost-%COMP%]     td i.fa-file-alt span:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #04a9f5;position:absolute;bottom:-5px;left:50%;-webkit-transform:translate(-50%);transform:translate(-50%)}[_nghost-%COMP%]     .fa-file-alt:hover span{display:block}[_nghost-%COMP%]     td i.fa-file-pdf{background-color:red;color:#fff;padding:5px;border-radius:3px;position:relative}[_nghost-%COMP%]     td i.fa-file-pdf span{position:absolute;display:none;padding:11px 70px;left:-59px;top:-28px;font-family:Roboto;z-index:999}[_nghost-%COMP%]     td i.fa-file-pdf span:before{content:"Payment Receipt";display:block;position:absolute;top:0;left:0;background-color:red;border-radius:3px;padding:5px 10px}[_nghost-%COMP%]     td i.fa-file-pdf span:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid red;position:absolute;bottom:-5px;left:50%;-webkit-transform:translate(-50%);transform:translate(-50%)}[_nghost-%COMP%]     .fa-file-pdf{color:red;font-size:24px;margin-left:6px}[_nghost-%COMP%]     .fa-file-pdf span{position:absolute;display:none;padding:10px 33px;font-weight:400;font-size:11px;left:-22px;top:-28px;-webkit-box-shadow:5px 2px 8px rgba(0,0,0,.5);box-shadow:5px 2px 8px rgba(0,0,0,.5);font-family:Roboto;z-index:9999}[_nghost-%COMP%]     .fa-file-pdf span:before{content:"Delete";display:block;position:absolute;top:0;left:0;background-color:red;border-radius:3px;padding:5px 10px;color:#fff;width:100%}[_nghost-%COMP%]     .fa-file-pdf span:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid red;position:absolute;bottom:-5px;right:24px}[_nghost-%COMP%]     .fa-file-pdf:hover span{display:block}[_nghost-%COMP%]     td i.fa-money-bill-alt{background-color:#04a9f5;color:#fff;border-radius:3px;position:relative;padding:11px 5px 5px;height:29px}[_nghost-%COMP%]     td i.fa-money-bill-alt:hover span{display:block}[_nghost-%COMP%]     td i.fa-money-bill-alt span{position:absolute;display:none;padding:11px 57px;left:-44px;top:-28px;font-family:Roboto;z-index:999}[_nghost-%COMP%]     td i.fa-money-bill-alt span:before{content:"challan Payment";display:block;position:absolute;top:0;left:0;background-color:#04a9f5;border-radius:3px;padding:5px 10px}[_nghost-%COMP%]     td i.fa-money-bill-alt span:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #04a9f5;position:absolute;bottom:-5px;left:50%;-webkit-transform:translate(-50%);transform:translate(-50%)}[_nghost-%COMP%]     .fa-money-bill-alt:hover span{display:block}[_nghost-%COMP%]    .fa-file-alt.text-color, [_nghost-%COMP%]    .fa-file-pdf.text-color, [_nghost-%COMP%]    .fa-money-bill-alt.text-color{cursor:not-allowed;opacity:.5}table[_ngcontent-%COMP%]{border-collapse:collapse;width:100%}th[_ngcontent-%COMP%]{color:#fff}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{border:1px solid #ddd;text-align:center;padding:8px}td[_ngcontent-%COMP%]{color:#000}.boxStyle[_ngcontent-%COMP%]{height:120px;-webkit-box-shadow:0 0 4px 2px #d3d3d3;box-shadow:0 0 4px 2px #d3d3d3;margin-bottom:20px;border-radius:10px}.heading[_ngcontent-%COMP%]{padding-left:10px;font-size:22px;font-weight:500}.data1[_ngcontent-%COMP%]{color:red}.data[_ngcontent-%COMP%], .data1[_ngcontent-%COMP%]{text-align:center;font-size:46px;padding-top:14px;font-family:sans-serif}.data[_ngcontent-%COMP%]{color:#00f}.data2[_ngcontent-%COMP%]{text-align:center;font-size:46px;color:green;padding-top:14px;font-family:sans-serif}']}),t})(),canActivate:[d.a,c.b]}]}];let I=(()=>{class t{}return t.\u0275mod=m["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=m["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)},imports:[[s.g.forChild(O)],s.g]}),t})();var T=n("d2mR");let A=(()=>{class t{}return t.\u0275mod=m["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=m["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)},providers:[a.f],imports:[[I,o.a,i.a,l.ChartModule,r.b,T.a]]}),t})()}}]);