| Server IP : 72.60.233.178 / Your IP : 216.73.216.91 Web Server : Apache System : Linux srv1210665.hstgr.cloud 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : armaladmin ( 1001) PHP Version : 8.3.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/armaladmin/public_html/pm/property/ |
Upload File : |
!function(){"use strict";function t(n,e){return(t=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(n,e)}function n(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var o,r=i(t);if(n){var a=i(this).constructor;o=Reflect.construct(r,arguments,a)}else o=r.apply(this,arguments);return e(this,o)}}function e(t,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function o(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,i)}return e}function r(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?o(Object(e),!0).forEach(function(n){a(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function a(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function l(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function c(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function u(t,n,e){return n&&c(t.prototype,n),e&&c(t,e),t}(self.webpackChunkmaterial_dashboard_angular=self.webpackChunkmaterial_dashboard_angular||[]).push([[227],{41227:function(e,i,o){o.r(i),o.d(i,{InvoiceModule:function(){return gn}});var a=o(39895),c=o(22238),s=o(99692),d=o(11494),p=o(22759),g=o(66682),m=o(54395),f=o(87519),v=o(68307),h=o(28292),Z=o(3679),_=o(26215),b=o(25917),x=o(88229),y=o(79765),C=o(45435),O=o(46782),A=o(88002),P=o(65792),q=o(37716),T=o(63385),M=o(20852),w=o(57404),U=o(98295),k=o(67441),I=o(72458),E=o(52218),S=o(38583),F=o(7539),N=o(29790),Y=["stepper"];function D(t,n){if(1&t&&(q.TgZ(0,"mat-option",22),q._uU(1),q.qZA()),2&t){var e=n.$implicit;q.Q6J("value",e.id),q.xp6(1),q.AsE(" ",e.property_name," ",e.location," ")}}function B(t,n){if(1&t&&(q.TgZ(0,"mat-error",23),q._uU(1),q.qZA()),2&t){var e=q.oxw();q.xp6(1),q.Oqu(e.formErrors.property_id)}}function Q(t,n){if(1&t&&(q.TgZ(0,"mat-option",22),q._uU(1),q.qZA()),2&t){var e=n.$implicit;q.Q6J("value",e.id),q.xp6(1),q.hij(" ",e.utility_display_name," ")}}function j(t,n){if(1&t&&(q.TgZ(0,"mat-error",23),q._uU(1),q.qZA()),2&t){var e=q.oxw();q.xp6(1),q.Oqu(e.formErrors.utility_id)}}var L,J=((L=function(){function t(n,e,i,o,r,a){var c=this;l(this,t),this.fb=n,this.dialog=e,this._formBuilder=i,this.propertyService=o,this.utilityBillService=r,this.notification=a,this.properties=[],this.errorInForm=new _.X(!1),this.formError$=this.errorInForm.asObservable(),this.loader=!1,this.memberMethods=[],this.groups=[],this.memberStatuses=[],this.memberSources=[],this.memberTypes=[],this.profilePicFileToUpload=null,this.membershipFormFileToUpload=null,this.profilePicUrl="",this.membershipFormToUpload=null,this.membershipFormUrl="",this.urls=new Array,this.details="noooone",this.progress=0,this.units=[],this.units$=(0,b.of)([]),this.propertyServerSideFilteringCtrl=new Z.NI,this.filteredServerSideProperties=new x.t(1),this.searching=!1,this._onDestroy=new y.xQ,this.entryType="manual",this.propertyService.list(["property_name","location"]).subscribe(function(t){return c.properties=t},function(){return c.properties=[]})}return u(t,[{key:"ngOnInit",value:function(){var t=this;this.propertyServerSideFilteringCtrl.valueChanges.pipe((0,C.h)(function(t){return!!t}),(0,v.b)(function(){return t.searching=!0}),(0,O.R)(this._onDestroy),(0,m.b)(200),(0,f.x)(),(0,A.U)(function(n){return t.properties?(n=n.toLowerCase(),console.log("search",n),t.properties.filter(function(t){return console.log("property",t),t.property_name.toLowerCase().indexOf(n)>-1||t.location.toLowerCase().indexOf(n)>-1})):[]}),(0,P.g)(500)).subscribe(function(n){t.searching=!1,t.filteredServerSideProperties.next(n)},function(n){t.searching=!1}),this.utilitySummaryFormGroup=this._formBuilder.group({property_id:["",[Z.kI.required]],utility_id:["",[Z.kI.required]]}),this.utilityBillsFormGroup=this._formBuilder.group({unitBills:this.fb.array([this.utilityBillFieldCreate()])})}},{key:"onPropertyItemChange",value:function(t){this.units=this.properties.find(function(n){return n.id===t}).units,this.units$=(0,b.of)(this.properties.find(function(n){return n.id===t}).units)}},{key:"onUnitItemChange",value:function(t){}},{key:"onToggleChange",value:function(t){this.entryType=t}},{key:"utilityBillFieldsAll",get:function(){return this.utilityBillsFormGroup.get("unitBills")}},{key:"utilityBillFieldCreate",value:function(t){return this.fb.group({unit_id:[null==t?void 0:t.unit_id,[Z.kI.required]],reading_date:[t?null==t?void 0:t.reading_date:(new Date).toISOString().substring(0,10),[Z.kI.required]],current_reading:[null==t?void 0:t.current_reading,[Z.kI.required]]})}},{key:"utilityBillFieldAdd",value:function(t){this.utilityBillFields=this.utilityBillsFormGroup.get("unitBills"),this.utilityBillFields.push(this.utilityBillFieldCreate(t))}},{key:"utilityBillFieldRemove",value:function(t){this.utilityBillFields=this.utilityBillsFormGroup.get("unitBills"),this.utilityBillFields.removeAt(t)}},{key:"utilityBillFieldCopy",value:function(t){this.utilityBillFields=this.utilityBillsFormGroup.get("unitBills");var n=[];n.push(this.utilityBillFields.value[t]),this.utilityBillFieldAdd.apply(this,n)}},{key:"create",value:function(){var t=this;this.errorInForm.next(!1);var n=r(r({},this.utilitySummaryFormGroup.value),this.utilityBillsFormGroup.value);this.loader=!0,this.utilityBillService.create(n).subscribe(function(n){t.notification.showNotification("success","Success !! Utility Readings Added.")},function(n){var e,i;if(t.errorInForm.next(!0),t.loader=!1,0!==n.member){if(t.formErrors=null==n?void 0:n.error,t.formErrors&&t.formErrors)for(var o in t.formErrors)t.stepper.selectedIndex=0,t.utilitySummaryFormGroup.controls[o]&&(null===(e=t.utilitySummaryFormGroup.controls[o])||void 0===e||e.markAsTouched(),t.utilitySummaryFormGroup.controls[o].setErrors({incorrect:!0})),t.utilityBillsFormGroup.controls[o]&&(null===(i=t.utilityBillsFormGroup.controls[o])||void 0===i||i.markAsTouched(),t.utilityBillsFormGroup.controls[o].setErrors({incorrect:!0}))}else t.notification.showNotification("danger","Connection Error !! Nothing created. Check your connection and retry.")})}}]),t}()).\u0275fac=function(t){return new(t||L)(q.Y36(Z.qu),q.Y36(c.uw),q.Y36(Z.qu),q.Y36(T.b),q.Y36(M.q),q.Y36(w.g))},L.\u0275cmp=q.Xpm({type:L,selectors:[["robi-add-tenant"]],viewQuery:function(t,n){var e;1&t&&q.Gf(Y,7),2&t&&q.iGM(e=q.CRH())&&(n.stepper=e.first)},decls:37,vars:15,consts:[[1,"main-content"],[1,"container-fluid"],[1,"row"],[1,"col-md-12"],[1,"card"],[1,"card-header","card-header-info"],[1,"card-title"],[1,"card-category"],[1,"card-body"],[3,"formGroup"],[1,"col-12","col-sm-6","col-md-6","col-lg-6","col-xl-6"],["color","primary","appearance","outline"],["formControlName","property_id",3,"selectionChange"],["propertySelect",""],["placeholderLabel","Find Property...","noEntriesFoundLabel","No matching property found ...",3,"formControl","searching"],[3,"value",4,"ngFor","ngForOf"],["align","start","class","form__error",4,"ngIf"],["color","primary","appearance","outline",1,"full-width"],["placeholder","Utility *","formControlName","utility_id"],[1,"float-right"],[1,"mr-4","mt-2"],[1,"mat-raised-button","mat-primary","float-right",3,"disabled","click"],[3,"value"],["align","start",1,"form__error"]],template:function(t,n){if(1&t){var e=q.EpF();q.TgZ(0,"div",0),q.TgZ(1,"div",1),q.TgZ(2,"div",2),q.TgZ(3,"div",3),q.TgZ(4,"div",4),q.TgZ(5,"div",5),q.TgZ(6,"h4",6),q._uU(7),q.ALo(8,"translate"),q.qZA(),q._UZ(9,"p",7),q.qZA(),q.TgZ(10,"div",8),q.TgZ(11,"form",9),q.TgZ(12,"div",2),q.TgZ(13,"div",10),q.TgZ(14,"mat-form-field",11),q.TgZ(15,"mat-label"),q._uU(16,"Lease *"),q.qZA(),q.TgZ(17,"mat-select",12,13),q.NdJ("selectionChange",function(){q.CHM(e);var t=q.MAs(18);return n.onPropertyItemChange(t.value)}),q.TgZ(19,"mat-option"),q._UZ(20,"ngx-mat-select-search",14),q.qZA(),q.YNc(21,D,2,3,"mat-option",15),q.ALo(22,"async"),q.qZA(),q.YNc(23,B,2,1,"mat-error",16),q.qZA(),q.qZA(),q.TgZ(24,"div",10),q.TgZ(25,"mat-form-field",17),q.TgZ(26,"mat-label"),q._uU(27,"Month / Year *"),q.qZA(),q.TgZ(28,"mat-select",18),q.YNc(29,Q,2,2,"mat-option",15),q.ALo(30,"async"),q.qZA(),q.YNc(31,j,2,1,"mat-error",16),q.qZA(),q.qZA(),q.qZA(),q.TgZ(32,"div",19),q.TgZ(33,"mat-checkbox",20),q._uU(34,"Send email to tenant"),q.qZA(),q.TgZ(35,"button",21),q.NdJ("click",function(){return n.create()}),q._uU(36," Generate Invoice "),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.qZA()}2&t&&(q.xp6(7),q.Oqu(q.lcZ(8,9,"robi.invoices.title.new")),q.xp6(4),q.Q6J("formGroup",n.utilitySummaryFormGroup),q.xp6(9),q.Q6J("formControl",n.propertyServerSideFilteringCtrl)("searching",n.searching),q.xp6(1),q.Q6J("ngForOf",q.lcZ(22,11,n.filteredServerSideProperties)),q.xp6(2),q.Q6J("ngIf",null==n.formErrors?null:n.formErrors.property_id),q.xp6(6),q.Q6J("ngForOf",q.lcZ(30,13,n.utilities$)),q.xp6(2),q.Q6J("ngIf",null==n.formErrors?null:n.formErrors.utility_id),q.xp6(4),q.Q6J("disabled",!n.utilitySummaryFormGroup.valid||n.loader))},directives:[Z._Y,Z.JL,Z.sg,U.KE,U.hX,k.gD,Z.JJ,Z.u,I.ey,E.nu,Z.oH,S.sg,S.O5,F.oG,U.TO],pipes:[N.X$,S.Ov],encapsulation:2}),L),$=o(89614),R=o(86710),z=o(4919),G=o(37771),H=o(19333),W=o(90519),X=o(19971),V=o(75973),K=o(49983),tt=o(32789),nt=o(51095),et=o(76627),it=o(11436),ot=o(12178),rt=["search"];function at(t,n){if(1&t){var e=q.EpF();q.TgZ(0,"button",37),q.NdJ("click",function(){return q.CHM(e),q.oxw().clearSearch()}),q.TgZ(1,"mat-icon"),q._uU(2,"close"),q.qZA(),q.qZA()}}function lt(t,n){1&t&&(q.TgZ(0,"mat-header-cell",38),q._uU(1," Invoice Number "),q.qZA())}function ct(t,n){if(1&t){var e=q.EpF();q.TgZ(0,"mat-cell"),q.TgZ(1,"button",39),q.NdJ("click",function(){var t=q.CHM(e).$implicit;return q.oxw().onSelected(t)}),q.TgZ(2,"span",40),q._uU(3),q.qZA(),q.qZA(),q.qZA()}if(2&t){var i=n.$implicit;q.xp6(1),q.s9C("routerLink",i.id),q.xp6(2),q.Oqu(i.invoice_number)}}function ut(t,n){1&t&&(q.TgZ(0,"mat-header-cell",38),q._uU(1," Invoice Date "),q.qZA())}function st(t,n){if(1&t&&(q.TgZ(0,"mat-cell"),q._uU(1),q.qZA()),2&t){var e=n.$implicit;q.xp6(1),q.Oqu(e.invoice_date)}}function dt(t,n){1&t&&(q.TgZ(0,"mat-header-cell"),q._uU(1," Lease "),q.qZA())}function pt(t,n){if(1&t&&(q.TgZ(0,"mat-cell"),q._uU(1),q.qZA()),2&t){var e=n.$implicit;q.xp6(1),q.hij(" ",null==e.lease?null:e.lease.lease_number," ")}}function gt(t,n){1&t&&(q.TgZ(0,"mat-header-cell"),q._uU(1," Period "),q.qZA())}function mt(t,n){if(1&t&&(q.TgZ(0,"mat-cell"),q._uU(1),q.qZA()),2&t){var e=n.$implicit;q.xp6(1),q.hij(" ",null==e.period?null:e.period.name," ")}}function ft(t,n){1&t&&(q.TgZ(0,"mat-header-cell"),q._uU(1," Amount "),q.qZA())}function vt(t,n){if(1&t&&(q.TgZ(0,"mat-cell"),q._uU(1),q.qZA()),2&t){var e=n.$implicit;q.xp6(1),q.hij(" ",null==e.summary?null:e.summary.invoice_amount," ")}}function ht(t,n){1&t&&(q.TgZ(0,"mat-header-cell"),q._uU(1," Paid "),q.qZA())}function Zt(t,n){if(1&t&&(q.TgZ(0,"mat-cell"),q._uU(1),q.qZA()),2&t){var e=n.$implicit;q.xp6(1),q.hij(" ",null==e.summary?null:e.summary.amount_paid," ")}}function _t(t,n){1&t&&(q.TgZ(0,"mat-header-cell"),q._uU(1," Balance "),q.qZA())}function bt(t,n){if(1&t&&(q.TgZ(0,"mat-cell"),q._uU(1),q.qZA()),2&t){var e=n.$implicit;q.xp6(1),q.hij(" ",null==e.summary?null:e.summary.amount_due," ")}}function xt(t,n){1&t&&(q.TgZ(0,"mat-header-cell",38),q._uU(1," Due On "),q.qZA())}function yt(t,n){if(1&t&&(q.TgZ(0,"mat-cell"),q._uU(1),q.qZA()),2&t){var e=n.$implicit;q.xp6(1),q.hij(" ",e.due_date," ")}}function Ct(t,n){1&t&&(q.TgZ(0,"mat-header-cell"),q._uU(1," Status "),q.qZA())}function Ot(t,n){if(1&t&&(q.TgZ(0,"mat-cell"),q.TgZ(1,"div"),q.TgZ(2,"mat-icon"),q._uU(3),q.qZA(),q._uU(4),q.qZA(),q.qZA()),2&t){var e=n.$implicit;q.xp6(1),q.Tol(null==e.summary||null==e.summary.status?null:e.summary.status.status_color),q.xp6(2),q.Oqu(null==e.summary||null==e.summary.status?null:e.summary.status.status_icon),q.xp6(1),q.hij(" ",null==e.summary||null==e.summary.status?null:e.summary.status.status_text," ")}}function At(t,n){1&t&&(q.TgZ(0,"mat-header-cell"),q._uU(1,"Actions"),q.qZA())}function Pt(t,n){if(1&t){var e=q.EpF();q.TgZ(0,"mat-cell",41),q.TgZ(1,"button",42),q.NdJ("click",function(){var t=q.CHM(e).$implicit;return q.oxw().onSelected(t)}),q.TgZ(2,"i",43),q._uU(3,"expand_more"),q.qZA(),q.qZA(),q.qZA()}if(2&t){var i=n.$implicit;q.xp6(1),q.s9C("routerLink",i.id),q.Q6J("matTooltipPosition","above")}}function qt(t,n){1&t&&q._UZ(0,"mat-header-row")}function Tt(t,n){1&t&&q._UZ(0,"mat-row")}function Mt(t,n){1&t&&(q.TgZ(0,"span"),q._uU(1,"No Data"),q.qZA())}function wt(t,n){1&t&&(q.TgZ(0,"div",44),q._UZ(1,"mat-progress-bar",45),q.qZA())}var Ut=function(){var t=function(){function t(n,e,i,o,r,a,c,u,s){var d=this;l(this,t),this.store=n,this.userService=e,this.landlordService=i,this.tenantService=o,this.invoiceService=r,this.utilityBillService=a,this.notification=c,this.authenticationService=u,this.dialog=s,this.displayedColumns=["invoice_number","invoice_date","lease_id","period","invoice_amount","amount_paid","amount_due","due_date","status","actions"],this.loader=!1,this.pageIndex=0,this.pageSizeOptions=[5,10,25,50,100],this.isLandlord=!1,this.activeUser=this.userService.getActiveUser(),this.isAgent$=this.store.pipe((0,R.Ys)(z.sk)),this.isAdmin$=this.authenticationService.isAdmin(),this.store.pipe((0,R.Ys)(z.iG)).subscribe(function(t){t&&(d.isLandlord=!0,d.store.pipe((0,R.Ys)(z.Zb)).subscribe(function(t){return d.landlordID=t}))})}return u(t,[{key:"ngOnInit",value:function(){var t,n,e,i=this;switch(this.dataSource=new $.X(this.invoiceService),this.dataSource.meta$.subscribe(function(t){return i.meta=t}),null===(t=this.activeUser)||void 0===t?void 0:t.userType){case G.x.ADMIN:this.dataSource.load("",0,0,"updated_at","desc");break;case G.x.LANDLORD:this.dataSource.loadNested(this.landlordService.nestedInvoicesUrl(null===(n=this.activeUser)||void 0===n?void 0:n.userID),"",0,0);break;case G.x.TENANT:this.dataSource.loadNested(this.tenantService.nestedInvoicesUrl(null===(e=this.activeUser)||void 0===e?void 0:e.userID),"",0,0)}}},{key:"ngAfterViewInit",value:function(){var t=this;(0,p.R)(this.search.nativeElement,"keyup").pipe((0,m.b)(1e3),(0,f.x)(),(0,v.b)(function(){t.paginator.pageIndex=0,t.loadData()})).subscribe(),this.paginator.page.pipe((0,v.b)(function(){return t.loadData()})).subscribe(),this.sort.sortChange.subscribe(function(){return t.paginator.pageIndex=0}),(0,g.T)(this.sort.sortChange,this.paginator.page).pipe((0,v.b)(function(){return t.loadData()})).subscribe()}},{key:"loadData",value:function(){var t,n,e;switch(null===(t=this.activeUser)||void 0===t?void 0:t.userType){case G.x.ADMIN:this.dataSource.load(this.search.nativeElement.value,this.paginator.pageIndex+1,this.paginator.pageSize,this.sort.active,this.sort.direction);break;case G.x.LANDLORD:this.dataSource.loadNested(this.landlordService.nestedInvoicesUrl(null===(n=this.activeUser)||void 0===n?void 0:n.userID),this.search.nativeElement.value,this.paginator.pageIndex+1,this.paginator.pageSize,this.sort.active,this.sort.direction);break;case G.x.TENANT:this.dataSource.loadNested(this.tenantService.nestedInvoicesUrl(null===(e=this.activeUser)||void 0===e?void 0:e.userID),this.search.nativeElement.value,this.paginator.pageIndex+1,this.paginator.pageSize,this.sort.active,this.sort.direction)}}},{key:"clearSearch",value:function(){this.search.nativeElement.value="",this.loadData()}},{key:"addDialog",value:function(t,n){var e=new c.vA;e.disableClose=!0,e.autoFocus=!0,e.data={landlord:n,mode:t},this.dialog.open(J,e).afterClosed().subscribe(function(t){})}},{key:"onSelected",value:function(t){this.invoiceService.changeSelectedInvoice(t)}},{key:"openConfirmationDialog",value:function(t){var n=this;this.dialogRef=this.dialog.open(h.z,{disableClose:!0}),this.dialogRef.afterClosed().subscribe(function(e){e&&n.delete(t),n.dialogRef=null})}},{key:"delete",value:function(t){}},{key:"downloadStatement",value:function(t){var n=this;this.loader=!0,this.invoiceService.downloadInvoice({id:t.id,pdf:!0}).subscribe(function(t){n.loader=!1,n.showFile(t)},function(){n.loader=!1,n.notification.showNotification("danger","Error Downloading File!")})}},{key:"showFile",value:function(t){var n=new Blob([t],{type:"application/pdf"});if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(n);else{var e=window.URL.createObjectURL(n),i=document.createElement("a");i.href=e,i.download="invoice.pdf",i.click(),setTimeout(function(){window.URL.revokeObjectURL(e)},100)}}}]),t}();return t.\u0275fac=function(n){return new(n||t)(q.Y36(R.yh),q.Y36(H.f),q.Y36(W.c),q.Y36(X.a),q.Y36(M.q),q.Y36(M.q),q.Y36(w.g),q.Y36(V.$),q.Y36(c.uw))},t.\u0275cmp=q.Xpm({type:t,selectors:[["robi-utility-bills"]],viewQuery:function(t,n){var e;(1&t&&(q.Gf(rt,5),q.Gf(s.NW,7),q.Gf(d.YE,7)),2&t)&&(q.iGM(e=q.CRH())&&(n.search=e.first),q.iGM(e=q.CRH())&&(n.paginator=e.first),q.iGM(e=q.CRH())&&(n.sort=e.first))},decls:58,vars:21,consts:[[1,"main-content"],[1,"container-fluid"],[1,"row"],[1,"col-md-12"],[1,"card"],[1,"card-header","card-header-info"],[1,"card-title"],[1,"card-body"],[1,"row","search-form-section"],[1,"col-12",3,"hidden"],[1,"search-form-field"],["matInput","","autocomplete","off",3,"placeholder","disabled"],["search",""],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],[1,"table-responsive"],["matSort","","matSortActive","invoice_date","matSortDirection","desc","matSortDisableClear","",3,"dataSource"],["table",""],["matColumnDef","invoice_number"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","invoice_date"],["matColumnDef","lease_id"],[4,"matHeaderCellDef"],["matColumnDef","period"],["matColumnDef","invoice_amount"],["matColumnDef","amount_paid"],["matColumnDef","amount_due"],["matColumnDef","due_date"],["matColumnDef","status"],["matColumnDef","actions"],["class","button-row",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[4,"ngIf"],["class","d-flex justify-content-center spinner-container",4,"ngIf"],["showFirstLastButtons","",3,"length","pageIndex","pageSizeOptions"],["pagination",""],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],["mat-sort-header",""],["mat-flat-button","",3,"routerLink","click"],[1,"link"],[1,"button-row"],["mat-raised-button","","type","button","matTooltip","View Invoice",1,"btn","btn-link","btn-sm","btn-just-icon",3,"matTooltipPosition","routerLink","click"],[1,"material-icons"],[1,"d-flex","justify-content-center","spinner-container"],["color","green","mode","query","value","50","bufferValue","75"]],template:function(t,n){if(1&t&&(q.TgZ(0,"div",0),q.TgZ(1,"div",1),q.TgZ(2,"div",2),q.TgZ(3,"div",3),q.TgZ(4,"div",4),q.TgZ(5,"div",5),q.TgZ(6,"h4",6),q._uU(7),q.ALo(8,"translate"),q.qZA(),q.qZA(),q.TgZ(9,"div",7),q.TgZ(10,"div",8),q.TgZ(11,"div",9),q.ALo(12,"async"),q.TgZ(13,"mat-form-field",10),q._UZ(14,"input",11,12),q.ALo(16,"translate"),q.YNc(17,at,3,0,"button",13),q.qZA(),q.qZA(),q.qZA(),q.TgZ(18,"div",14),q.TgZ(19,"mat-table",15,16),q.ynx(21,17),q.YNc(22,lt,2,0,"mat-header-cell",18),q.YNc(23,ct,4,2,"mat-cell",19),q.BQk(),q.ynx(24,20),q.YNc(25,ut,2,0,"mat-header-cell",18),q.YNc(26,st,2,1,"mat-cell",19),q.BQk(),q.ynx(27,21),q.YNc(28,dt,2,0,"mat-header-cell",22),q.YNc(29,pt,2,1,"mat-cell",19),q.BQk(),q.ynx(30,23),q.YNc(31,gt,2,0,"mat-header-cell",22),q.YNc(32,mt,2,1,"mat-cell",19),q.BQk(),q.ynx(33,24),q.YNc(34,ft,2,0,"mat-header-cell",22),q.YNc(35,vt,2,1,"mat-cell",19),q.BQk(),q.ynx(36,25),q.YNc(37,ht,2,0,"mat-header-cell",22),q.YNc(38,Zt,2,1,"mat-cell",19),q.BQk(),q.ynx(39,26),q.YNc(40,_t,2,0,"mat-header-cell",22),q.YNc(41,bt,2,1,"mat-cell",19),q.BQk(),q.ynx(42,27),q.YNc(43,xt,2,0,"mat-header-cell",18),q.YNc(44,yt,2,1,"mat-cell",19),q.BQk(),q.ynx(45,28),q.YNc(46,Ct,2,0,"mat-header-cell",22),q.YNc(47,Ot,5,5,"mat-cell",19),q.BQk(),q.ynx(48,29),q.YNc(49,At,2,0,"mat-header-cell",22),q.YNc(50,Pt,4,2,"mat-cell",30),q.BQk(),q.YNc(51,qt,1,0,"mat-header-row",31),q.YNc(52,Tt,1,0,"mat-row",32),q.qZA(),q.YNc(53,Mt,2,0,"span",33),q.YNc(54,wt,2,0,"div",34),q.ALo(55,"async"),q._UZ(56,"mat-paginator",35,36),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.qZA()),2&t){var e=q.MAs(15);q.xp6(7),q.Oqu(q.lcZ(8,13,"robi.invoices.title")),q.xp6(4),q.Q6J("hidden",!q.lcZ(12,15,n.isAdmin$)),q.xp6(3),q.s9C("placeholder",q.lcZ(16,17,"robi.filter")),q.Q6J("disabled",0===(null==n.meta?null:n.meta.total)),q.xp6(3),q.Q6J("ngIf",e.value),q.xp6(2),q.Q6J("dataSource",n.dataSource),q.xp6(32),q.Q6J("matHeaderRowDef",n.displayedColumns),q.xp6(1),q.Q6J("matRowDefColumns",n.displayedColumns),q.xp6(1),q.Q6J("ngIf",0===(null==n.meta?null:n.meta.total)),q.xp6(1),q.Q6J("ngIf",q.lcZ(55,19,null==n.dataSource?null:n.dataSource.loading$)||n.loader),q.xp6(2),q.Q6J("length",null==n.meta?null:n.meta.total)("pageIndex",n.pageIndex)("pageSizeOptions",n.pageSizeOptions)}},directives:[U.KE,K.Nt,S.O5,tt.BZ,d.YE,tt.w1,tt.fO,tt.Dz,tt.as,tt.nj,s.NW,nt.lW,U.R9,et.Hw,tt.ge,d.nU,tt.ev,a.rH,it.gM,tt.XQ,tt.Gk,ot.pW],pipes:[N.X$,S.Ov],styles:[".fab-container[_ngcontent-%COMP%]{position:fixed;bottom:35px;right:35px;z-index:100;display:flex;flex-direction:column-reverse;align-items:center}.fab-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse;align-items:center;margin-bottom:5px}.fab-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:17px}.fab-toggler[_ngcontent-%COMP%]{float:right;z-index:100}.card[_ngcontent-%COMP%]{background:none repeat scroll 0 0 #FFFFFF;border-radius:4px;color:#444}.card-container[_ngcontent-%COMP%], .front[_ngcontent-%COMP%], .back[_ngcontent-%COMP%]{width:100%;height:390px;border-radius:4px}.card[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%]{height:105px;overflow:hidden;border-radius:4px 4px 0 0}.card[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.user[_ngcontent-%COMP%]{border-radius:50%;display:block;height:120px;margin:-55px auto 0;overflow:hidden;width:120px;box-shadow:0 16px 38px -12px rgba(0,0,0,.561),0 4px 25px rgba(0,0,0,.122),0 8px 10px -5px rgba(0,0,0,.2)}.card[_ngcontent-%COMP%] .user[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{background:none repeat scroll 0 0 #FFFFFF;border:4px solid #FFFFFF;width:100%}.card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);box-shadow:none;padding:10px 20px 20px}.card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .main[_ngcontent-%COMP%]{min-height:160px}.card[_ngcontent-%COMP%] .back[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .main[_ngcontent-%COMP%]{height:215px}.card[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:22px;line-height:28px;margin:10px 0 0;text-align:center;text-transform:capitalize}.card[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:5px 0;font-weight:400;line-height:20px}.card[_ngcontent-%COMP%] .profession[_ngcontent-%COMP%]{color:#999;text-align:center;margin-bottom:20px}.card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%]{border-top:1px solid #EEEEEE;color:#999;margin:0;padding:10px 0 0;text-align:center}.card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .social-links[_ngcontent-%COMP%]{font-size:18px}.card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 7px}.card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .btn-simple[_ngcontent-%COMP%]{margin-top:-6px}.card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{padding:15px 20px;height:90px}.card[_ngcontent-%COMP%] .motto[_ngcontent-%COMP%]{border-bottom:1px solid #EEEEEE;color:#999;font-size:14px;font-weight:400;padding-bottom:10px;text-align:center}.card[_ngcontent-%COMP%] .stats-container[_ngcontent-%COMP%]{width:100%;margin-top:20px;display:flex;justify-content:center}.card[_ngcontent-%COMP%] .property-stats[_ngcontent-%COMP%]{display:block;float:left;width:33.333333%;text-align:center}.card[_ngcontent-%COMP%] .property-stats[_ngcontent-%COMP%]:first-child{border-right:1px solid #EEEEEE}.card[_ngcontent-%COMP%] .property-stats[_ngcontent-%COMP%]:last-child{border-left:1px solid #EEEEEE}.card[_ngcontent-%COMP%] .property-stats[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:300;margin-bottom:5px}.card[_ngcontent-%COMP%] .property-stats[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#777}.title[_ngcontent-%COMP%]{color:#506a85;text-align:center;font-weight:300;font-size:44px;margin-bottom:90px;line-height:90%}.title[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:17px;color:#999;text-transform:uppercase;margin:0}.space-30[_ngcontent-%COMP%]{height:30px;display:block}.space-50[_ngcontent-%COMP%]{height:50px;display:block}.space-200[_ngcontent-%COMP%]{height:200px;display:block}.white-board[_ngcontent-%COMP%]{background-color:#fff;min-height:200px;padding:60px 60px 20px}.ct-heart[_ngcontent-%COMP%]{color:#f74933}pre.prettyprint[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #999;margin-top:20px;padding:20px;text-align:left}.atv[_ngcontent-%COMP%], .str[_ngcontent-%COMP%]{color:#05ae0e}.tag[_ngcontent-%COMP%], .pln[_ngcontent-%COMP%], .kwd[_ngcontent-%COMP%]{color:#3472f7}.atn[_ngcontent-%COMP%]{color:#2c93ff}.pln[_ngcontent-%COMP%]{color:#333}.com[_ngcontent-%COMP%]{color:#999}.btn-simple[_ngcontent-%COMP%]{opacity:.8;color:#666;background-color:transparent}.btn-simple[_ngcontent-%COMP%]:hover, .btn-simple[_ngcontent-%COMP%]:focus{background-color:transparent;box-shadow:none;opacity:1}.btn-simple[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.navbar-brand-logo[_ngcontent-%COMP%]{padding:0}.navbar-brand-logo[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{border:1px solid #333333;border-radius:50%;float:left;overflow:hidden;width:60px}.navbar[_ngcontent-%COMP%] .navbar-brand-logo[_ngcontent-%COMP%] .brand[_ngcontent-%COMP%]{color:#fff;float:left;font-size:18px;font-weight:400;line-height:20px;margin-left:10px;margin-top:10px;width:60px}.navbar-default[_ngcontent-%COMP%] .navbar-brand-logo[_ngcontent-%COMP%] .brand[_ngcontent-%COMP%]{color:#555}.clickable[_ngcontent-%COMP%]{cursor:pointer}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.front[_ngcontent-%COMP%], .back[_ngcontent-%COMP%]{-webkit-backface-visibility:visible;backface-visibility:visible}.back[_ngcontent-%COMP%]{visibility:hidden;-ms-transition:all .2s cubic-bezier(.92,.01,.83,.67)}.front[_ngcontent-%COMP%]{z-index:4}.card-container[_ngcontent-%COMP%]:not(.manual-flip):hover .back[_ngcontent-%COMP%], .card-container.manual-flip.hover[_ngcontent-%COMP%] .back[_ngcontent-%COMP%]{z-index:5;visibility:visible}}"]}),t}(),kt=o(65),It=o(91841),Et=function(){var e=function(e){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&t(n,e)}(o,e);var i=n(o);function o(t){var n;return l(this,o),(n=i.call(this,t,"waivers")).selectedWaiverSource=new _.X(null),n.selectedWaiverChanges$=n.selectedWaiverSource.asObservable(),n.localHttpClient=t,n}return u(o,[{key:"changeSelectedWaiver",value:function(t){this.selectedWaiverSource.next(t)}}]),o}(kt.b);return e.\u0275fac=function(t){return new(t||e)(q.LFG(It.eN))},e.\u0275prov=q.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),St=o(43220);function Ft(t,n){1&t&&(q.ynx(0),q.TgZ(1,"mat-icon",17),q._uU(2,"error_outline"),q.qZA(),q.BQk())}function Nt(t,n){if(1&t&&(q.TgZ(0,"mat-error",18),q._uU(1),q.qZA()),2&t){var e=q.oxw();q.xp6(1),q.Oqu(e.formErrors.waiver_date)}}function Yt(t,n){if(1&t&&(q.TgZ(0,"mat-error",18),q._uU(1),q.qZA()),2&t){var e=q.oxw();q.xp6(1),q.Oqu(e.formErrors.amount)}}function Dt(t,n){if(1&t&&(q.TgZ(0,"mat-error",18),q._uU(1),q.qZA()),2&t){var e=q.oxw();q.xp6(1),q.Oqu(e.formErrors.waiver_note)}}function Bt(t,n){if(1&t&&(q.ynx(0),q.TgZ(1,"div",19),q._uU(2),q.ALo(3,"async"),q.qZA(),q.BQk()),2&t){var e=q.oxw();q.xp6(2),q.hij(" ",q.lcZ(3,1,e.terminationError$)," ")}}function Qt(t,n){1&t&&(q.TgZ(0,"div",20),q._UZ(1,"mat-progress-bar",21),q.qZA())}var jt=function(){var t=function(){function t(n,e,i,o,r,a){var c;l(this,t),this.fb=e,this.waiverService=i,this.notification=o,this.router=r,this.dialogRef=a,this.errorInForm=new _.X(!1),this.formError$=this.errorInForm.asObservable(),this.terminationErrorMessage=new _.X(""),this.terminationError$=this.terminationErrorMessage.asObservable(),this.loader=!1,this.invoice=n.invoice,this.invoiceNumber=null===(c=null==n?void 0:n.invoice)||void 0===c?void 0:c.invoice_number}return u(t,[{key:"ngOnInit",value:function(){this.form=this.fb.group({waiver_date:[(new Date).toISOString().substring(0,10),[Z.kI.required]],amount:["",[Z.kI.required]],waiver_note:["",[Z.kI.required]]})}},{key:"save",value:function(){this.dialogRef.close(this.form.value)}},{key:"close",value:function(){this.dialogRef.close()}},{key:"create",value:function(){var t,n,e,i,o,r=this;this.errorInForm.next(!1),this.loader=!0;var a=Object.assign({},this.waiver,this.form.value);a.invoice_id=null===(t=this.invoice)||void 0===t?void 0:t.id,a.lease_id=null===(n=this.invoice)||void 0===n?void 0:n.lease_id,a.property_id=null===(e=this.invoice)||void 0===e?void 0:e.property_id,a.lease_number=null===(o=null===(i=this.invoice)||void 0===i?void 0:i.lease)||void 0===o?void 0:o.lease_number,this.waiverService.create(a).subscribe(function(t){r.loader=!1,r.onSaveComplete(),r.notification.showNotification("success","Success !! Waiver was a success.")},function(t){if(r.errorInForm.next(!0),r.loader=!1,r.terminationErrorMessage.next(t.error.message),0!==t.role){if(r.formErrors=t,r.formErrors)for(var n in r.formErrors)r.form&&r.form.controls[n]&&r.form.controls[n].setErrors({incorrect:!0})}else r.notification.showNotification("danger","Connection Error !! Check your connection and retry.")})}},{key:"onSaveComplete",value:function(){this.form.reset(),this.dialogRef.close(this.form.value),this.router.navigate(["/invoices"])}}]),t}();return t.\u0275fac=function(n){return new(n||t)(q.Y36(c.WI),q.Y36(Z.qu),q.Y36(Et),q.Y36(w.g),q.Y36(a.F0),q.Y36(c.so))},t.\u0275cmp=q.Xpm({type:t,selectors:[["robi-waive-invoice"]],decls:36,vars:19,consts:[["mat-dialog-title",""],[4,"ngIf"],[1,"mat-dialog-data",3,"formGroup"],["color","primary","appearance","outline",1,"full-width"],["matInput","","formControlName","waiver_date","placeholder","Waiver Date",3,"matDatepicker","click"],["matSuffix","",3,"for"],["touchUi",""],["waiver_date",""],["align","start","class","form__error",4,"ngIf"],["matInput","","type","number","min","0","formControlName","amount","placeholder","Amount"],["formControlName","waiver_note","matInput","","placeholder","Note","maxlength","150","rows","2"],["waiver_note",""],["align","end"],["class","d-flex justify-content-center spinner-container",4,"ngIf"],["align","center"],["mat-button","","color","accent",1,"mr-2",3,"mat-dialog-close","click"],["mat-raised-button","","color","warn",3,"disabled","click"],["color","warn"],["align","start",1,"form__error"],[1,"alert","alert-danger"],[1,"d-flex","justify-content-center","spinner-container"],["color","green","mode","query","value","50","bufferValue","75"]],template:function(t,n){if(1&t){var e=q.EpF();q.TgZ(0,"h5",0),q._uU(1),q.YNc(2,Ft,3,0,"ng-container",1),q.ALo(3,"async"),q.qZA(),q.TgZ(4,"mat-dialog-content",2),q.TgZ(5,"mat-form-field",3),q.TgZ(6,"mat-label"),q._uU(7,"Waiver Date *"),q.qZA(),q.TgZ(8,"input",4),q.NdJ("click",function(){return q.CHM(e),q.MAs(11).open()}),q.qZA(),q._UZ(9,"mat-datepicker-toggle",5),q._UZ(10,"mat-datepicker",6,7),q.YNc(12,Nt,2,1,"mat-error",8),q.qZA(),q.TgZ(13,"mat-form-field",3),q.TgZ(14,"mat-label"),q._uU(15,"Amount"),q.qZA(),q._UZ(16,"input",9),q.YNc(17,Yt,2,1,"mat-error",8),q.qZA(),q.TgZ(18,"mat-form-field",3),q.TgZ(19,"mat-label"),q._uU(20,"Note"),q.qZA(),q.TgZ(21,"textarea",10,11),q._uU(23," "),q.qZA(),q.TgZ(24,"mat-hint",12),q._uU(25),q.qZA(),q.YNc(26,Dt,2,1,"mat-error",8),q.qZA(),q.YNc(27,Bt,4,3,"ng-container",1),q.ALo(28,"async"),q.qZA(),q.YNc(29,Qt,2,0,"div",13),q.TgZ(30,"mat-dialog-actions",14),q.TgZ(31,"button",15),q.NdJ("click",function(){return n.close()}),q._uU(32,"Cancel"),q.qZA(),q.TgZ(33,"button",16),q.NdJ("click",function(){return n.create()}),q.ALo(34,"async"),q._uU(35,"Add Waiver"),q.qZA(),q.qZA()}if(2&t){var i=q.MAs(11),o=q.MAs(22);q.xp6(1),q.hij("Invoice Waiver (",n.invoiceNumber,") "),q.xp6(1),q.Q6J("ngIf",q.lcZ(3,13,n.formError$)),q.xp6(2),q.Q6J("formGroup",n.form),q.xp6(4),q.Q6J("matDatepicker",i),q.xp6(1),q.Q6J("for",i),q.xp6(3),q.Q6J("ngIf",null==n.formErrors?null:n.formErrors.waiver_date),q.xp6(5),q.Q6J("ngIf",null==n.formErrors?null:n.formErrors.amount),q.xp6(8),q.hij("",o.value.length," / 150"),q.xp6(1),q.Q6J("ngIf",null==n.formErrors?null:n.formErrors.waiver_note),q.xp6(1),q.Q6J("ngIf",q.lcZ(28,15,n.formError$)),q.xp6(2),q.Q6J("ngIf",n.loader),q.xp6(2),q.Q6J("mat-dialog-close",!0),q.xp6(2),q.Q6J("disabled",!n.form.valid||n.loader||q.lcZ(34,17,n.formError$))}},directives:[c.uh,S.O5,c.xY,Z.JL,Z.sg,U.KE,U.hX,K.Nt,Z.Fj,St.hl,Z.JJ,Z.u,St.nW,U.R9,St.Mq,Z.qQ,Z.wV,Z.nD,U.bx,c.H8,nt.lW,c.ZT,et.Hw,U.TO,ot.pW],pipes:[S.Ov],encapsulation:2}),t}(),Lt=o(39075),Jt=o(90171),$t=o(32802);function Rt(t,n){1&t&&(q.TgZ(0,"div",3),q.TgZ(1,"mat-icon"),q._uU(2,"error"),q.qZA(),q._uU(3," Not Found "),q.qZA())}function zt(t,n){if(1&t&&q._UZ(0,"iframe",20),2&t){var e=q.oxw(2);q.Q6J("src",e.pdfSrc,q.uOi)}}function Gt(t,n){1&t&&(q.TgZ(0,"div",21),q._uU(1," downloading invoice ... "),q.qZA())}function Ht(t,n){1&t&&(q.TgZ(0,"div",21),q._UZ(1,"mat-progress-bar",22),q.qZA())}function Wt(t,n){if(1&t&&(q.TgZ(0,"span",25),q.TgZ(1,"mat-icon",26),q._uU(2,"phone"),q.qZA(),q._uU(3),q.qZA()),2&t){var e=q.oxw().$implicit;q.xp6(3),q.hij(" ",null==e?null:e.contact_phone," ")}}function Xt(t,n){if(1&t&&(q.ynx(0),q.TgZ(1,"div",23),q._uU(2),q.YNc(3,Wt,4,1,"span",24),q.qZA(),q.BQk()),2&t){var e=n.$implicit;q.xp6(2),q.lnq(" ",null==e?null:e.first_name," ",null==e?null:e.middle_name," ",null==e?null:e.last_name," "),q.xp6(1),q.Q6J("ngIf",null==e?null:e.contact_phone)}}function Vt(t,n){if(1&t&&(q.ynx(0),q.TgZ(1,"tr"),q.TgZ(2,"td"),q._uU(3),q.qZA(),q.TgZ(4,"td",28),q._uU(5),q.qZA(),q.qZA(),q.BQk()),2&t){var e=n.$implicit;q.xp6(3),q.Oqu(e.item_name),q.xp6(2),q.Oqu(null==e?null:e.amount_paid)}}function Kt(t,n){if(1&t&&(q.ynx(0),q.TgZ(1,"mat-expansion-panel"),q.TgZ(2,"mat-expansion-panel-header"),q.TgZ(3,"mat-panel-title"),q._uU(4),q.qZA(),q.TgZ(5,"mat-panel-description"),q.TgZ(6,"span",27),q._uU(7),q.qZA(),q.TgZ(8,"span",28),q.TgZ(9,"i",29),q._uU(10),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.TgZ(11,"div",11),q.TgZ(12,"p"),q._uU(13),q.qZA(),q.TgZ(14,"p"),q._uU(15),q.qZA(),q.TgZ(16,"p"),q._uU(17),q.qZA(),q.TgZ(18,"p"),q._uU(19),q.qZA(),q.TgZ(20,"p"),q._uU(21),q.qZA(),q.qZA(),q.TgZ(22,"table",30),q.YNc(23,Vt,6,2,"ng-container",18),q.qZA(),q.qZA(),q.BQk()),2&t){var e=n.$implicit;q.xp6(4),q.hij(" ",null==e?null:e.key," "),q.xp6(3),q.hij(" ",null==e||null==e.value||null==e.value.summary?null:e.value.summary.amount," "),q.xp6(3),q.Oqu(null==e||null==e.value||null==e.value.summary?null:e.value.summary.payment_date_ago),q.xp6(3),q.hij(" Payment Method: ",null==e||null==e.value||null==e.value.summary?null:e.value.summary.payment_method_name,""),q.xp6(2),q.hij(" Receipt Number: ",null==e||null==e.value||null==e.value.summary?null:e.value.summary.receipt_number,""),q.xp6(2),q.hij(" Payment Date: ",null==e||null==e.value||null==e.value.summary?null:e.value.summary.payment_date,""),q.xp6(2),q.hij(" Payment Amount: ",null==e||null==e.value||null==e.value.summary?null:e.value.summary.amount,""),q.xp6(2),q.hij(" Ref: ",null==e||null==e.value||null==e.value.summary?null:e.value.summary.payment_reference,""),q.xp6(2),q.Q6J("ngForOf",null==e||null==e.value?null:e.value.items)}}function tn(t,n){if(1&t){var e=q.EpF();q.TgZ(0,"div",7),q.TgZ(1,"button",33),q.NdJ("click",function(){q.CHM(e);var t=q.oxw(3).ngIf;return q.oxw().waiveInvoice(t)}),q._uU(2),q.qZA(),q.qZA()}if(2&t){var i=q.oxw(3).ngIf;q.xp6(2),q.hij(" Waive Invoice (",null==i?null:i.invoice_number,") ")}}function nn(t,n){if(1&t&&(q.ynx(0),q.YNc(1,tn,3,1,"div",32),q.ALo(2,"async"),q.BQk()),2&t){var e=q.oxw(3);q.xp6(1),q.Q6J("ngIf",q.lcZ(2,1,e.isAdmin$))}}var en=function(){return["waive-invoice"]};function on(t,n){1&t&&(q.ynx(0),q.YNc(1,nn,3,3,"ng-container",31),q.BQk()),2&t&&(q.xp6(1),q.Q6J("robiPermission",q.DdM(1,en)))}function rn(t,n){if(1&t&&(q.TgZ(0,"div",4),q.TgZ(1,"div",5),q.TgZ(2,"div",6),q.TgZ(3,"div",7),q.TgZ(4,"div",8),q.TgZ(5,"h4",9),q._uU(6),q.qZA(),q._UZ(7,"p",10),q.qZA(),q.TgZ(8,"div",11),q.YNc(9,zt,1,1,"iframe",12),q.YNc(10,Gt,2,0,"div",13),q.YNc(11,Ht,2,0,"div",13),q.qZA(),q.qZA(),q.qZA(),q.TgZ(12,"div",14),q.TgZ(13,"div",7),q.TgZ(14,"div",8),q.TgZ(15,"h4",9),q._uU(16,"Summary"),q.qZA(),q.TgZ(17,"p",10),q._uU(18),q.qZA(),q.qZA(),q.TgZ(19,"div",11),q.TgZ(20,"div",5),q.TgZ(21,"div",15),q.TgZ(22,"div",16),q._uU(23," Property "),q.qZA(),q._uU(24),q.qZA(),q.TgZ(25,"div",15),q.TgZ(26,"div",16),q._uU(27," Lease "),q.qZA(),q._uU(28),q.qZA(),q.TgZ(29,"div",15),q.TgZ(30,"div",16),q._uU(31," Unit "),q.qZA(),q.TgZ(32,"div"),q._uU(33),q.qZA(),q.qZA(),q.qZA(),q.TgZ(34,"div",5),q.TgZ(35,"div",17),q.TgZ(36,"div",16),q._uU(37," Tenant "),q.qZA(),q.YNc(38,Xt,4,4,"ng-container",18),q.qZA(),q.qZA(),q.TgZ(39,"div",5),q.TgZ(40,"div",15),q.TgZ(41,"div",10),q._uU(42,"Total"),q.qZA(),q._uU(43),q.qZA(),q.TgZ(44,"div",15),q.TgZ(45,"div",16),q._uU(46,"Paid"),q.qZA(),q._uU(47),q.qZA(),q.TgZ(48,"div",15),q.TgZ(49,"div",16),q._uU(50,"Amount Due"),q.qZA(),q._uU(51),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.TgZ(52,"div",7),q.TgZ(53,"div",8),q.TgZ(54,"h4",9),q._uU(55,"Payment History"),q.qZA(),q.TgZ(56,"p",10),q._uU(57),q.qZA(),q.qZA(),q.TgZ(58,"div",11),q.TgZ(59,"mat-accordion"),q.YNc(60,Kt,24,9,"ng-container",18),q.ALo(61,"keyvalue"),q.qZA(),q.qZA(),q.qZA(),q.TgZ(62,"div",7),q.TgZ(63,"div",8),q.TgZ(64,"h4",9),q._uU(65,"Waiver History"),q.qZA(),q.TgZ(66,"p",10),q._uU(67),q.qZA(),q.TgZ(68,"p",10),q._uU(69),q.qZA(),q.qZA(),q._UZ(70,"div",11),q.qZA(),q.YNc(71,on,2,2,"ng-container",19),q.qZA(),q.qZA(),q.qZA()),2&t){var e=n.ngIf,i=q.oxw();q.xp6(6),q.Oqu(e.invoice_number),q.xp6(3),q.Q6J("ngIf",i.pdfSrc),q.xp6(1),q.Q6J("ngIf",i.loader),q.xp6(1),q.Q6J("ngIf",i.loader),q.xp6(7),q.hij(" Invoice #: ",null==e?null:e.invoice_number,""),q.xp6(6),q.AsE(" ",null==e||null==e.lease||null==e.lease.property?null:e.lease.property.property_name,", ",null==e||null==e.lease||null==e.lease.property?null:e.lease.property.location," "),q.xp6(4),q.hij(" ",null==e||null==e.lease?null:e.lease.lease_number," "),q.xp6(5),q.Oqu(null==e||null==e.lease?null:e.lease.unit_names),q.xp6(5),q.Q6J("ngForOf",null==e||null==e.lease?null:e.lease.tenants),q.xp6(5),q.hij(" ",null==e||null==e.summary?null:e.summary.invoice_amount," "),q.xp6(4),q.hij(" ",null==e||null==e.summary?null:e.summary.amount_paid," "),q.xp6(4),q.hij(" ",null==e||null==e.summary?null:e.summary.amount_due," "),q.xp6(6),q.hij("Total Paid: ",null==e||null==e.payment_summary?null:e.payment_summary.transactions_total,""),q.xp6(3),q.Q6J("ngForOf",q.lcZ(61,18,null==e||null==e.payment_summary?null:e.payment_summary.receipt_items)),q.xp6(7),q.hij(" Waivers: ",null==e||null==e.waiver_summary?null:e.waiver_summary.transactions_count,""),q.xp6(2),q.hij(" Total Amount: ",null==e||null==e.waiver_summary?null:e.waiver_summary.transactions_total,""),q.xp6(2),q.Q6J("ngIf",(null==e||null==e.summary?null:e.summary.amount_due_number)>0)}}var an=function(){var t=function(){function t(n,e,i,o,r,a,c,u,s,d){var p=this;l(this,t),this.store=n,this.landlordService=e,this.fb=i,this.dialog=r,this.invoiceService=a,this.authenticationService=c,this.notification=u,this.router=s,this.route=d,this.loader=!1,this.isLandlord=!1,this.domSanitizer=o,this.isAdmin$=this.authenticationService.isAdmin(),this.store.pipe((0,R.Ys)(z.iG)).subscribe(function(t){t&&(p.isLandlord=!0,p.store.pipe((0,R.Ys)(z.Zb)).subscribe(function(t){return p.landlordID=t}))})}return u(t,[{key:"ngOnInit",value:function(){var t=this;this.invoiceID=this.route.snapshot.paramMap.get("id"),this.invoiceData$=this.invoiceService.selectedInvoiceChanges$,this.invoiceService.selectedInvoiceChanges$.subscribe(function(n){n&&(t.invoiceData$=(0,b.of)(n)),n||(t.isLandlord?t.landlordService.getNestedById(t.landlordService.nestedInvoiceUrl(t.landlordID,t.invoiceID)).subscribe(function(n){t.invoiceData$=(0,b.of)(n),t.invoiceService.changeSelectedInvoice(n)}):t.invoiceService.getById(t.invoiceID).subscribe(function(n){t.invoiceData$=(0,b.of)(n),t.invoiceService.changeSelectedInvoice(n)}))}),this.downloadInvoice(this.invoiceID)}},{key:"downloadInvoice",value:function(t){var n=this;this.loader=!0,this.invoiceService.downloadInvoice({id:t,pdf:!0}).subscribe(function(t){n.pdfSrc=n.domSanitizer.bypassSecurityTrustResourceUrl(URL.createObjectURL(t)),n.loader=!1},function(){n.loader=!1,n.notification.showNotification("danger","Error downloading Invoice !")})}},{key:"showFile",value:function(t){var n=new Blob([t],{type:"application/pdf"});if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(n);else{var e=window.URL.createObjectURL(n),i=document.createElement("a");i.href=e,i.download="statement.pdf",i.click(),setTimeout(function(){window.URL.revokeObjectURL(e)},100)}}},{key:"addDialog",value:function(t,n){var e=new c.vA;e.disableClose=!0,e.autoFocus=!0,e.data={property:n,mode:t},this.dialog.open(J,e).afterClosed().subscribe(function(t){})}},{key:"ngAfterViewInit",value:function(){}},{key:"waiveInvoice",value:function(t){this.invoiceID=null==t?void 0:t.id,this.invoiceNumber=null==t?void 0:t.invoice_number;var n=new c.vA;n.disableClose=!0,n.autoFocus=!0,n.width="auto",n.height="auto",n.data={invoice:t},this.dialog.open(jt,n).afterClosed().subscribe(function(t){})}}]),t}();return t.\u0275fac=function(n){return new(n||t)(q.Y36(R.yh),q.Y36(W.c),q.Y36(Z.qu),q.Y36(Lt.H7),q.Y36(c.uw),q.Y36(M.q),q.Y36(V.$),q.Y36(w.g),q.Y36(a.F0),q.Y36(a.gz))},t.\u0275cmp=q.Xpm({type:t,selectors:[["robi-view-invoice"]],decls:5,vars:4,consts:[[1,"main-content"],["no_data",""],["class","container-fluid",4,"ngIf","ngIfElse"],[1,"not-found"],[1,"container-fluid"],[1,"row"],[1,"col-md-8"],[1,"card"],[1,"card-header","card-header-info"],[1,"card-title"],[1,"card-category"],[1,"card-body"],["width","500","height","600","style","width: 100%","type","application/pdf",3,"src",4,"ngIf"],["class","d-flex justify-content-center spinner-container",4,"ngIf"],[1,"col-md-4"],[1,"col-4"],[1,"card-category","text-gray"],[1,"col-12"],[4,"ngFor","ngForOf"],[4,"ngIf"],["width","500","height","600","type","application/pdf",2,"width","100%",3,"src"],[1,"d-flex","justify-content-center","spinner-container"],["color","primary","mode","query","value","50","bufferValue","75"],[1,"row","col-12"],["class","ml-5",4,"ngIf"],[1,"ml-5"],["inline","true"],[1,"mr-2","text-muted"],[1,"text-right"],[1,"text-info"],[1,"table","table-striped","table-dark"],[4,"robiPermission"],["class","card",4,"ngIf"],["mat-raised-button","","color","warn",3,"click"]],template:function(t,n){if(1&t&&(q.TgZ(0,"div",0),q.YNc(1,Rt,4,0,"ng-template",null,1,q.W1O),q.YNc(3,rn,72,20,"div",2),q.ALo(4,"async"),q.qZA()),2&t){var e=q.MAs(2);q.xp6(3),q.Q6J("ngIf",q.lcZ(4,2,n.invoiceData$))("ngIfElse",e)}},directives:[S.O5,et.Hw,S.sg,Jt.pp,ot.pW,Jt.ib,Jt.yz,Jt.yK,Jt.u4,$t.A,nt.lW],pipes:[S.Ov,S.Nd],styles:[".fab-container[_ngcontent-%COMP%]{position:fixed;bottom:35px;right:35px;z-index:100;display:flex;flex-direction:column-reverse;align-items:center}.fab-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse;align-items:center;margin-bottom:5px}.fab-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:17px}.fab-toggler[_ngcontent-%COMP%]{float:right;z-index:100}.card[_ngcontent-%COMP%]{background:none repeat scroll 0 0 #FFFFFF;border-radius:4px;color:#444}.card-container[_ngcontent-%COMP%], .front[_ngcontent-%COMP%], .back[_ngcontent-%COMP%]{width:100%;height:390px;border-radius:4px}.card[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%]{height:105px;overflow:hidden;border-radius:4px 4px 0 0}.card[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.user[_ngcontent-%COMP%]{border-radius:50%;display:block;height:120px;margin:-55px auto 0;overflow:hidden;width:120px;box-shadow:0 16px 38px -12px rgba(0,0,0,.561),0 4px 25px rgba(0,0,0,.122),0 8px 10px -5px rgba(0,0,0,.2)}.card[_ngcontent-%COMP%] .user[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{background:none repeat scroll 0 0 #FFFFFF;border:4px solid #FFFFFF;width:100%}.card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);box-shadow:none;padding:10px 20px 20px}.card[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .main[_ngcontent-%COMP%]{min-height:160px}.card[_ngcontent-%COMP%] .back[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .main[_ngcontent-%COMP%]{height:215px}.card[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:22px;line-height:28px;margin:10px 0 0;text-align:center;text-transform:capitalize}.card[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:5px 0;font-weight:400;line-height:20px}.card[_ngcontent-%COMP%] .profession[_ngcontent-%COMP%]{color:#999;text-align:center;margin-bottom:20px}.card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%]{border-top:1px solid #EEEEEE;color:#999;margin:0;padding:10px 0 0;text-align:center}.card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .social-links[_ngcontent-%COMP%]{font-size:18px}.card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 7px}.card[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .btn-simple[_ngcontent-%COMP%]{margin-top:-6px}.card[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{padding:15px 20px;height:90px}.card[_ngcontent-%COMP%] .motto[_ngcontent-%COMP%]{border-bottom:1px solid #EEEEEE;color:#999;font-size:14px;font-weight:400;padding-bottom:10px;text-align:center}.card[_ngcontent-%COMP%] .stats-container[_ngcontent-%COMP%]{width:100%;margin-top:20px;display:flex;justify-content:center}.card[_ngcontent-%COMP%] .property-stats[_ngcontent-%COMP%]{display:block;float:left;width:33.333333%;text-align:center}.card[_ngcontent-%COMP%] .property-stats[_ngcontent-%COMP%]:first-child{border-right:1px solid #EEEEEE}.card[_ngcontent-%COMP%] .property-stats[_ngcontent-%COMP%]:last-child{border-left:1px solid #EEEEEE}.card[_ngcontent-%COMP%] .property-stats[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-weight:300;margin-bottom:5px}.card[_ngcontent-%COMP%] .property-stats[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#777}.title[_ngcontent-%COMP%]{color:#506a85;text-align:center;font-weight:300;font-size:44px;margin-bottom:90px;line-height:90%}.title[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:17px;color:#999;text-transform:uppercase;margin:0}.space-30[_ngcontent-%COMP%]{height:30px;display:block}.space-50[_ngcontent-%COMP%]{height:50px;display:block}.space-200[_ngcontent-%COMP%]{height:200px;display:block}.white-board[_ngcontent-%COMP%]{background-color:#fff;min-height:200px;padding:60px 60px 20px}.ct-heart[_ngcontent-%COMP%]{color:#f74933}pre.prettyprint[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #999;margin-top:20px;padding:20px;text-align:left}.atv[_ngcontent-%COMP%], .str[_ngcontent-%COMP%]{color:#05ae0e}.tag[_ngcontent-%COMP%], .pln[_ngcontent-%COMP%], .kwd[_ngcontent-%COMP%]{color:#3472f7}.atn[_ngcontent-%COMP%]{color:#2c93ff}.pln[_ngcontent-%COMP%]{color:#333}.com[_ngcontent-%COMP%]{color:#999}.btn-simple[_ngcontent-%COMP%]{opacity:.8;color:#666;background-color:transparent}.btn-simple[_ngcontent-%COMP%]:hover, .btn-simple[_ngcontent-%COMP%]:focus{background-color:transparent;box-shadow:none;opacity:1}.btn-simple[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.navbar-brand-logo[_ngcontent-%COMP%]{padding:0}.navbar-brand-logo[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{border:1px solid #333333;border-radius:50%;float:left;overflow:hidden;width:60px}.navbar[_ngcontent-%COMP%] .navbar-brand-logo[_ngcontent-%COMP%] .brand[_ngcontent-%COMP%]{color:#fff;float:left;font-size:18px;font-weight:400;line-height:20px;margin-left:10px;margin-top:10px;width:60px}.navbar-default[_ngcontent-%COMP%] .navbar-brand-logo[_ngcontent-%COMP%] .brand[_ngcontent-%COMP%]{color:#555}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.front[_ngcontent-%COMP%], .back[_ngcontent-%COMP%]{-webkit-backface-visibility:visible;backface-visibility:visible}.back[_ngcontent-%COMP%]{visibility:hidden;-ms-transition:all .2s cubic-bezier(.92,.01,.83,.67)}.front[_ngcontent-%COMP%]{z-index:4}.card-container[_ngcontent-%COMP%]:not(.manual-flip):hover .back[_ngcontent-%COMP%], .card-container.manual-flip.hover[_ngcontent-%COMP%] .back[_ngcontent-%COMP%]{z-index:5;visibility:visible}}"]}),t}(),ln=o(4885);function cn(t,n){1&t&&(q.TgZ(0,"div",22),q._UZ(1,"mat-spinner",23),q.qZA()),2&t&&(q.xp6(1),q.Q6J("diameter",40))}function un(t,n){if(1&t){var e=q.EpF();q.TgZ(0,"button",24),q.NdJ("click",function(){return q.CHM(e),q.oxw(2).downloadForm()}),q.TgZ(1,"i",25),q._uU(2," cloud_download "),q.qZA(),q._uU(3," Membership Form "),q.qZA()}}function sn(t,n){if(1&t&&(q.TgZ(0,"div",4),q.YNc(1,cn,2,1,"div",20),q.YNc(2,un,4,0,"button",21),q.qZA()),2&t){var e=q.oxw();q.xp6(1),q.Q6J("ngIf",e.loader),q.xp6(1),q.Q6J("ngIf",!e.loader)}}var dn=a.Bz.forChild([{path:"",component:Ut},{path:"create",component:J},{path:":id",component:an,children:[{path:"",component:function(){var t=function(){function t(n){l(this,t),this.notification=n,this.memberId="",this.profilePicFileToUpload=null,this.loader=!1,this.memberShipForm=!1}return u(t,[{key:"ngOnInit",value:function(){}}]),t}();return t.\u0275fac=function(n){return new(n||t)(q.Y36(w.g))},t.\u0275cmp=q.Xpm({type:t,selectors:[["robi-view-property-general"]],decls:92,vars:40,consts:[[1,"row"],[1,"col-md-12"],[1,"card"],[1,"card-body"],[1,"col-sm-6"],["color","primary","appearance","outline",1,"full-width"],["matInput","","placeholder","First Name","disabled","",3,"value"],["matInput","","placeholder","Middle Name","disabled","",3,"value"],["matInput","","placeholder","Last Name","disabled","",3,"value"],["matInput","","placeholder","Date Became Member","disabled","",3,"value"],["matInput","","placeholder","Phone","disabled","",3,"value"],["matInput","","placeholder","Email","disabled","",3,"value"],["matInput","","placeholder","Date of Birth","disabled","",3,"value"],["matInput","","placeholder","Nationality","disabled","",3,"value"],["matInput","","placeholder","County","disabled","",3,"value"],["matInput","","placeholder","City","disabled","",3,"value"],["matInput","","placeholder","National ID / Passport Number","disabled","",3,"value"],["matInput","","placeholder","Residential Address","disabled","",3,"value"],["matInput","","placeholder","Postal Address","disabled","",3,"value"],["class","col-sm-6",4,"ngIf"],["class","d-flex spinner-container",4,"ngIf"],["mat-raised-button","",3,"click",4,"ngIf"],[1,"d-flex","spinner-container"],[3,"diameter"],["mat-raised-button","",3,"click"],[1,"material-icons"]],template:function(t,n){var e,i,o,r,a,l,c,u,s,d,p,g,m;(1&t&&(q.TgZ(0,"div",0),q._uU(1,"\nxxx "),q.TgZ(2,"div",1),q.TgZ(3,"div",2),q.TgZ(4,"div",3),q.TgZ(5,"div",0),q.TgZ(6,"div",4),q.TgZ(7,"mat-form-field",5),q.TgZ(8,"mat-label"),q._uU(9,"First Namel"),q.qZA(),q._UZ(10,"input",6),q.ALo(11,"async"),q.qZA(),q.qZA(),q.TgZ(12,"div",4),q.TgZ(13,"mat-form-field",5),q.TgZ(14,"mat-label"),q._uU(15,"Middle Name"),q.qZA(),q._UZ(16,"input",7),q.ALo(17,"async"),q.qZA(),q.qZA(),q.qZA(),q.TgZ(18,"div",0),q.TgZ(19,"div",4),q.TgZ(20,"mat-form-field",5),q.TgZ(21,"mat-label"),q._uU(22,"Last Name"),q.qZA(),q._UZ(23,"input",8),q.ALo(24,"async"),q.qZA(),q.qZA(),q.TgZ(25,"div",4),q.TgZ(26,"mat-form-field",5),q.TgZ(27,"mat-label"),q._uU(28,"Date Became Member"),q.qZA(),q._UZ(29,"input",9),q.ALo(30,"async"),q.qZA(),q.qZA(),q.qZA(),q.TgZ(31,"div",0),q.TgZ(32,"div",4),q.TgZ(33,"mat-form-field",5),q.TgZ(34,"mat-label"),q._uU(35,"Phone"),q.qZA(),q._UZ(36,"input",10),q.ALo(37,"async"),q.qZA(),q.qZA(),q.TgZ(38,"div",4),q.TgZ(39,"mat-form-field",5),q.TgZ(40,"mat-label"),q._uU(41,"Email"),q.qZA(),q._UZ(42,"input",11),q.ALo(43,"async"),q.qZA(),q.qZA(),q.qZA(),q.TgZ(44,"div",0),q.TgZ(45,"div",4),q.TgZ(46,"mat-form-field",5),q.TgZ(47,"mat-label"),q._uU(48,"Date of Birth"),q.qZA(),q._UZ(49,"input",12),q.ALo(50,"async"),q.qZA(),q.qZA(),q.TgZ(51,"div",4),q.TgZ(52,"mat-form-field",5),q.TgZ(53,"mat-label"),q._uU(54,"Nationality"),q.qZA(),q._UZ(55,"input",13),q.ALo(56,"async"),q.qZA(),q.qZA(),q.qZA(),q.TgZ(57,"div",0),q.TgZ(58,"div",4),q.TgZ(59,"mat-form-field",5),q.TgZ(60,"mat-label"),q._uU(61,"County"),q.qZA(),q._UZ(62,"input",14),q.ALo(63,"async"),q.qZA(),q.qZA(),q.TgZ(64,"div",4),q.TgZ(65,"mat-form-field",5),q.TgZ(66,"mat-label"),q._uU(67,"City"),q.qZA(),q._UZ(68,"input",15),q.ALo(69,"async"),q.qZA(),q.qZA(),q.qZA(),q.TgZ(70,"div",0),q.TgZ(71,"div",4),q.TgZ(72,"mat-form-field",5),q.TgZ(73,"mat-label"),q._uU(74,"National ID / Passport Number"),q.qZA(),q._UZ(75,"input",16),q.ALo(76,"async"),q.qZA(),q.qZA(),q.TgZ(77,"div",4),q.TgZ(78,"mat-form-field",5),q.TgZ(79,"mat-label"),q._uU(80,"Residential Address"),q.qZA(),q._UZ(81,"input",17),q.ALo(82,"async"),q.qZA(),q.qZA(),q.qZA(),q.TgZ(83,"div",0),q.TgZ(84,"div",4),q.TgZ(85,"mat-form-field",5),q.TgZ(86,"mat-label"),q._uU(87,"Postal Address"),q.qZA(),q._UZ(88,"input",18),q.ALo(89,"async"),q.qZA(),q.qZA(),q.TgZ(90,"div",4),q.YNc(91,sn,3,2,"div",19),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.qZA(),q.qZA()),2&t)&&(q.xp6(10),q.s9C("value",null==(e=q.lcZ(11,14,n.landlord$))?null:e.first_name),q.xp6(6),q.s9C("value",null==(i=q.lcZ(17,16,n.landlord$))?null:i.middle_name),q.xp6(7),q.s9C("value",null==(o=q.lcZ(24,18,n.landlord$))?null:o.last_name),q.xp6(6),q.s9C("value",null==(r=q.lcZ(30,20,n.landlord$))?null:r.date_became_member_display),q.xp6(7),q.s9C("value",null==(a=q.lcZ(37,22,n.landlord$))?null:a.phone),q.xp6(6),q.s9C("value",null==(l=q.lcZ(43,24,n.landlord$))?null:l.email),q.xp6(7),q.s9C("value",null==(c=q.lcZ(50,26,n.landlord$))?null:c.date_of_birth_display),q.xp6(6),q.s9C("value",null==(u=q.lcZ(56,28,n.landlord$))?null:u.nationality),q.xp6(7),q.s9C("value",null==(s=q.lcZ(63,30,n.landlord$))?null:s.county),q.xp6(6),q.s9C("value",null==(d=q.lcZ(69,32,n.landlord$))?null:d.city),q.xp6(7),q.s9C("value",null==(p=q.lcZ(76,34,n.landlord$))?null:p.id_number),q.xp6(6),q.s9C("value",null==(g=q.lcZ(82,36,n.landlord$))?null:g.residential_address),q.xp6(7),q.s9C("value",null==(m=q.lcZ(89,38,n.landlord$))?null:m.postal_address),q.xp6(3),q.Q6J("ngIf",n.memberShipForm))},directives:[U.KE,U.hX,K.Nt,S.O5,ln.$g,nt.lW],pipes:[S.Ov],styles:[".image[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}"]}),t}()}]}]),pn=o(83893),gn=function(){var t=function t(){l(this,t)};return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=q.oAB({type:t}),t.\u0275inj=q.cJS({imports:[[pn.m,dn,E.Co]]}),t}()}}])}();