PageSourceSearch

https://stxcloud.com/chunk-NWI7GRT7.js

js stxcloud.com collected 2026-10-05 02:20:14 UTC 25,966 bytes, 12 lines download raw bytes

1import{d as yt,f as vt,g as wt}from"./chunk-FITHSAKU.js";import"./chunk-XKLGBZBL.js";import"./chunk-CJPLD6EO.js";import{a as gt,b as _t}from"./chunk-SIXBTUEX.js";import{a as ft,b as Dt,c as Ct}from"./chunk-7FAQ4UKW.js";import"./chunk-GVZPOEAW.js";import{$a as C,$c as mt,Ad as H,Bc as nt,Cb as J,Db as V,Eb as K,Ec as ot,Ga as u,Ia as g,Ib as B,Ic as at,Ka as b,La as R,Lb as G,Lc as rt,Ma as M,Na as D,Oa as o,Pa as a,Pc as st,Q as F,Qa as k,Qc as lt,Rc as pt,V as _,W as f,Xa as P,Za as S,Zc as dt,cd as ct,db as z,eb as q,ed as ht,fb as Q,fd as ut,hd as Y,lb as s,lc as tt,mb as I,nb as x,nc as et,ob as X,od as j,pa as l,pb as Z,tb as y,ub as v,uc as it,va as A,vb as w,wb as W,xa as U,ya as L}from"./chunk-QXLMLGHR.js";var bt=["scheduleModal"],Rt=()=>({backdrop:"static",keyboard:!1}),Mt=n=>[n],kt=()=>({actionMethod:"Appointmentsreport"});function Et(n,c){if(n&1&&(o(0,"option",13),s(1),a()),n&2){let t=c.$implicit;D("value",W(t.Id)),l(),x(" ",t.FullName)}}function At(n,c){n&1&&(o(0,"span")(1,"i"),s(2,"Report Generating..."),a()())}function Pt(n,c){if(n&1){let t=P();o(0,"button",41),S("click",function(){_(t);let e=C();return f(e.printDiv())}),k(1,"i",42),s(2,"\xA0 "),o(3,"span",43),s(4,"Print"),a()()}}function It(n,c){if(n&1){let t=P();o(0,"button",44),S("click",function(){_(t);let e=C();return f(e.exportReport())}),k(1,"i",45),s(2,"\xA0 "),o(3,"span",43),s(4,"Export"),a()()}}function Nt(n,c){if(n&1&&(o(0,"td")(1,"a",59),s(2),a()()),n&2){let t=C().$implicit;l(),D("routerLink",K(3,Mt,"/client/edit/"+t.Client__c))("queryParams",V(5,kt)),l(),I(t.clientName)}}function Ot(n,c){n&1&&(o(0,"td"),s(1,"No CLIENT"),a())}function Ft(n,c){n&1&&(o(0,"thead")(1,"th",60)(2,"h5",61)(3,"b"),s(4,"Service History"),a()()(),o(5,"th",60)(6,"h5",62)(7,"b"),s(8,"Service Notes"),a()()()())}function Lt(n,c){n&1&&(o(0,"thead")(1,"th",60)(2,"h5",63)(3,"b"),s(4,"!! new client !!"),a()()()())}function Wt(n,c){if(n&1&&(o(0,"tr")(1,"td",64),s(2),a(),o(3,"td",65),s(4),B(5,"currency"),a(),o(6,"td",66),s(7),a()()),n&2){let t=c.$implicit;l(2),x(" ",t.Service_Date_Time__c," "),l(2),Z(" ",t.serviceName," ",G(5,5,t.Net_Price__c,"USD","symbol-narrow")," (",t.workerName,") "),l(3),x(" ",t.Notes__c)}}function Ht(n,c){n&1&&(o(0,"thead")(1,"th",67)(2,"h5",61)(3,"b"),s(4,"Product History"),a()()()())}function Vt(n,c){if(n&1&&(o(0,"tr")(1,"td",68),s(2),a(),o(3,"td",69),s(4),a(),o(5,"td",68),s(6),B(7,"currency"),a()()),n&2){let t=c.$implicit;l(2),x(" ",t.Appt_Date_Time__c),l(2),x(" ",t.productName),l(2),x(" ",G(7,3,t.Net_Price__c,"USD","symbol-narrow"))}}function Bt(n,c){if(n&1&&(o(0,"tbody")(1,"tr",51)(2,"td"),s(3),a(),o(4,"td"),s(5),a(),u(6,Nt,3,6,"td"),u(7,Ot,2,0,"td"),o(8,"td"),s(9),a(),o(10,"td"),s(11),a()(),o(12,"tr")(13,"td",52)(14,"table",53)(15,"tr")(16,"td",54)(17,"table",55),u(18,Ft,9,0,"thead"),u(19,Lt,5,0,"thead"),o(20,"tbody"),R(21,Wt,8,9,"tr",null,b),a()()(),k(23,"td",56),o(24,"td",57)(25,"table",58),u(26,Ht,5,0,"thead"),o(27,"tbody"),R(28,Vt,8,7,"tr",null,b),a()()()()()()()()),n&2){let t=c.$implicit;l(3),I(t.time),l(2),I(t.date),l(),g(t.clientName?6:-1),l(),g(t.clientName?-1:7),l(2),I(t.workerName),l(2),I(t.nextAppt),l(7),g(t.serviceHistory.length>0?18:-1),l(),g(t.serviceHistory.length===0&&t.productHistory.length===0?19:-1),l(2),M(t.serviceHistory),l(5),g(t.productHistory.length>0?26:-1),l(2),M(t.productHistory)}}function Gt(n,c){if(n&1&&(o(0,"div",20)(1,"h5",46),s(2),a(),o(3,"div",47)(4,"table",48)(5,"tr",49)(6,"th",50),s(7,"Time"),a(),o(8,"th",50),s(9,"Date"),a(),o(10,"th",50),s(11,"Client Name"),a(),o(12,"th",50),s(13,"Service (Worker)"),a(),o(14,"th",50),s(15,"Next Appointment"),a()(),R(16,Bt,30,9,"tbody",null,b),a()()()),n&2){let t=C();l(2),X("",t.apptDate," ",t.displayName," Appointments"),l(14),M(t.appointmentData)}}function Yt(n,c){n&1&&(o(0,"div",25)(1,"div",70)(2,"label",71)(3,"strong"),s(4," Woah! That\u2019s a big report! Let\u2019s schedule it to send as an email."),a()()()())}function jt(n,c){if(n&1&&(o(0,"option",13),s(1),a()),n&2){let t=c.$implicit;D("value",W(t.Id)),l(),x(" ",t.FullName)}}function $t(n,c){if(n&1&&(o(0,"option",13),s(1),a()),n&2){let t=c.$implicit;D("value",W(t.option)),l(),x(" ",t.option," ")}}function Ut(n,c){n&1&&(o(0,"div",5)(1,"div",72)(2,"span")(3,"i"),s(4,"Report generates within 2 to 60 minutes depending on the amount of data"),a()()()())}function zt(n,c){n&1&&(o(0,"div",5)(1,"div",72)(2,"span")(3,"i"),s(4,"Report generates daily for the date of generation."),a()()()())}function qt(n,c){if(n&1){let t=P();o(0,"div",5)(1,"div",30)(2,"label"),s(3,"Date Range"),a()(),o(4,"div",28)(5,"div",33)(6,"input",73),w("ngModelChange",function(e){_(t);let d=C();
1return v(d.startDate,e)||(d.startDate=e),f(e)}),a()()()()}if(n&2){let t=C();l(6),D("bsConfig",t.datePickerConfig),y("ngModel",t.startDate),D("minDate",t.minDate)("maxDate",t.maxDate)}}function Qt(n,c){if(n&1){let t=P();o(0,"div",5)(1,"div",30)(2,"label"),s(3,"Start Date"),a()(),o(4,"div",28)(5,"div",33)(6,"input",73),w("ngModelChange",function(e){_(t);let d=C();return v(d.startDate,e)||(d.startDate=e),f(e)}),a(),o(7,"span"),s(8,"at"),a(),o(9,"input",74),w("ngModelChange",function(e){_(t);let d=C();return v(d.startTime,e)||(d.startTime=e),f(e)}),S("blur",function(){_(t);let e=C();return f(e.formatHours(e.startTime,!0))}),a()()()()}if(n&2){let t=C();l(6),D("bsConfig",t.datePickerConfig),y("ngModel",t.startDate),D("minDate",t.minDate1)("maxDate",t.maxDate1),l(3),y("ngModel",t.startTime)}}var $=(()=>{class n{constructor(t,i,e,d,r){this.route=t,this.router=i,this.toastr=e,this.http=d,this.commonService=r,this.workerList=[],this.startDate=new Date,this.tokenData={},this.minDate=new Date,this.maxDate=new Date,this.minDate1=new Date,this.maxDate1=new Date,this.endDate1=new Date,this.workerId="",this.trigger=!0,this.isGenerate=!1,this.runReportOptions=[],this.startTime="",this.fileType="PDF",this.appointmentData=[],this.showMsg="",this.m360Instance=j.toString()==="GENERIC"||j.toString()==="M360",this.datePickerConfig=Object.assign({},{showWeekNumbers:!1,containerClass:"theme-blue",dateInputFormat:"MM/DD/YYYY"})}ngOnInit(){this.tokenData=this.commonService.decodeToken(localStorage.getItem("token")).data;try{this.decodedToken=this.commonService.decodeToken(localStorage.getItem("rights"))}catch(t){this.decodedToken={}}this.decodedToken.data&&this.decodedToken.data.dateRangeLimit?this.dateRangeLimit=this.decodedToken.data.dateRangeLimit:this.dateRangeLimit="",this.decodedToken.data&&this.decodedToken.data.permissions?this.decodedToken=JSON.parse(this.decodedToken.data.permissions):this.decodedToken={},this.dateRangeLimit==="180 Days"?(this.minDate.setDate(this.minDate.getDate()-179),this.maxDate.setDate(this.maxDate.getDate()+179),this.minDate1.setDate(this.minDate.getDate()-179),this.maxDate1.setDate(this.maxDate.getDate()+179)):this.dateRangeLimit==="90 Days"?(this.minDate.setDate(this.minDate.getDate()-89),this.maxDate.setDate(this.maxDate.getDate()+89),this.minDate1.setDate(this.minDate.getDate()-89),this.maxDate1.setDate(this.maxDate.getDate()+89)):this.dateRangeLimit==="30 Days"?(this.minDate.setDate(this.minDate.getDate()-29),this.maxDate.setDate(this.maxDate.getDate()+29),this.minDate1.setDate(this.minDate.getDate()-29),this.maxDate1.setDate(this.maxDate.getDate()+29)):this.dateRangeLimit==="7 Days"?(this.minDate.setDate(this.minDate.getDate()-6),this.maxDate.setDate(this.maxDate.getDate()+6),this.minDate1.setDate(this.minDate.getDate()-6),this.maxDate1.setDate(this.maxDate.getDate()+6)):this.dateRangeLimit==="Today Only"?(this.minDate=new Date,this.maxDate=new Date,this.minDate1=new Date,this.maxDate1=new Date):this.dateRangeLimit==="365 Days"?(this.minDate.setDate(this.minDate.getDate()-364),this.maxDate.setDate(this.maxDate.getDate()+364),this.minDate1.setDate(this.minDate.getDate()-364),this.maxDate1.setDate(this.maxDate.getDate()+364)):(this.minDate=null,this.maxDate=null,this.minDate1=null,this.maxDate1=null),this.getWorkerList(),this.getRunReportOptions()}getWorkerList(){this.commonService.commonGet("/api/getworkerlist/byworkerservice").subscribe(t=>{this.workerList=[],this.workerList=t.result.filter(i=>i.IsActive),this.workerId=this.workerList[0].Id},t=>{let i=t.error.status;t.error.status,(i==="2044"||i==="2033")&&this.router.url!=="/"&&(localStorage.setItem("page",this.router.url),this.router.navigate(["/"]).then(()=>{}))})}getRunReportOptions(){this.commonService.commonStaticData().subscribe(t=>{this.runReportOptions=t.RunReport.filter(i=>i.option==="ASAP"||i.option==="Daily"),this.runReport=this.runReportOptions[0].option},t=>{let i=t.error.status;(i==="2044"||i==="2033")&&this.router.url!=="/"&&(localStorage.setItem("page",this.router.url),this.router.navigate(["/"]).then(()=>{}))})}generateReport(){if(this.isGenerate=!1,this.startDate===null)this.toastr.error("Please select date","",{timeOut:1500});else if(isNaN(this.startDate.getTime()))this.toastr.error("Date is invali
1d","",{timeOut:1500});else{this.trigger=!1,this.appointmentData=[],this.displayName=this.workerList.filter(i=>i.Id===this.workerId)[0].FullName,this.apptDate=this.startDate.getMonth()+1+"/"+this.startDate.getDate()+"/"+this.startDate.getFullYear();let t={Date:this.startDate.getFullYear()+"-"+(this.startDate.getMonth()+1)+"-"+this.startDate.getDate(),workerId:this.workerId};this.commonService.commonPost("/api/appointments/report",t).subscribe(i=>{this.trigger=!0,this.isGenerate=!0,this.appointmentData=i.result,this.appointmentData.length===0&&this.toastr.error("No data found","",{timeOut:1500})},i=>{this.trigger=!0;let e=i.error.status;(e==="2044"||e==="2033")&&this.router.url!=="/"&&(localStorage.setItem("page",this.router.url),this.router.navigate(["/"]).then(()=>{}))})}}printDiv(){this.isGenerate?this.http.get("/assets/print/commonPrintTemplate.html",{responseType:"text"}).subscribe(t=>{let i=t,e=document.getElementsByClassName("header-logo")[0];i=i.replace("{{CompanyLogo}}",e.src),i=i.replace("{{reportname}}","Appointments Report"),i=i.replace("{{CompanyName}}",this.tokenData.cname),i=i.replace("{{clientName}}",""),i=i.replace("{{filterData}}",`<tr>
2        <td> <span style="font-weight: bold;">Date Range:</span>&nbsp;
3          ${this.startDate.getMonth()+1+"/"+this.startDate.getDate()+"/"+this.startDate.getFullYear()}
4        </td>
5        </td></tr>`),i=i.replace("{{headerData}}","");let d=document.getElementById("tablecontent").innerHTML,r=window.open("","_blank","top=0,left=0,height=100%,width=auto");i=i.replace("{{reportsData}}",`<table style="width:100%"><td style="zoom:80%">${d}</td</table>`),r.document.open(),r.document.write(i),r.document.close()}):this.toastr.error("No Report Generated","",{timeOut:2e3})}createSchedule(){this.decodedToken.Reports["Create & View Scheduled Reports"]?this.scheduleModal.show():this.toastr.error("No Access.","",{timeOut:1500})}formatHours(t,i){if(t&&!/^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9][ ][AP][M]$/.test(t)){let d=t.replace(/\D/g,""),r=d.length>0?parseInt(d):0;for(;r>12;)r=parseInt(r.toString().slice(0,-1));let p=d.replace(r.toString(),"");for(p=p.length>0?parseInt(p):0;p>60;)p=parseInt(p.toString().slice(0,-1));p=p<10?`${p}0`:p;let m=/a|am/i.test(t),N=/p|pm/i.test(t),T="";m?T="AM":N?T="PM":r>7&&r<12||r===0?T="AM":T="PM",i===!0&&(this.startTime=`${r}:${p} ${T}`)}}saveSchedule(){var t=!1;if(this.runReport==="ASAP"||this.runReport==="Daily"||this.runReport==="Weekly"||this.runReport==="Biweekly"){var i=new Date,e=new Date(i.getMonth()+1+"/"+i.getDate()+"/"+i.getFullYear()+" "+i.getHours()+":"+i.getMinutes()),d=new Date(i.getMonth()+1+"/"+i.getDate()+"/"+i.getFullYear()+" "+this.startTime);e.getTime()>d.getTime()&&(t=!0)}let r=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,p=/^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9][ ][AP][M]$/;if(this.startDate===null||isNaN(this.startDate.getTime()))this.toastr.error("Please enter a valid date ","",{timeOut:3e3});else if((this.runReport==="Daily"||this.runReport==="Weekly"||this.runReport==="Biweekly")&&(!this.startTime||this.startTime===""))this.toastr.error("Please enter a valid date or time ","",{timeOut:3e3});else if((this.runReport==="ASAP"||this.runReport==="Daily")&&this.commonService.getDBDatTmStr(this.startDate).split(" ")[0]<this.commonService.getDBDatTmStr(new Date).split(" ")[0])this.toastr.error("Please enter a date in the future.","",{timeOut:3e3});else if(this.runReport==="Daily"&&this.commonService.getDBDatTmStr(this.startDate).split(" ")[0]===this.commonService.getDBDatTmStr(new Date).split(" ")[0]&&t)this.toastr.error("Please enter a time in the future.","",{timeOut:3e3});else if(this.runReport==="Daily"&&this.startTime!==""&&!p.test(this.startTime))this.toastr.error("Time must be in hh:mm [AM|PM] format","",{timeOut:3e3});else if(!this.scheduleEmail)this.toastr.warning("Please enter an email.","",{timeOut:3e3});else if(this.scheduleEmail&&!r.test(this.scheduleEmail))this.toastr.warning("Please enter a valid email.","",{timeOut:3e3});else if(!this.fileType&&!this.fileType1)this.toastr.warning("Please select filetype.","",{timeOut:3e3});else if(this.trigger){this.trigger=!1;let m={Frequency:this.runReport,Report_Name:"Appointments Report",Email:this.scheduleEmail?this.scheduleEmail:"",Format:this.fileType?this.fileType:this.fileType1,Settings:{workerId:this.workerId,reportBy:this.displayName}},N="",T="",O=[],Xt=[];if(this.runReport==="ASAP"){N=this.commonService.getDBDatTmStr(this.startDate).split(" ")[0];let h=new Date;h.setMonth(this.startDate.getMonth()),h.setDate(this.startDate.getDate()),h.setFullYear(this.startDate.getFullYear()),h.setMinutes(h.getMinutes()+10),m.Next_Run_Date_Time=this.commonService.getDBDatTmStr(h),m.Settings.startDate=N+" to "+T}else if(this.runReport==="Daily"){let h,E;this.startTime.split(" ")[1]==="AM"?(h=this.startTime.split(" ")[0].split(":")[0],E=this.startTime.split(" ")[0].split(":")[1],+h==12&&(h=0)):this.startTime.split(" ")[1]==="PM"&&(h=this.startTime.split(" ")[0].split(":")[0],parseInt(h,10)!==12&&(h=parseInt(h,10)+12),E=this.startTime.split(" ")[0].split(":")[1]);let Tt=new Date(this.startDate.getFullYear(),this.startDate.getMonth(),this.startDate.getDate(),h,E);O.push(Tt),m.Settings.startDate=this.commonService.getDBDatTmStr(O[0]).split(" ")[0]+" to "+this.commonService.getDBDatTmStr(O[0]).split(" ")[0],m.Next_Run_Date_Time=this.commonService.getDBDatTmStr(O[0]),m.Settings.generationAt=this.startTime}
5this.commonService.commonPost("/api/reports/traditionalschedule",m).subscribe(h=>{this.trigger=!0,this.cancelModal(),this.toastr.success("Success! Your report has been scheduled.","",{timeOut:1500}),this.router.navigate(["/reports/scheduledreports/scheduledreport"])},h=>{this.trigger=!0;let E=h.error.status;(E==="2044"||E==="2033")&&this.router.url!=="/"&&(localStorage.setItem("page",this.router.url),this.router.navigate(["/"]).then(()=>{}))})}}cancelModal(){this.scheduleModal.hide(),this.scheduleEmail="",this.fileType="PDF",this.fileType1="",this.startDate=new Date,this.runReport=this.runReportOptions[0].option,this.startTime=""}clearSerType(t){t==="PDF"?(this.fileType="PDF",this.fileType1=""):(this.fileType="",this.fileType1="CSV")}onChangeRunReport(){this.scheduleEmail="",this.fileType="PDF",this.fileType1="",this.startTime=""}exportReport(){let t=`Time,Date,Client Name,Service (Worker),Next Appointment
6`;this.appointmentData.forEach(r=>{if(t+=r.time?`"${r.time}",`:'"",',t+=r.date?`"${r.date}",`:'"",',t+=r.clientName?`"${r.clientName}",`:'"NO CLIENT",',t+=r.workerName?`"${r.workerName}",`:'"",',t+=r.nextAppt?`"${r.nextAppt}",`:'"",',t+=`
7`,r.serviceHistory.length>0||r.productHistory.length>0){t+=r.serviceHistory.length>0?"Service History,,Service Notes,,":",,,,",t+=r.productHistory.length>0?"Product History":"",t+=`
8`;let p=Math.max(r.serviceHistory.length,r.productHistory.length);for(let m=0;m<p;m++)r.serviceHistory[m]?(t+=r.serviceHistory[m].Service_Date_Time__c?`"${r.serviceHistory[m].Service_Date_Time__c}",`:'"",',t+=`"${r.serviceHistory[m].serviceName} ${this.commonService.formatCurrency(r.serviceHistory[m].Net_Price__c)} ${r.serviceHistory[m].workerName}",`,t+=r.serviceHistory[m].Notes__c?`"${r.serviceHistory[m].Notes__c}",,`:'"",,'):t+=",,,,",r.productHistory[m]&&(t+=r.productHistory[m].Appt_Date_Time__c?`"${r.productHistory[m].Appt_Date_Time__c}",`:'"",',t+=r.productHistory[m].productName?`"${r.productHistory[m].productName}",`:'"",',t+=r.productHistory[m].Net_Price__c?`"${this.commonService.formatCurrency(r.productHistory[m].Net_Price__c)}",`:'"$0.00",'),t+=`
9`;t+=`
10`}else t+=`!! NEW CLIENT !!
11
12`});let i=document.createElement("a"),e=new Blob([t],{type:"text/csv"}),d=window.URL.createObjectURL(e);i.href=encodeURI(d),i.download=`${this.commonService.generateCSVFileName("Appointments Report")}`,i.click(),window.URL.revokeObjectURL(d),i.remove()}static{this.\u0275fac=function(i){return new(i||n)(A(ct),A(ht),A(mt),A(it),A(H))}}static{this.\u0275cmp=U({type:n,selectors:[["app-appointmentreport-app"]],viewQuery:function(i,e){if(i&1&&z(bt,5),i&2){let d;q(d=Q())&&(e.scheduleModal=d.first)}},standalone:!1,features:[J([H])],decls:86,vars:22,consts:[["scheduleModal","bs-modal"],["id","wrapper_setup_new "],[3,"newMenu"],["id","inner_cont",2,"color","#354452","padding-right","115px"],["id","divContents",1,"container","form_cont"],[1,"row","mt-20"],[1,"col-md-5","col-sm-4","text-right","res-tleft"],[1,"font_weight_600"],[1,"col-md-7","col-sm-8"],[1,"date-flex"],["type","text","bsDatepicker","",1,"datefield","report-style",3,"ngModelChange","ngModel","minDate","maxDate","bsConfig"],[1,"col-md-7","col-sm-8","date-flex"],[1,"select-new-trans",3,"ngModelChange","ngModel"],[3,"value"],[1,"col-md-12","col-sm-12","text-center"],["type","button",1,"btn","btn-gradient","btn-generate","font_weight_600",3,"click"],["aria-hidden","true",1,"fa","fa-cog"],[2,"float","right"],["type","button",1,"btn","btn-gradient-print","align-right","font_weight_600"],["type","button",1,"font_weight_600","btn","btn-gradient-print","align-right","export-icon"],[1,"mt-20","ml-10"],["bsModal","","tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade",3,"config"],[1,"modal-dialog","modal
12-lg",2,"width","45%"],[1,"modal-content"],[1,"modal-header","schedule-pop"],[1,"row","mt-20","mb-20"],[1,"modal-body",2,"background-color","#FFFFFF"],[1,"col-md-4","col-sm-8","text-right","res-tleft","mt-10"],[1,"col-md-8","col-sm-4"],[1,"select-new-trans",3,"ngModelChange","change","ngModel"],[1,"col-md-4","col-sm-8","text-right","res-tleft"],["type","text",3,"ngModelChange","ngModel"],[1,"col-md-8","col-sm-4","res-tleft","white"],[1,"date-flex1"],["type","radio","value","PDF",2,"margin-top","0px",3,"click","ngModelChange","ngModel"],[2,"color","black"],["type","radio","value","CSV",3,"click","ngModelChange","ngModel"],[1,"row"],[1,"text-center","mt-40"],["type","button",1,"save-btn","font_weight_600",3,"click"],["type","button",1,"cancel-btn","font_weight_600",3,"click"],["type","button",1,"btn","btn-gradient-print","align-right","font_weight_600",3,"click"],[1,"fa","fa-print"],[2,"font-size","14px"],["type","button",1,"font_weight_600","btn","btn-gradient-print","align-right","export-icon",3,"click"],[1,"fa","fa-external-link"],[2,"text-transform","uppercase","font-weight","bold"],["id","tablecontent",1,"mt-20","table-responsive"],[1,"table",2,"width","100%"],[2,"background-color","#338ad9","color","white","height","40px"],[1,"thcss","font_weight_600"],[2,"background-color","#D0E0F8","font-weight","bold"],["colspan","5",2,"padding","0"],[2,"width","100%"],[1,"colfirst"],[1,"nested-table","table","table-borderless",2,"margin-left","10px"],[1,"colsecond"],[1,"colthird"],[1,"nested-table","table","table-borderless"],["target","blank",1,"client-hyperlink",2,"color","#24282f",3,"routerLink","queryParams"],["colspan","2"],[1,"mt-5","mb-5",2,"text-transform","uppercase","padding","0","text-align","left"],[1,"mt-5","mb-5",2,"text-transform","uppercase","padding","0"],[1,"mt-5","mb-5",2,"text-transform","uppercase","padding","0","text-align","left","color","red"],[2,"width","20%","vertical-align","top"],[2,"width","55%","vertical-align","top"],[2,"width","25%","font-style","italic","vertical-align","top"],["colspan","3",2,"padding","0"],[2,"width","25%","vertical-align","top"],[2,"width","50%","vertical-align","top"],[1,"col-md-12"],[2,"color","#338ad9 !important"],[1,"col-md-12","col-sm-12","text-center","res-tleft"],["type","text","bsDatepicker","",1,"date-width",3,"ngModelChange","bsConfig","ngModel","minDate","maxDate"],["type","text",1,"date-width",3,"ngModelChange","blur","ngModel"]],template:function(i,e){if(i&1){let d=P();o(0,"div",1),k(1,"app-header",2),o(2,"section",3)(3,"div",4)(4,"div",5)(5,"div",6)(6,"label",7),s(7,"Select Date"),a()(),o(8,"div",8)(9,"div",9)(10,"input",10),w("ngModelChange",function(p){return _(d),v(e.startDate,p)||(e.startDate=p),f(p)}),a()()()(),o(11,"div",5)(12,"div",6)(13,"label",7),s(14,"Select Worker"),a()(),o(15,"div",11)(16,"select",12),w("ngModelChange",function(p){return _(d),v(e.workerId,p)||(e.workerId=p),f(p)}),R(17,Et,2,3,"option",13,b),a()()(),o(19,"div",5)(20,"div",14)(21,"button",15),S("click",function(){return e.generateReport()}),k(22,"i",16),s(23,"\xA0Generate"),a(),s(24,"\xA0 "),s(25," \xA0\xA0 "),u(26,At,3,0,"span"),o(27,"span",17),u(28,Pt,5,0,"button",18),u(29,It,5,0,"button",19),a()()(),u(30,Gt,18,2,"div",20),a()(),k(31,"app-rightbar"),a(),o(32,"div",21,0)(34,"div",22)(35,"div",23)(36,"div",24),u(37,Yt,5,0,"div",25),o(38,"span"),s(39,"SCHEDULE TOTAL SHEET REPORT"),a()(),o(40,"div",26)(41,"div",5)(42,"div",27)(43,"label"),s(44,"Select Worker"),a()(),o(45,"div",28)(46,"select",12),w("ngModelChange",function(p){return _(d),v(e.workerId,p)||(e.workerId=p),f(p)}),R(47,jt,2,3,"option",13,b),a()()(),o(49,"div",5)(50,"div",27)(51,"label"),s(52,"Run Report"),a()(),o(53,"div",28)(54,"select",29),w("ngModelChange",function(p){return _(d),v(e.runReport,p)||(e.runReport=p),f(p)}),S("change",function(){return e.onChangeRunReport()}),R(55,$t,2,3,"option",13,b),a()()(),u(57,Ut,5,0,"div",5),u(58,zt,5,0,"div",5),u(59,qt,7,4,"div",5),u(60,Qt,10,5,"div",5),o(61,"div",5)(62,"div",30)(63,"label"),s(64,"Email Report To"),a()(),o(65,"div",28)(66,"input",31),w("ngModelChange",function(p){return _(d),v(e.scheduleEmail,p)||(e.scheduleEmail=p),f(p)}),a()()(),o(67,"div",5)(68,"div",30)(69,"label"),s(70,"File Type"),a()(),o(71,"div",32)(72,"div",33)(73,"input",34),S("click",function(p){return e.clearSerType(p.target.value)}),w("ngModelChange",function(p){return _(d),v(e.fileType,p)||(e.fileType=p),f(p)}),a(),o(74,"span",35),s(75,"PDF"),a(),o(76,"span")(77,"input",36),S("click",function(p){return e.clearSerType(p.target.value)}),w("ngModelChange",function(p){return _(d),v(e.fileType1,p)||(e.fileType1=p),f(p)}),a(),o(78,"span",35),s(79,"CSV"),a()()()()(),o(80,"div",37)(81,"div",38)(82,"button",39),S("click",function(){return e.saveSchedule()}),s(83,"Save"),a(),o(84,"button",40),S("click",function(){return e.cancelModal()}),s(85,"Cancel"),a()()()()()()()}i&2&&(l(),D("newMenu","nav"),l(9),y("ngModel",e.startDate),D("minDate",e.minDate)("maxDate",e.maxDate)("bsConfig",e.datePickerConfig),l(6),y("ngModel",e.workerId),l(),M(e.workerList),l(9),g(e.trigger===!1?26:-1),l(2),g(e.isGenerate?28:-1),l(),g((e.appointmentData==null?null:e.appointmentData.length)>0&&e.decodedToken.Reports["Export Reports"]?29:-1),l(),g(e.isGenerate&&e.appointmentData.length>0?30:-1),l(2),D("config",V(21,Rt)),l(5),g(e.showMsg?37:-1),l(9),y("ngModel",e.workerId),l(),M(e.workerList),l(7),y("ngModel",e.runReport),l(),M(e.runReportOptions),l(2),g(e.runReport==="ASAP"?57:-1),l(),g(e.runReport==="Daily"?58:-1),l(),g(e.runReport==="ASAP"?59:-1),l(),g(e.runReport==="Daily"?60:-1),l(6),y("ngModel",e.scheduleEmail),l(7),y("ngModel",e.fileType),l(4),y("ngModel",e.fileType1))},dependencies:[lt,pt,nt,st,rt,ot,at,ut,ft,Dt,yt,vt,gt,tt],styles:[".form_cont[_ngcontent-%COMP%]{padding-bottom:35px;color:#354452}.form_cont[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{color:#354452;font-size:15px!important;font-weight:400!important}.date-flex[_ngcontent-%COMP%]{width:50%}.btn-schedule[_ngcontent-%COMP%]:hover, .btn-schedule[_ngcontent-%COMP%]:focus{color:#338ad9!important}.select-new-trans[_ngcontent-%COMP%]{border:none}.table-borderless[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{border:none!important;padding:0!important;font-size:14px;font-weight:400;border-style:none!important}.table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{--bs-border-width: 0px}.table[_ngcontent-%COMP%]   .table[_ngcontent-%COMP%]{background-color:#f9fbfc!important}.btn-schedule[_ngcontent-%COMP%]:hover{background-color:#f9fbfc}
12.btn-gradient[_ngcontent-%COMP%]:hover, .btn-gradient[_ngcontent-%COMP%]:active{background-color:#0059aa}h5[_ngcontent-%COMP%]{font-size:15px!important}.thcss[_ngcontent-%COMP%]{padding-left:10px!important}.colfirst[_ngcontent-%COMP%]{width:50%;padding:0}.colsecond[_ngcontent-%COMP%]{width:15%}.colthird[_ngcontent-%COMP%]{width:35%;padding:0;vertical-align:top}@media only screen and (max-width:760px),(min-device-width:768px)and (max-device-width:1024px){.colfirst[_ngcontent-%COMP%]{width:60%;padding:0}.colsecond[_ngcontent-%COMP%]{width:10%}}@media only screen and (max-device-width:1180px),(min-device-width:820px)and (max-device-width:1180px){.colfirst[_ngcontent-%COMP%]{width:58%}}"]})}}return n})();var xt=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=L({type:n})}static{this.\u0275inj=F({imports:[Y.forChild([{path:"",component:$,children:[{path:"",component:$}]}]),Y]})}}return n})();var ve=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=L({type:n})}static{this.\u0275inj=F({imports:[et,dt,xt,Ct,wt,_t]})}}return n})();export{ve as AppointmentReportModule};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.