• File: 17-es5.9a39ebfc6e93d207d48b.js
  • Full Path: /home/icicle/public_html/test/Publish/17-es5.9a39ebfc6e93d207d48b.js
  • Date Modified: 10/01/2021 10:59 AM
  • File size: 74.62 KB
  • MIME-type: text/plain
  • Charset: utf-8
!function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var a=0;a<e.length;a++){var l=e[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}}function a(t,a,l){return a&&e(t.prototype,a),l&&e(t,l),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{"8BcS":function(e,l,i){"use strict";i.r(l),i.d(l,"ClarinsModule",function(){return P});var n,r=i("iInd"),o=i("8Y7J"),s=i("s7LF"),c=i("EApP"),b=i("IheW"),d=i("lJxs"),p={headers:new b.e({"Content-Type":"application/json"})},h=((n=function(){function e(a,l){t(this,e),this.http=a,this.BaseURL="",this.BaseURL="http://localhost:4200/"===l?"https://localhost:44301/api/Clarins/":l+"api/Clarins/"}return a(e,[{key:"GetAllAccount",value:function(){return this.http.get(this.BaseURL+"GetAllAccount")}},{key:"GetAccountInfo",value:function(t){return this.http.get(this.BaseURL+"GetAccountInfo?ACC="+t)}},{key:"GetConsultants",value:function(t){return this.http.get(this.BaseURL+"GetConsultants?ACC="+t)}},{key:"GetConsultantInfo",value:function(t){return this.http.get(this.BaseURL+"GetConsultantInfo?EMPNO="+t)}},{key:"GetClarinsOverViewList",value:function(t){return this.http.get(this.BaseURL+"GetClarinsOverViewList?ACC="+t)}},{key:"GetAllClarinsTotal",value:function(t,e){return this.http.get(this.BaseURL+"GetAllClarinsTotal?ACC="+t+"&WEEK="+e)}},{key:"GetClarinsDetails1",value:function(t,e,a,l){return this.http.get(this.BaseURL+"GetClarinsDetails?ACC="+t+"&LN="+e+"&EMPNO="+a+"&WEEK="+l)}},{key:"GetClarinsDetails",value:function(t,e,a){return this.http.get(this.BaseURL+"GetClarinsDetails?ACC="+t+"&EMPNO="+e+"&WEEK="+a)}},{key:"GetClarinsAll",value:function(t,e){return this.http.get(this.BaseURL+"GetClarinsAll?ACC="+t+"&WEEK="+e)}},{key:"Save",value:function(t){return console.log(t),this.http.post(this.BaseURL+"Save",t,p).pipe(Object(d.a)(function(t){return t}))}},{key:"Delete",value:function(t,e,a,l){return this.http.delete(this.BaseURL+"Delete?ACC="+t+"&LN="+e+"&EMPNO="+a+"&WEEK="+l,p).pipe(Object(d.a)(function(t){return t}))}}]),e}()).\u0275fac=function(t){return new(t||n)(o.Zb(b.b),o.Zb("BASE_URL"))},n.\u0275prov=o.Ib({token:n,factory:n.\u0275fac,providedIn:"root"}),n),m=i("JqCM"),u=i("bH2/"),T=i("SVse");function C(t,e){1&t&&o.Nb(0,"a",40),2&t&&o.mc("innerHTML",e.$implicit.Name,o.Ac)}function g(t,e){1&t&&o.Nb(0,"div",40),2&t&&o.mc("innerHTML",e.$implicit,o.Ac)}function R(t,e){if(1&t){var a=o.Tb();o.Sb(0,"tr",41),o.Sb(1,"td",42),o.Kc(2),o.Rb(),o.Sb(3,"td",43),o.Nb(4,"input",44),o.Rb(),o.Sb(5,"td",43),o.Nb(6,"input",45),o.Rb(),o.Sb(7,"td"),o.Sb(8,"button",46),o.cc("click",function(){o.zc(a);var t=e.index;return o.ec().Open(t)}),o.Kc(9,"Insert"),o.Rb(),o.Rb(),o.Rb()}if(2&t){var l=e.index;o.mc("formGroupName",l),o.yb(2),o.Mc(" ",l+1," ")}}var S,f=((S=function(){function e(a,l,i,n,r){t(this,e),this.fb=a,this.router=l,this.toastr=i,this.clarinsService=n,this.spinner=r,this.submitted=!1,this.AllAccounts=[],this.AccountInfo=[],this.placeholder="Enter Search String",this.keyword="Name",this.CreateClarinsOverViewForm()}return a(e,[{key:"CreateClarinsOverViewForm",value:function(){for(var t=[],e=0;e<15;e++)t.push(this.OverViewListForm());this.ClarinsOverViewForm=this.fb.group({ClarinsOverView:this.fb.group({ACC:[""],STORENAME:[""],TOWN:[""],TELEPHONE:[""]}),ClarinsOverViewList:this.fb.array(t)})}},{key:"OverViewListForm",value:function(){return this.fb.group({ACC:[""],Week:[""],LN:[""],EMPNO:[""],Sales:[""]})}},{key:"ngOnInit",value:function(){this.AllAccount=this.clarinsService.GetAllAccount(),this.GetAllAccount(),void 0!==localStorage.getItem("ACC")&&null!==localStorage.getItem("ACC")&&this.Refresh(localStorage.getItem("ACC"))}},{key:"ResetForm",value:function(){this.ClarinsOverViewForm.reset()}},{key:"GetAllAccount",value:function(){var t=this;this.clarinsService.GetAllAccount().subscribe(function(e){t.AllAccounts=e})}},{key:"selectEvent",value:function(t){var e=this;this.spinner.show(),this.ClarinsOverViewList.reset();for(var a=this.ClarinsOverViewList.length;a>=15;a--)this.ClarinsOverViewList.removeAt(a);this.clarinsService.GetAccountInfo(t.Value).subscribe(function(t){e.AccountInfo=t,e.AccountInfo&&(e.ClarinsOverView.get("ACC").patchValue(e.AccountInfo.ACC.toString()),e.ClarinsOverView.get("STORENAME").patchValue(e.AccountInfo.StoreName),e.ClarinsOverView.get("TOWN").patchValue(e.AccountInfo.Town),e.ClarinsOverView.get("TELEPHONE").patchValue(e.AccountInfo.Telephone))}),this.clarinsService.GetClarinsOverViewList(t.Value).subscribe(function(t){if(e.OverViewList=t,e.OverViewList.length>0)for(var a=e.ClarinsOverViewForm.controls.ClarinsOverViewList,l=0;l<e.OverViewList.length;l++)a.at(+l).get("ACC").setValue(e.OverViewList[l].ACC),a.at(+l).get("Week").setValue(e.OverViewList[l].Week),a.at(+l).get("Sales").setValue(e.OverViewList[l].Sales),l>=14&&l<e.OverViewList.length-1&&e.ClarinsOverViewList.push(e.OverViewListForm())}),this.spinner.hide()}},{key:"onChangeSearch",value:function(t){}},{key:"searchCleared",value:function(){}},{key:"Open",value:function(t){for(var e=this.ClarinsOverViewForm.controls.ClarinsOverViewList,a=0;a<e.length;a++)if(t==a){localStorage.setItem("ACC",e.at(+a).get("ACC").value.toString()),localStorage.setItem("WEEK",e.at(+a).get("Week").value);break}this.router.navigateByUrl("/home/clarins/ClarinsDataEntry")}},{key:"Refresh",value:function(t){var e=this;this.spinner.show(),this.ClarinsOverViewList.reset();for(var a=this.ClarinsOverViewList.length;a>=15;a--)this.ClarinsOverViewList.removeAt(a);this.clarinsService.GetAccountInfo(t).subscribe(function(t){e.AccountInfo=t,e.AccountInfo&&(e.ClarinsOverView.get("ACC").patchValue(e.AccountInfo.ACC.toString()),e.ClarinsOverView.get("STORENAME").patchValue(e.AccountInfo.StoreName),e.ClarinsOverView.get("TOWN").patchValue(e.AccountInfo.Town),e.ClarinsOverView.get("TELEPHONE").patchValue(e.AccountInfo.Telephone))}),this.clarinsService.GetClarinsOverViewList(t).subscribe(function(t){if(e.OverViewList=t,e.OverViewList.length>0)for(var a=e.ClarinsOverViewForm.controls.ClarinsOverViewList,l=0;l<e.OverViewList.length;l++)a.at(+l).get("ACC").setValue(e.OverViewList[l].ACC),a.at(+l).get("Week").setValue(e.OverViewList[l].Week),a.at(+l).get("Sales").setValue(e.OverViewList[l].Sales),l>=14&&l<e.OverViewList.length-1&&e.ClarinsOverViewList.push(e.OverViewListForm())}),this.spinner.hide()}},{key:"NextAccount",value:function(t){var e=this,a=this.AllAccounts.findIndex(function(e){return e.Value===t});a!==this.AllAccounts.length-1?this.AllAccount.forEach(function(t){a>=0?e.Refresh(t[a+1].Value):-1===a&&e.Refresh(t[0].Value)}):this.toastr.warning("Now at the botton of the rows","Clarins Overviews")}},{key:"PreviousAccount",value:function(t){var e=this,a=this.AllAccounts.findIndex(function(e){return e.Value===t});-1!==a&&0!==a?this.AllAccount.forEach(function(t){a>0&&e.Refresh(t[a-1].Value)}):this.toastr.warning("Now at the top of the rows","Clarins Overviews")}},{key:"ClarinsOverView",get:function(){return this.ClarinsOverViewForm.get("ClarinsOverView")}},{key:"ClarinsOverViewList",get:function(){return this.ClarinsOverViewForm.get("ClarinsOverViewList")}}]),e}()).\u0275fac=function(t){return new(t||S)(o.Mb(s.c),o.Mb(r.e),o.Mb(c.b),o.Mb(h),o.Mb(m.c))},S.\u0275cmp=o.Gb({type:S,selectors:[["app-clarins-over-view"]],decls:76,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,"col-md-12"],["formGroupName","ClarinsOverView"],[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-1"],[1,"col-sm-8"],["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,"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",2,"font-size","12px"],["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","TELEPHONE",1,"col-sm-3","col-form-label","text-right","no-padding","font-label","mt-1"],[1,"col-sm-5"],["type","text","formControlName","TELEPHONE","id","TELEPHONE","placeholder","","readonly","true",1,"form-control","form-control-sm","bg-white"],[1,"shadow-sm","card"],[1,"card-body"],[1,"tableFixHead"],[1,"table-responsive-sm","fix-table"],["formArrayName","ClarinsOverViewList",1,"table","table-bordered","table-sm"],["id","grad1"],[1,"text-center",2,"width","60px"],[1,"text-center"],[3,"formGroupName",4,"ngFor","ngForOf"],[1,"col-sm-1","no-padding"],[1,"row","no-padding",2,"padding-bottom","1px"],[1,"col-sm-6","no-padding"],["type","button",1,"my-btn-height","btn","blue-gradient","btn-block","btn-rounded","px-1",3,"click"],[1,"row","no-padding"],["bdColor","rgba(255,255,255,0.5)","size","small","color","#cc2222","type","ball-spin-clockwise-fade",3,"fullScreen"],[2,"color","#cc2222","font-size","22px"],[3,"innerHTML"],[3,"formGroupName"],["id","grad1",1,"text-right",2,"padding-right","10px !important","color","#dc3545"],[1,"no-padding"],["type","text","formControlName","Week",1,"form-control","form-control-sm","no-border","text-center"],["type","text","formControlName","Sales",1,"form-control","form-control-sm","no-border","text-right"],["type","button",1,"btn","blue-gradient","btn-block","btn-rounded","z-depth-1a","px-1",2,"font-size","12px","height","28px","padding","0px","color","white",3,"click"]],template:function(t,e){if(1&t&&(o.Sb(0,"div",0),o.Sb(1,"form",1),o.Sb(2,"div",2),o.Sb(3,"div",3),o.Sb(4,"div",4),o.Sb(5,"div",5),o.Sb(6,"div",2),o.Sb(7,"div",6),o.Sb(8,"div",7),o.Sb(9,"div",8),o.Sb(10,"div",9),o.Sb(11,"label",10),o.Kc(12,"ACCOUNT:"),o.Rb(),o.Sb(13,"div",11),o.Sb(14,"ng-autocomplete",12,13),o.cc("selected",function(t){return e.selectEvent(t)})("inputChanged",function(t){return e.onChangeSearch(t)})("inputCleared",function(){return e.searchCleared()}),o.fc(16,"async"),o.Rb(),o.Ic(17,C,1,1,"ng-template",null,14,o.Jc),o.Ic(19,g,1,1,"ng-template",null,15,o.Jc),o.Rb(),o.Rb(),o.Rb(),o.Sb(21,"div",8),o.Sb(22,"div",16),o.Sb(23,"label",17),o.Kc(24,"STORE NAME:"),o.Rb(),o.Sb(25,"div",11),o.Nb(26,"input",18),o.Rb(),o.Rb(),o.Rb(),o.Sb(27,"div",8),o.Sb(28,"div",16),o.Sb(29,"label",19),o.Kc(30,"TOWN:"),o.Rb(),o.Sb(31,"div",11),o.Nb(32,"input",20),o.Rb(),o.Rb(),o.Rb(),o.Sb(33,"div",8),o.Sb(34,"div",16),o.Sb(35,"label",21),o.Kc(36,"TELEPHONE:"),o.Rb(),o.Sb(37,"div",22),o.Nb(38,"input",23),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(39,"div",24),o.Sb(40,"div",25),o.Sb(41,"div",26),o.Sb(42,"div",27),o.Sb(43,"table",28),o.Sb(44,"thead",29),o.Sb(45,"tr"),o.Sb(46,"th",30),o.Kc(47,"Slno"),o.Rb(),o.Sb(48,"th",31),o.Kc(49,"Week"),o.Rb(),o.Sb(50,"th",31),o.Kc(51,"Sales"),o.Rb(),o.Sb(52,"th",31),o.Kc(53,"Action"),o.Rb(),o.Rb(),o.Rb(),o.Sb(54,"tbody"),o.Ic(55,R,10,2,"tr",32),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(56,"div",33),o.Sb(57,"div",2),o.Sb(58,"div",8),o.Sb(59,"div",34),o.Sb(60,"div",35),o.Sb(61,"button",36),o.cc("click",function(){return e.PreviousAccount(e.ClarinsOverView.get("ACC").value)}),o.Kc(62,"Previous"),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(63,"div",8),o.Sb(64,"div",34),o.Sb(65,"div",35),o.Sb(66,"button",36),o.cc("click",function(){return e.NextAccount(e.ClarinsOverView.get("ACC").value)}),o.Kc(67,"Next"),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(68,"div",8),o.Sb(69,"div",37),o.Sb(70,"div",35),o.Sb(71,"button",36),o.cc("click",function(){return e.ResetForm()}),o.Kc(72,"Reset"),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(73,"ngx-spinner",38),o.Sb(74,"p",39),o.Kc(75," Loading... "),o.Rb(),o.Rb(),o.Rb()),2&t){var a=o.wc(18),l=o.wc(20);o.yb(1),o.mc("formGroup",e.ClarinsOverViewForm),o.yb(13),o.mc("data",o.gc(16,13,e.AllAccount))("searchKeyword",e.keyword)("placeholder",e.placeholder)("minQueryLength",2)("itemTemplate",a)("notFoundTemplate",l)("debounceTime",10),o.yb(12),o.zb("disabled",!0),o.yb(6),o.zb("disabled",!0),o.yb(6),o.zb("disabled",!0),o.yb(17),o.mc("ngForOf",e.ClarinsOverViewList.controls),o.yb(18),o.mc("fullScreen",!1)}},directives:[s.t,s.m,s.g,s.h,u.a,s.l,s.e,s.a,s.b,T.m,m.a],pipes:[T.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}.material-icons[_ngcontent-%COMP%]{font-size:30px}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%]{font-size:12px;width:65px;height:28px;padding:0;color:#fff;font-weight:500}.fix-table[_ngcontent-%COMP%]{height:345px;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:12px}[_nghost-%COMP%]     .autocomplete-container .suggestions-container ul{max-height:350px}"]}),S),N=i("u47x"),v=i("e4Ts"),E=i("lVl8"),D=i("RsHN"),y=["aForm"],O=["myInput"];function V(t,e){1&t&&o.Nb(0,"a",150),2&t&&o.mc("innerHTML",e.$implicit.Name,o.Ac)}function A(t,e){1&t&&o.Nb(0,"div",150),2&t&&o.mc("innerHTML",e.$implicit,o.Ac)}var B,x,I,M=[{path:"",data:{title:"Clarins Overview"},children:[{path:"",redirectTo:"ClarinsNew",pathMatch:"full"},{path:"ClarinsOverView",component:f,data:{title:"Clarins Overview"}},{path:"ClarinsDataEntry",component:(B=function(){function e(a,l,i,n,r,o,s,c,b,d){t(this,e),this.fb=a,this.router=l,this.elementRef=i,this.renderer=n,this.interactivityChecker=r,this.datePipe=o,this.clarinsService=s,this.storage=c,this.toastr=b,this.platformId=d,this.submitted=!1,this.CItotal=0,this.TRtotal=0,this.TStotal=0,this.BTRtotal=0,this.BTtotal=0,this.placeholder="EMPLOYEE NUMBER",this.keyword="Name",this.EMPLOYEE=[],this.CreateClarinsDataEntryForm()}return a(e,[{key:"CreateClarinsDataEntryForm",value:function(){this.ClarinsDataEntryForm=this.fb.group({Clarins:this.fb.group({ACC:[""],WEEK:[""],LN:[""],EMPNO:[""],STORE:[""],TELEPHONE:[""]}),ClarinsDetails:this.fb.group({ACC:[""],WEEK:[""],LN:[""],EMPNO:[""],TITLE:[""],EMPLOYEE:[""],CTARG:[""],TRTARG:[""],TTARG:[""],BTRTARG:[""],BTTARG:[""],CSKIN:[""],CCOL:[""],CMEN:[""],CFOUND:[""],CUNITS:[""],CNEW:[""],CEXIST:[""],CNON:[""],CRED:[""],TRSKIN:[""],TRCOL:[""],TRMEN:[""],TRFOUND:[""],TRUNITS:[""],TTREAT:[""],TWAX:[""],TNAIL:[""],GVSOLD:[""],TNEW:[""],TEXIST:[""],TCCARD:[""],PREBOOK:[""],GVRED:[""],RECRUITMENT_DRIVE:[""],BSKIN:[""],BCOL:[""],BMEN:[""],BFOUND:[""],BUNIT:[""],BTREAT:[""],BGVSOLD:[""],BNEW:[""],BEXIST:[""],BREBOOK:[""],BGVRED:[""],NOTES:[""],INPUTBY:[""],INPUTDATE:[""]}),ClarinsOverView:this.fb.group({TotalAccountSales:[""],TotalCounter:[""],TotalSpaRetail:[""],TotalSpaTreatment:[""],TotalAccountTraget:[""],CounterTarget:[""],TRTarget:[""],TreatmentsTarget:[""],TotalBBTR:[""],TotalBBTreatment:[""],BBTRTarget:[""],BBTreatmentTarget:[""]})})}},{key:"ngOnInit",value:function(){this.GetEmployee(),this.EMPLOYEES=this.clarinsService.GetConsultants(localStorage.getItem("ACC")),this.CITotal(),this.TRTotal(),this.TSTotal(),this.BTRTotal(),this.BTTotal(),this.InitialValue(),this.STORE(localStorage.getItem("ACC")),this.GetAllClarinsTotal(localStorage.getItem("ACC"),localStorage.getItem("WEEK")),this.GetTitle()}},{key:"GetTitle",value:function(){var t=this;this.ClarinsDetails.get("EMPNO").valueChanges.subscribe(function(e){e&&"object"!=typeof e&&(t.clarinsService.GetConsultantInfo(e).subscribe(function(e){e&&(t.ClarinsDetails.get("TITLE").patchValue(e.TITLE),t.ClarinsDetails.get("EMPLOYEE").setValue(e.EMPLOYEE))}),t.setFocus("myInput"))})}},{key:"InitialValue",value:function(){this.Clarins.get("ACC").setValue(parseInt(localStorage.getItem("ACC"))),this.Clarins.get("WEEK").setValue(localStorage.getItem("WEEK")),this.GetClarinsAll(localStorage.getItem("ACC"),localStorage.getItem("WEEK"))}},{key:"STORE",value:function(t){var e=this;this.clarinsService.GetAccountInfo(t).subscribe(function(t){t&&(e.Clarins.get("STORE").patchValue(t.StoreName+", "+t.Town),e.Clarins.get("TELEPHONE").patchValue(t.Telephone))})}},{key:"Save",value:function(){var t=this;this.submitted=!0,this.ClarinsDataEntryForm.valid&&this.clarinsService.Save(this.ClarinsDataEntryForm.value).subscribe(function(e){null==e&&(t.toastr.success("Clarins Sales","Save Successful."),t.submitted=!1,t.router.navigateByUrl("/home/clarins/ClarinsOverView"))},function(t){console.log(t)})}},{key:"GetAllClarinsTotal",value:function(t,e){var a=this;this.clarinsService.GetAllClarinsTotal(t,e).subscribe(function(t){t&&(a.ClarinsOverView.get("TotalAccountSales").patchValue(t.TotalAccountSales),a.ClarinsOverView.get("TotalCounter").patchValue(t.TotalCounter),a.ClarinsOverView.get("TotalSpaRetail").patchValue(t.TotalSpaRetail),a.ClarinsOverView.get("TotalSpaTreatment").patchValue(t.TotalSpaTreatment),a.ClarinsOverView.get("TotalAccountTraget").patchValue(t.TotalAccountTraget),a.ClarinsOverView.get("CounterTarget").patchValue(t.CounterTarget),a.ClarinsOverView.get("TRTarget").patchValue(t.TRTarget),a.ClarinsOverView.get("TreatmentsTarget").patchValue(t.TreatmentsTarget),a.ClarinsOverView.get("TotalBBTR").patchValue(t.TotalBBTR),a.ClarinsOverView.get("TotalBBTreatment").patchValue(t.TotalBBTreatment),a.ClarinsOverView.get("BBTRTarget").patchValue(t.BBTRTarget),a.ClarinsOverView.get("BBTreatmentTarget").patchValue(t.BBTreatmentTarget))})}},{key:"GetEmployee",value:function(){var t=this;this.clarinsService.GetConsultants(localStorage.getItem("ACC")).subscribe(function(e){t.EMPLOYEE=e})}},{key:"GetClarinsAll",value:function(t,e){var a=this;this.clarinsService.GetClarinsAll(t,e).subscribe(function(t){a.clarinsAll=t,a.clarinsAll.length>0&&(a.ClarinsDetails.get("EMPNO").patchValue(a.clarinsAll[0].EMPNO.toString()),a.ClarinsDetails.get("CTARG").patchValue(a.clarinsAll[0].CTARG),a.ClarinsDetails.get("TRTARG").patchValue(a.clarinsAll[0].TRTARG),a.ClarinsDetails.get("TTARG").patchValue(a.clarinsAll[0].TTARG),a.ClarinsDetails.get("BTRTARG").patchValue(a.clarinsAll[0].BTRTARG),a.ClarinsDetails.get("BTTARG").patchValue(a.clarinsAll[0].BTTARG),a.ClarinsDetails.get("CSKIN").patchValue(a.clarinsAll[0].CSKIN),a.ClarinsDetails.get("CCOL").patchValue(a.clarinsAll[0].CCOL),a.ClarinsDetails.get("CMEN").patchValue(a.clarinsAll[0].CMEN),a.ClarinsDetails.get("CFOUND").patchValue(a.clarinsAll[0].CFOUND),a.ClarinsDetails.get("CUNITS").patchValue(a.clarinsAll[0].CUNITS),a.ClarinsDetails.get("CNEW").patchValue(a.clarinsAll[0].CNEW),a.ClarinsDetails.get("CEXIST").patchValue(a.clarinsAll[0].CEXIST),a.ClarinsDetails.get("CNON").patchValue(a.clarinsAll[0].CNON),a.ClarinsDetails.get("CRED").patchValue(a.clarinsAll[0].CRED),a.ClarinsDetails.get("TRSKIN").patchValue(a.clarinsAll[0].TRSKIN),a.ClarinsDetails.get("TRCOL").patchValue(a.clarinsAll[0].TRCOL),a.ClarinsDetails.get("TRMEN").patchValue(a.clarinsAll[0].TRMEN),a.ClarinsDetails.get("TRFOUND").patchValue(a.clarinsAll[0].TRFOUND),a.ClarinsDetails.get("TRUNITS").patchValue(a.clarinsAll[0].TRUNITS),a.ClarinsDetails.get("TWAX").patchValue(a.clarinsAll[0].TWAX),a.ClarinsDetails.get("TNAIL").patchValue(a.clarinsAll[0].TNAIL),a.ClarinsDetails.get("GVSOLD").patchValue(a.clarinsAll[0].GVSOLD),a.ClarinsDetails.get("TNEW").patchValue(a.clarinsAll[0].TNEW),a.ClarinsDetails.get("TEXIST").patchValue(a.clarinsAll[0].TEXIST),a.ClarinsDetails.get("TCCARD").patchValue(a.clarinsAll[0].TCCARD),a.ClarinsDetails.get("PREBOOK").patchValue(a.clarinsAll[0].PREBOOK),a.ClarinsDetails.get("GVRED").patchValue(a.clarinsAll[0].GVRED),a.ClarinsDetails.get("RECRUITMENT_DRIVE").patchValue(a.clarinsAll[0].RECRUITMENT_DRIVE),a.ClarinsDetails.get("BSKIN").patchValue(a.clarinsAll[0].BSKIN),a.ClarinsDetails.get("BCOL").patchValue(a.clarinsAll[0].BCOL),a.ClarinsDetails.get("BMEN").patchValue(a.clarinsAll[0].BMEN),a.ClarinsDetails.get("BFOUND").patchValue(a.clarinsAll[0].BFOUND),a.ClarinsDetails.get("BUNIT").patchValue(a.clarinsAll[0].BUNIT),a.ClarinsDetails.get("BTREAT").patchValue(a.clarinsAll[0].BTREAT),a.ClarinsDetails.get("BGVSOLD").patchValue(a.clarinsAll[0].BGVSOLD),a.ClarinsDetails.get("BNEW").patchValue(a.clarinsAll[0].BNEW),a.ClarinsDetails.get("BEXIST").patchValue(a.clarinsAll[0].BEXIST),a.ClarinsDetails.get("BREBOOK").patchValue(a.clarinsAll[0].BREBOOK),a.ClarinsDetails.get("BGVRED").patchValue(a.clarinsAll[0].BGVRED),a.ClarinsDetails.get("NOTES").patchValue(a.clarinsAll[0].NOTES),a.ClarinsDetails.get("INPUTBY").patchValue(a.clarinsAll[0].INPUTBY),null!==a.clarinsAll[0].INPUTDATE&&a.ClarinsDetails.get("INPUTDATE").patchValue(a.datePipe.transform(a.clarinsAll[0].INPUTDATE,"dd-MMM-yyyy")))})}},{key:"GetClarinsAll1",value:function(t,e){var a=this;this.clarinsService.GetClarinsAll(t,e).subscribe(function(t){a.clarinsDetails=t,console.log(a.clarinsDetails),console.log(a.clarinsDetails[0].EMPNO),a.ClarinsDataEntryForm.patchValue({EMPNO:a.clarinsDetails[0].EMPNO,CTARG:a.clarinsDetails.CTARG,TRTARG:a.clarinsDetails.TRTARG,TTARG:a.clarinsDetails.TTARG,BTRTARG:a.clarinsDetails.BTRTARG,BTTARG:a.clarinsDetails.BTTARG,CSKIN:a.clarinsDetails[0].CSKIN,CCOL:a.clarinsDetails.CCOL,CMEN:a.clarinsDetails.CMEN,CFOUND:a.clarinsDetails.CFOUND,CUNITS:a.clarinsDetails.CUNITS,CNEW:a.clarinsDetails.CNEW,CEXIST:a.clarinsDetails.CEXIST,CNON:a.clarinsDetails.CNON,CRED:a.clarinsDetails.CRED,TRSKIN:a.clarinsDetails.TRSKIN,TRCOL:a.clarinsDetails.TRCOL,TRMEN:a.clarinsDetails.TRMEN,TRFOUND:a.clarinsDetails.TRFOUND,TRUNITS:a.clarinsDetails.TRUNITS,TTREAT:a.clarinsDetails.TTREAT,TWAX:a.clarinsDetails.TWAX,TNAIL:a.clarinsDetails.TNAIL,GVSOLD:a.clarinsDetails.GVSOLD,TNEW:a.clarinsDetails.TNEW,TEXIST:a.clarinsDetails.TEXIST,TCCARD:a.clarinsDetails.TCCARD,PREBOOK:a.clarinsDetails.PREBOOK,GVRED:a.clarinsDetails.GVRED,RECRUITMENT_DRIVE:a.clarinsDetails.RECRUITMENT_DRIVE,BSKIN:a.clarinsDetails.BSKIN,BCOL:a.clarinsDetails.BCOL,BMEN:a.clarinsDetails.BMEN,BFOUND:a.clarinsDetails.BFOUND,BUNIT:a.clarinsDetails.BUNIT,BTREAT:a.clarinsDetails.BTREAT,BGVSOLD:a.clarinsDetails.BGVSOLD,BNEW:a.clarinsDetails.BNEW,BEXIST:a.clarinsDetails.BEXIST,BREBOOK:a.clarinsDetails.BREBOOK,BGVRED:a.clarinsDetails.BGVRED,NOTES:a.clarinsDetails.NOTES,INPUTBY:null!==a.clarinsDetails.INPUTBY?a.clarinsDetails.INPUTBY:localStorage.getItem("username"),INPUTDATE:a.datePipe.transform(null!==a.clarinsDetails.INPUTDATE?a.clarinsDetails.INPUTDATE:new Date,"dd-MMM-yyyy")})})}},{key:"GetClarinsDetails2",value:function(t,e,a,l){var i=this;this.clarinsService.GetClarinsDetails1(t,e,a,l).subscribe(function(t){i.clarinsDetails=t,i.clarinsDetails&&i.ClarinsDataEntryForm.patchValue({ACC:i.clarinsDetails.ACC,LN:i.clarinsDetails.LN,EMPNO:i.clarinsDetails.EMPNO,WEEK:i.datePipe.transform(i.clarinsDetails.WEEK,"dd-MMM-yyyy"),CTARG:i.clarinsDetails.CTARG,TRTARG:i.clarinsDetails.TRTARG,TTARG:i.clarinsDetails.TTARG,BTRTARG:i.clarinsDetails.BTRTARG,BTTARG:i.clarinsDetails.BTTARG,CSKIN:i.clarinsDetails.CSKIN,CCOL:i.clarinsDetails.CCOL,CMEN:i.clarinsDetails.CMEN,CFOUND:i.clarinsDetails.CFOUND,CUNITS:i.clarinsDetails.CUNITS,CNEW:i.clarinsDetails.CNEW,CEXIST:i.clarinsDetails.CEXIST,CNON:i.clarinsDetails.CNON,CRED:i.clarinsDetails.CRED,TRSKIN:i.clarinsDetails.TRSKIN,TRCOL:i.clarinsDetails.TRCOL,TRMEN:i.clarinsDetails.TRMEN,TRFOUND:i.clarinsDetails.TRFOUND,TRUNITS:i.clarinsDetails.TRUNITS,TTREAT:i.clarinsDetails.TTREAT,TWAX:i.clarinsDetails.TWAX,TNAIL:i.clarinsDetails.TNAIL,GVSOLD:i.clarinsDetails.GVSOLD,TNEW:i.clarinsDetails.TNEW,TEXIST:i.clarinsDetails.TEXIST,TCCARD:i.clarinsDetails.TCCARD,PREBOOK:i.clarinsDetails.PREBOOK,GVRED:i.clarinsDetails.GVRED,RECRUITMENT_DRIVE:i.clarinsDetails.RECRUITMENT_DRIVE,BSKIN:i.clarinsDetails.BSKIN,BCOL:i.clarinsDetails.BCOL,BMEN:i.clarinsDetails.BMEN,BFOUND:i.clarinsDetails.BFOUND,BUNIT:i.clarinsDetails.BUNIT,BTREAT:i.clarinsDetails.BTREAT,BGVSOLD:i.clarinsDetails.BGVSOLD,BNEW:i.clarinsDetails.BNEW,BEXIST:i.clarinsDetails.BEXIST,BREBOOK:i.clarinsDetails.BREBOOK,BGVRED:i.clarinsDetails.BGVRED,NOTES:i.clarinsDetails.NOTES,INPUTBY:null!==i.clarinsDetails.INPUTBY.value?i.clarinsDetails.INPUTBY:localStorage.getItem("username"),INPUTDATE:null===i.clarinsDetails.INPUTDATE.value?i.datePipe.transform(i.clarinsDetails.INPUTDATE,"dd-MMM-yyyy"):i.clarinsDetails.INPUTDATE})})}},{key:"GetClarinsDetails",value:function(t,e,a){var l=this;this.clarinsService.GetClarinsDetails(t,e,a).subscribe(function(t){l.clarinsDetails=t,null==t.EMPMO?l.ClarinsDetails.get("EMPNO").patchValue(e.toString()):l.ClarinsDetails.get("EMPNO").patchValue(l.clarinsDetails.EMPNO.toString()),l.ClarinsDetails.get("CTARG").patchValue(l.clarinsDetails.CTARG),l.ClarinsDetails.get("TRTARG").patchValue(l.clarinsDetails.TRTARG),l.ClarinsDetails.get("TTARG").patchValue(l.clarinsDetails.TTARG),l.ClarinsDetails.get("BTRTARG").patchValue(l.clarinsDetails.BTRTARG),l.ClarinsDetails.get("BTTARG").patchValue(l.clarinsDetails.BTTARG),l.ClarinsDetails.get("CSKIN").patchValue(l.clarinsDetails.CSKIN),l.ClarinsDetails.get("CCOL").patchValue(l.clarinsDetails.CCOL),l.ClarinsDetails.get("CMEN").patchValue(l.clarinsDetails.CMEN),l.ClarinsDetails.get("CFOUND").patchValue(l.clarinsDetails.CFOUND),l.ClarinsDetails.get("CUNITS").patchValue(l.clarinsDetails.CUNITS),l.ClarinsDetails.get("CNEW").patchValue(l.clarinsDetails.CNEW),l.ClarinsDetails.get("CEXIST").patchValue(l.clarinsDetails.CEXIST),l.ClarinsDetails.get("CNON").patchValue(l.clarinsDetails.CNON),l.ClarinsDetails.get("CRED").patchValue(l.clarinsDetails.CRED),l.ClarinsDetails.get("TRSKIN").patchValue(l.clarinsDetails.TRSKIN),l.ClarinsDetails.get("TRCOL").patchValue(l.clarinsDetails.TRCOL),l.ClarinsDetails.get("TRMEN").patchValue(l.clarinsDetails.TRMEN),l.ClarinsDetails.get("TRFOUND").patchValue(l.clarinsDetails.TRFOUND),l.ClarinsDetails.get("TRUNITS").patchValue(l.clarinsDetails.TRUNITS),l.ClarinsDetails.get("TWAX").patchValue(l.clarinsDetails.TWAX),l.ClarinsDetails.get("TNAIL").patchValue(l.clarinsDetails.TNAIL),l.ClarinsDetails.get("GVSOLD").patchValue(l.clarinsDetails.GVSOLD),l.ClarinsDetails.get("TNEW").patchValue(l.clarinsDetails.TNEW),l.ClarinsDetails.get("TEXIST").patchValue(l.clarinsDetails.TEXIST),l.ClarinsDetails.get("TCCARD").patchValue(l.clarinsDetails.TCCARD),l.ClarinsDetails.get("PREBOOK").patchValue(l.clarinsDetails.PREBOOK),l.ClarinsDetails.get("GVRED").patchValue(l.clarinsDetails.GVRED),l.ClarinsDetails.get("RECRUITMENT_DRIVE").patchValue(l.clarinsDetails.RECRUITMENT_DRIVE),l.ClarinsDetails.get("BSKIN").patchValue(l.clarinsDetails.BSKIN),l.ClarinsDetails.get("BCOL").patchValue(l.clarinsDetails.BCOL),l.ClarinsDetails.get("BMEN").patchValue(l.clarinsDetails.BMEN),l.ClarinsDetails.get("BFOUND").patchValue(l.clarinsDetails.BFOUND),l.ClarinsDetails.get("BUNIT").patchValue(l.clarinsDetails.BUNIT),l.ClarinsDetails.get("BTREAT").patchValue(l.clarinsDetails.BTREAT),l.ClarinsDetails.get("BGVSOLD").patchValue(l.clarinsDetails.BGVSOLD),l.ClarinsDetails.get("BNEW").patchValue(l.clarinsDetails.BNEW),l.ClarinsDetails.get("BEXIST").patchValue(l.clarinsDetails.BEXIST),l.ClarinsDetails.get("BREBOOK").patchValue(l.clarinsDetails.BREBOOK),l.ClarinsDetails.get("BGVRED").patchValue(l.clarinsDetails.BGVRED),l.ClarinsDetails.get("NOTES").patchValue(l.clarinsDetails.NOTES),l.ClarinsDetails.get("INPUTBY").patchValue(l.clarinsDetails.INPUTBY),null!==l.clarinsDetails.INPUTDATE&&l.ClarinsDetails.get("INPUTDATE").patchValue(l.datePipe.transform(l.clarinsDetails.INPUTDATE,"dd-MMM-yyyy"))})}},{key:"GetClarinsDetails_New",value:function(t){var e=this,a=this.clarinsAll.findIndex(function(e){return e.EMPNO===t});-1!==a?this.clarinsAll.forEach(function(a){console.log(a),a.EMPNO===t&&(e.ClarinsDetails.get("ACC").patchValue(a.ACC.toString()),e.ClarinsDetails.get("EMPNO").patchValue(a.EMPNO.toString()),e.ClarinsDetails.get("CTARG").patchValue(a.CTARG),e.ClarinsDetails.get("TRTARG").patchValue(a.TRTARG),e.ClarinsDetails.get("TTARG").patchValue(a.TTARG),e.ClarinsDetails.get("BTRTARG").patchValue(a.BTRTARG),e.ClarinsDetails.get("BTTARG").patchValue(a.BTTARG),e.ClarinsDetails.get("CSKIN").patchValue(a.CSKIN),e.ClarinsDetails.get("CCOL").patchValue(a.CCOL),e.ClarinsDetails.get("CMEN").patchValue(a.CMEN),e.ClarinsDetails.get("CFOUND").patchValue(a.CFOUND),e.ClarinsDetails.get("CUNITS").patchValue(a.CUNITS),e.ClarinsDetails.get("CNEW").patchValue(a.CNEW),e.ClarinsDetails.get("CEXIST").patchValue(a.CEXIST),e.ClarinsDetails.get("CNON").patchValue(a.CNON),e.ClarinsDetails.get("CRED").patchValue(a.CRED),e.ClarinsDetails.get("TRSKIN").patchValue(a.TRSKIN),e.ClarinsDetails.get("TRCOL").patchValue(a.TRCOL),e.ClarinsDetails.get("TRMEN").patchValue(a.TRMEN),e.ClarinsDetails.get("TRFOUND").patchValue(a.TRFOUND),e.ClarinsDetails.get("TRUNITS").patchValue(a.TRUNITS),e.ClarinsDetails.get("TWAX").patchValue(a.TWAX),e.ClarinsDetails.get("TNAIL").patchValue(a.TNAIL),e.ClarinsDetails.get("GVSOLD").patchValue(a.GVSOLD),e.ClarinsDetails.get("TNEW").patchValue(a.TNEW),e.ClarinsDetails.get("TEXIST").patchValue(a.TEXIST),e.ClarinsDetails.get("TCCARD").patchValue(a.TCCARD),e.ClarinsDetails.get("PREBOOK").patchValue(a.PREBOOK),e.ClarinsDetails.get("GVRED").patchValue(a.GVRED),e.ClarinsDetails.get("RECRUITMENT_DRIVE").patchValue(a.RECRUITMENT_DRIVE),e.ClarinsDetails.get("BSKIN").patchValue(a.BSKIN),e.ClarinsDetails.get("BCOL").patchValue(a.BCOL),e.ClarinsDetails.get("BMEN").patchValue(a.BMEN),e.ClarinsDetails.get("BFOUND").patchValue(a.BFOUND),e.ClarinsDetails.get("BUNIT").patchValue(a.BUNIT),e.ClarinsDetails.get("BTREAT").patchValue(a.BTREAT),e.ClarinsDetails.get("BGVSOLD").patchValue(a.BGVSOLD),e.ClarinsDetails.get("BNEW").patchValue(a.BNEW),e.ClarinsDetails.get("BEXIST").patchValue(a.BEXIST),e.ClarinsDetails.get("BREBOOK").patchValue(a.BREBOOK),e.ClarinsDetails.get("BGVRED").patchValue(a.BGVRED),e.ClarinsDetails.get("NOTES").patchValue(a.NOTES),e.ClarinsDetails.get("INPUTBY").patchValue(a.INPUTBY),e.ClarinsDetails.get("INPUTDATE").patchValue(e.datePipe.transform(a.INPUTDATE,"dd-MMM-yyyy")))}):-1===a&&(this.ClarinsDetails.get("ACC").patchValue(localStorage.getItem("ACC")),this.ClarinsDetails.get("EMPNO").patchValue(t.toString()),this.ClarinsDetails.get("CTARG").patchValue(""),this.ClarinsDetails.get("TRTARG").patchValue(""),this.ClarinsDetails.get("TTARG").patchValue(""),this.ClarinsDetails.get("BTRTARG").patchValue(""),this.ClarinsDetails.get("BTTARG").patchValue(""),this.ClarinsDetails.get("CSKIN").patchValue(""),this.ClarinsDetails.get("CCOL").patchValue(""),this.ClarinsDetails.get("CMEN").patchValue(""),this.ClarinsDetails.get("CFOUND").patchValue(""),this.ClarinsDetails.get("CUNITS").patchValue(""),this.ClarinsDetails.get("CNEW").patchValue(""),this.ClarinsDetails.get("CEXIST").patchValue(""),this.ClarinsDetails.get("CNON").patchValue(""),this.ClarinsDetails.get("CRED").patchValue(""),this.ClarinsDetails.get("TRSKIN").patchValue(""),this.ClarinsDetails.get("TRCOL").patchValue(""),this.ClarinsDetails.get("TRMEN").patchValue(""),this.ClarinsDetails.get("TRFOUND").patchValue(""),this.ClarinsDetails.get("TRUNITS").patchValue(""),this.ClarinsDetails.get("TWAX").patchValue(""),this.ClarinsDetails.get("TNAIL").patchValue(""),this.ClarinsDetails.get("GVSOLD").patchValue(""),this.ClarinsDetails.get("TNEW").patchValue(""),this.ClarinsDetails.get("TEXIST").patchValue(""),this.ClarinsDetails.get("TCCARD").patchValue(""),this.ClarinsDetails.get("PREBOOK").patchValue(""),this.ClarinsDetails.get("GVRED").patchValue(""),this.ClarinsDetails.get("RECRUITMENT_DRIVE").patchValue(""),this.ClarinsDetails.get("BSKIN").patchValue(""),this.ClarinsDetails.get("BCOL").patchValue(""),this.ClarinsDetails.get("BMEN").patchValue(""),this.ClarinsDetails.get("BFOUND").patchValue(""),this.ClarinsDetails.get("BUNIT").patchValue(""),this.ClarinsDetails.get("BTREAT").patchValue(""),this.ClarinsDetails.get("BGVSOLD").patchValue(""),this.ClarinsDetails.get("BNEW").patchValue(""),this.ClarinsDetails.get("BEXIST").patchValue(""),this.ClarinsDetails.get("BREBOOK").patchValue(""),this.ClarinsDetails.get("BGVRED").patchValue(""),this.ClarinsDetails.get("NOTES").patchValue(""),this.ClarinsDetails.get("INPUTBY").patchValue(localStorage.getItem("username")),this.ClarinsDetails.get("INPUTDATE").patchValue(this.datePipe.transform(new Date,"dd-MMM-yyyy")))}},{key:"CITotal",value:function(){var t=this;this.ClarinsDetails.valueChanges.subscribe(function(e){t.CItotal=parseInt(e.CSKIN||0)+parseInt(e.CCOL||0)+parseInt(e.CMEN||0)+parseInt(e.CFOUND||0)})}},{key:"TRTotal",value:function(){var t=this;this.ClarinsDetails.valueChanges.subscribe(function(e){t.TRtotal=parseInt(e.TRSKIN||0)+parseInt(e.TRCOL||0)+parseInt(e.TRMEN||0)+parseInt(e.TRFOUND||0)})}},{key:"TSTotal",value:function(){var t=this;this.ClarinsDetails.valueChanges.subscribe(function(e){t.TStotal=parseInt(e.TTREAT||0)+parseInt(e.TWAX||0)+parseInt(e.TNAIL||0)+parseInt(e.GVSOLD||0)})}},{key:"BTRTotal",value:function(){var t=this;this.ClarinsDetails.valueChanges.subscribe(function(e){t.BTRtotal=parseInt(e.BSKIN||0)+parseInt(e.BCOL||0)+parseInt(e.BMEN||0)+parseInt(e.BFOUND||0)})}},{key:"BTTotal",value:function(){var t=this;this.ClarinsDetails.valueChanges.subscribe(function(e){t.BTtotal=parseInt(e.BTREAT||0)+parseInt(e.BGVSOLD||0)})}},{key:"resetForm",value:function(){this.ClarinsDetails.reset(),this.ClarinsDetails.get("INPUTBY").patchValue(localStorage.getItem("username")),this.ClarinsDetails.get("INPUTDATE").patchValue(this.datePipe.transform(new Date,"dd-MMM-yyyy"))}},{key:"Delete",value:function(t,e,a,l){var i=this;a&&this.clarinsService.Delete(t,e,a,l).subscribe(function(t){null==t&&(i.toastr.warning("Deleted Successfully","Clarins Sales"),i.router.navigateByUrl("/home/clarins/ClarinsOverView"))},function(t){console.log(t)})}},{key:"keyevent",value:function(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))}},{key:"setPrevFocus",value:function(t){for(var e=Object.keys(this.ClarinsDetails.controls),a=e.indexOf(t)-1;a>=0;a--){var l=this.renderer.selectRootElement(this.aForm.nativeElement[e[a]]);if(l&&this.interactivityChecker.isFocusable(l)){l.focus(),l.select();break}}}},{key:"setNextFocus",value:function(t){for(var e=Object.keys(this.ClarinsDetails.controls),a=e.indexOf(t)+1;a<e.length;a++){var l=this.renderer.selectRootElement(this.aForm.nativeElement[e[a]]);if(l&&this.interactivityChecker.isFocusable(l)){l.focus(),l.select();break}}}},{key:"numberOnly",value:function(t){var e=t.which?t.which:t.keyCode;return!(e>31&&(e<48||e>57))}},{key:"selectEvent",value:function(t){var e=this;this.clarinsService.GetConsultantInfo(t.EMPNO).subscribe(function(t){t&&(e.ClarinsDetails.get("EMPNO").patchValue(t.EMPNO.toString()),e.ClarinsDetails.get("TITLE").patchValue(t.TITLE),e.ClarinsDetails.get("EMPLOYEE").setValue(t.EMPLOYEE))}),this.setFocus("myInput"),this.GetClarinsDetails(localStorage.getItem("ACC"),t.EMPNO,localStorage.getItem("WEEK"))}},{key:"onChangeSearch",value:function(t){}},{key:"searchCleared",value:function(){}},{key:"setFocus",value:function(t){Object(T.C)(this.platformId)&&this[t].nativeElement.focus()}},{key:"Cancel",value:function(){this.router.navigateByUrl("/home/clarins/ClarinsOverView")}},{key:"NextEmployee",value:function(t){var e=this,a=this.EMPLOYEE.findIndex(function(e){return e.EMPNO.toString()===t});a!==this.EMPLOYEE.length-1?this.EMPLOYEES.forEach(function(t){e.GetClarinsDetails_New(t[a+1].EMPNO)}):this.toastr.warning("Now at the botton of the rows","Clarins Data Entry")}},{key:"PreviousEmployee",value:function(t){var e=this,a=this.EMPLOYEE.findIndex(function(e){return e.EMPNO.toString()===t});-1!==a&&0!==a?this.EMPLOYEES.forEach(function(t){e.GetClarinsDetails_New(t[a-1].EMPNO)}):this.toastr.warning("Now at the top of the rows","Clarins Data Entry")}},{key:"Clarins",get:function(){return this.ClarinsDataEntryForm.get("Clarins")}},{key:"ClarinsDetails",get:function(){return this.ClarinsDataEntryForm.get("ClarinsDetails")}},{key:"ClarinsOverView",get:function(){return this.ClarinsDataEntryForm.get("ClarinsOverView")}}]),e}(),B.\u0275fac=function(t){return new(t||B)(o.Mb(s.c),o.Mb(r.e),o.Mb(o.l),o.Mb(o.E),o.Mb(N.d),o.Mb(T.f),o.Mb(h),o.Mb(v.a),o.Mb(c.b),o.Mb(o.B))},B.\u0275cmp=o.Gb({type:B,selectors:[["app-clarins-data-entry"]],viewQuery:function(t,e){var a;1&t&&(o.Pc(y,!0),o.Pc(O,!0)),2&t&&(o.vc(a=o.dc())&&(e.aForm=a.first),o.vc(a=o.dc())&&(e.myInput=a.first))},hostBindings:function(t,e){1&t&&o.cc("keyup",function(t){return e.keyevent(t)},!1,o.yc)},decls:452,vars:110,consts:[[1,"container-fluid"],["autocomplete","off",3,"formGroup"],["aForm",""],[1,"row","mt-2"],[1,"col-md-12",2,"padding-right","15px","margin-right","0px"],[1,"shadow-sm","card"],[1,"card-body"],[1,"card-title",2,"width","22%"],["type","text","placeholder","OVER VIEW INFORMATION","readonly","true",1,"form-control","form-control-sm","bg-white","text-center","pformat"],[1,"row"],[1,"col-md-3",2,"padding-right","2px"],["formGroupName","Clarins"],[1,"col-sm-12"],[1,"row","no-padding","bottom-padding"],[1,"col-sm-8"],["type","text","formControlName","ACC","id","ACC","name","ACC","placeholder","ACCOUNT","tooltip","ACCOUNT","placement","top","theme","light","readonly","true",1,"form-control","form-control-sm","bg-white",2,"font-size","12px",3,"hide-delay"],["type","text","formControlName","WEEK","id","WEEK","name","WEEK","placeholder","WEEK","readonly","true",1,"form-control","form-control-sm","bg-white","input1",2,"font-size","12px"],["type","text","formControlName","STORE","id","STORE","name","STORE","placeholder","STORE","readonly","true",1,"form-control","form-control-sm","bg-white",2,"font-size","9px"],["type","text","formControlName","TELEPHONE","id","TELEPHONE","placeholder","TELEPHONE","readonly","true",1,"form-control","form-control-sm","bg-white",2,"font-size","12px"],[1,"col-md-3",2,"padding-left","2px","padding-right","2px"],["formGroupName","ClarinsOverView"],["for","Total Account Sales",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],[1,"col-sm-6","a"],["type","text","formControlName","TotalAccountSales","id","TotalAccountSales","placeholder","Total Account Sales","readonly","true",1,"form-control","form-control-sm","a",3,"value"],["for","Total Counter",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],["type","text","formControlName","TotalCounter","id","TotalCounter","placeholder","Total Counter","readonly","true",1,"form-control","form-control-sm","a",3,"value"],["for","Total SPA Retail",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],[1,"col-sm-6",2,"padding-left","6px","padding-right","10px"],["type","text","formControlName","TotalSpaRetail","id","TotalSpaRetail","placeholder","Total SPA Retail","readonly","true",1,"form-control","form-control-sm","a",3,"value"],["for","Total SPA Treatment",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],["type","text","formControlName","TotalSpaTreatment","id","TotalSpaTreatment","placeholder","Total SPA Treatment","readonly","true",1,"form-control","form-control-sm","a",3,"value"],["for","Total Account Target",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],["type","text","formControlName","TotalAccountTraget","id","TotalAccountTraget","placeholder","Total Account Target","readonly","true",1,"form-control","form-control-sm","a",3,"value"],["for","Counter Target",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],["type","text","formControlName","CounterTarget","id","CounterTarget","placeholder","Counter Target","readonly","true",1,"form-control","form-control-sm","a",3,"value"],["for","TR Target",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],["type","text","formControlName","TRTarget","id","TRTarget","placeholder","TR Target","readonly","true",1,"form-control","form-control-sm","a",3,"value"],["for","Treatment Target",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],["type","text","formControlName","TreatmentsTarget","id","TreatmentsTarget","placeholder","Treatments Target","readonly","true",1,"form-control","form-control-sm","a",3,"value"],["for","Total BB TR",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],["type","text","formControlName","TotalBBTR","id","TotalBBTR","placeholder","Total BB TR","readonly","true",1,"form-control","form-control-sm","a",3,"value"],["for","Total BB Treatment",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],["type","text","formControlName","TotalBBTreatment","id","TotalBBTreatment","placeholder","Total BB Treatment","readonly","true",1,"form-control","form-control-sm","a",3,"value"],["for","BB TR Target",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],["type","text","formControlName","BBTRTarget","id","BBTRTarget","placeholder","BB TR Target","readonly","true",1,"form-control","form-control-sm","a",3,"value"],["for","BB Treatment Target",1,"col-sm-6","col-form-label","text-right","no-padding","mt-1"],["type","text","formControlName","BBTreatmentTarget","id","BBTreatmentTarget","placeholder","BB Treatment Target","readonly","true",1,"form-control","form-control-sm","a",3,"value"],[1,"row","mt-0"],[1,"col-md-5",2,"padding-right","1px","margin-right","0px"],[1,"card-title",2,"width","50%"],["type","text","placeholder","EMPLOYEE INFORMATION","readonly","true",1,"form-control","form-control-sm","bg-white","text-center","pformat"],[1,"col-md-12",2,"padding-right","2px"],["formGroupName","ClarinsDetails"],[1,"col-sm-6",2,"padding-right","1px"],["formControlName","EMPNO","notFoundText","Not found","id","EMPNO","name","EMPNO","autofocus","","tooltip","EMPNO","placement","top","theme","light",3,"data","initialValue","searchKeyword","placeholder","minQueryLength","itemTemplate","notFoundTemplate","hide-delay","selected","inputChanged","inputCleared"],["ngAutoCompleteStatic",""],["itemTemplateStatic",""],["notFoundTemplate",""],[1,"col-sm-6",2,"padding-left","2px"],["type","text","id","Title","formControlName","TITLE","placeholder","Title","readonly","true",1,"form-control","form-control-sm","bg-white"],["type","text","id","EMPLOYEE","formControlName","EMPLOYEE","placeholder","EMPLOYEE NAME","readonly","true",1,"form-control","form-control-sm","bg-white"],[1,"col-md-7",2,"padding-left","1px","margin-left","0px"],[1,"card-title",2,"width","40%"],["type","text","placeholder","WEEKLY PERSONAL TARGET","readonly","true",1,"form-control","form-control-sm","bg-white","text-center","pformat"],[1,"col-sm-3","text-center",2,"padding-right","1px"],[1,"control-label"],["type","text","formControlName","CTARG","id","CTARG","name","CTARG","placeholder","Counter Target","tooltip","Counter Target","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["myInput",""],[1,"col-sm-3","text-center",2,"padding-left","1px","padding-right","1px"],["type","text","formControlName","TRTARG","id","TRTARG","name","TRTARG","placeholder","Treatment Retail","tooltip","Treatment Retail","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","TTARG","id","TTARG","name","TTARG","placeholder","Treatments","tooltip","Treatments","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BTRTARG","id","BTRTARG","name","BTRTARG","placeholder","BBT Retail","tooltip","BBT Retail","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","BTTARG","id","BTTARG","name","BTTARG","placeholder","BB Treatments","tooltip","BB Treatments","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"col-md-10",2,"padding-right","1px","margin-right","0px"],[1,"card-title",2,"width","30%"],["type","text","placeholder","COUNTER INFORMATION","readonly","true",1,"form-control","form-control-sm","bg-white","text-center","pformat"],[1,"col-sm-2","text-center",2,"padding-right","1px"],["type","text","formControlName","CSKIN","id","CSKIN","name","CSKIN","placeholder","Skincare","tooltip","Skincare","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","CCOL","id","CCOL","name","CCOL","placeholder","Color","tooltip","Color","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","CMEN","id","CMEN","placeholder","Mens","tooltip","Mens","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","CFOUND","id","CFOUND","placeholder","Foundation","tooltip","Foundation","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","disabled","true","placeholder","Total Sales","tooltip","Total Sales","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",2,"background-color","lightgreen",3,"hide-delay","value"],["type","text","formControlName","CUNITS","id","CUNITS","placeholder","Total Units","tooltip","Total Units","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","CNEW","id","CNEW","placeholder","New","tooltip","New","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","CEXIST","id","CEXIST","placeholder","Customer Existing","tooltip","Customer Existing","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","CNON","id","CNON","placeholder","Non Sales","tooltip","Non Sales","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","CRED","id","CRED","placeholder","Redemption","tooltip","Redemption","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"col-md-2",2,"padding-left","10px","padding-right","15px","margin-left","0px","margin-right","0px"],[1,"shadow-sm","card",2,"padding-left","0px","padding-right","0px","margin-left","0px","margin-right","0px"],[1,"card-title",2,"width","90%"],["type","text","placeholder","Total Sales","readonly","true",1,"form-control","form-control-sm","bg-white","text-center","pformat"],[1,"col-md-12",2,"padding-right","0px"],[1,"col-sm-12","text-center",2,"padding-left","1px","padding-right","1px"],["type","text","id","TotalSales","placeholder","Total Sales","tooltip","Total Sales","placement","top","theme","light",1,"form-control","form-control-sm",2,"background-color","lightgreen",3,"hide-delay","value"],[1,"card-title",2,"width","46%"],["type","text","placeholder","TREATMENT RETAIL SALES","readonly","true",1,"form-control","form-control-sm","bg-white","text-center","pformat"],[1,"col-sm-4","text-center",2,"padding-right","1px"],["type","text","formControlName","TRSKIN","id","TRSKIN","placeholder","Skincare","tooltip","Skincare","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"col-sm-4","text-center",2,"padding-left","1px","padding-right","1px"],["type","text","formControlName","TRCOL","id","TRCOL","placeholder","Color","tooltip","Color","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","TRMEN","id","TRMEN","placeholder","Mens","tooltip","Mens","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","TRFOUND","id","TRFOUND","placeholder","Foundation","tooltip","Foundation","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","placeholder","Total Sales","tooltip","Total Sales","placement","top","theme","light","disabled","","NumberOnly","",1,"form-control","form-control-sm",2,"background-color","lightgreen",3,"hide-delay","value"],["type","text","formControlName","TRUNITS","id","TRUNITS","placeholder","Total Units","tooltip","Total Units","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"card-title",2,"width","28%"],["type","text","placeholder","TREATMENT SALES","readonly","true",1,"form-control","form-control-sm","bg-white","text-center","pformat"],["type","text","formControlName","TTREAT","id","TTREAT","placeholder","Treatments","tooltip","Treatments","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","TWAX","id","TWAX","placeholder","Waxing","tooltip","Waxing","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","TNAIL","id","TNAIL","placeholder","Nails","tooltip","Nails","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","GVSOLD","id","GVSOLD","placeholder","GV Sold","tooltip","GV Sold","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","TNEW","id","TNEW","placeholder","New","tooltip","New","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","TEXIST","id","TEXIST","placeholder","Existing","tooltip","Existing","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","TCCARD","id","TCCARD","placeholder","No. of Treatments","tooltip","No. of Treatments","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","PREBOOK","id","PREBOOK","placeholder","No. of Rebooking","tooltip","No. of Rebooking","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","GVRED","id","GVRED","placeholder","GV Redeemed","tooltip","GV Redeemed","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","RECRUITMENT_DRIVE","id","RECRUITMENT_DRIVE","placeholder","Time for Me","tooltip","Time for Me","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"card-title",2,"width","68%"],["type","text","placeholder","BEAUTYBAR TREATMENT RETAIL SALES","readonly","true",1,"form-control","form-control-sm","bg-white","text-center","pformat"],["type","text","formControlName","BSKIN","id","BSKIN","placeholder","Skincare","tooltip","Skincare","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BCOL","id","BCOL","placeholder","Color","tooltip","Color","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BMEN","id","BMEN","placeholder","Mens","tooltip","Mens","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BFOUND","id","BFOUND","placeholder","Foundation","tooltip","Foundation","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BUNIT","id","BUNIT","placeholder","Total Units","tooltip","Total Units","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"card-title",2,"width","42%"],["type","text","placeholder","BEAUTYBAR TREATMENT SALES","readonly","true",1,"form-control","form-control-sm","bg-white","text-center","pformat"],["type","text","formControlName","BTREAT","id","BTREAT","placeholder","Treatments","tooltip","Treatments","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BGVSOLD","id","BGVSOLD","placeholder","Gift Voucher Sold","tooltip","Gift Voucher Sold","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"col-sm-4","text-center",2,"padding-left","1px"],["type","text","formControlName","BNEW","id","BNEW","placeholder","New","tooltip","New","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BEXIST","id","BEXIST","placeholder","Existing","tooltip","Existing","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],["type","text","formControlName","BREBOOK","id","BREBOOK","placeholder","No. of Rebookings","tooltip","No. of Rebookings","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","BGVRED","id","BGVRED","placeholder","GV Redeemed","tooltip","GV Redeemed","placement","top","theme","light","NumberOnly","",1,"form-control","form-control-sm",3,"hide-delay"],[1,"card-title",2,"width","16%"],["type","text","placeholder","NOTES","readonly","true",1,"form-control","form-control-sm","bg-white","text-center","pformat"],[1,"col-sm-12",2,"padding-right","1px"],["formControlName","NOTES","id","NOTES","placeholder","NOTES","tooltip","NOTES","placement","top","theme","light","rows","1",1,"form-control","form-control-sm",2,"font-size","11px",3,"hide-delay"],[1,"col-md-6",2,"padding-left","1px","margin-left","0px"],[1,"card-title",2,"width","38%"],["type","text","placeholder","USER INFORMATION","readonly","true",1,"form-control","form-control-sm","bg-white","text-center","pformat"],[1,"col-sm-8",2,"padding-right","1px"],["type","text","formControlName","INPUTBY","id","INPUTBY","placeholder","INPUTBY","tooltip","INPUTBY","placement","top","theme","light","readonly","true",1,"form-control","form-control-sm","text-center",3,"hide-delay"],[1,"col-sm-4",2,"padding-left","1px"],["type","text","formControlName","INPUTDATE","id","INPUTDATE","placeholder","INPUTDATE","tooltip","INPUTDATE","placement","top","theme","light","readonly","true",1,"form-control","form-control-sm","text-center",3,"hide-delay"],[1,"col-sm-6","mt-0"],[1,"row","no-padding","mb-0"],[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"],[3,"innerHTML"]],template:function(t,e){if(1&t&&(o.Sb(0,"div",0),o.Sb(1,"form",1,2),o.Sb(3,"div",3),o.Sb(4,"div",4),o.Sb(5,"div",5),o.Sb(6,"div",6),o.Sb(7,"p",7),o.Nb(8,"input",8),o.Rb(),o.Sb(9,"div",9),o.Sb(10,"div",10),o.Sb(11,"div",11,2),o.Sb(13,"div",12),o.Sb(14,"div",13),o.Sb(15,"div",14),o.Nb(16,"input",15),o.Rb(),o.Rb(),o.Rb(),o.Sb(17,"div",12),o.Sb(18,"div",13),o.Sb(19,"div",14),o.Nb(20,"input",16),o.Rb(),o.Rb(),o.Rb(),o.Sb(21,"div",12),o.Sb(22,"div",13),o.Sb(23,"div",12),o.Nb(24,"input",17),o.Rb(),o.Rb(),o.Rb(),o.Sb(25,"div",12),o.Sb(26,"div",13),o.Sb(27,"div",14),o.Nb(28,"input",18),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(29,"div",19),o.Sb(30,"div",20),o.Sb(31,"div",12),o.Sb(32,"div",13),o.Sb(33,"label",21),o.Kc(34,"Total Account Sales:"),o.Rb(),o.Sb(35,"div",22),o.Nb(36,"input",23),o.Rb(),o.Rb(),o.Rb(),o.Sb(37,"div",12),o.Sb(38,"div",13),o.Sb(39,"label",24),o.Kc(40,"Total Counter:"),o.Rb(),o.Sb(41,"div",22),o.Nb(42,"input",25),o.Rb(),o.Rb(),o.Rb(),o.Sb(43,"div",12),o.Sb(44,"div",13),o.Sb(45,"label",26),o.Kc(46,"Total SPA Retail:"),o.Rb(),o.Sb(47,"div",27),o.Nb(48,"input",28),o.Rb(),o.Rb(),o.Rb(),o.Sb(49,"div",12),o.Sb(50,"div",13),o.Sb(51,"label",29),o.Kc(52,"Total SPA Treatment:"),o.Rb(),o.Sb(53,"div",27),o.Nb(54,"input",30),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(55,"div",19),o.Sb(56,"div",20),o.Sb(57,"div",12),o.Sb(58,"div",13),o.Sb(59,"label",31),o.Kc(60,"Total Account Target:"),o.Rb(),o.Sb(61,"div",27),o.Nb(62,"input",32),o.Rb(),o.Rb(),o.Rb(),o.Sb(63,"div",12),o.Sb(64,"div",13),o.Sb(65,"label",33),o.Kc(66,"Counter Target:"),o.Rb(),o.Sb(67,"div",27),o.Nb(68,"input",34),o.Rb(),o.Rb(),o.Rb(),o.Sb(69,"div",12),o.Sb(70,"div",13),o.Sb(71,"label",35),o.Kc(72,"TR Target:"),o.Rb(),o.Sb(73,"div",27),o.Nb(74,"input",36),o.Rb(),o.Rb(),o.Rb(),o.Sb(75,"div",12),o.Sb(76,"div",13),o.Sb(77,"label",37),o.Kc(78,"Treatment Target:"),o.Rb(),o.Sb(79,"div",27),o.Nb(80,"input",38),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(81,"div",10),o.Sb(82,"div",20),o.Sb(83,"div",12),o.Sb(84,"div",13),o.Sb(85,"label",39),o.Kc(86,"Total BB TR:"),o.Rb(),o.Sb(87,"div",27),o.Nb(88,"input",40),o.Rb(),o.Rb(),o.Rb(),o.Sb(89,"div",12),o.Sb(90,"div",13),o.Sb(91,"label",41),o.Kc(92,"Total BB Treatment:"),o.Rb(),o.Sb(93,"div",27),o.Nb(94,"input",42),o.Rb(),o.Rb(),o.Rb(),o.Sb(95,"div",12),o.Sb(96,"div",13),o.Sb(97,"label",43),o.Kc(98,"BB TR Target:"),o.Rb(),o.Sb(99,"div",27),o.Nb(100,"input",44),o.Rb(),o.Rb(),o.Rb(),o.Sb(101,"div",12),o.Sb(102,"div",13),o.Sb(103,"label",45),o.Kc(104,"BB Treatment Target:"),o.Rb(),o.Sb(105,"div",27),o.Nb(106,"input",46),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(107,"div",47),o.Sb(108,"div",48),o.Sb(109,"div",5),o.Sb(110,"div",6),o.Sb(111,"p",49),o.Nb(112,"input",50),o.Rb(),o.Sb(113,"div",9),o.Sb(114,"div",51),o.Sb(115,"div",52,2),o.Sb(117,"div",12),o.Sb(118,"div",13),o.Sb(119,"div",53),o.Sb(120,"ng-autocomplete",54,55),o.cc("selected",function(t){return e.selectEvent(t)})("inputChanged",function(t){return e.onChangeSearch(t)})("inputCleared",function(){return e.searchCleared()}),o.fc(122,"async"),o.Rb(),o.Ic(123,V,1,1,"ng-template",null,56,o.Jc),o.Ic(125,A,1,1,"ng-template",null,57,o.Jc),o.Rb(),o.Sb(127,"div",58),o.Nb(128,"input",59),o.Rb(),o.Rb(),o.Rb(),o.Sb(129,"div",12),o.Sb(130,"div",13),o.Sb(131,"div",12),o.Nb(132,"input",60),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(133,"div",61),o.Sb(134,"div",5),o.Sb(135,"div",6),o.Sb(136,"p",62),o.Nb(137,"input",63),o.Rb(),o.Sb(138,"div",9),o.Sb(139,"div",51),o.Sb(140,"div",52,2),o.Sb(142,"div",12),o.Sb(143,"div",13),o.Sb(144,"div",64),o.Sb(145,"label",65),o.Kc(146,"Counter Target:"),o.Rb(),o.Nb(147,"input",66,67),o.Rb(),o.Sb(149,"div",68),o.Sb(150,"label",65),o.Kc(151,"Treatment Retail:"),o.Rb(),o.Nb(152,"input",69),o.Rb(),o.Sb(153,"div",70),o.Sb(154,"label",65),o.Kc(155,"Treatments:"),o.Rb(),o.Nb(156,"input",71),o.Rb(),o.Sb(157,"div",70),o.Sb(158,"label",65),o.Kc(159,"BBT Retail:"),o.Rb(),o.Nb(160,"input",72),o.Rb(),o.Sb(161,"div",73),o.Sb(162,"label",65),o.Kc(163,"BB Treatments:"),o.Rb(),o.Nb(164,"input",74),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(165,"div",47),o.Sb(166,"div",75),o.Sb(167,"div",5),o.Sb(168,"div",6),o.Sb(169,"p",76),o.Nb(170,"input",77),o.Rb(),o.Sb(171,"div",9),o.Sb(172,"div",51),o.Sb(173,"div",52,2),o.Sb(175,"div",12),o.Sb(176,"div",13),o.Sb(177,"div",78),o.Sb(178,"label",65),o.Kc(179,"Skincare:"),o.Rb(),o.Nb(180,"input",79),o.Rb(),o.Sb(181,"div",70),o.Sb(182,"label",65),o.Kc(183,"Color:"),o.Rb(),o.Nb(184,"input",80),o.Rb(),o.Sb(185,"div",70),o.Sb(186,"label",65),o.Kc(187,"Mens:"),o.Rb(),o.Nb(188,"input",81),o.Rb(),o.Sb(189,"div",70),o.Sb(190,"label",65),o.Kc(191,"Foundation:"),o.Rb(),o.Nb(192,"input",82),o.Rb(),o.Sb(193,"div",70),o.Sb(194,"label",65),o.Kc(195,"Total Sales:"),o.Rb(),o.Nb(196,"input",83),o.Rb(),o.Rb(),o.Rb(),o.Sb(197,"div",12),o.Sb(198,"div",13),o.Sb(199,"div",78),o.Sb(200,"label",65),o.Kc(201,"Total Units:"),o.Rb(),o.Nb(202,"input",84),o.Rb(),o.Sb(203,"div",70),o.Sb(204,"label",65),o.Kc(205,"New:"),o.Rb(),o.Nb(206,"input",85),o.Rb(),o.Sb(207,"div",70),o.Sb(208,"label",65),o.Kc(209,"Customer Existing:"),o.Rb(),o.Nb(210,"input",86),o.Rb(),o.Sb(211,"div",70),o.Sb(212,"label",65),o.Kc(213,"Non Sales:"),o.Rb(),o.Nb(214,"input",87),o.Rb(),o.Sb(215,"div",70),o.Sb(216,"label",65),o.Kc(217,"Redemption:"),o.Rb(),o.Nb(218,"input",88),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(219,"div",89),o.Sb(220,"div",90),o.Sb(221,"div",6),o.Sb(222,"p",91),o.Nb(223,"input",92),o.Rb(),o.Sb(224,"div",9),o.Sb(225,"div",93),o.Sb(226,"div",52),o.Sb(227,"div",12),o.Sb(228,"div",13),o.Sb(229,"div",94),o.Sb(230,"label",65),o.Kc(231,"Total Sales:"),o.Rb(),o.Nb(232,"input",95),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(233,"div",47),o.Sb(234,"div",48),o.Sb(235,"div",5),o.Sb(236,"div",6),o.Sb(237,"p",96),o.Nb(238,"input",97),o.Rb(),o.Sb(239,"div",9),o.Sb(240,"div",51),o.Sb(241,"div",52,2),o.Sb(243,"div",12),o.Sb(244,"div",13),o.Sb(245,"div",98),o.Sb(246,"label",65),o.Kc(247,"Skincare:"),o.Rb(),o.Nb(248,"input",99),o.Rb(),o.Sb(249,"div",100),o.Sb(250,"label",65),o.Kc(251,"Color:"),o.Rb(),o.Nb(252,"input",101),o.Rb(),o.Sb(253,"div",100),o.Sb(254,"label",65),o.Kc(255,"Mens:"),o.Rb(),o.Nb(256,"input",102),o.Rb(),o.Rb(),o.Rb(),o.Sb(257,"div",12),o.Sb(258,"div",13),o.Sb(259,"div",98),o.Sb(260,"label",65),o.Kc(261,"Foundation:"),o.Rb(),o.Nb(262,"input",103),o.Rb(),o.Sb(263,"div",100),o.Sb(264,"label",65),o.Kc(265,"Total Sales:"),o.Rb(),o.Nb(266,"input",104),o.Rb(),o.Sb(267,"div",100),o.Sb(268,"label",65),o.Kc(269,"Total Units:"),o.Rb(),o.Nb(270,"input",105),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(271,"div",61),o.Sb(272,"div",5),o.Sb(273,"div",6),o.Sb(274,"p",106),o.Nb(275,"input",107),o.Rb(),o.Sb(276,"div",9),o.Sb(277,"div",51),o.Sb(278,"div",52,2),o.Sb(280,"div",12),o.Sb(281,"div",13),o.Sb(282,"div",78),o.Sb(283,"label",65),o.Kc(284,"Treatments:"),o.Rb(),o.Nb(285,"input",108),o.Rb(),o.Sb(286,"div",70),o.Sb(287,"label",65),o.Kc(288,"Waxing:"),o.Rb(),o.Nb(289,"input",109),o.Rb(),o.Sb(290,"div",70),o.Sb(291,"label",65),o.Kc(292,"Nails:"),o.Rb(),o.Nb(293,"input",110),o.Rb(),o.Sb(294,"div",70),o.Sb(295,"label",65),o.Kc(296,"GV Sold:"),o.Rb(),o.Nb(297,"input",111),o.Rb(),o.Sb(298,"div",70),o.Sb(299,"label",65),o.Kc(300,"Total Sales:"),o.Rb(),o.Nb(301,"input",104),o.Rb(),o.Sb(302,"div",73),o.Sb(303,"label",65),o.Kc(304,"New:"),o.Rb(),o.Nb(305,"input",112),o.Rb(),o.Rb(),o.Rb(),o.Sb(306,"div",12),o.Sb(307,"div",13),o.Sb(308,"div",78),o.Sb(309,"label",65),o.Kc(310,"Existing:"),o.Rb(),o.Nb(311,"input",113),o.Rb(),o.Sb(312,"div",70),o.Sb(313,"label",65),o.Kc(314,"Treatments:"),o.Rb(),o.Nb(315,"input",114),o.Rb(),o.Sb(316,"div",70),o.Sb(317,"label",65),o.Kc(318,"No. of Rebooking"),o.Rb(),o.Nb(319,"input",115),o.Rb(),o.Sb(320,"div",70),o.Sb(321,"label",65),o.Kc(322,"GV Redeemed:"),o.Rb(),o.Nb(323,"input",116),o.Rb(),o.Sb(324,"div",70),o.Sb(325,"label",65),o.Kc(326,"Time for Me:"),o.Rb(),o.Nb(327,"input",117),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(328,"div",47),o.Sb(329,"div",48),o.Sb(330,"div",5),o.Sb(331,"div",6),o.Sb(332,"p",118),o.Nb(333,"input",119),o.Rb(),o.Sb(334,"div",9),o.Sb(335,"div",51),o.Sb(336,"div",52,2),o.Sb(338,"div",12),o.Sb(339,"div",13),o.Sb(340,"div",98),o.Sb(341,"label",65),o.Kc(342,"Skincare:"),o.Rb(),o.Nb(343,"input",120),o.Rb(),o.Sb(344,"div",100),o.Sb(345,"label",65),o.Kc(346,"Color:"),o.Rb(),o.Nb(347,"input",121),o.Rb(),o.Sb(348,"div",100),o.Sb(349,"label",65),o.Kc(350,"Mens:"),o.Rb(),o.Nb(351,"input",122),o.Rb(),o.Rb(),o.Rb(),o.Sb(352,"div",12),o.Sb(353,"div",13),o.Sb(354,"div",98),o.Sb(355,"label",65),o.Kc(356,"Foundation:"),o.Rb(),o.Nb(357,"input",123),o.Rb(),o.Sb(358,"div",100),o.Sb(359,"label",65),o.Kc(360,"Total Sales:"),o.Rb(),o.Nb(361,"input",104),o.Rb(),o.Sb(362,"div",100),o.Sb(363,"label",65),o.Kc(364,"Total Units:"),o.Rb(),o.Nb(365,"input",124),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(366,"div",61),o.Sb(367,"div",5),o.Sb(368,"div",6),o.Sb(369,"p",125),o.Nb(370,"input",126),o.Rb(),o.Sb(371,"div",9),o.Sb(372,"div",51),o.Sb(373,"div",52,2),o.Sb(375,"div",12),o.Sb(376,"div",13),o.Sb(377,"div",98),o.Sb(378,"label",65),o.Kc(379,"Treatments:"),o.Rb(),o.Nb(380,"input",127),o.Rb(),o.Sb(381,"div",100),o.Sb(382,"label",65),o.Kc(383,"Gift Voucher Sold:"),o.Rb(),o.Nb(384,"input",128),o.Rb(),o.Sb(385,"div",129),o.Sb(386,"label",65),o.Kc(387,"Total Sales:"),o.Rb(),o.Nb(388,"input",104),o.Rb(),o.Rb(),o.Rb(),o.Sb(389,"div",12),o.Sb(390,"div",13),o.Sb(391,"div",64),o.Sb(392,"label",65),o.Kc(393,"New:"),o.Rb(),o.Nb(394,"input",130),o.Rb(),o.Sb(395,"div",68),o.Sb(396,"label",65),o.Kc(397,"Existing:"),o.Rb(),o.Nb(398,"input",131),o.Rb(),o.Sb(399,"div",68),o.Sb(400,"label",65),o.Kc(401,"No. of Rebookings:"),o.Rb(),o.Nb(402,"input",132),o.Rb(),o.Sb(403,"div",133),o.Sb(404,"label",65),o.Kc(405,"GV Redeemed:"),o.Rb(),o.Nb(406,"input",134),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(407,"div",47),o.Sb(408,"div",48),o.Sb(409,"div",5),o.Sb(410,"div",6),o.Sb(411,"p",135),o.Nb(412,"input",136),o.Rb(),o.Sb(413,"div",9),o.Sb(414,"div",51),o.Sb(415,"div",52,2),o.Sb(417,"div",12),o.Sb(418,"div",13),o.Sb(419,"div",137),o.Sb(420,"textarea",138),o.Kc(421,"                                                    "),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(422,"div",139),o.Sb(423,"div",5),o.Sb(424,"div",6),o.Sb(425,"p",140),o.Nb(426,"input",141),o.Rb(),o.Sb(427,"div",9),o.Sb(428,"div",51),o.Sb(429,"div",52,2),o.Sb(431,"div",12),o.Sb(432,"div",13),o.Sb(433,"div",142),o.Nb(434,"input",143),o.Rb(),o.Sb(435,"div",144),o.Nb(436,"input",145),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Sb(437,"div",146),o.Sb(438,"div",147),o.Sb(439,"div",148),o.Sb(440,"button",149),o.cc("click",function(){return e.PreviousEmployee(e.ClarinsDetails.get("EMPNO").value)}),o.Kc(441,"Previous"),o.Rb(),o.Sb(442,"button",149),o.cc("click",function(){return e.NextEmployee(e.ClarinsDetails.get("EMPNO").value)}),o.Kc(443,"Next"),o.Rb(),o.Sb(444,"button",149),o.cc("click",function(){return e.Save()}),o.Kc(445,"Save and Home"),o.Rb(),o.Sb(446,"button",149),o.cc("click",function(){return e.Cancel()}),o.Kc(447,"Cancel"),o.Rb(),o.Sb(448,"button",149),o.cc("click",function(){return e.Delete(e.ClarinsDetails.get("ACC").value,e.ClarinsDetails.get("LN").value,e.ClarinsDetails.get("EMPNO").value,e.ClarinsDetails.get("WEEK").value)}),o.Kc(449,"Delete"),o.Rb(),o.Sb(450,"button",149),o.cc("click",function(){return e.resetForm()}),o.Kc(451,"Refresh"),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb(),o.Rb()),2&t){var a=o.wc(124),l=o.wc(126);o.yb(1),o.mc("formGroup",e.ClarinsDataEntryForm),o.yb(7),o.zb("disabled",!0),o.yb(8),o.mc("hide-delay",100),o.zb("disabled",!0),o.yb(4),o.zb("disabled",!0),o.yb(4),o.zb("disabled",!0),o.yb(4),o.zb("disabled",!0),o.yb(8),o.mc("value",e.ClarinsOverView.get("TotalAccountSales").value- -e.CItotal- -e.TRtotal- -e.TStotal- -e.BTRtotal- -e.BTtotal),o.zb("disabled",!0),o.yb(6),o.mc("value",e.ClarinsOverView.get("TotalCounter").value- -e.CItotal),o.zb("disabled",!0),o.yb(6),o.mc("value",e.ClarinsOverView.get("TotalSpaRetail").value- -e.TRtotal),o.zb("disabled",!0),o.yb(6),o.mc("value",e.ClarinsOverView.get("TotalSpaTreatment").value- -e.TStotal),o.zb("disabled",!0),o.yb(8),o.mc("value",e.ClarinsOverView.get("TotalAccountTraget").value- -e.ClarinsDetails.get("CTARG").value- -e.ClarinsDetails.get("TRTARG").value- -e.ClarinsDetails.get("TTARG").value),o.zb("disabled",!0),o.yb(6),o.mc("value",e.ClarinsOverView.get("CounterTarget").value- -e.ClarinsDetails.get("CTARG").value),o.zb("disabled",!0),o.yb(6),o.mc("value",e.ClarinsOverView.get("TRTarget").value- -e.ClarinsDetails.get("TRTARG").value),o.zb("disabled",!0),o.yb(6),o.mc("value",e.ClarinsOverView.get("TreatmentsTarget").value- -e.ClarinsDetails.get("TTARG").value),o.zb("disabled",!0),o.yb(8),o.mc("value",e.ClarinsOverView.get("TotalBBTR").value- -e.BTRtotal),o.zb("disabled",!0),o.yb(6),o.mc("value",e.ClarinsOverView.get("TotalBBTreatment").value- -e.BTtotal),o.zb("disabled",!0),o.yb(6),o.mc("value",e.ClarinsOverView.get("BBTRTarget").value- -e.ClarinsDetails.get("BTRTARG").value),o.zb("disabled",!0),o.yb(6),o.mc("value",e.ClarinsOverView.get("BBTreatmentTarget").value- -e.ClarinsDetails.get("BTTARG").value),o.zb("disabled",!0),o.yb(6),o.zb("disabled",!0),o.yb(8),o.mc("data",o.gc(122,108,e.EMPLOYEES))("searchKeyword",e.keyword)("placeholder",e.placeholder)("minQueryLength",2)("itemTemplate",a)("notFoundTemplate",l)("hide-delay",100),o.yb(8),o.zb("disabled",!0),o.yb(4),o.zb("disabled",!0),o.yb(5),o.zb("disabled",!0),o.yb(10),o.mc("hide-delay",100),o.yb(5),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(6),o.zb("disabled",!0),o.yb(10),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100)("value",e.CItotal),o.yb(6),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(5),o.zb("disabled",!0),o.yb(9),o.mc("hide-delay",100)("value",e.CItotal- -e.TRtotal- -e.TStotal- -e.BTRtotal- -e.BTtotal),o.zb("disabled",!0),o.yb(6),o.zb("disabled",!0),o.yb(10),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(6),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100)("value",e.TRtotal),o.yb(4),o.mc("hide-delay",100),o.yb(5),o.zb("disabled",!0),o.yb(10),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100)("value",e.TStotal),o.yb(4),o.mc("hide-delay",100),o.yb(6),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(6),o.zb("disabled",!0),o.yb(10),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(6),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100)("value",e.BTRtotal),o.yb(4),o.mc("hide-delay",100),o.yb(5),o.zb("disabled",!0),o.yb(10),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100)("value",e.BTtotal),o.yb(6),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(4),o.mc("hide-delay",100),o.yb(6),o.zb("disabled",!0),o.yb(8),o.mc("hide-delay",100),o.yb(6),o.zb("disabled",!0),o.yb(8),o.mc("hide-delay",100),o.zb("disabled",!0),o.yb(2),o.mc("hide-delay",100),o.zb("disabled",!0)}},directives:[s.t,s.m,s.g,s.h,s.a,s.l,s.e,E.a,u.a,D.a],pipes:[T.b],styles:[".no-padding[_ngcontent-%COMP%]{padding:0}.bottom-padding[_ngcontent-%COMP%]{padding-bottom:5px}.card[_ngcontent-%COMP%]{margin-left:20px}.card-body[_ngcontent-%COMP%]{flex:1 1 auto;min-height:1px;padding-left:2px;padding-bottom:4px}.card-title[_ngcontent-%COMP%]{margin-bottom:.25rem;margin-left:12px;margin-top:-33px!important;width:20%}input[_ngcontent-%COMP%]{font-size:11px}input.a[_ngcontent-%COMP%]{background-color:#90ee90;font-size:12px}label[_ngcontent-%COMP%]{font-size:11px;margin-bottom:0;margin-top: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}.error[_ngcontent-%COMP%]{margin-top:1px;background:#ff0;padding:.5em;display:inline-block;font-size:.9em;margin-bottom:1px}div.a[_ngcontent-%COMP%]{line-height:normal;padding-left:6px;padding-right:10px}div.b[_ngcontent-%COMP%]{line-height:1.6}div.c[_ngcontent-%COMP%]{line-height:80%}div.d[_ngcontent-%COMP%]{line-height:200%}p[_ngcontent-%COMP%]{font-family:Lato}.red[_ngcontent-%COMP%]{color:red}.ng-autocomplete[_ngcontent-%COMP%]{line-height:0!important;white-space:nowrap}[_nghost-%COMP%]     .autocomplete-container .input-container input{font-size:12px;font-weight:500!important;box-sizing:border-box;border:none;box-shadow:none;outline:none;background-color:#fff;color:rgba(0,0,0,.87);width:100%;line-height:4px;height:27px;padding:0 5px 0 12px}[_nghost-%COMP%]     input i{padding-right:0;margin-right:0}[_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}[_nghost-%COMP%]     .autocomplete-container .suggestions-container li:hover a{background-color:rgba(255,0,0,.6);color:#fff!important}[_nghost-%COMP%]     .suggestions-container{display:grid;padding-right:1px;border:1px solid #28a745}[_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:27px;border-radius:4px;padding-right:0;margin-right:0}[_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}#grad1[_ngcontent-%COMP%]{height:26px;background:linear-gradient(180deg,#fff,#f5f5f5)}"]}),B),data:{title:"Clarins Data Entry"}}]}],w=((x=function e(){t(this,e)}).\u0275mod=o.Kb({type:x}),x.\u0275inj=o.Jb({factory:function(t){return new(t||x)},imports:[[r.h.forChild(M)],r.h]}),x),G=i("H8qh"),P=((I=function e(){t(this,e)}).\u0275mod=o.Kb({type:I}),I.\u0275inj=o.Jb({factory:function(t){return new(t||I)},imports:[[w,G.a]]}),I)}}])}();