• File: 20-es2015.f96a26ab8316ef5b06c3-20260716172631-20260716210628.js
  • Full Path: /home/icicle/public_html/test/wwwroot/20-es2015.f96a26ab8316ef5b06c3-20260716172631-20260716210628.js
  • Date Modified: 10/01/2021 10:59 AM
  • File size: 38.08 KB
  • MIME-type: text/plain
  • Charset: utf-8
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{hHbn:function(t,e,o){"use strict";o.r(e),o.d(e,"OccupancyModule",function(){return R});var i=o("iInd"),c=o("8Y7J"),a=o("SVse"),n=o("s7LF"),l=o("9xeX"),r=o("bH2/");const b=["myInput"];function s(t,e){1&t&&c.Nb(0,"a",39),2&t&&c.mc("innerHTML",e.$implicit.Name,c.Ac)}function p(t,e){1&t&&c.Nb(0,"div",39),2&t&&c.mc("innerHTML",e.$implicit,c.Ac)}function d(t,e){if(1&t){const t=c.Tb();c.Sb(0,"tr",40),c.Sb(1,"td",41),c.Kc(2),c.Rb(),c.Sb(3,"td",42),c.Nb(4,"input",43),c.Rb(),c.Sb(5,"td",42),c.Nb(6,"input",44),c.Rb(),c.Sb(7,"td"),c.Sb(8,"button",45),c.cc("click",function(){c.zc(t);const o=e.index;return c.ec().Open(o)}),c.Kc(9,"Insert"),c.Rb(),c.Rb(),c.Rb()}if(2&t){const t=e.index;c.yb(2),c.Mc(" ",t+1," "),c.yb(1),c.nc("formGroupName",t),c.yb(2),c.nc("formGroupName",t)}}let m=(()=>{class t{constructor(t,e,o,i,c,a,n){this.fb=t,this.router=e,this.activatedRoute=o,this.renderer=i,this.datePipe=c,this.platformId=a,this.occupancyService=n,this.submitted=!1,this.placeholder="Enter Search String",this.keyword="Name",this.historyHeading="Recently selected",this.CreateOccOverViewForm()}CreateOccOverViewForm(){const t=[];for(let e=0;e<15;e++)t.push(this.OverViewListForm());this.OccupancyOverViewForm=this.fb.group({OccuOverView:this.fb.group({ACC:[""],STORENAME:[""],TOWN:[""],AREA:[""],STOGRPCODE:[""]}),OccuOverViewList:this.fb.array(t)})}OverViewListForm(){return this.fb.group({ACC:[""],Week:[""],Treatments:[""]})}get OccuOverView(){return this.OccupancyOverViewForm.get("OccuOverView")}get OccuOverViewList(){return this.OccupancyOverViewForm.get("OccuOverViewList")}ngOnInit(){this.AllAccount=this.occupancyService.GetAllAccount(),void 0!==localStorage.getItem("OccACC")&&null!==localStorage.getItem("OccACC")&&this.Refresh(localStorage.getItem("OccACC"))}onChangeSearch(t){}selectEvent(t){this.OccuOverViewList.reset();for(let e=this.OccuOverViewList.length;e>=15;e--)this.OccuOverViewList.removeAt(e);this.occupancyService.GetAccountInfo(t.Value).subscribe(t=>{t&&this.OccuOverView.patchValue({ACC:t.ACC.toString(),STORENAME:t.STORENAME,TOWN:t.TOWN,AREA:t.AREA,STOGRPCODE:t.STOGRPCODE})}),this.occupancyService.GetTreatmentsList(t.Value).subscribe(t=>{if(this.occuOverViewList=t,this.occuOverViewList.OccupancyTreatmentsList.length>0){const t=this.OccupancyOverViewForm.controls.OccuOverViewList;for(let e=0;e<this.occuOverViewList.OccupancyTreatmentsList.length;e++)t.at(+e).get("ACC").setValue(this.occuOverViewList.OccupancyTreatmentsList[e].ACC),t.at(+e).get("Week").setValue(this.occuOverViewList.OccupancyTreatmentsList[e].Week),t.at(+e).get("Treatments").setValue(this.occuOverViewList.OccupancyTreatmentsList[e].Treatments),e>=14&&e<this.occuOverViewList.OccupancyTreatmentsList.length-1&&this.OccuOverViewList.push(this.OverViewListForm())}})}setFocus(t){Object(a.C)(this.platformId)&&this[t].nativeElement.focus()}searchCleared(){}Open(t){const e=this.OccupancyOverViewForm.controls.OccuOverViewList;for(let o=0;o<e.length;o++)if(t==o){localStorage.setItem("OccACC",e.at(+o).get("ACC").value.toString()),localStorage.setItem("WEEK",e.at(+o).get("Week").value.toString());break}this.router.navigateByUrl("/home/occupancy/OccupancyDataEntry")}Refresh(t){this.OccuOverViewList.reset();for(let e=this.OccuOverViewList.length;e>=15;e--)this.OccuOverViewList.removeAt(e);this.occupancyService.GetAccountInfo(t).subscribe(t=>{t&&this.OccuOverView.patchValue({ACC:t.ACC.toString(),STORENAME:t.STORENAME,TOWN:t.TOWN,AREA:t.AREA,STOGRPCODE:t.STOGRPCODE})}),this.occupancyService.GetTreatmentsList(t).subscribe(t=>{if(this.occuOverViewList=t,this.occuOverViewList.OccupancyTreatmentsList.length>0){const t=this.OccupancyOverViewForm.controls.OccuOverViewList;for(let e=0;e<this.occuOverViewList.OccupancyTreatmentsList.length;e++)t.at(+e).get("ACC").setValue(this.occuOverViewList.OccupancyTreatmentsList[e].ACC),t.at(+e).get("Week").setValue(this.occuOverViewList.OccupancyTreatmentsList[e].Week),t.at(+e).get("Treatments").setValue(this.occuOverViewList.OccupancyTreatmentsList[e].Treatments),e>=14&&e<this.occuOverViewList.OccupancyTreatmentsList.length-1&&this.OccuOverViewList.push(this.OverViewListForm())}})}}return t.\u0275fac=function(e){return new(e||t)(c.Mb(n.c),c.Mb(i.e),c.Mb(i.a),c.Mb(c.E),c.Mb(a.f),c.Mb(c.B),c.Mb(l.a))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-occupancy-over-view"]],viewQuery:function(t,e){if(1&t&&c.Pc(b,!0),2&t){let t;c.vc(t=c.dc())&&(e.myInput=t.first)}},decls:65,vars:15,consts:[[1,"container-fluid"],["autocomplete","off",3,"formGroup"],[1,"row"],[1,"col-md-6"],[1,"shadow-sm","card","no-padding"],[1,"card-body","no-padding"],[1,"row",2,"padding-top","10px"],[1,"col-md-12"],["formGroupName","OccuOverView"],[1,"col-sm-12"],[1,"row","no-padding","mb-2"],["for","ACC",1,"col-sm-3","col-form-label","text-right","no-padding","font-label","mt-2"],[1,"col-sm-7"],["formControlName","ACC","id","ACC","name","ACC","notFoundText","Not found",3,"data","initialValue","searchKeyword","placeholder","minQueryLength","itemTemplate","notFoundTemplate","debounceTime","selected","inputChanged","inputCleared"],["ngAutoCompleteStatic",""],["itemTemplateStatic",""],["notFoundTemplate",""],[1,"col-sm-2","no-padding","text-right"],["type","button",1,"my-btn-height","btn","blue-gradient","btn-block","btn-rounded","px-1","mr-1",2,"font-size","12px","padding","0px","color","white"],[1,"row","no-padding","mb-1"],["for","STORENAME",1,"col-sm-3","col-form-label","text-right","no-padding","font-label","mt-1"],["type","text","formControlName","STORENAME","id","STORENAME","placeholder","","readonly","true",1,"form-control","form-control-sm","bg-white"],["for","TOWN",1,"col-sm-3","col-form-label","text-right","no-padding","font-label","mt-1"],["type","text","formControlName","TOWN","id","TOWN","placeholder","","readonly","true",1,"form-control","form-control-sm","bg-white"],["for","AREA",1,"col-sm-3","col-form-label","text-right","no-padding","font-label","mt-1"],[1,"col-sm-4"],["type","text","formControlName","AREA","id","AREA","placeholder","","readonly","true",1,"form-control","form-control-sm","bg-white"],[1,"row","no-padding"],["for","STOGRPCODE",1,"col-sm-3","col-form-label","text-right","no-padding","font-label","mt-1"],["type","text","formControlName","STOGRPCODE","id","STOGRPCODE","placeholder","","readonly","true",1,"form-control","form-control-sm","bg-white"],[1,"shadow-sm","card"],[1,"card-body"],[1,"tableFixHead"],[1,"fix-table"],[1,"table","table-reponse","table-bordered","table-sm","fix-table"],["id","grad1"],[1,"text-center",2,"width","60px"],[1,"text-center"],["formArrayName","OccuOverViewList",4,"ngFor","ngForOf"],[3,"innerHTML"],["formArrayName","OccuOverViewList"],["id","grad1",1,"text-right",2,"padding-right","10px !important","color","#dc3545"],[1,"no-padding",3,"formGroupName"],["type","text","formControlName","Week",1,"form-control","form-control-sm","no-border","text-center"],["type","text","formControlName","Treatments",1,"form-control","form-control-sm","no-border","text-right"],["type","button",1,"btn","blue-gradient","btn-block","btn-rounded","px-1",2,"font-size","12px","height","28px","padding","0px","color","white",3,"click"]],template:function(t,e){if(1&t&&(c.Sb(0,"div",0),c.Sb(1,"form",1),c.Sb(2,"div",2),c.Sb(3,"div",3),c.Sb(4,"div",4),c.Sb(5,"div",5),c.Sb(6,"div",6),c.Sb(7,"div",7),c.Sb(8,"div",8),c.Sb(9,"div",9),c.Sb(10,"div",10),c.Sb(11,"label",11),c.Kc(12,"ACCOUNT:"),c.Rb(),c.Sb(13,"div",12),c.Sb(14,"ng-autocomplete",13,14),c.cc("selected",function(t){return e.selectEvent(t)})("inputChanged",function(t){return e.onChangeSearch(t)})("inputCleared",function(){return e.searchCleared()}),c.fc(16,"async"),c.Rb(),c.Ic(17,s,1,1,"ng-template",null,15,c.Jc),c.Ic(19,p,1,1,"ng-template",null,16,c.Jc),c.Rb(),c.Sb(21,"div",17),c.Sb(22,"button",18),c.Kc(23,"Select Store"),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Sb(24,"div",9),c.Sb(25,"div",19),c.Sb(26,"label",20),c.Kc(27,"STORE NAME:"),c.Rb(),c.Sb(28,"div",12),c.Nb(29,"input",21),c.Rb(),c.Rb(),c.Rb(),c.Sb(30,"div",9),c.Sb(31,"div",19),c.Sb(32,"label",22),c.Kc(33,"TOWN:"),c.Rb(),c.Sb(34,"div",12),c.Nb(35,"input",23),c.Rb(),c.Rb(),c.Rb(),c.Sb(36,"div",9),c.Sb(37,"div",19),c.Sb(38,"label",24),c.Kc(39,"AREA:"),c.Rb(),c.Sb(40,"div",25),c.Nb(41,"input",26),c.Rb(),c.Rb(),c.Rb(),c.Sb(42,"div",9),c.Sb(43,"div",27),c.Sb(44,"label",28),c.Kc(45,"STOGRP CODE:"),c.Rb(),c.Sb(46,"div",25),c.Nb(47,"input",29),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Sb(48,"div",30),c.Sb(49,"div",31),c.Sb(50,"div",32),c.Sb(51,"div",33),c.Sb(52,"table",34),c.Sb(53,"thead",35),c.Sb(54,"tr"),c.Sb(55,"th",36),c.Kc(56,"Slno"),c.Rb(),c.Sb(57,"th",37),c.Kc(58,"Week"),c.Rb(),c.Sb(59,"th",37),c.Kc(60,"Treatments"),c.Rb(),c.Sb(61,"th",37),c.Kc(62,"Action"),c.Rb(),c.Rb(),c.Rb(),c.Sb(63,"tbody"),c.Ic(64,d,10,3,"tr",38),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb()),2&t){const t=c.wc(18),o=c.wc(20);c.yb(1),c.mc("formGroup",e.OccupancyOverViewForm),c.yb(13),c.mc("data",c.gc(16,13,e.AllAccount))("searchKeyword",e.keyword)("placeholder",e.placeholder)("minQueryLength",2)("itemTemplate",t)("notFoundTemplate",o)("debounceTime",100),c.yb(15),c.zb("disabled",!0),c.yb(6),c.zb("disabled",!0),c.yb(6),c.zb("disabled",!0),c.yb(6),c.zb("disabled",!0),c.yb(17),c.mc("ngForOf",e.OccuOverViewList.controls)}},directives:[n.t,n.m,n.g,n.h,r.a,n.l,n.e,n.a,a.m,n.b],pipes:[a.b],styles:["[_nghost-%COMP%]     .ng-autocomplete{line-height:0!important;white-space:nowrap}[_nghost-%COMP%]     .autocomplete-container{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);position:relative;overflow:visible;height:30px;border-radius:4px;padding-right:0;margin-right:0}[_nghost-%COMP%]     .autocomplete-container .input-container input{font-size:12px;font-weight:500!important;box-sizing:border-box;border:none;border-radius:3px;box-shadow:none;outline:1px solid #28a745;background-color:#fff;color:rgba(0,0,0,.87);width:100%;line-height:4px;height:30px;padding:0 5px 0 12px}[_nghost-%COMP%]     .suggestions-container{display:grid;padding-right:1px}[_nghost-%COMP%]     .autocomplete-container .suggestions-container ul{padding:0;margin:0;max-height:300px;overflow-y:auto}[_nghost-%COMP%]     .autocomplete-container .suggestions-container ul li a{padding:11px 5px 10px 12px;display:block;text-decoration:none;cursor:pointer;color:rgba(0,0,0,.87);font-size:10px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-weight:700!important;outline:0 solid #b0c4de}[_nghost-%COMP%]     .autocomplete-container .input-container .x{position:absolute;right:2px;margin:auto;cursor:pointer;top:50%;transform:translateY(-50%)}[_nghost-%COMP%]     .autocomplete-container .input-container .x i{color:rgba(0,0,0,.5);font-size:15px;vertical-align:middle}[_nghost-%COMP%]     .autocomplete-container .suggestions-container li:hover a{background-color:rgba(255,0,0,.6);color:#fff!important}.z-depth-1a[_ngcontent-%COMP%]{box-shadow:0 2px 5px 0 rgba(55,161,255,.26),0 4px 12px 0 rgba(121,155,254,.25)}.btn[_ngcontent-%COMP%]:hover, .z-depth-1-half[_ngcontent-%COMP%]{box-shadow:0 5px 11px 0 rgba(85,182,255,.28),0 4px 15px 0 rgba(36,133,255,.15)}#grad1[_ngcontent-%COMP%]{height:26px;background:linear-gradient(180deg,#fff,#f5f5f5)}.row[_ngcontent-%COMP%]{padding:5px}.card[_ngcontent-%COMP%]{margin-left:30px}.card-body[_ngcontent-%COMP%]{flex:1 1 auto;min-height:1px;padding:5px 1.25rem}button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px}.action-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:5px}.font-label[_ngcontent-%COMP%]{font-size:12px}.my-btn-height[_ngcontent-%COMP%]{height:30px}.fix-table[_ngcontent-%COMP%]{height:320px;overflow-y:auto;width:100%}.tableFixHead[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0}thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:1px!important;height:32px!important;font-weight:400;vertical-align:middle}tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{height:22px}table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:0!important}.no-padding[_ngcontent-%COMP%]{padding:0}.no-border[_ngcontent-%COMP%]{border:0}.right-padding[_ngcontent-%COMP%]{padding-right:10px;font-weight:400}input[_ngcontent-%COMP%]{font-size:11px}"]}),t})();var h=o("u47x"),u=o("EApP"),O=o("lVl8"),y=o("RsHN");const S=["aForm"],g=[{path:"",data:{title:"OccupancyOverView"},children:[{path:"",redirectTo:"Occupancy",pathMatch:"full"},{path:"OccupancyOverView",component:m,data:{title:"Occupancy Overview"}},{path:"OccupancyDataEntry",component:(()=>{class t{constructor(t,e,o,i,c,a,n,l){this.fb=t,this.router=e,this.elementRef=o,this.renderer=i,this.interactivityChecker=c,this.toastr=a,this.datePipe=n,this.OService=l,this.submitted=!1,this.Total=0,this.CreateOccuDataEntryForm()}CreateOccuDataEntryForm(){this.OccupancyDataEntryForm=this.fb.group({Occupancy:this.fb.group({ACC:[""],WEEK:[""],STORE:[""]}),OccupancyDetails:this.fb.group({ACC:[""],WEEK:[""],TAF:[""],TAP:[""],FACEAB:[""],EXPF:[""],ADE:[""],BODYBF:[""],TANNEW:[""],WEBM:[""],MEBO:[""],MEBM:[""],YEXP:[""],DGL:[""],BEXP:[""],BSP:[""],ENBS:[""],URF:[""],BSPR:[""],MACO:[""],HOTSTONE:[""],EXGS:[""],DTM:[""],PREG:[""],ADDO:[""],PROMO:[""],PRO_TIME:[""],BTD:[""],UDRM:[""],BKN:[""],HLLG:[""],FLLG:[""],FLBK:[""],NO_SHOWS:[""],CANCELLATIONS:[""],THPTS_RECEPT:[""],THPTS_HOLIDAY:[""]})})}get Occupancy(){return this.OccupancyDataEntryForm.get("Occupancy")}get OccupancyDetails(){return this.OccupancyDataEntryForm.get("OccupancyDetails")}ngOnInit(){this.GetTotal(),this.Occupancy.get("ACC").setValue(localStorage.getItem("OccACC")),this.Occupancy.get("WEEK").setValue(localStorage.getItem("WEEK")),this.GetOCCSALESDetails(this.Occupancy.get("ACC").value,this.Occupancy.get("WEEK").value),this.STORE(this.Occupancy.get("ACC").value)}STORE(t){this.OService.GetAccountInfo(t).subscribe(t=>{t&&this.Occupancy.get("STORE").patchValue(t.STORENAME+", "+t.TOWN)})}GetOCCSALESDetails(t,e){this.OService.GetOCCSALESDetails(t,e).subscribe(t=>{t&&this.OccupancyDetails.patchValue({ACC:t.ACC,WEEK:this.datePipe.transform(t.WEEK,"dd-MMM-yyyy"),TAF:t.TAF,TAP:t.TAP,FACEAB:t.FACEAB,EXPF:t.EXPF,ADE:t.ADE,BODYBF:t.BODYBF,TANNEW:t.TANNEW,WEBM:t.WEBM,MEBO:t.MEBO,MEBM:t.MEBM,YEXP:t.YEXP,DGL:t.DGL,BEXP:t.BEXP,BSP:t.BSP,ENBS:t.ENBS,URF:t.URF,BSPR:t.BSPR,MACO:t.MACO,HOTSTONE:t.HOTSTONE,EXGS:t.EXGS,DTM:t.DTM,PREG:t.PREG,ADDO:t.ADDO,PROMO:t.PROMO,PRO_TIME:t.PRO_TIME,BTD:t.BTD,UDRM:t.UDRM,BKN:t.BKN,HLLG:t.HLLG,FLLG:t.FLLG,FLBK:t.FLBK,NO_SHOWS:t.NO_SHOWS,CANCELLATIONS:t.CANCELLATIONS,THPTS_RECEPT:t.THPTS_RECEPT,THPTS_HOLIDAY:t.THPTS_HOLIDAY})})}GetOCCSALESDetails_OLD(t,e){this.OService.GetOCCSALESDetails(t,e).subscribe(t=>{this.OCCSales=t,this.OCCSales&&(this.OccupancyDetails.get("ACC").setValue(this.OCCSales.ACC),this.OccupancyDetails.get("WEEK").patchValue(this.datePipe.transform(this.OCCSales.WEEK,"dd-MMM-yyyy")),this.OccupancyDetails.get("TAF").setValue(this.OCCSales.TAF),this.OccupancyDetails.get("TAP").patchValue(this.OCCSales.TAP),this.OccupancyDetails.get("FACEAB").patchValue(this.OCCSales.FACEAB),this.OccupancyDetails.get("EXPF").patchValue(this.OCCSales.EXPF),this.OccupancyDetails.get("ADE").patchValue(this.OCCSales.ADE),this.OccupancyDetails.get("BODYBF").patchValue(this.OCCSales.BODYBF),this.OccupancyDetails.get("TANNEW").patchValue(this.OCCSales.TANNEW),this.OccupancyDetails.get("WEBM").patchValue(this.OCCSales.WEBM),this.OccupancyDetails.get("MEBO").patchValue(this.OCCSales.MEBO),this.OccupancyDetails.get("MEBM").patchValue(this.OCCSales.MEBM),this.OccupancyDetails.get("YEXP").patchValue(this.OCCSales.YEXP),this.OccupancyDetails.get("DGL").patchValue(this.OCCSales.DGL),this.OccupancyDetails.get("BEXP").patchValue(this.OCCSales.BEXP),this.OccupancyDetails.get("BSP").patchValue(this.OCCSales.BSP),this.OccupancyDetails.get("ENBS").patchValue(this.OCCSales.ENBS),this.OccupancyDetails.get("URF").patchValue(this.OCCSales.URF),this.OccupancyDetails.get("BSPR").patchValue(this.OCCSales.BSPR),this.OccupancyDetails.get("MACO").patchValue(this.OCCSales.MACO),this.OccupancyDetails.get("HOTSTONE").patchValue(this.OCCSales.HOTSTONE),this.OccupancyDetails.get("EXGS").patchValue(this.OCCSales.EXGS),this.OccupancyDetails.get("DTM").patchValue(this.OCCSales.DTM),this.OccupancyDetails.get("PREG").patchValue(this.OCCSales.PREG),this.OccupancyDetails.get("ADDO").patchValue(this.OCCSales.ADDO),this.OccupancyDetails.get("PROMO").patchValue(this.OCCSales.PROMO),this.OccupancyDetails.get("PRO_TIME").patchValue(this.OCCSales.PRO_TIME),this.OccupancyDetails.get("BTD").patchValue(this.OCCSales.BTD),this.OccupancyDetails.get("UDRM").patchValue(this.OCCSales.UDRM),this.OccupancyDetails.get("BKN").patchValue(this.OCCSales.BKN),this.OccupancyDetails.get("HLLG").patchValue(this.OCCSales.HLLG),this.OccupancyDetails.get("FLLG").patchValue(this.OCCSales.FLLG),this.OccupancyDetails.get("FLBK").patchValue(this.OCCSales.FLBK),this.OccupancyDetails.get("NO_SHOWS").patchValue(this.OCCSales.NO_SHOWS),this.OccupancyDetails.get("CANCELLATIONS").patchValue(this.OCCSales.CANCELLATIONS),this.OccupancyDetails.get("THPTS_RECEPT").patchValue(this.OCCSales.THPTS_RECEPT),this.OccupancyDetails.get("THPTS_HOLIDAY").patchValue(this.OCCSales.THPTS_HOLIDAY))})}Save(){this.submitted=!0,this.OccupancyDataEntryForm.valid&&this.OService.Save(this.OccupancyDataEntryForm.value).subscribe(t=>{null==t&&(this.toastr.success("Occupancy","Save Successful."),this.submitted=!1,this.router.navigateByUrl("/home/occupancy/OccupancyOverView"))},t=>{console.log(t)})}Delete(t,e){t&&this.OService.Delete(t,e).subscribe(t=>{null==t&&(this.toastr.warning("Deleted Successfully","OCCUPANCY"),this.router.navigateByUrl("/home/occupancy/OccupancyOverView"))},t=>{console.log(t)}),this.OccupancyDetails.reset()}refreshForm(){this.OccupancyDetails.reset()}Cancel(){this.router.navigateByUrl("/home/occupancy/OccupancyOverView")}keyevent(t){13===t.which||13===t.keyCode?(t.preventDefault(),this.setNextFocus(t.target.id)):38===t.which||38===t.keyCode?(t.preventDefault(),this.setPrevFocus(t.target.id)):40!==t.which&&40!==t.keyCode||(t.preventDefault(),this.setNextFocus(t.target.id))}setPrevFocus(t){const e=Object.keys(this.OccupancyDetails.controls);for(let o=e.indexOf(t)-1;o>=0;o--){const t=this.renderer.selectRootElement(this.aForm.nativeElement[e[o]]);if(t&&this.interactivityChecker.isFocusable(t)){t.focus(),t.select();break}}}setNextFocus(t){const e=Object.keys(this.OccupancyDetails.controls);for(let o=e.indexOf(t)+1;o<e.length;o++){const t=this.renderer.selectRootElement(this.aForm.nativeElement[e[o]]);if(t&&this.interactivityChecker.isFocusable(t)){t.focus(),t.select();break}}}GetTotal(){this.OccupancyDetails.valueChanges.subscribe(t=>{this.Total=parseInt(t.TAF||0)+parseInt(t.TAP||0)+parseInt(t.FACEAB||0)+parseInt(t.EXPF||0)+parseInt(t.ADE||0)+parseInt(t.BODYBF||0)+parseInt(t.TANNEW||0)+parseInt(t.WEBM||0)+parseInt(t.MEBO||0)+parseInt(t.MEBM||0)+parseInt(t.YEXP||0)+parseInt(t.DGL||0)+parseInt(t.BEXP||0)+parseInt(t.BSP||0)+parseInt(t.ENBS||0)+parseInt(t.URF||0)+parseInt(t.BSPR||0)+parseInt(t.MACO||0)+parseInt(t.HOTSTONE||0)+parseInt(t.EXGS||0)+parseInt(t.DTM||0)+parseInt(t.PREG||0)+parseInt(t.ADDO||0)+parseInt(t.PROMO||0)+parseInt(t.BTD||0)+parseInt(t.UDRM||0)+parseInt(t.BKN||0)+parseInt(t.HLLG||0)+parseInt(t.FLLG||0)+parseInt(t.FLBK||0)})}}return t.\u0275fac=function(e){return new(e||t)(c.Mb(n.c),c.Mb(i.e),c.Mb(c.l),c.Mb(c.E),c.Mb(h.d),c.Mb(u.b),c.Mb(a.f),c.Mb(l.a))},t.\u0275cmp=c.Gb({type:t,selectors:[["app-occupancy-data-entry"]],viewQuery:function(t,e){if(1&t&&c.Pc(S,!0),2&t){let t;c.vc(t=c.dc())&&(e.aForm=t.first)}},hostBindings:function(t,e){1&t&&c.cc("keyup",function(t){return e.keyevent(t)})},decls:246,vars:40,consts:[[1,"container-fluid"],["autocomplete","off",3,"formGroup"],["aForm",""],[1,"row","mt-2"],[1,"col-md-5"],[1,"shadow-sm","card"],[1,"card-body"],[1,"card-title1",2,"width","50%","padding-bottom","0px"],["type","text","placeholder","OVER VIEW INFORMATION","readonly","true","disabled","",1,"form-control","form-control-sm","bg-white","text-center","pformat"],[1,"row"],[1,"col-md-9",2,"padding-right","2px"],["formGroupName","Occupancy"],[1,"col-sm-12"],[1,"row","no-padding","mb-1"],[1,"col-sm-6",2,"padding-right","1px"],["type","text","formControlName","ACC","id","ACC","placeholder","ACCOUNT","readonly","true",1,"form-control","form-control-sm","bg-white"],[1,"col-sm-6",2,"padding-left","1px"],["type","text","formControlName","WEEK","id","WEEK","placeholder","WEEK","readonly","true",1,"form-control","form-control-sm","bg-white"],["type","text","formControlName","STORE","id","STORE","placeholder","STORE","readonly","true",1,"form-control","form-control-sm","bg-white"],[1,"col-sm-3",2,"padding-left","0px","padding-top","5px"],[1,"row","mb-0"],["for","Total",1,"col-sm-10","col-form-label","text-center","no-padding","font-label"],[1,"row",2,"padding-top","4px"],["type","text","id","Total","placeholder","","readonly","true","disabled","",1,"form-control","form-control-sm",2,"background-color","chartreuse",3,"value"],[1,"col-md-4"],[1,"row","no-padding","mt-5"],[1,"col-sm-12","no-padding","text-center"],["type","button",1,"my-btn-height","btn","blue-gradient","btn-rounded","px-2","mr-1",3,"click"],["title","Save",1,"fa","fa-save"],["title","Delete",1,"fa","fa-trash"],["type","button",1,"my-btn-height","btn","blue-gradient","btn-rounded","px-2",3,"click"],[1,"col-md-9"],[1,"card-title",2,"padding-bottom","0px"],["type","text","placeholder","STANDARD","readonly","true","disabled","",1,"form-control","form-control-sm","bg-white","text-center","pformat",2,"padding-bottom","0px"],[1,"col-md-12",2,"padding-right","2px"],["formGroupName","OccupancyDetails"],[1,"col-sm-2","text-center",2,"padding-right","1px"],[1,"control-label"],["type","text","formControlName","TAF","id","TAF","placeholder","Signature Face","autofocus","","tooltip","Signature Face","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"col-sm-2","text-center",2,"padding-left","1px","padding-right","1px"],["type","text","formControlName","TAP","id","TAP","placeholder","Signature Face Plus","tooltip","Signature Face Plus","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","FACEAB","id","FACEAB","placeholder","Aromatic Balancer","tooltip","Aromatic Balancer","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","EXPF","id","EXPF","placeholder","Face & Eye","tooltip","Face & Eye","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","ADE","id","ADE","placeholder","Age Defying","tooltip","Age Defying","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"col-sm-2","text-center",2,"padding-left","1px"],["type","text","formControlName","BODYBF","id","BODYBF","placeholder","Signature Body","tooltip","Signature Body","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","TANNEW","id","TANNEW","placeholder","Skin Smoother","tooltip","Skin Smoother","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","WEBM","id","WEBM","placeholder","Sun Glow","tooltip","Sun Glow","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"row","mt-0"],[1,"col-md-6"],[1,"card-title"],["type","text","placeholder","MENS","readonly","true","disabled","",1,"form-control","form-control-sm","bg-white","text-center","pformat"],[1,"col-sm-6","text-center",2,"padding-right","1px"],["type","text","formControlName","MEBO","id","MEBO","placeholder","Face/Muscle Ease","tooltip","Face/Muscle Ease","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"col-sm-6","text-center",2,"padding-left","1px"],["type","text","formControlName","MEBM","id","MEBM","placeholder","Back-Neck-Scalp","tooltip","Back-Neck-Scalp","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","placeholder","STANDARD","readonly","true","disabled","",1,"form-control","form-control-sm","bg-white","text-center","pformat"],["type","text","formControlName","YEXP","id","YEXP","placeholder","Youth Expert","tooltip","Youth Expert","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","DGL","id","DGL","placeholder","Detox & Glow","tooltip","Detox & Glow","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BEXP","id","BEXP","placeholder","Body Expert","tooltip","Body Expert","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BSP","id","BSP","placeholder","Beauty Sleep","tooltip","Beauty Sleep","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","ENBS","id","ENBS","placeholder","Energy Booster","tooltip","Energy Booster","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","URF","id","URF","placeholder","Ultra Relaxing Facial","tooltip","Ultra Relaxing Facial","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BSPR","id","BSPR","placeholder","Body Shaper","tooltip","Body Shaper","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","MACO","id","MACO","placeholder","Rebalancing Massage","tooltip","Rebalancing Massage","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","HOTSTONE","id","HOTSTONE","placeholder","Hotstone","tooltip","Hotstone","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","EXGS","id","EXGS","placeholder","Back, Neck & Scalp","tooltip","Back, Neck & Scalp","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","DTM","id","DTM","placeholder","Deep Tissue Massage","tooltip","Deep Tissue Massage","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","PREG","id","PREG","placeholder","Mother-to-be","tooltip","Mother-to-be","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","ADDO","id","ADDO","placeholder","Add-on's","tooltip","Add-on's","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","PROMO","id","PROMO","placeholder","Promotional","tooltip","Promotional","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","PRO_TIME","id","PRO_TIME","placeholder","Promotional Time","tooltip","Promotional Time","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"shadow-sm","card","mb-1"],["type","text","placeholder","SERVICES","readonly","true","disabled","",1,"form-control","form-control-sm","bg-white","text-center",2,"border-color","white","font-family","'Times New Roman', Times, serif","font-weight","bold","font-size","12px"],["type","text","formControlName","BTD","id","BTD","placeholder","Brow Tidy","tooltip","Brow Tidy","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","UDRM","id","UDRM","placeholder","Underarm","tooltip","Underarm","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BKN","id","BKN","placeholder","Bikini","tooltip","Bikini","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","HLLG","id","HLLG","placeholder","Half Leg","tooltip","Half Leg","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","FLLG","id","FLLG","placeholder","Full Leg","tooltip","Full Leg","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","FLBK","id","FLBK","placeholder","Full Leg & Bikini","tooltip","Full Leg & Bikini","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"row","mt-1"],[1,"card-body",2,"padding-top","10px"],[1,"col-sm-3","text-center",2,"padding-right","1px"],["type","text","formControlName","NO_SHOWS","id","NO_SHOWS","placeholder","NO SHOWS","tooltip","No Shows","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"col-sm-3","text-center",2,"padding-left","1px","padding-right","1px"],["type","text","formControlName","CANCELLATIONS","id","CANCELLATIONS","placeholder","CANCELLATIONS","tooltip","Cancellations","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","THPTS_RECEPT","id","THPTS_RECEPT","placeholder","Minutes","tooltip","Minutes","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"col-sm-3","text-center",2,"padding-left","1px"],["type","text","formControlName","THPTS_HOLIDAY","id","THPTS_HOLIDAY","placeholder","Days","tooltip","Days","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"]],template:function(t,e){1&t&&(c.Sb(0,"div",0),c.Sb(1,"form",1,2),c.Sb(3,"div",3),c.Sb(4,"div",4),c.Sb(5,"div",5),c.Sb(6,"div",6),c.Sb(7,"p",7),c.Nb(8,"input",8),c.Rb(),c.Sb(9,"div",9),c.Sb(10,"div",10),c.Sb(11,"div",11),c.Sb(12,"div",12),c.Sb(13,"div",13),c.Sb(14,"div",14),c.Nb(15,"input",15),c.Rb(),c.Sb(16,"div",16),c.Nb(17,"input",17),c.Rb(),c.Rb(),c.Rb(),c.Sb(18,"div",12),c.Sb(19,"div",13),c.Sb(20,"div",12),c.Nb(21,"input",18),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Sb(22,"div",19),c.Sb(23,"div",20),c.Sb(24,"label",21),c.Kc(25,"Total"),c.Rb(),c.Rb(),c.Sb(26,"div",22),c.Sb(27,"div",12),c.Nb(28,"input",23),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Sb(29,"div",24),c.Sb(30,"div",25),c.Sb(31,"div",26),c.Sb(32,"button",27),c.cc("click",function(){return e.Save()}),c.Nb(33,"i",28),c.Kc(34," Save and Home"),c.Rb(),c.Sb(35,"button",27),c.cc("click",function(){return e.Cancel()}),c.Kc(36,"Cancel"),c.Rb(),c.Sb(37,"button",27),c.cc("click",function(){return e.Delete(e.OccupancyDetails.get("ACC").value,e.OccupancyDetails.get("WEEK").value)}),c.Nb(38,"i",29),c.Kc(39," Delete"),c.Rb(),c.Sb(40,"button",30),c.cc("click",function(){return e.refreshForm()}),c.Kc(41,"Refresh"),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Sb(42,"div",9),c.Sb(43,"div",31),c.Sb(44,"div",5),c.Sb(45,"div",6),c.Sb(46,"p",32),c.Nb(47,"input",33),c.Rb(),c.Sb(48,"div",9),c.Sb(49,"div",34),c.Sb(50,"div",35,2),c.Sb(52,"div",12),c.Sb(53,"div",13),c.Sb(54,"div",36),c.Sb(55,"label",37),c.Kc(56,"Signature Face:"),c.Rb(),c.Nb(57,"input",38),c.Rb(),c.Sb(58,"div",39),c.Sb(59,"label",37),c.Kc(60,"Signature Face Plus:"),c.Rb(),c.Nb(61,"input",40),c.Rb(),c.Sb(62,"div",39),c.Sb(63,"label",37),c.Kc(64,"Aromatic Balancer:"),c.Rb(),c.Nb(65,"input",41),c.Rb(),c.Sb(66,"div",39),c.Sb(67,"label",37),c.Kc(68,"Face & Eye:"),c.Rb(),c.Nb(69,"input",42),c.Rb(),c.Sb(70,"div",39),c.Sb(71,"label",37),c.Kc(72,"Age Defying:"),c.Rb(),c.Nb(73,"input",43),c.Rb(),c.Sb(74,"div",44),c.Sb(75,"label",37),c.Kc(76,"Signature Body:"),c.Rb(),c.Nb(77,"input",45),c.Rb(),c.Rb(),c.Rb(),c.Sb(78,"div",12),c.Sb(79,"div",13),c.Sb(80,"div",36),c.Sb(81,"label",37),c.Kc(82,"Skin Smoother:"),c.Rb(),c.Nb(83,"input",46),c.Rb(),c.Sb(84,"div",39),c.Sb(85,"label",37),c.Kc(86,"Sun Glow:"),c.Rb(),c.Nb(87,"input",47),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Sb(88,"div",48),c.Sb(89,"div",49),c.Sb(90,"div",5),c.Sb(91,"div",6),c.Sb(92,"p",50),c.Nb(93,"input",51),c.Rb(),c.Sb(94,"div",9),c.Sb(95,"div",34),c.Sb(96,"div",35,2),c.Sb(98,"div",12),c.Sb(99,"div",13),c.Sb(100,"div",52),c.Sb(101,"label",37),c.Kc(102,"Face/Muscle Ease:"),c.Rb(),c.Nb(103,"input",53),c.Rb(),c.Sb(104,"div",54),c.Sb(105,"label",37),c.Kc(106,"Back-Neck-Scalp:"),c.Rb(),c.Nb(107,"input",55),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Sb(108,"div",48),c.Sb(109,"div",31),c.Sb(110,"div",5),c.Sb(111,"div",6),c.Sb(112,"p",50),c.Nb(113,"input",56),c.Rb(),c.Sb(114,"div",9),c.Sb(115,"div",34),c.Sb(116,"div",35,2),c.Sb(118,"div",12),c.Sb(119,"div",13),c.Sb(120,"div",36),c.Sb(121,"label",37),c.Kc(122,"Youth Expert:"),c.Rb(),c.Nb(123,"input",57),c.Rb(),c.Sb(124,"div",39),c.Sb(125,"label",37),c.Kc(126,"Detox & Glow:"),c.Rb(),c.Nb(127,"input",58),c.Rb(),c.Sb(128,"div",39),c.Sb(129,"label",37),c.Kc(130,"Body Expert:"),c.Rb(),c.Nb(131,"input",59),c.Rb(),c.Sb(132,"div",39),c.Sb(133,"label",37),c.Kc(134,"Beauty Sleep:"),c.Rb(),c.Nb(135,"input",60),c.Rb(),c.Sb(136,"div",39),c.Sb(137,"label",37),c.Kc(138,"Energy Booster:"),c.Rb(),c.Nb(139,"input",61),c.Rb(),c.Sb(140,"div",44),c.Sb(141,"label",37),c.Kc(142,"Ultra Relaxing Facial"),c.Rb(),c.Nb(143,"input",62),c.Rb(),c.Rb(),c.Rb(),c.Sb(144,"div",12),c.Sb(145,"div",13),c.Sb(146,"div",36),c.Sb(147,"label",37),c.Kc(148,"Body Shaper:"),c.Rb(),c.Nb(149,"input",63),c.Rb(),c.Sb(150,"div",39),c.Sb(151,"label",37),c.Kc(152,"Rebalancing Massage:"),c.Rb(),c.Nb(153,"input",64),c.Rb(),c.Sb(154,"div",39),c.Sb(155,"label",37),c.Kc(156,"Hotstone:"),c.Rb(),c.Nb(157,"input",65),c.Rb(),c.Sb(158,"div",39),c.Sb(159,"label",37),c.Kc(160,"Back, Neck & Scalp:"),c.Rb(),c.Nb(161,"input",66),c.Rb(),c.Sb(162,"div",39),c.Sb(163,"label",37),c.Kc(164,"Deep Tissue Massage:"),c.Rb(),c.Nb(165,"input",67),c.Rb(),c.Sb(166,"div",44),c.Sb(167,"label",37),c.Kc(168,"Mother-to-be:"),c.Rb(),c.Nb(169,"input",68),c.Rb(),c.Rb(),c.Rb(),c.Sb(170,"div",12),c.Sb(171,"div",13),c.Sb(172,"div",36),c.Sb(173,"label",37),c.Kc(174,"Add-on's:"),c.Rb(),c.Nb(175,"input",69),c.Rb(),c.Sb(176,"div",39),c.Sb(177,"label",37),c.Kc(178,"Promotional:"),c.Rb(),c.Nb(179,"input",70),c.Rb(),c.Sb(180,"div",39),c.Sb(181,"label",37),c.Kc(182,"Promotional Time:"),c.Rb(),c.Nb(183,"input",71),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Sb(184,"div",48),c.Sb(185,"div",31),c.Sb(186,"div",72),c.Sb(187,"div",6),c.Sb(188,"p",50),c.Nb(189,"input",73),c.Rb(),c.Sb(190,"div",9),c.Sb(191,"div",34),c.Sb(192,"div",35,2),c.Sb(194,"div",12),c.Sb(195,"div",13),c.Sb(196,"div",36),c.Sb(197,"label",37),c.Kc(198,"Brow Tidy:"),c.Rb(),c.Nb(199,"input",74),c.Rb(),c.Sb(200,"div",39),c.Sb(201,"label",37),c.Kc(202,"Underarm:"),c.Rb(),c.Nb(203,"input",75),c.Rb(),c.Sb(204,"div",39),c.Sb(205,"label",37),c.Kc(206,"Bikini:"),c.Rb(),c.Nb(207,"input",76),c.Rb(),c.Sb(208,"div",39),c.Sb(209,"label",37),c.Kc(210,"Half Leg:"),c.Rb(),c.Nb(211,"input",77),c.Rb(),c.Sb(212,"div",39),c.Sb(213,"label",37),c.Kc(214,"Full Leg:"),c.Rb(),c.Nb(215,"input",78),c.Rb(),c.Sb(216,"div",44),c.Sb(217,"label",37),c.Kc(218,"Full Leg & Bikini:"),c.Rb(),c.Nb(219,"input",79),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Sb(220,"div",80),c.Sb(221,"div",49),c.Sb(222,"div",72),c.Sb(223,"div",81),c.Sb(224,"div",9),c.Sb(225,"div",34),c.Sb(226,"div",35,2),c.Sb(228,"div",12),c.Sb(229,"div",13),c.Sb(230,"div",82),c.Sb(231,"label",37),c.Kc(232,"No Shows:"),c.Rb(),c.Nb(233,"input",83),c.Rb(),c.Sb(234,"div",84),c.Sb(235,"label",37),c.Kc(236,"Cancellations:"),c.Rb(),c.Nb(237,"input",85),c.Rb(),c.Sb(238,"div",84),c.Sb(239,"label",37),c.Kc(240,"Minutes:"),c.Rb(),c.Nb(241,"input",86),c.Rb(),c.Sb(242,"div",87),c.Sb(243,"label",37),c.Kc(244,"Days:"),c.Rb(),c.Nb(245,"input",88),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.yb(1),c.mc("formGroup",e.OccupancyDataEntryForm),c.yb(14),c.zb("disabled",!0),c.yb(2),c.zb("disabled",!0),c.yb(4),c.zb("disabled",!0),c.yb(7),c.mc("value",e.Total),c.yb(29),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(6),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(16),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(16),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(6),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(6),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(16),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(14),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100),c.yb(4),c.mc("hide-delay",100))},directives:[n.t,n.m,n.g,n.h,n.a,n.l,n.e,O.a,y.a],styles:[".no-padding[_ngcontent-%COMP%]{padding:0}.scrollablepanel[_ngcontent-%COMP%]{max-height:700px;overflow-y:auto}.card[_ngcontent-%COMP%]{margin-left:20px}.card-body[_ngcontent-%COMP%]{flex:1 1 auto;min-height:1px;padding-left:10px;padding-bottom:4px}.card-title[_ngcontent-%COMP%]{width:12%}.card-title[_ngcontent-%COMP%], .card-title1[_ngcontent-%COMP%]{margin-bottom:.25rem;margin-left:15px;margin-top:-33px!important}.card-title1[_ngcontent-%COMP%]{width:37%}input[_ngcontent-%COMP%], label[_ngcontent-%COMP%]{font-size:11px}label[_ngcontent-%COMP%]{margin-bottom:0;margin-top:0;padding-top:0;padding-bottom:0}.pformat[_ngcontent-%COMP%]{border-color:#fff;font-family:Times New Roman,Times,serif;font-weight:700;font-size:12px}.font-label[_ngcontent-%COMP%]{font-size:14px}.my-btn-height[_ngcontent-%COMP%]{font-size:12px;height:30px;padding:0;color:#fff}"]}),t})(),data:{title:"Occupancy Data Entry"}}]}];let f=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[i.h.forChild(g)],i.h]}),t})();var C=o("H8qh");let R=(()=>{class t{}return t.\u0275mod=c.Kb({type:t}),t.\u0275inj=c.Jb({factory:function(e){return new(e||t)},imports:[[f,C.a,a.c]]}),t})()}}]);