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,uDAAA,oBAA+B;QACnCA,0DAAA,EAAM;QACRA,uDAAA,aAIM;QACRA,0DAAA,EAAM;;;;;;;;;;;;;;;;;;;;;AChCN;AACA;AACA;AACA;AAEO,MAAM+jD,WAAW,GAAG;EACzBC,UAAU,EAAE;CACb;;;;;;;;;;;;;;;;;;;;ACPwD;AAGG;AACU;AAEhE,SAAUE,UAAUA,CAAA;EACtB,OAAOrjC,QAAQ,CAACsjC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAACC,IAAI;AACxD;AAEA,MAAMC,SAAS,GAAG,CACd;EAAEphC,OAAO,EAAE,UAAU;EAAEqhC,UAAU,EAAEJ,UAAU;EAAEK,IAAI,EAAE;AAAE,CAAE,CAC5D;AAED,IAAIR,kEAAW,CAACC,UAAU,EAAE;EACxBC,6DAAc,EAAE;;AAGpBO,sEAAA,CAAuBH,SAAS,CAAC,CAACK,eAAe,CAAC5hC,sDAAS,CAAC,CACvDs8B,KAAK,CAACuF,GAAG,IAAIzW,OAAO,CAACC,GAAG,CAACwW,GAAG,CAAC,CAAC;;;;;;;;;;ACnBnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":["./src/app/admin/admin-applications/admin-applications.component.ts","./src/app/admin/admin-applications/admin-applications.component.html","./src/app/admin/admin-applications/admin-applist/admin-applist-search.component.ts","./src/app/admin/admin-applications/admin-applist/admin-applist-status-filter.component.ts","./src/app/admin/admin-applications/admin-applist/admin-applist.component.ts","./src/app/admin/admin-applications/admin-applist/admin-applist.component.html","./src/app/admin/admin.component.ts","./src/app/admin/admin.component.html","./src/app/admin/advanced/advanced.component.ts","./src/app/admin/advanced/advanced.component.html","./src/app/admin/fundterms/fundterm-form/fundterm-form.component.ts","./src/app/admin/fundterms/fundterm-form/fundterm-form.component.html","./src/app/admin/fundterms/fundterms-list/fundterms-list.component.ts","./src/app/admin/fundterms/fundterms-list/fundterms-list.component.html","./src/app/admin/fundterms/fundterms.component.ts","./src/app/admin/fundterms/fundterms.component.html","./src/app/admin/members/member-list/member-list-search.component.ts","./src/app/admin/members/member-list/member-list.component.ts","./src/app/admin/members/member-list/member-list.component.html","./src/app/admin/members/members.component.ts","./src/app/admin/members/members.component.html","./src/app/admin/pdevents/pdevents.component.ts","./src/app/admin/pdevents/pdevents.component.html","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/app.route.ts","./src/app/authenticate-route.guard.ts","./src/app/login/login.component.ts","./src/app/login/login.component.html","./src/app/models/calculation-pair.model.ts","./src/app/models/calculation.model.ts","./src/app/models/member-logic.ts","./src/app/models/member-status.model.ts","./src/app/nl2br.pipe.ts","./src/app/order-by.pipe.ts","./src/app/pd/account-detail/account-detail.component.ts","./src/app/pd/account-detail/account-detail.component.html","./src/app/pd/awaiting-approval/awaiting-approval.component.ts","./src/app/pd/awaiting-approval/awaiting-approval.component.html","./src/app/pd/pd-applications/pd-applications.component.ts","./src/app/pd/pd-applications/pd-applications.component.html","./src/app/pd/pd-applications/pd-applist/pd-applist.component.ts","./src/app/pd/pd-applications/pd-applist/pd-applist.component.html","./src/app/pd/pd-applications/pd-form/pd-form.component.ts","./src/app/pd/pd-applications/pd-form/pd-form.component.html","./src/app/pd/pd.component.ts","./src/app/pd/pd.component.html","./src/app/providers.ts","./src/app/routes.ts","./src/app/services/base.service.ts","./src/app/services/blob.service.ts","./src/app/services/bulk-credit.service.ts","./src/app/services/config.service.ts","./src/app/services/current-user.service.ts","./src/app/services/error.handler.ts","./src/app/services/members.service.ts","./src/app/services/monitoring.service.ts","./src/app/services/pd-app.service.ts","./src/app/services/terms.service.ts","./src/app/shared/amountpair/amountpair.component.ts","./src/app/shared/amountpair/amountpair.component.html","./src/app/shared/application-fund-bar/application-color-bar.component.ts","./src/app/shared/application-fund-bar/application-color-bar.component.html","./src/app/shared/color-bar/color-bar.component.ts","./src/app/shared/color-bar/color-bar.component.html","./src/app/shared/credits/credits.component.ts","./src/app/shared/credits/credits.component.html","./src/app/shared/file-upload/file-upload.component.ts","./src/app/shared/file-upload/file-upload.component.html","./src/app/shared/funding/funding.component.ts","./src/app/shared/funding/funding.component.html","./src/app/shared/quick-toggle/quick-toggle.component.ts","./src/app/shared/quick-toggle/quick-toggle.component.html","./src/app/shared/unitcalc/unitcalc.component.ts","./src/app/shared/unitcalc/unitcalc.component.html","./src/app/shared/unitcalcpair/unitcalcpair.component.ts","./src/app/shared/unitcalcpair/unitcalcpair.component.html","./src/app/shared/wait/wait.component.ts","./src/app/shared/wait/wait.component.html","./src/app/side-nav/side-nav.component.ts","./src/app/side-nav/side-nav.component.html","./src/app/top-nav/top-nav.component.ts","./src/app/top-nav/top-nav.component.html","./src/app/top-nav/user-menu/user-menu.component.ts","./src/app/top-nav/user-menu/user-menu.component.html","./src/app/two-outlet-layout/two-outlet-layout.component.ts","./src/app/two-outlet-layout/two-outlet-layout.component.html","./src/environments/environment.ts","./src/main.ts","./node_modules/moment/locale/ sync ^\\.\\/.*$"],"sourcesContent":["import { Component,\r\n OnInit } from '@angular/core';\r\nimport { Location } from '@angular/common';\r\n@Component({\r\n selector: 'eil-admin-applications',\r\n templateUrl: './admin-applications.component.html',\r\n styleUrls: ['./admin-applications.component.scss']\r\n }\r\n)\r\nexport class AdminApplicationsComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n linkToExcel: string;\r\n\r\n constructor(location: Location) {\r\n this.linkToExcel = location.prepareExternalUrl(\"PDApp/GetAllPDAsExcel\");\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n Open all in Excel\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n","import { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: \"searchFilter\",\r\n pure: false\r\n})\r\nexport class SearchFilterPipe implements PipeTransform {\r\n transform(items: any[], args: string): any {\r\n \r\n return items.filter(item => (item.applicantName.toLowerCase().indexOf(args.toLowerCase()) !== -1 || (item.event.name != null && item.event.name.toLowerCase().indexOf(args.toLowerCase()) !== -1)));\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: \"statusFilter\",\r\n pure: false\r\n})\r\nexport class StatusFilterPipe implements PipeTransform {\r\n transform(items: any[], args: string): any {\r\n if (args == \"\") {\r\n return items;\r\n }\r\n return items.filter(item => item.status.toLowerCase() == args.toLowerCase() );\r\n }\r\n}\r\n","import { Component, OnInit } from \"@angular/core\";\r\nimport { PDAppService } from \"../../../services/pd-app.service\";\r\nimport { ROUTES } from \"../../../routes\";\r\nimport moment from \"moment\";\r\nimport { OrderByPipe } from \"../../../order-by.pipe\";\r\nimport { SearchFilterPipe } from \"./admin-applist-search.component\";\r\nimport { ToastrService } from \"ngx-toastr\";\r\nimport { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Component({\r\n selector: \"eil-admin-applist\",\r\n templateUrl: \"./admin-applist.component.html\",\r\n styleUrls: [\"./admin-applist.component.scss\"]\r\n})\r\nexport class AdminApplistComponent implements OnInit {\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n filterStatus: string = \"\";\r\n linkToEdit: string;\r\n loading = false;\r\n order: string = \"created\";\r\n pdApps = [];\r\n reverse: boolean = false;\r\n searchText: string = \"\";\r\n tablePage: number;\r\n toastrService: ToastrService;\r\n\r\n constructor(\r\n private pdAppService: PDAppService,\r\n orderByPipe: OrderByPipe\r\n ) {\r\n this.linkToEdit = `/${ROUTES.PD}/${ROUTES.PD_EDITAPP}/`;\r\n this.loading = true;\r\n\r\n var filterDate = moment().subtract(6, 'months');\r\n //filterDate.setMonth(filterDate.getMonth() - 6);\r\n\r\n var filter = {\r\n ApplicantEmail: null,\r\n ExcludeStatus: 'ExpensesApproved',\r\n CreatedAt: filterDate\r\n }\r\n this.pdAppService.getMany(filter, (success, result) => {\r\n this.pdApps = result;\r\n // TODO: process result\r\n this.addDisplayTotal();\r\n this.checkAndUpdateStatus();\r\n // unflag wait\r\n this.loading = false;\r\n });\r\n this.tablePage = 1; //Start at the first page\r\n orderByPipe.transform(this.pdApps, \"created\");\r\n this.setOrder(\"created\");\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n getAgo(dateString) {\r\n return moment(dateString).fromNow();\r\n }\r\n\r\n addDisplayTotal() {\r\n var i;\r\n for (i = 0; i < this.pdApps.length; i++) {\r\n this.pdApps[i][\"displayTotal\"] = this.pdApps[i].actualTotal\r\n ? parseFloat(this.pdApps[i].actualTotal)\r\n : parseFloat(this.pdApps[i].anticipatedTotal);\r\n if (isNaN(this.pdApps[i].displayTotal)) {\r\n this.pdApps[i].displayTotal = \"\";\r\n }\r\n }\r\n }\r\n\r\n setOrder(value: string) {\r\n if (this.order === value) {\r\n this.reverse = !this.reverse;\r\n }\r\n this.order = value;\r\n }\r\n\r\n checkAndUpdateStatus() {\r\n var i;\r\n var oneDay = 24 * 60 * 60 * 1000;\r\n for (i = 0; i < this.pdApps.length; i++) {\r\n if (this.pdApps[i] && this.pdApps[i].status) {\r\n if (this.pdApps[i].status == \"Approved\" || this.pdApps[i].status == \"ExpensesDue\") {\r\n var endDate = new Date(this.pdApps[i].event.endDate);\r\n var now = new Date();\r\n if (now.valueOf() > endDate.valueOf()) {\r\n if ((now.getTime() - endDate.getTime()) / oneDay > 21) {\r\n this.pdAppService.expensesOverdue(\r\n this.pdApps[i],\r\n (success, result, error) => {\r\n if (success) {\r\n this.pdApps[i].status = \"ExpensesOverdue\";\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(\r\n error.errorMessage\r\n );\r\n }\r\n }\r\n );\r\n } else {\r\n if (this.pdApps[i].status != \"ExpensesDue\") {\r\n this.pdAppService.expensesDue(\r\n this.pdApps[i],\r\n (success, result, error) => {\r\n if (success) {\r\n this.pdApps[i].status = \"ExpensesDue\";\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(\r\n error.errorMessage\r\n );\r\n }\r\n }\r\n );\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n loadAllApps() {\r\n this.loading = true\r\n this.pdAppService.getMany({}, (success, result) => {\r\n this.pdApps = result;\r\n // TODO: process result\r\n this.addDisplayTotal();\r\n // unflag wait\r\n this.loading = false;\r\n });\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n Event\r\n \r\n \r\n Created\r\n \r\n \r\n Member\r\n \r\n \r\n Expense\r\n \r\n \r\n State\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{pdApp.event.name}}\r\n \r\n \r\n {{ getAgo(pdApp.created) }}\r\n \r\n \r\n {{pdApp.applicantName}}\r\n \r\n \r\n ${{pdApp.displayTotal}}\r\n \r\n {{pdApp.status}}\r\n
\r\n
\r\n No applications match the current filters.\r\n
\r\n \r\n
\r\n \r\n Have some time to wait?\r\n \r\n \r\n
\r\n
\r\n\r\n","import { Component,\r\n OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'eil-admin',\r\n templateUrl: './admin.component.html',\r\n styleUrls: ['./admin.component.scss']\r\n})\r\nexport class AdminComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n constructor() { \r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","

Administration

\r\n\r\n\r\n\r\n","import { Component, OnInit } from \"@angular/core\";\r\nimport { ConfigService } from \"../../services/config.service\";\r\nimport { IConfigValues } from \"../../models/config-values.model\";\r\nimport { ToastrService } from \"ngx-toastr\";\r\nimport { BulkCreditService } from \"../../services/bulk-credit.service\";\r\nimport moment from \"moment\";\r\nimport { IBulkCreditLoad } from \"../../models/bulk-credit-load.model\";\r\nimport { IBulkLoadMemberRoster } from \"../../models/bulk-load-member-roster.model\";\r\nimport { IBulkLoadNextRequest } from \"../../models/bulk-load-next-request.model\";\r\n\r\n@Component({\r\n selector: \"eil-advanced\",\r\n templateUrl: \"./advanced.component.html\",\r\n styleUrls: [\"./advanced.component.scss\"],\r\n})\r\nexport class AdvancedComponent implements OnInit {\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n loadingConfig = false;\r\n savingConfig = false;\r\n\r\n loadingPastCredits = false;\r\n creditLoadInProgress = false;\r\n activeCreditLoad: IBulkCreditLoad;\r\n loadingRosterMembers = false;\r\n rosterMembers: IBulkLoadMemberRoster[] = [];\r\n processingRosterIndex = 0;\r\n pastCreditLoads: IBulkCreditLoad[] = [];\r\n bulkCreditsToAdd;\r\n\r\n disableForNonAdmin: boolean = false;\r\n\r\n config: IConfigValues = {};\r\n\r\n constructor(\r\n private configService: ConfigService,\r\n private bulkCreditService: BulkCreditService,\r\n private toastrService: ToastrService\r\n ) {}\r\n\r\n ngOnInit() {\r\n // flag wait\r\n this.loadingConfig = true;\r\n\r\n this.configService.instance.subscribe((config) => {\r\n this.config = config;\r\n this.bulkCreditsToAdd = config.defaultCreditAddAmount;\r\n });\r\n\r\n // TODO: should load be called automatically by the service rather than manually on-demand here?\r\n this.configService.load((isSuccess) => {\r\n if (isSuccess) this.loadingConfig = false;\r\n // TODO: what if not?\r\n });\r\n\r\n this.loadingRosterMembers = true;\r\n this.bulkCreditService.getActiveMemberRoster(\r\n (success, result, error) => {\r\n // unflag wait\r\n this.loadingRosterMembers = false;\r\n\r\n if (success) {\r\n this.rosterMembers = result;\r\n } else if (!error.displayHasBeenHandled) {\r\n if (error.errorMessage == \"You are not an administrator.\") {\r\n this.disableForNonAdmin = true;\r\n }\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n }\r\n );\r\n\r\n this.loadPastCredits();\r\n }\r\n\r\n loadPastCredits() {\r\n this.loadingPastCredits = true;\r\n this.bulkCreditService.getPastCreditLoads((success, result, error) => {\r\n // unflag wait\r\n this.loadingPastCredits = false;\r\n\r\n if (success) {\r\n this.pastCreditLoads = result;\r\n } else if (!error.displayHasBeenHandled) {\r\n if (error.errorMessage == \"You are not an administrator.\") {\r\n this.disableForNonAdmin = true;\r\n }\r\n // this.toastrService.error(error.errorMessage);\r\n }\r\n });\r\n }\r\n\r\n onSubmit() {\r\n // flag wait\r\n this.savingConfig = true;\r\n\r\n this.configService.save(this.config, (success, error) => {\r\n // unflag wait\r\n this.savingConfig = false;\r\n\r\n if (success) {\r\n this.toastrService.success(\"Configuration saved.\");\r\n this.loadingConfig = true;\r\n this.configService.load((isSuccess) => {\r\n if (isSuccess) this.loadingConfig = false;\r\n // TODO: what if not?\r\n });\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n });\r\n }\r\n\r\n // TODO: put this in a common library!\r\n getAgo(dateString) {\r\n if (!dateString) {\r\n return \"--\";\r\n }\r\n return moment(dateString).fromNow();\r\n }\r\n\r\n startBulkCredit(creditsToAdd) {\r\n // TODO: confirm they should leave their computer going while we do this\r\n // TODO:\r\n if (\r\n !confirm(\r\n `This will add up to $${creditsToAdd} to each active member's credit balance, up to a maximum resulting balance of $${this.config.maximumAllowedCredits}. \\nThis may take a few moments. \\nPlease DO NOT CLOSE THIS WINDOW OR CLICK ANYTHING UNTIL THE PROCESS IS COMPLETED, or it will be CANCELLED, with some members having been credited and others not! \\n\\nDo you still wish to continue?`\r\n )\r\n ) {\r\n return;\r\n }\r\n this.creditLoadInProgress = true;\r\n this.activeCreditLoad = {\r\n amountToLoad: creditsToAdd,\r\n membersToLoad: this.rosterMembers.length,\r\n loadStatus: \"New\",\r\n };\r\n this.bulkCreditService.createNewCreditLoadEntry(\r\n this.activeCreditLoad,\r\n (success, result, error) => {\r\n if (success) {\r\n this.activeCreditLoad = result;\r\n this.processingRosterIndex = 0;\r\n this.processRosterEntry();\r\n } else {\r\n if (error) {\r\n if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n } else {\r\n this.toastrService.error(\"An unknown error occurred.\");\r\n }\r\n this.activeCreditLoad.loadStatus = \"Failed\";\r\n this.creditLoadInProgress = false;\r\n }\r\n }\r\n );\r\n }\r\n\r\n processRosterEntry() {\r\n let rosterEntry = this.rosterMembers[this.processingRosterIndex];\r\n rosterEntry.isBeingCredited = true;\r\n let request: IBulkLoadNextRequest = {\r\n bulkCreditId: this.activeCreditLoad.id,\r\n userId: rosterEntry.id,\r\n };\r\n this.bulkCreditService.performCreditLoad(\r\n request,\r\n (success, result, error) => {\r\n rosterEntry.isBeingCredited = false;\r\n if (success) {\r\n this.activeCreditLoad = result.bulkMaster;\r\n this.rosterMembers[this.processingRosterIndex] =\r\n result.member;\r\n } else {\r\n let rosterEntryName =\r\n rosterEntry.firstName || rosterEntry.lastName\r\n ? `${rosterEntry.firstName} ${rosterEntry.lastName}`\r\n : rosterEntry.email;\r\n if (error) {\r\n if (!error.displayHasBeenHandled) {\r\n this.toastrService.warning(\r\n `An error occurred for ${rosterEntryName}: '${error.errorMessage}'`\r\n );\r\n }\r\n } else {\r\n this.toastrService.warning(\r\n `An unknown error occurred for ${rosterEntryName}.`\r\n );\r\n }\r\n }\r\n this.processingRosterIndex++;\r\n if (this.processingRosterIndex >= this.rosterMembers.length) {\r\n this.completeBulkCredit();\r\n } else {\r\n this.processRosterEntry();\r\n }\r\n }\r\n );\r\n }\r\n\r\n completeBulkCredit() {\r\n this.activeCreditLoad.loadStatus = \"Finishing\";\r\n this.bulkCreditService.markCreditLoadComplete(\r\n this.activeCreditLoad,\r\n (success, result, error) => {\r\n if (success) {\r\n this.activeCreditLoad = result;\r\n } else {\r\n if (error) {\r\n if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n } else {\r\n this.toastrService.error(\"An unknown error occurred.\");\r\n }\r\n this.activeCreditLoad.loadStatus = \"Failed\";\r\n }\r\n this.creditLoadInProgress = false;\r\n this.loadPastCredits();\r\n }\r\n );\r\n }\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n

Configuration

\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n Max Allowed Credits is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n Max Expenses Claim Amount is required.\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n Subsistence Amount Per Day is required.\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n Max Accommodation Price Per Night is required.\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n Car Allowance Per Kilometer is required.\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n Substitute Cost Per Half Day is required.\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n Substitute Cost Per Full Day is required.\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n Substitute Maximum Cost Per Grid Day is required.\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n Date Help Text is required.\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n Attach Conference Information Text is required.\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n
\r\n PD Explanation Help Text is required.\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n Substitute Expenses Help Text is required.\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n Mileage Help Text is required.\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n Subsistence Help Text is required.\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n Save\r\n \r\n
\r\n \r\n\r\n
\r\n

Bulk Credit Load

\r\n
\r\n
Past Credit Loads:
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
DateLoaded ByAmountTo MaxActive MembersMembers CompletedStatus
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{ getAgo(pastCreditLoad.startDate) }}\r\n \r\n \r\n {{ pastCreditLoad.startedByUserName }}\r\n \r\n \r\n {{\r\n pastCreditLoad.amountToLoad\r\n | currency\r\n : \"CAD\"\r\n : \"symbol-narrow\"\r\n : \"1.2-2\"\r\n }}\r\n \r\n {{\r\n pastCreditLoad.toMaximumOf\r\n | currency\r\n : \"CAD\"\r\n : \"symbol-narrow\"\r\n : \"1.2-2\"\r\n }}\r\n \r\n {{ pastCreditLoad.membersToLoad }}\r\n \r\n {{ pastCreditLoad.membersLoaded }}\r\n \r\n {{ pastCreditLoad.loadStatus }}\r\n
\r\n \r\n No previous bulk credit loads found.\r\n
\r\n
\r\n \r\n
\r\n There are {{ rosterMembers.length }} active members. The maximum\r\n credit balance is\r\n {{\r\n config.maximumAllowedCredits\r\n | currency : \"CAD\" : \"symbol-narrow\" : \"1.2-2\"\r\n }}.\r\n
\r\n
\r\n Bulk load credits: $\r\n \r\n \r\n Start Bulk Credit Add\r\n \r\n
\r\n \r\n
\r\n Bulk credit load\r\n succeeded;\r\n {{ activeCreditLoad.MembersLoaded }} members credited. View\r\n detailed results below.\r\n
\r\n
\r\n The bulk load operation\r\n failed.\r\n {{ activeCreditLoad.MembersLoaded }} out of\r\n {{ rosterMembers.length }} members were credited.\r\n
\r\n
\r\n Finishing up...\r\n
\r\n
\r\n Bulk load in progress:\r\n {{ processingRosterIndex + 1 }}/{{ rosterMembers.length }}.\r\n \r\n Please do not close this window or click anything inside\r\n it!\r\n \r\n
\r\n
\r\n Starting bulk credit\r\n load...\r\n
\r\n \r\n
\r\n \r\n Results of this bulk credit load:\r\n \r\n \r\n Active members to credit:\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
MemberLast SeenLast CreditedLast Credited Amount\r\n \r\n Previous Balance\r\n \r\n \r\n \r\n Credits Added\r\n \r\n \r\n \r\n Resulting Balance\r\n \r\n
\r\n \r\n {{ member.firstName }} {{ member.lastName }}\r\n \r\n \r\n {{ getAgo(member.lastSeen) }}\r\n \r\n {{ getAgo(member.lastCreditLoadDate) }}\r\n \r\n {{\r\n member.lastCreditLoadAmount\r\n | currency\r\n : \"CAD\"\r\n : \"symbol-narrow\"\r\n : \"1.2-2\"\r\n }}\r\n \r\n \r\n {{\r\n member.previousBalance\r\n | currency\r\n : \"CAD\"\r\n : \"symbol-narrow\"\r\n : \"1.2-2\"\r\n }}\r\n \r\n \r\n \r\n \r\n {{\r\n member.creditsAdded\r\n | currency\r\n : \"CAD\"\r\n : \"symbol-narrow\"\r\n : \"1.2-2\"\r\n }}\r\n \r\n \r\n \r\n {{\r\n member.resultingBalance\r\n | currency\r\n : \"CAD\"\r\n : \"symbol-narrow\"\r\n : \"1.2-2\"\r\n }}\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import {\r\n Component,\r\n OnInit\r\n} from '@angular/core';\r\nimport { ITerm } from \"../../../models/term.model\";\r\nimport { TermsService } from \"../../../services/terms.service\";\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { ROUTES } from '../../../routes';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { CurrentUserService } from '../../../services/current-user.service';\r\n\r\n@Component({\r\n selector: 'eil-fundterm-form',\r\n templateUrl: './fundterm-form.component.html',\r\n styleUrls: [\r\n // For some reason if you try using just the node module folder name (like an import) it tries to make it relative to this path\r\n // I'm so sorry\r\n '../../../../../node_modules/@angular/material/prebuilt-themes/purple-green.css',\r\n './fundterm-form.component.scss'\r\n ]\r\n}\r\n)\r\nexport class FundtermFormComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n loadingTerm = false;\r\n savingTerm = false;\r\n showAllocationBar = false;\r\n disableForNonAdmin: boolean = false;\r\n\r\n term: ITerm = {\r\n isOpen: false\r\n };\r\n\r\n constructor(private termsService: TermsService,\r\n private toastrService: ToastrService,\r\n protected router: Router,\r\n private route: ActivatedRoute,\r\n userService: CurrentUserService) {\r\n userService.currentUser.subscribe(user => this.disableForNonAdmin = !user.isAdmin);\r\n }\r\n\r\n ngOnInit() {\r\n // load an existing form if applicable\r\n const paramMap = this.route.snapshot.paramMap;\r\n if (paramMap.has('id')) {\r\n const id = paramMap.get('id');\r\n if (id) {\r\n // flag wait\r\n this.loadingTerm = true;\r\n this.termsService.getOne(id,\r\n (success, result) => {\r\n if (success) {\r\n\r\n this.term = result;\r\n\r\n // date picker is selfish and wants Date objects, not strings.\r\n // (https://github.com/valor-software/ngx-bootstrap/issues/4020)\r\n if (this.term.startDate && !(this.term.startDate instanceof Date)) {\r\n this.term.startDate = new Date(this.term.startDate);\r\n }\r\n if (this.term.endDate && !(this.term.endDate instanceof Date)) {\r\n this.term.endDate = new Date(this.term.endDate);\r\n }\r\n\r\n // unflag wait\r\n this.loadingTerm = false;\r\n this.showAllocationBar = true;\r\n }\r\n });\r\n }\r\n } else {\r\n // set for a new submission\r\n this.showAllocationBar = false;\r\n }\r\n }\r\n\r\n onSubmit() {\r\n // flag wait\r\n this.savingTerm = true;\r\n\r\n this.termsService.save(this.term,\r\n (success, result, error) => {\r\n\r\n // unflag wait\r\n this.savingTerm = false;\r\n\r\n if (success) {\r\n this.toastrService.success(\"Term created.\");\r\n this.router.navigateByUrl(`${ROUTES.ADMIN}/${ROUTES.ADMIN_FUNDTERMS}`);\r\n } else if (!error.displayHasBeenHandled) {\r\n if (error.errorMessage == \"You are not an administrator.\") {\r\n this.disableForNonAdmin = true;\r\n }\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n Term Name is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n Term Start Date is required.\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n Term End Date is required.\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n Starting Balance is required.\r\n
\r\n
\r\n \r\n\r\n
\r\n \r\n
\r\n \r\n {{ term.isOpen ? \"Open\" : \"Closed\" }}\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n Save Term\r\n \r\n \r\n
\r\n Term Name is required.\r\n
\r\n \r\n Term Start Date is required.\r\n
\r\n
\r\n Term End Date is required.\r\n
\r\n \r\n Term Starting Balance is required.\r\n \r\n \r\n \r\n \r\n\r\n","import { Component,\r\n OnInit } from '@angular/core';\r\nimport {PDAppService} from \"../../../services/pd-app.service\";\r\nimport {ROUTES} from \"../../../routes\";\r\nimport {TermsService} from \"../../../services/terms.service\";\r\nimport { ITerm } from \"../../../models/term.model\";\r\nimport moment from \"moment\";\r\n\r\n@Component({\r\n selector: 'eil-fundterms-list',\r\n templateUrl: './fundterms-list.component.html',\r\n styleUrls: ['./fundterms-list.component.scss']\r\n }\r\n)\r\nexport class FundtermsListComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n terms = [];\r\n loading = false;\r\n linkToEdit: string;\r\n\r\n constructor(private termsService: TermsService) {\r\n this.linkToEdit = `/${ROUTES.ADMIN}/${ROUTES.ADMIN_FUNDTERMS_EDIT}/`;\r\n this.loading = true;\r\n // TODO: filter?\r\n this.termsService.getMany({}, (success, result) => {\r\n this.terms = result;\r\n // TODO: process result\r\n\r\n // unflag wait\r\n this.loading = false;\r\n });\r\n }\r\n\r\n\r\n getTermRange(term: ITerm) {\r\n // TODO: this actually should be common code as it's used on applist as well\r\n const start = moment(term.startDate);\r\n const end = moment(term.endDate);\r\n const fullFormatString = \"MMMM D, YYYY\";\r\n\r\n if (start.get('year') !== end.get('year')) {\r\n return `${start.format(fullFormatString)} - ${end.format(fullFormatString)}`;\r\n }\r\n\r\n if (start.get('month') !== end.get('month')) {\r\n return `${start.format(\"MMMM D\")} - ${end.format(fullFormatString)}`;\r\n }\r\n\r\n return `${start.format(\"MMMM D\")} - ${end.format(\"D, YYYY\")}`;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
NameTermStatusStarting BalanceAllocation
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {{term.name}}\r\n \r\n \r\n {{getTermRange(term)}}\r\n \r\n {{ term.isOpen ? 'Open' : 'Closed' }}\r\n \r\n {{ term.startingBalance | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n \r\n \r\n
\r\n
\r\n No terms found.\r\n
\r\n
\r\n","import { Component,\r\n OnInit } from '@angular/core';\r\nimport {ROUTES} from \"../../routes\";\r\nimport { CurrentUserService } from '../../services/current-user.service';\r\n\r\n@Component({\r\n selector: 'eil-fundterms',\r\n templateUrl: './fundterms.component.html',\r\n styleUrls: ['./fundterms.component.scss']\r\n }\r\n)\r\nexport class FundtermsComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n linkToNew: string;\r\n disabledForNonAdmin: boolean = false;\r\n\r\n constructor(userService: CurrentUserService) {\r\n userService.currentUser.subscribe(user => this.disabledForNonAdmin = !user.isAdmin);\r\n this.linkToNew =//`/${ROUTES.ADMIN}/newterm`;\r\n //`/${ROUTES.ADMIN}/${ROUTES.ADMIN_FUNDTERMS}/${ROUTES.ADMIN_FUNDTERMS_NEW}`;\r\n `/${ROUTES.ADMIN}/${ROUTES.ADMIN_FUNDTERMS_NEW}`;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: \"memberSearchFilter\",\r\n pure: false\r\n})\r\nexport class MemberSearchFilterPipe implements PipeTransform {\r\n transform(items: any[], args: string): any {\r\n\r\n var test = items.filter(item => item.teachingCertNo != null && item.teachingCertNo.toLowerCase().indexOf(args.toLowerCase()) !== -1);\r\n\r\n return items.filter(item => ((item.teachingCertNo != null && item.teachingCertNo.toLowerCase().indexOf(args.toLowerCase()) !== -1) ||\r\n (item.firstName != null && item.firstName.toLowerCase().indexOf(args.toLowerCase()) !== -1) ||\r\n (item.lastName != null && item.lastName.toLowerCase().indexOf(args.toLowerCase()) !== -1) ||\r\n (item.preferredEmail ? item.preferredEmail.toLowerCase().indexOf(args.toLowerCase()) !== -1 : item.email.toLowerCase().indexOf(args.toLowerCase()) !== -1)));\r\n }\r\n}\r\n","import { Component,\r\n OnInit } from '@angular/core';\r\nimport { ROUTES } from \"../../../routes\";\r\nimport { MembersService } from \"../../../services/members.service\";\r\nimport { IUserDetail } from \"../../../models/user-detail.model\";\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport moment from \"moment\";\r\nimport {CurrentUserService} from \"../../../services/current-user.service\";\r\nimport {MemberLogic} from \"../../../models/member-logic\";\r\nimport { OrderByPipe } from '../../../order-by.pipe';\r\n\r\n@Component({\r\n selector: 'eil-member-list',\r\n templateUrl: './member-list.component.html',\r\n styleUrls: ['./member-list.component.scss']\r\n }\r\n)\r\nexport class MemberListComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n currentUser: IUserDetail;\r\n linkToEdit: string;\r\n loading = false;\r\n memberLogic = new MemberLogic();\r\n members = [];\r\n order: string = \"getStatus(member)\";\r\n reverse: boolean = false;\r\n searchText: string = \"\";\r\n tablePage: number;\r\n\r\n constructor(private membersService: MembersService, private toastrService: ToastrService, private currentUserService: CurrentUserService, orderByPipe: OrderByPipe) {\r\n this.linkToEdit = `/${ROUTES.ADMIN}/${ROUTES.ADMIN_EDITMEMBER}/`;\r\n this.loading = true;\r\n // TODO: filter?\r\n this.membersService.getAll((success, result, error) => {\r\n // unflag wait\r\n this.loading = false;\r\n if (success) {\r\n this.members = result;\r\n } else if (error && !error.displayHasBeenHandled) {\r\n toastrService.error(error.errorMessage);\r\n }\r\n });\r\n this.tablePage = 1; //Start at the first page\r\n orderByPipe.transform(this.members, \"getStatus(member)\")\r\n }\r\n\r\n // TODO: put this in a common library!\r\n getAgo(dateString) {\r\n if (!dateString) {\r\n return '--';\r\n }\r\n return moment(dateString).fromNow();\r\n }\r\n\r\n toggleMemberSetting(member: IUserDetail, valueToSet: boolean, settingName: string) {\r\n\r\n if (confirm(`Change ${settingName} for ${member.firstName} ${member.lastName} to ${valueToSet}?`)) {\r\n this.loading = true;\r\n this.membersService.setMemberSetting(member.email, settingName, valueToSet,\r\n (success, result, error) => {\r\n if (success) {\r\n let index = this.members.indexOf(member);\r\n if (index < 0) {\r\n this.toastrService.warning(\"member not found in list...\");\r\n } else {\r\n this.members[index] = result;\r\n }\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n // unflag wait\r\n this.loading = false;\r\n });\r\n }\r\n }\r\n\r\n reject(member: IUserDetail) {\r\n if (confirm(`This will delete ${member.firstName} ${member.lastName}. Are you sure?`)) {\r\n this.loading = true;\r\n this.membersService.delete(member.email,\r\n (success, error) => {\r\n if (success) {\r\n let index = this.members.indexOf(member);\r\n if (index < 0) {\r\n this.toastrService.warning(\"member not found in list...\");\r\n } else {\r\n this.members.splice(index, 1);\r\n }\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n // unflag wait\r\n this.loading = false;\r\n });\r\n }\r\n }\r\n\r\n deactivate(member: IUserDetail) {\r\n // TODO: something clearer\r\n this.toggleMemberSetting(member, false, \"IsApproved\");\r\n }\r\n\r\n reactivate(member: IUserDetail) {\r\n // TODO: something clearer\r\n this.toggleMemberSetting(member, true, \"IsApproved\");\r\n }\r\n\r\n toggleIsRegistered(member: IUserDetail, valueToSet: boolean) {\r\n this.toggleMemberSetting(member, valueToSet, \"IsRegistered\");\r\n }\r\n\r\n toggleIsAuditor(member: IUserDetail, valueToSet: boolean) {\r\n this.toggleMemberSetting(member, valueToSet, \"IsAuditor\");\r\n }\r\n\r\n toggleIsApproved(member: IUserDetail, valueToSet: boolean) {\r\n this.toggleMemberSetting(member, valueToSet, \"IsApproved\");\r\n }\r\n\r\n toggleIsMember(member: IUserDetail, valueToSet: boolean) {\r\n this.toggleMemberSetting(member, valueToSet, \"IsMember\");\r\n }\r\n\r\n toggleIsAdmin(member: IUserDetail, valueToSet: boolean) {\r\n this.toggleMemberSetting(member, valueToSet, \"IsAdmin\");\r\n }\r\n\r\n ngOnInit() {\r\n // TODO: flag wait?\r\n this.currentUserService.currentUser.subscribe(user => {\r\n this.currentUser = user;\r\n });\r\n }\r\n\r\n setOrder(value: string) {\r\n if (this.order === value) {\r\n this.reverse = !this.reverse;\r\n }\r\n\r\n this.order = value;\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Roles\r\n First Name\r\n \r\n \r\n Last Name\r\n \r\n \r\n Email\r\n \r\n \r\n Certificate #\r\n \r\n \r\n Last Seen\r\n \r\n \r\n Status\r\n \r\n Actions
\r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n m\r\n A\r\n Aud\r\n \r\n \r\n {{ member.firstName }}\r\n \r\n
\r\n {{ member.firstName }}\r\n
\r\n
\r\n \r\n {{ member.lastName }}{{ member.lastName ? '' : '...'}}\r\n \r\n
\r\n {{ member.lastName }}{{ member.lastName ? '' : '...'}}\r\n
\r\n
\r\n {{member.preferredEmail ? member.preferredEmail : member.email}}\r\n **\r\n \r\n {{ member.teachingCertNo }}\r\n \r\n {{ getAgo(member.lastSeen) }}\r\n \r\n {{ memberLogic.getStatus(member) }}\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n No members match the current filters.\r\n
\r\n \r\n
\r\n\r\n","import { Component, \r\n OnInit } from '@angular/core';\r\nimport { Location } from '@angular/common';\r\n@Component({\r\n selector: 'eil-members',\r\n templateUrl: './members.component.html',\r\n styleUrls: ['./members.component.scss']\r\n }\r\n)\r\nexport class MembersComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n linkToExcel: string;\r\n\r\n constructor(private location: Location) { \r\n this.linkToExcel = location.prepareExternalUrl(\"PDApp/GetAllMembersAsExcel\");\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","

Members

\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n","import { Component, \r\n OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'eil-pdevents',\r\n templateUrl: './pdevents.component.html',\r\n styleUrls: ['./pdevents.component.scss']\r\n }\r\n)\r\nexport class PDEventsComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n constructor() { \r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","

\r\n PD Events\r\n

\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'eil-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n}\r\n)\r\nexport class AppComponent {\r\n title = 'app';\r\n showNav = true;\r\n currentPos = 0;\r\n lastTimeNegative = false;\r\n ngOnInit() {\r\n\r\n var container = document.getElementById(\"container\");\r\n //container.addEventListener('touchend', this.displayNavBarMobile);\r\n }\r\n\r\n showNavBar(event) {\r\n if (window.screen.width < 900 && event.deltaY > 0) {\r\n this.showNav = false;\r\n }\r\n else {\r\n this.showNav = true;\r\n }\r\n }\r\n\r\n displayNavBarMobile(event) {\r\n // Last time negative is used since finger swipes can be a bit finicky\r\n var dif = event.changedTouches[0].pageY - this.currentPos;\r\n if (dif < 0) {\r\n if (this.lastTimeNegative) {\r\n this.showNav = false;\r\n }\r\n this.lastTimeNegative = true;\r\n }\r\n else if (dif > 0) {\r\n if (!this.lastTimeNegative) {\r\n this.showNav = true;\r\n }\r\n this.lastTimeNegative = false;\r\n }\r\n this.currentPos = event.changedTouches[0].pageY;\r\n }\r\n\r\n}\r\n\r\n","
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { BrowserModule } from \"@angular/platform-browser\";\r\nimport { BrowserAnimationsModule } from \"@angular/platform-browser/animations\";\r\nimport { NgModule, ErrorHandler } from \"@angular/core\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { HttpClientModule } from \"@angular/common/http\";\r\n\r\nimport { BsDatepickerModule } from \"ngx-bootstrap/datepicker\";\r\nimport { BsDropdownModule } from \"ngx-bootstrap/dropdown\";\r\nimport { ProgressbarModule } from \"ngx-bootstrap/progressbar\";\r\nimport { ModalModule } from \"ngx-bootstrap/modal\";\r\nimport { MatProgressBarModule } from \"@angular/material/progress-bar\";\r\nimport { ToastrModule } from \"ngx-toastr\";\r\nimport { MatSlideToggleModule } from \"@angular/material/slide-toggle\";\r\nimport { InlineSVGModule } from \"ng-inline-svg-2\";\r\nimport { NgxPaginationModule } from \"ngx-pagination\";\r\n\r\nimport { AppRoutingModule } from \"./app.route\";\r\n\r\nimport { AppComponent } from \"./app.component\";\r\n\r\nimport { COMPONENTS } from \"./components\";\r\nimport { PROVIDERS } from \"./providers\";\r\nimport { MonitoringErrorHandler } from \"./services/error.handler\";\r\nimport { OrderByPipe } from \"./order-by.pipe\";\r\nimport { NewLine2BrPipe } from \"./nl2br.pipe\";\r\n\r\n@NgModule({\r\n declarations: [AppComponent, COMPONENTS, OrderByPipe, NewLine2BrPipe],\r\n imports: [\r\n BrowserModule,\r\n HttpClientModule,\r\n FormsModule,\r\n InlineSVGModule,\r\n BrowserAnimationsModule,\r\n MatProgressBarModule,\r\n BsDatepickerModule.forRoot(),\r\n BsDropdownModule.forRoot(),\r\n ProgressbarModule.forRoot(),\r\n ToastrModule.forRoot({\r\n closeButton: true,\r\n timeOut: 10000\r\n }),\r\n ModalModule.forRoot(),\r\n MatSlideToggleModule,\r\n AppRoutingModule,\r\n NgxPaginationModule\r\n ],\r\n providers: [\r\n PROVIDERS,\r\n { provide: ErrorHandler, useClass: MonitoringErrorHandler }\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport {\r\n Routes,\r\n RouterModule\r\n} from '@angular/router';\r\n\r\nimport { ROUTES } from './routes';\r\nimport { TwoOutletLayoutComponent } from './two-outlet-layout/two-outlet-layout.component';\r\nimport { LoginComponent } from './login/login.component';\r\nimport { SideNavComponent } from './side-nav/side-nav.component';\r\n\r\nimport { PDApplicationsComponent } from './pd/pd-applications/pd-applications.component';\r\nimport { AccountDetailComponent } from './pd/account-detail/account-detail.component';\r\nimport { AwaitingApprovalComponent } from './pd/awaiting-approval/awaiting-approval.component';\r\nimport { PDFormComponent } from \"./pd/pd-applications/pd-form/pd-form.component\";\r\n\r\nimport { FundtermsComponent } from './admin/fundterms/fundterms.component';\r\nimport { MembersComponent } from './admin/members/members.component';\r\nimport { AdvancedComponent } from './admin/advanced/advanced.component';\r\nimport { AdminApplicationsComponent } from './admin/admin-applications/admin-applications.component';\r\nimport { FundtermFormComponent } from \"./admin/fundterms/fundterm-form/fundterm-form.component\";\r\nimport { AuthGuard } from './authenticate-route.guard';\r\n\r\n\r\nexport const appRoutes: Routes = [\r\n { path: ROUTES.HOME, redirectTo: ROUTES.LOGIN, pathMatch: 'full' },\r\n { path: ROUTES.LOGIN, component: LoginComponent },\r\n {\r\n path: ROUTES.REGISTER,\r\n component: TwoOutletLayoutComponent,\r\n canActivate: [AuthGuard],\r\n children: [\r\n {\r\n path: ROUTES.REGISTER_DETAIL,\r\n component: AccountDetailComponent\r\n },\r\n {\r\n path: ROUTES.REGISTER_AWAITING,\r\n component: AwaitingApprovalComponent\r\n }\r\n ]\r\n },\r\n {\r\n path: ROUTES.PD,\r\n component: TwoOutletLayoutComponent,\r\n canActivate: [AuthGuard],\r\n children: [\r\n {\r\n path: ROUTES.HOME,\r\n redirectTo: ROUTES.PD_APPLICATIONS,\r\n pathMatch: 'prefix'\r\n },\r\n {\r\n path: ROUTES.PD_APPLICATIONS,\r\n data: {\r\n showInSideNavAs: 'Applications',\r\n svgIcon: 'applications-icon',\r\n },\r\n component: PDApplicationsComponent\r\n },\r\n {\r\n path: ROUTES.PD_NEWAPP,\r\n component: PDFormComponent\r\n },\r\n {\r\n path: ROUTES.PD_EDITAPP + '/:id',\r\n component: PDFormComponent\r\n },\r\n {\r\n path: ROUTES.PD_ACCOUNTDETAIL,\r\n data: {\r\n showInSideNavAs: 'Account Detail',\r\n svgIcon: 'members-icon',\r\n },\r\n component: AccountDetailComponent\r\n },\r\n // {\r\n // path: ROUTES.PD_AWAITINGAPPROVAL,\r\n // component: AwaitingApprovalComponent\r\n // },\r\n {\r\n path: ROUTES.HOME,\r\n outlet: 'sidenav',\r\n component: SideNavComponent\r\n },\r\n {\r\n path: ROUTES.IDPARAM,\r\n outlet: 'sidenav',\r\n component: SideNavComponent\r\n }\r\n ]\r\n },\r\n {\r\n path: ROUTES.ADMIN,\r\n component: TwoOutletLayoutComponent,\r\n canActivate: [AuthGuard],\r\n children: [\r\n {\r\n path: ROUTES.HOME,\r\n redirectTo: ROUTES.ADMIN_APPLICATIONS,\r\n pathMatch: 'prefix'\r\n },\r\n {\r\n path: ROUTES.ADMIN_APPLICATIONS,\r\n data: {\r\n showInSideNavAs: 'Applications',\r\n svgIcon: 'applications-icon',\r\n },\r\n component: AdminApplicationsComponent\r\n },\r\n {\r\n path: ROUTES.ADMIN_FUNDTERMS,\r\n data: {\r\n showInSideNavAs: 'Fund Terms',\r\n svgIcon: 'fundterms-icon',\r\n },\r\n component: FundtermsComponent\r\n },\r\n {\r\n path: ROUTES.ADMIN_FUNDTERMS_NEW,\r\n component: FundtermFormComponent\r\n },\r\n {\r\n path: ROUTES.ADMIN_FUNDTERMS_EDIT + '/:id',\r\n component: FundtermFormComponent\r\n },\r\n {\r\n path: ROUTES.ADMIN_MEMBERS,\r\n data: {\r\n showInSideNavAs: 'Members',\r\n svgIcon: 'members-icon',\r\n },\r\n component: MembersComponent\r\n },\r\n {\r\n path: ROUTES.ADMIN_EDITMEMBER + '/:id',\r\n component: AccountDetailComponent\r\n },\r\n //{\r\n // path: ROUTES.ADMIN_PDEVENTS,\r\n // showInSideNavAs: 'PD Events',\r\n // svgIcon: 'pdevents-icon',\r\n // component: PDEventsComponent\r\n //},\r\n {\r\n path: ROUTES.ADMIN_ADVANCED,\r\n data: {\r\n showInSideNavAs: 'Advanced',\r\n svgIcon: 'advanced-icon',\r\n },\r\n component: AdvancedComponent\r\n },\r\n {\r\n path: ROUTES.HOME,\r\n outlet: 'sidenav',\r\n component: SideNavComponent\r\n },\r\n {\r\n path: ROUTES.IDPARAM,\r\n outlet: 'sidenav',\r\n component: SideNavComponent\r\n }\r\n ]\r\n },\r\n { path: ROUTES.WILDCARD, redirectTo: ROUTES.LOGIN }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forRoot(appRoutes)],\r\n exports: [RouterModule]\r\n})\r\nexport class AppRoutingModule { }\r\n","import { inject } from \"@angular/core\";\r\nimport { CanActivateFn, Router } from \"@angular/router\";\r\nimport { CurrentUserService } from \"./services/current-user.service\";\r\nimport { ROUTES } from \"./routes\";\r\n\r\nexport const AuthGuard: CanActivateFn = (next, state) => {\r\n const userService = inject(CurrentUserService);\r\n const router = inject(Router);\r\n\r\n if (!userService.isAuthenticated()) {\r\n // redirect to login (with a return path) so that the user can be authorized and then come back to whatever page this is\r\n router.navigate([ROUTES.LOGIN], { queryParams: { returnUrl: state.url.toString() } });\r\n return false;\r\n } else if (!userService.isRegistered()) {\r\n if (state.url === `/${ROUTES.REGISTER}/${ROUTES.REGISTER_DETAIL}`) {\r\n return true;\r\n }\r\n router.navigateByUrl(ROUTES.REGISTER + \"/\" + ROUTES.REGISTER_DETAIL);\r\n return false;\r\n } else if (!userService.isApproved()) {\r\n if (state.url === `/${ROUTES.REGISTER}/${ROUTES.REGISTER_AWAITING}`) {\r\n return true;\r\n }\r\n // if they haven't been approved yet they have to wait instead of whatever page this is\r\n router.navigateByUrl(ROUTES.REGISTER + \"/\" + ROUTES.REGISTER_AWAITING);\r\n return false;\r\n } else if (next.url[0].path === ROUTES.ADMIN && !(userService.isAdmin() || userService.isAuditor())) {\r\n return false;\r\n }\r\n return true;\r\n}\r\n","import { Component,\r\n OnInit } from '@angular/core';\r\nimport { CurrentUserService } from '../services/current-user.service';\r\nimport { IUserDetail } from '../models/user-detail.model';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { ROUTES } from '../routes';\r\nimport { ToastrService } from 'ngx-toastr';\r\n\r\n@Component({\r\n selector: 'eil-login',\r\n templateUrl: './login.component.html',\r\n styleUrls: ['./login.component.scss']\r\n }\r\n)\r\nexport class LoginComponent implements OnInit {\r\n\r\n currentUser: IUserDetail;\r\n errorMessage: any;\r\n loading: boolean;\r\n\r\n constructor(private currentUserService: CurrentUserService, protected router: Router, private route: ActivatedRoute, private toastrService: ToastrService) {\r\n this.loading = true;\r\n this.currentUserService.load(\r\n (wasSuccess, error) => {\r\n this.loading = false;\r\n if (!wasSuccess && !error.displayHasBeenHandled) {\r\n toastrService.error(\"An error occurred loading your membership. Please try again later.\");\r\n }\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n this.currentUserService.currentUser.subscribe(user => {\r\n const newlyAuthenticated = user.isAuthenticated && (!this.currentUser || !this.currentUser.isAuthenticated);\r\n\r\n this.currentUser = user;\r\n\r\n if (newlyAuthenticated) {\r\n // user has just logged in; need to redirect to default page\r\n let returnUrl: string | undefined;\r\n if (this.route && this.route.snapshot && this.route.snapshot.queryParams) {\r\n returnUrl = this.route.snapshot.queryParams.returnUrl;\r\n }\r\n\r\n if (returnUrl) {\r\n this.router.navigateByUrl(returnUrl);\r\n } else if (user.isAdmin || user.isAuditor) {\r\n this.router.navigateByUrl(ROUTES.ADMIN);\r\n } else if (user.isMember) {\r\n this.router.navigateByUrl(ROUTES.PD);\r\n }\r\n }\r\n });\r\n }\r\n\r\n}\r\n","
\r\n

\r\n Checking user...\r\n

\r\n

\r\n Need to sign in. Sign in\r\n

\r\n

\r\n Signed in as {{ currentUser.firstName }} {{ currentUser.lastName }} ({{currentUser.email}})\r\n

\r\n
\r\n","import { Calculation } from \"./calculation.model\";\r\n\r\nexport class CalculationPair {\r\n anticipated?: Calculation;\r\n actual?: Calculation;\r\n\r\n static newDefault(): CalculationPair {\r\n return {\r\n anticipated: Calculation.newDefault(),\r\n actual: Calculation.newDefault()\r\n };\r\n }\r\n}\r\n","export class Calculation {\r\n amount?: number;\r\n unitCost?: number;\r\n total?: string;\r\n\r\n static newDefault(): Calculation {\r\n return {\r\n total: \"0\"\r\n };\r\n }\r\n}\r\n","import {IUserDetail} from \"./user-detail.model\";\r\nimport {MemberStatus} from \"./member-status.model\";\r\n\r\nexport class MemberLogic {\r\n\r\n getStatus(member: IUserDetail) {\r\n return MemberStatus.for(member);\r\n }\r\n\r\n adminCanApprove(member: IUserDetail) {\r\n // have to be unapproved\r\n if (member.isApproved) {\r\n return false;\r\n }\r\n\r\n // can't have been approved before (that's what Reactivate is for)\r\n if (member.hasBeenApproved) {\r\n return false;\r\n }\r\n\r\n // have to either be registered, or an admin and NOT a member\r\n if (member.isRegistered || (member.isAdmin && !member.isMember)) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n adminCanReject(member: IUserDetail) {\r\n // they're not approved and never have been before (because reject is a delete, so deactivate)\r\n return !member.isApproved && !member.hasBeenApproved;\r\n }\r\n\r\n adminCanMakeAdmin(member: IUserDetail) {\r\n // they just have to not be an admin\r\n return !member.isAdmin;\r\n }\r\n\r\n adminCanRemoveAsAdmin(member: IUserDetail) {\r\n // they just have to be an admin (server will reject attempt if it's themselves)\r\n return member.isAdmin;\r\n }\r\n\r\n adminCanMakeMember(member: IUserDetail) {\r\n // TODO: this is hard because it needs to set other flags too I think\r\n return !member.isMember;\r\n }\r\n\r\n adminCanMakeAuditor(member: IUserDetail) {\r\n // TODO: this is hard because it needs to set other flags too I think\r\n return !member.isAuditor;\r\n }\r\n\r\n adminCanRemoveAsAuditor(member: IUserDetail) {\r\n // they just have to be an admin (server will reject attempt if it's themselves)\r\n return member.isAuditor;\r\n }\r\n\r\n adminCanRemoveAsMember(member: IUserDetail) {\r\n // TODO: this is hard because it needs to set other flags too I think\r\n return member.isMember;\r\n }\r\n\r\n adminCanDeactivate(member: IUserDetail) {\r\n // if they're approved\r\n return member.isApproved;\r\n }\r\n\r\n adminCanReactivate(member: IUserDetail) {\r\n // if they're not approved but have been before\r\n return member.hasBeenApproved && !member.isApproved;\r\n }\r\n}\r\n","import {IUserDetail} from \"./user-detail.model\";\r\n\r\nexport class MemberStatus {\r\n public static Incomplete: string = 'Incomplete';\r\n public static Pending: string = 'Pending';\r\n public static Deactivated: string = 'Deactivated';\r\n public static Approved: string = 'Approved';\r\n public static Auditor: string = 'Auditor';\r\n\r\n static for(user: IUserDetail) {\r\n\r\n if (!user.isApproved) {\r\n if (!user.isRegistered) {\r\n return MemberStatus.Incomplete;\r\n } else {\r\n if (!user.hasBeenApproved) {\r\n return MemberStatus.Pending;\r\n } else {\r\n return MemberStatus.Deactivated;\r\n }\r\n }\r\n } else {\r\n if (user.isAuditor) {\r\n return MemberStatus.Auditor;\r\n }\r\n return MemberStatus.Approved;\r\n }\r\n\r\n }\r\n}\r\n","import { Pipe, PipeTransform, SecurityContext } from \"@angular/core\";\r\nimport { DomSanitizer } from \"@angular/platform-browser\";\r\n\r\n@Pipe({ name: \"nl2br\" })\r\nexport class NewLine2BrPipe implements PipeTransform {\r\n constructor(private sanitizer: DomSanitizer) {\r\n }\r\n\r\n transform(value: string, santize: boolean = true): string {\r\n if (typeof value !== 'string') {\r\n return value;\r\n }\r\n\r\n const parsed = value.replace(/(?:\\r\\n|\\r|\\n)/g, \"
\");\r\n\r\n if (santize) {\r\n return this.sanitizer.sanitize(SecurityContext.HTML, parsed);\r\n } else {\r\n return this.sanitizer.bypassSecurityTrustHtml(parsed) as string;\r\n }\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from \"@angular/core\";\r\nimport { orderBy } from \"lodash-es\";\r\n\r\n@Pipe({ name: \"orderBy\" })\r\nexport class OrderByPipe implements PipeTransform {\r\n transform(value: Array, field: string, reverse: boolean = false) {\r\n return orderBy(value, field, reverse ? 'desc' : 'asc');\r\n }\r\n}\r\n","import { Component,\r\n OnInit } from '@angular/core';\r\n\r\nimport { IUserDetail } from \"../../models/user-detail.model\";\r\nimport { CurrentUserService } from \"../../services/current-user.service\";\r\nimport { Router,\r\n ActivatedRoute } from '@angular/router';\r\nimport { ROUTES } from '../../routes';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport {MembersService} from \"../../services/members.service\";\r\nimport { MemberLogic } from \"../../models/member-logic\";\r\nimport moment from \"moment\";\r\n\r\n@Component({\r\n selector: 'eil-account-detail',\r\n templateUrl: './account-detail.component.html',\r\n styleUrls: ['./account-detail.component.scss']\r\n }\r\n)\r\nexport class AccountDetailComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n currentUser: IUserDetail = {};\r\n user: IUserDetail = {};\r\n waiting: boolean;\r\n memberLogic = new MemberLogic();\r\n emailRegex = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n postalCodeRegex = /^[ABCEGHJKLMNPRSTVXY][0-9][ABCEGHJKLMNPRSTVWXYZ] ?[0-9][ABCEGHJKLMNPRSTVWXYZ][0-9]$/i;\r\n phoneNumberRegex = /^1?[ -]?\\(?[0-9]{3}\\)?[ -]?[0-9]{3}[ -]?[0-9]{4}$/;\r\n\r\n creditsToAdd: number;\r\n\r\n constructor(private currentUserService: CurrentUserService,\r\n private membersService: MembersService,\r\n private toastrService: ToastrService,\r\n protected router: Router,\r\n private route: ActivatedRoute) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n // check if we're editing the current user or someone else (whether there's an ID parameter in the route)\r\n const paramMap = this.route.snapshot.paramMap;\r\n if (paramMap.has('id')) {\r\n\r\n // subscribe but only for the current user\r\n this.currentUserService.currentUser.subscribe(user => {\r\n this.currentUser = user;\r\n\r\n if (!user.isLoaded || !user.isAuthenticated) {\r\n // redirect to login (with a return path) so that the user can be authorized and then come back to this\r\n this.router.navigate([ROUTES.LOGIN], { queryParams: { returnUrl: this.router.url } });\r\n\r\n }\r\n });\r\n\r\n const id = paramMap.get('id');\r\n if (id) {\r\n // flag wait\r\n this.waiting = true;\r\n this.membersService.getOne(id,\r\n (success, result) => {\r\n if (success) {\r\n\r\n this.user = result;\r\n\r\n // unflag wait\r\n this.waiting = false;\r\n }\r\n });\r\n } else {\r\n // TODO: throw an error?\r\n }\r\n } else {\r\n // subscribe as both (force refresh though)\r\n this.currentUserService.load(() => {});\r\n this.currentUserService.currentUser.subscribe(user => {\r\n this.currentUser = user;\r\n this.user = user;\r\n\r\n if (!user.isLoaded || !user.isAuthenticated) {\r\n // redirect to login (with a return path) so that the user can be authorized and then come back to this\r\n this.router.navigate([ROUTES.LOGIN], { queryParams: { returnUrl: this.router.url } });\r\n\r\n }\r\n });\r\n }\r\n }\r\n\r\n showAdminPanel() {\r\n return this.currentUser && this.currentUser.email\r\n && this.currentUser.isAdmin\r\n && this.user && this.user.email\r\n && this.user.email !== this.currentUser.email;\r\n }\r\n\r\n onSave() {\r\n this.waiting = true;\r\n this.currentUserService.save(this.user,\r\n (success, result, error) => {\r\n this.waiting = false;\r\n if (success && result) {\r\n this.toastrService.success(\"Information saved.\");\r\n if (this.currentUser.isAdmin) {\r\n this.router.navigateByUrl(`${ROUTES.ADMIN}/${ROUTES.ADMIN_MEMBERS}`);\r\n } else {\r\n this.router.navigateByUrl(ROUTES.HOME);\r\n }\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n });\r\n }\r\n\r\n toggleMemberSetting(member: IUserDetail, valueToSet: boolean, settingName: string) {\r\n\r\n if (confirm(`Change ${settingName} for ${member.firstName} ${member.lastName} to ${valueToSet}?`)) {\r\n this.waiting = true;\r\n this.membersService.setMemberSetting(member.email, settingName, valueToSet,\r\n (success, result, error) => {\r\n if (success) {\r\n this.user = result;\r\n this.toastrService.success(\"Setting changed.\");\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n // unflag wait\r\n this.waiting = false;\r\n });\r\n }\r\n }\r\n\r\n reject(member: IUserDetail) {\r\n if (confirm(`This will delete ${member.firstName} ${member.lastName}. Are you sure?`)) {\r\n this.waiting = true;\r\n this.membersService.delete(member.email,\r\n (success, error) => {\r\n if (success) {\r\n this.toastrService.success(\"Member rejected.\");\r\n this.router.navigateByUrl(`${ROUTES.ADMIN}/${ROUTES.ADMIN_MEMBERS}`);\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n // unflag wait\r\n this.waiting = false;\r\n });\r\n }\r\n }\r\n\r\n deactivate(member: IUserDetail) {\r\n // TODO: something clearer\r\n this.toggleMemberSetting(member, false, \"IsApproved\");\r\n }\r\n\r\n reactivate(member: IUserDetail) {\r\n // TODO: something clearer\r\n this.toggleMemberSetting(member, true, \"IsApproved\");\r\n }\r\n\r\n toggleIsRegistered(member: IUserDetail, valueToSet: boolean) {\r\n this.toggleMemberSetting(member, valueToSet, \"IsRegistered\");\r\n }\r\n\r\n toggleIsApproved(member: IUserDetail, valueToSet: boolean) {\r\n this.toggleMemberSetting(member, valueToSet, \"IsApproved\");\r\n }\r\n\r\n toggleIsMember(member: IUserDetail, valueToSet: boolean) {\r\n this.toggleMemberSetting(member, valueToSet, \"IsMember\");\r\n }\r\n\r\n toggleIsAdmin(member: IUserDetail, valueToSet: boolean) {\r\n this.toggleMemberSetting(member, valueToSet, \"IsAdmin\");\r\n }\r\n\r\n addCredits(amount) {\r\n if (confirm(`Add ${amount} to this member's credits?`)) {\r\n this.waiting = true;\r\n this.membersService.addCredits(this.user.email,\r\n amount,\r\n (success, result, error) => {\r\n if (success) {\r\n this.toastrService.success(\"Credits added.\");\r\n this.user = result;\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n // unflag wait\r\n this.waiting = false;\r\n });\r\n }\r\n }\r\n\r\n unsubscribe() {\r\n if (confirm(`Are you sure you want to unsubscribe from all EIL mail?`)) {\r\n this.waiting = true;\r\n this.membersService.unsubscribe(this.user.email,\r\n (success, result, error) => {\r\n if (success) {\r\n this.toastrService.success(\"Unsubscribed.\");\r\n this.user = result;\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n // unflag wait\r\n this.waiting = false;\r\n });\r\n }\r\n }\r\n\r\n resubscribe() {\r\n if (confirm(`Are you sure you want to resubscribe to EIL mail?`)) {\r\n this.waiting = true;\r\n this.membersService.resubscribe(this.user.email,\r\n (success, result, error) => {\r\n if (success) {\r\n this.toastrService.warning(\"Subscribed. NOTE: if you have previously unsubscribed, you may receive an email requiring that you confirm your resubscription before it takes effect.\");\r\n this.user = result;\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n // unflag wait\r\n this.waiting = false;\r\n });\r\n }\r\n }\r\n\r\n getDisplayDate(date) {\r\n return moment(date).format(\"YYYY-MM-DD\");\r\n }\r\n}\r\n","\r\n
\r\n

\r\n User Administration\r\n

\r\n\r\n
\r\n
\r\n \r\n Is PD Member:\r\n \r\n
\r\n
\r\n \r\n {{ user.isMember ? \"Yes\" : \"No\" }}\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n PD Member Registration Complete:\r\n \r\n
\r\n
\r\n \r\n {{ user.isRegistered ? \"Yes\" : \"No\" }}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Approval Status:\r\n \r\n
\r\n
\r\n \r\n {{ user.isApproved ? \"Approved\" : (user.hasBeenApproved ? \"Deactivated\" : \"Pending\") }}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Is Administrator:\r\n \r\n
\r\n
\r\n \r\n {{ user.isAdmin ? \"Yes\" : \"No\" }}\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n

Credit Balance History

\r\n
\r\n PD Applications go through several stages of affecting remaining credits:\r\n
    \r\n
  1. \r\n When the application is first submitted with anticipated expenses, but has not yet been approved (\"Requested\")\r\n
  2. \r\n
  3. \r\n The application has been approved with anticipated expenses, but not yet with actual expenses (\"Pending\")\r\n
  4. \r\n
  5. \r\n Actual expenses have been approved (\"Actual\")\r\n
  6. \r\n
\r\n This credit balance chart shows 3 remaining balance columns. Each of these only include the cost of applications that have gone at least as far\r\n as that stage.
\r\n For example, a $70 application that has reached the \"Pending\" stage will result in that $70 being subtracted from the \"Requested\"\r\n and \"Pending\" balances, but not from the \"Actual\" balance.
\r\n Note: For the purposes of the credits available display bar, and the credits exceeded warnings when submitting an application, the system uses the\r\n \"Pending\" balance type.\r\n
\r\n
\r\n Add credits:\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n Date\r\n \r\n Label\r\n \r\n Amount\r\n \r\n Status\r\n \r\n Effective Balance:\r\n \r\n Requested\r\n \r\n Pending\r\n \r\n Actual\r\n
\r\n {{ getDisplayDate(row.date) }}\r\n \r\n {{ row.label }}\r\n \r\n {{ row.amount | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n \r\n {{ row.status }}\r\n \r\n {{ row.newProposedBalance | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n \r\n {{ row.newPendingBalance | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n \r\n {{ row.newSpentBalance | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n
\r\n No credits or applications yet.\r\n
\r\n
\r\n\r\n
\r\n

Auditor cannot alter their account

\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n

\r\n Email from Elk Island Local #28\r\n

\r\n Currently {{user.isSubscribed ? '' : 'NOT'}} subscribed to EIL mailings.\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n

\r\n Account Details\r\n

\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n First Name is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Last Name is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Employment Type is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Preferred Email is required.\r\n
\r\n
\r\n Preferred Email must be a valid email address.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Teaching Certificate Number is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Address is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n City is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Postal Code is required.\r\n
\r\n
\r\n Postal Code must be valid.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Home Phone is required.\r\n
\r\n
\r\n Home Phone must be a valid phone number.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n School is required.\r\n
\r\n
\r\n School cannot be less than 3 letters.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n School Phone is required.\r\n
\r\n
\r\n School Phone must be a valid phone number.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Grade(s) is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Subject(s) is required.\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n There are errors in the information entered above.\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, \r\n OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'eil-awaiting-approval',\r\n templateUrl: './awaiting-approval.component.html',\r\n styleUrls: ['./awaiting-approval.component.scss']\r\n }\r\n)\r\nexport class AwaitingApprovalComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n ngOnInit() {\r\n \r\n }\r\n}\r\n","
\r\n

\r\n Awaiting Account Approval\r\n

\r\n

\r\n contact elkislandpublicata@gmail.com if you need help\r\n

\r\n
\r\n","import { Component, \r\n OnInit } from '@angular/core';\r\nimport { ROUTES } from \"../../routes\";\r\n\r\n@Component({\r\n selector: 'eil-pd-applications',\r\n templateUrl: './pd-applications.component.html',\r\n styleUrls: ['./pd-applications.component.scss']\r\n }\r\n)\r\nexport class PDApplicationsComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n linkToNew: string;\r\n\r\n constructor() {\r\n this.linkToNew = `/${ROUTES.PD}/${ROUTES.PD_NEWAPP}`;\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n","import { Component,\r\n OnInit } from '@angular/core';\r\nimport {PDAppService} from \"../../../services/pd-app.service\";\r\nimport {ROUTES} from \"../../../routes\";\r\nimport {CurrentUserService} from \"../../../services/current-user.service\";\r\nimport {IUserDetail} from \"../../../models/user-detail.model\";\r\nimport { IPDEvent } from \"../../../models/pd-event.model\";\r\nimport moment from \"moment\";\r\nimport { IPDAppModel } from \"../../../models/pd-app.model\";\r\nimport { ToastrService } from \"ngx-toastr\";\r\n\r\n@Component({\r\n selector: 'eil-pd-applist',\r\n templateUrl: './pd-applist.component.html',\r\n styleUrls: ['./pd-applist.component.scss']\r\n }\r\n)\r\nexport class PDApplistComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n currentUser: IUserDetail;\r\n pdApps = [];\r\n loading = false;\r\n linkToEdit: string;\r\n\r\n constructor(private pdAppService: PDAppService, private toastrService: ToastrService, private currentUserService: CurrentUserService) {\r\n this.linkToEdit = `/${ROUTES.PD}/${ROUTES.PD_EDITAPP}/`;\r\n }\r\n\r\n ngOnInit() {\r\n this.currentUserService.currentUser.subscribe(user => {\r\n this.currentUser = user;\r\n this.loading = true;\r\n this.pdAppService.getMany({\r\n applicantEmail: this.currentUser.email\r\n }, (success, result) => {\r\n this.pdApps = result;\r\n // TODO: process result\r\n this.checkAndUpdateStatus();\r\n // unflag wait\r\n this.loading = false;\r\n });\r\n });\r\n\r\n this.reminderToUpdatePersonalInfo();\r\n }\r\n\r\n reminderToUpdatePersonalInfo() {\r\n var lastSessionDate = moment(this.currentUser.lastSession);\r\n var now = moment();\r\n var septemberFirstString = now.year().toString() + \"-09-01\";\r\n var septemberFirst = moment(septemberFirstString, \"YYYY-MM-DD\");\r\n if (now >= septemberFirst && (lastSessionDate < septemberFirst || lastSessionDate == null)) {\r\n this.toastrService.success(\"Please ensure that your personal details are up to date\", \"\", { disableTimeOut: true });\r\n }\r\n\r\n }\r\n\r\n checkAndUpdateStatus() {\r\n var i;\r\n var oneDay = 24 * 60 * 60 * 1000;\r\n for (i = 0; i < this.pdApps.length; i++) {\r\n if (this.pdApps[i].status == \"Approved\" || this.pdApps[i].status == \"ExpensesDue\") {\r\n var endDate = new Date(this.pdApps[i].event.endDate);\r\n var now = new Date();\r\n if (now.valueOf() > endDate.valueOf()) {\r\n if (((now.getTime() - endDate.getTime()) / oneDay) > 21) {\r\n this.pdAppService.expensesOverdue(this.pdApps[i],\r\n (success, result, error) => {\r\n\r\n if (success) {\r\n this.pdApps[i] = result;\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n }\r\n );\r\n } else {\r\n if (this.pdApps[i].status != \"ExpensesDue\") {\r\n this.pdAppService.expensesDue(this.pdApps[i],\r\n (success, result, error) => {\r\n\r\n if (success) {\r\n this.pdApps[i] = result;\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n }\r\n );\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n getEventRange(event: IPDEvent) {\r\n const start = moment(event.startDate);\r\n const end = moment(event.endDate);\r\n const fullFormatString = \"MMMM D, YYYY\";\r\n\r\n if (start.get('year') !== end.get('year')) {\r\n return `${start.format(fullFormatString)} - ${end.format(fullFormatString)}`;\r\n }\r\n\r\n if (start.get('month') !== end.get('month')) {\r\n return `${start.format(\"MMMM D\")} - ${end.format(fullFormatString)}`;\r\n }\r\n\r\n return `${start.format(\"MMMM D\")} - ${end.format(\"D, YYYY\")}`;\r\n }\r\n\r\n expensesAreActual(pdApp: IPDAppModel) {\r\n switch (pdApp.status) {\r\n case \"ExpensesSubmitted\":\r\n case \"ExpensesApproved\":\r\n case \"Reimbursed\":\r\n return true;\r\n default:\r\n return false;\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n \r\n {{pdApp.event.name}}\r\n \r\n \r\n \r\n {{getEventRange(pdApp.event)}}\r\n \r\n
\r\n
\r\n \r\n {{pdApp.status}}\r\n \r\n\r\n
\r\n {{ (expensesAreActual(pdApp) ? pdApp.actualTotal : pdApp.anticipatedTotal) | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n You have no applications yet.\r\n
\r\n
\r\n Auditors cannot create applications\r\n
\r\n
\r\n","import { Component, ViewChild, OnInit, TemplateRef } from \"@angular/core\";\r\nimport { IPDAppModel } from \"../../../models/pd-app.model\";\r\nimport { IUserDetail } from \"../../../models/user-detail.model\";\r\nimport { CurrentUserService } from \"../../../services/current-user.service\";\r\nimport { PDAppService } from \"../../../services/pd-app.service\";\r\nimport { ConfigService } from \"../../../services/config.service\";\r\nimport { Router, ActivatedRoute } from \"@angular/router\";\r\nimport { ROUTES } from \"../../../routes\";\r\nimport { ToastrService } from \"ngx-toastr\";\r\nimport { BsModalService } from \"ngx-bootstrap/modal\";\r\nimport { BsModalRef } from \"ngx-bootstrap/modal/bs-modal-ref.service\";\r\nimport { CalculationPair } from \"../../../models/calculation-pair.model\";\r\nimport moment from \"moment\";\r\nimport { ITerm } from \"../../../models/term.model\";\r\nimport { TermsService } from \"../../../services/terms.service\";\r\nimport { UploadParams } from \"../../../services/blob.service\";\r\n\r\ninterface PDFormState {\r\n currentUserIsSubmitter?: boolean;\r\n showUserDetails?: boolean;\r\n canEditUserDetails?: boolean;\r\n canEditEventDetails?: boolean;\r\n canEditExpenses?: boolean;\r\n expensesAreActual?: boolean;\r\n anticipatedIsApproved?: boolean;\r\n canSubmit?: boolean;\r\n canSubmitExpenses?: boolean;\r\n showExpenseReceipts?: boolean;\r\n canUploadExpenseReceipts?: boolean;\r\n showSubNames?: boolean;\r\n canProvideSubNames?: boolean;\r\n canApproveOrDeclineApp?: boolean;\r\n canApproveOrDeclineExpenses?: boolean;\r\n canNagSubmitterToSubmitExpenses?: boolean;\r\n showExplanation?: boolean;\r\n canEditExplanation?: boolean;\r\n canEditAdditionalComments?: boolean;\r\n canCancelApplication?: boolean;\r\n gridUnitCostEditable?: boolean;\r\n messageAboutState?: string;\r\n submitText?: string;\r\n}\r\n\r\n@Component({\r\n selector: \"eil-pd-form\",\r\n templateUrl: \"./pd-form.component.html\",\r\n styleUrls: [\"./pd-form.component.scss\"],\r\n})\r\nexport class PDFormComponent implements OnInit {\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n @ViewChild(\"principalConfirmTemplate\", { static: true })\r\n principalConfirmTemplateRef: TemplateRef;\r\n @ViewChild(\"noExpensesToSubmitTemplate\", { static: true })\r\n noExpensesTemplateRef: TemplateRef;\r\n\r\n costPerHalfDay: number;\r\n costPerFullDay: number;\r\n maximumGridCostPerDay: number;\r\n carAllowancePerKm: number;\r\n subsistencePerDay: number;\r\n maximumAllowedCredits: number;\r\n maxAccommodationPricePerNight: number;\r\n maxExpensesSubmitable: number;\r\n maxSubsistencePerDay: number;\r\n dateHelpText: string;\r\n conferenceInfoText: string;\r\n pdExplanationHelpText: string;\r\n substituteHelpText: string;\r\n mileageHelpText: string;\r\n subsistenceHelpText: string;\r\n\r\n currentUser: IUserDetail;\r\n configIsLoaded = false;\r\n blobConfig: UploadParams;\r\n\r\n loadingPDApp = false;\r\n savingPDApp = false;\r\n\r\n originalApplicationApprovalComments;\r\n originalExpenseApprovalComments;\r\n\r\n principalConfirmModal: BsModalRef;\r\n noExpensesToSubmitModal: BsModalRef;\r\n noExpenseHeader: string = \"\";\r\n noExpenseModalText: string[] = [];\r\n\r\n dateCustomClasses: { date: Date; classes: string[] }[] = [];\r\n // To enable scrolling the calendar even when it's disabled, we fake disable it by only enabling only the maximum date in js\r\n datesEnabled = [new Date(8640000000000000)];\r\n\r\n state: PDFormState = {};\r\n\r\n pdApp: IPDAppModel = {\r\n anticipatedTotal: \"0\",\r\n actualTotal: \"0\",\r\n event: {\r\n useNonContinuousDate: true,\r\n nonContinuousDates: [],\r\n files: [],\r\n },\r\n applicant: {},\r\n carAllowanceCalculation: CalculationPair.newDefault(),\r\n halfDaysCalculation: CalculationPair.newDefault(),\r\n fullDaysCalculation: CalculationPair.newDefault(),\r\n gridDaysCalculation: CalculationPair.newDefault(),\r\n accommodationCalculation: CalculationPair.newDefault(),\r\n subsistenceCalculation: CalculationPair.newDefault(),\r\n registrationFee: {},\r\n flightsCost: {},\r\n parkingCost: {},\r\n carRentalCost: {},\r\n otherCost: {},\r\n };\r\n term: ITerm = {};\r\n loadingTerm = false;\r\n\r\n history = [];\r\n\r\n constructor(\r\n private currentUserService: CurrentUserService,\r\n private pdAppService: PDAppService,\r\n private configService: ConfigService,\r\n private toastrService: ToastrService,\r\n protected router: Router,\r\n private route: ActivatedRoute,\r\n private modalService: BsModalService,\r\n private termsService: TermsService\r\n ) {}\r\n\r\n ngOnInit() {\r\n // TODO: flag wait?\r\n this.currentUserService.currentUser.subscribe((user) => {\r\n this.currentUser = user;\r\n\r\n // call setFormState in case the user got updated after loading the pd app or something\r\n this.setFormState(\"init\");\r\n\r\n // fill the user if it's a new application\r\n if (\r\n !this.pdApp.id &&\r\n (!this.pdApp.applicant || !this.pdApp.applicant.firstName)\r\n ) {\r\n this.pdApp.applicant = user;\r\n this.pdApp.applicantName = user.firstName + \" \" + user.lastName;\r\n }\r\n });\r\n\r\n this.configService.instance.subscribe((config) => {\r\n this.pdApp.halfDaysCalculation.anticipated.unitCost =\r\n config.substituteCostPerHalfDay;\r\n this.pdApp.halfDaysCalculation.actual.unitCost =\r\n config.substituteCostPerHalfDay;\r\n\r\n this.pdApp.fullDaysCalculation.anticipated.unitCost =\r\n config.substituteCostPerFullDay;\r\n this.pdApp.fullDaysCalculation.actual.unitCost =\r\n config.substituteCostPerFullDay;\r\n\r\n this.pdApp.gridDaysCalculation.anticipated.unitCost =\r\n config.substituteMaximumGridCostPerDay;\r\n this.pdApp.gridDaysCalculation.actual.unitCost =\r\n config.substituteMaximumGridCostPerDay;\r\n\r\n this.pdApp.carAllowanceCalculation.anticipated.unitCost =\r\n config.carAllowancePerKm;\r\n this.pdApp.carAllowanceCalculation.actual.unitCost =\r\n config.carAllowancePerKm;\r\n\r\n this.pdApp.subsistenceCalculation.anticipated.unitCost =\r\n config.subsistencePerDay;\r\n this.maxSubsistencePerDay = config.subsistencePerDay;\r\n this.pdApp.subsistenceCalculation.actual.unitCost =\r\n config.subsistencePerDay;\r\n\r\n this.maxExpensesSubmitable = config.maxExpensesSubmitable;\r\n this.maximumAllowedCredits = config.maximumAllowedCredits;\r\n this.maxAccommodationPricePerNight =\r\n config.maxAccommodationPricePerNight;\r\n\r\n this.dateHelpText = config.dateHelpText;\r\n this.conferenceInfoText = config.conferenceInfoText;\r\n this.pdExplanationHelpText = config.pdExplanationHelpText;\r\n this.substituteHelpText = config.substituteExpenseHelpText;\r\n this.mileageHelpText = config.mileageHelpText;\r\n this.subsistenceHelpText = config.subsistenceHelpText;\r\n\r\n this.blobConfig = {\r\n storageAccount: config.blobStorageAccount,\r\n containerName: config.blobContainerName,\r\n };\r\n });\r\n // TODO: should load be called automatically by the service rather than manually on-demand here?\r\n this.configService.load((isSuccess) => {\r\n if (isSuccess) {\r\n this.configIsLoaded = true;\r\n }\r\n });\r\n\r\n // load an existing form if applicable\r\n const paramMap = this.route.snapshot.paramMap;\r\n if (paramMap.has(\"id\")) {\r\n const id = paramMap.get(\"id\");\r\n if (id) {\r\n // flag wait\r\n this.loadingPDApp = true;\r\n this.pdAppService.getOne(id, (success, result) => {\r\n if (success) {\r\n this.pdApp = result;\r\n\r\n this.originalApplicationApprovalComments =\r\n result.applicationApprovalComments;\r\n this.originalExpenseApprovalComments =\r\n result.expenseApprovalComments;\r\n\r\n // control needs to be made aware to show things\r\n if (this.pdApp.event.files) {\r\n this.pdApp.event.files.map((e) => {\r\n e.isSelected = true;\r\n e.isUploaded = true;\r\n });\r\n }\r\n // control needs to be made aware to show things\r\n if (this.pdApp.receipts) {\r\n this.pdApp.receipts.map((e) => {\r\n e.isSelected = true;\r\n e.isUploaded = true;\r\n });\r\n }\r\n\r\n // date picker is selfish and wants Date objects, not strings.\r\n // (https://github.com/valor-software/ngx-bootstrap/issues/4020)\r\n if (\r\n this.pdApp.event.startDate &&\r\n !(this.pdApp.event.startDate instanceof Date)\r\n ) {\r\n this.pdApp.event.startDate = new Date(\r\n this.pdApp.event.startDate\r\n );\r\n }\r\n if (\r\n this.pdApp.event.endDate &&\r\n !(this.pdApp.event.endDate instanceof Date)\r\n ) {\r\n this.pdApp.event.endDate = new Date(\r\n this.pdApp.event.endDate\r\n );\r\n }\r\n\r\n if (this.pdApp.event.nonContinuousDates) {\r\n this.pdApp.event.nonContinuousDates.map((value) => {\r\n let date: Date;\r\n if (!(value instanceof Date)) {\r\n date = new Date(value as string);\r\n } else {\r\n date = value;\r\n }\r\n if (\r\n !this.pdApp.event.startDate ||\r\n date < this.pdApp.event.startDate\r\n ) {\r\n this.pdApp.event.startDate = date;\r\n }\r\n if (\r\n !this.pdApp.event.endDate ||\r\n date > this.pdApp.event.endDate\r\n ) {\r\n this.pdApp.event.endDate = date;\r\n }\r\n this.dateCustomClasses.push({\r\n date,\r\n classes: [\"bg-info\", \"text-white\"],\r\n });\r\n });\r\n }\r\n\r\n // combine histories of application and event\r\n // TODO: don't do this if the event is shared?\r\n if (result.history && result.history.length) {\r\n this.history = result.history;\r\n }\r\n if (\r\n result.event &&\r\n result.event.history &&\r\n result.event.history.length\r\n ) {\r\n this.history = this.history.concat(\r\n result.event.history\r\n );\r\n }\r\n this.history.sort((a, b) => {\r\n const date1 = moment(a.actionDate);\r\n const date2 = moment(b.actionDate);\r\n return date2.valueOf() - date1.valueOf();\r\n });\r\n\r\n this.loadTerm();\r\n\r\n // unflag wait\r\n this.loadingPDApp = false;\r\n\r\n // evaluate the state the form should be in and set it accordingly\r\n this.setFormState(\"callback\");\r\n }\r\n });\r\n }\r\n } else {\r\n // set for a new submission\r\n this.setFormState(\"new\");\r\n this.loadTerm();\r\n }\r\n }\r\n\r\n onCalendarSelect(value: Date): void {\r\n if (this.pdApp.event.nonContinuousDates) {\r\n if (!moment(value).isValid()) return;\r\n // The datepicker also includes the current time in this so we need to remove it\r\n value = new Date(value.toDateString());\r\n this.dateCustomClasses = this.dateCustomClasses.filter(\r\n (dcc) => !dcc.classes.some((c) => c === \"bg-white\")\r\n );\r\n if (!this.state.canEditEventDetails) {\r\n // This covers the edge case that someone scrolls all the way to the maximum date in js and clicks it\r\n this.dateCustomClasses.push({\r\n date: value,\r\n classes: [\"bg-white\", \"text-secondary\"],\r\n });\r\n return;\r\n }\r\n const existingIndex = this.pdApp.event.nonContinuousDates.findIndex(\r\n (date) => {\r\n const maybeMoment = moment(date);\r\n if (!maybeMoment.isValid()) return false;\r\n\r\n return maybeMoment.isSame(moment(value), \"date\");\r\n }\r\n );\r\n if (existingIndex === -1) {\r\n // New selected date\r\n this.pdApp.event.nonContinuousDates.push(value);\r\n this.sortNonContinuous();\r\n this.dateCustomClasses.push({\r\n date: value,\r\n classes: [\"bg-info\", \"text-white\"],\r\n });\r\n } else {\r\n // Remove selected date\r\n this.pdApp.event.nonContinuousDates.splice(existingIndex, 1);\r\n this.sortNonContinuous();\r\n // Date doesn't support equality checking using === or !==\r\n this.dateCustomClasses = this.dateCustomClasses.filter(\r\n (dcc) =>\r\n new Date(dcc.date.toDateString()) < value ||\r\n new Date(dcc.date.toDateString()) > value\r\n );\r\n this.dateCustomClasses.push({\r\n date: value,\r\n classes: [\"bg-white\", \"text-secondary\"],\r\n });\r\n }\r\n this.pdApp.event.startDate = this.pdApp.event.nonContinuousDates[0];\r\n this.pdApp.event.endDate =\r\n this.pdApp.event.nonContinuousDates[\r\n this.pdApp.event.nonContinuousDates.length - 1\r\n ];\r\n }\r\n }\r\n\r\n loadTerm() {\r\n let startMoment = moment();\r\n if (this.pdApp && this.pdApp.event && this.pdApp.event.startDate) {\r\n let maybeMoment = moment(this.pdApp.event.startDate);\r\n if (maybeMoment.isValid()) {\r\n startMoment = maybeMoment;\r\n }\r\n }\r\n if (\r\n !this.term ||\r\n !this.term.id ||\r\n !startMoment.isBetween(\r\n moment(this.term.startDate),\r\n moment(this.term.endDate)\r\n )\r\n ) {\r\n this.loadingTerm = true;\r\n this.termsService.getForDateAndAppId(\r\n startMoment.format(\"YYYY-MM-DD HH:mm\"),\r\n this.pdApp.id,\r\n (success, result, error) => {\r\n if (success) {\r\n this.term = result;\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n this.loadingTerm = false;\r\n }\r\n );\r\n }\r\n }\r\n\r\n setFormState(label) {\r\n //console.log(`setting form state (${label})`);\r\n // start from a clean, permissionless slate\r\n this.state = {\r\n submitText: \"Submit Application\",\r\n };\r\n\r\n if (this.loadingPDApp) {\r\n // if we're loading, leave everything permissionless for now and wait for the callback to execute\r\n return;\r\n }\r\n\r\n const submitOrEditMyOwnApplication: PDFormState = {\r\n submitText: \"Submit Application\",\r\n currentUserIsSubmitter: true,\r\n showUserDetails: true,\r\n canEditUserDetails: true,\r\n canEditEventDetails: true,\r\n canEditExpenses: true,\r\n showExplanation: true,\r\n canEditExplanation: true,\r\n canEditAdditionalComments: true,\r\n canSubmit: true,\r\n };\r\n\r\n const currentUserIsSubmitter =\r\n this.currentUser &&\r\n this.pdApp.applicant &&\r\n this.currentUser.email === this.pdApp.applicant.email;\r\n\r\n const viewOnlyState: PDFormState = {\r\n currentUserIsSubmitter: currentUserIsSubmitter,\r\n };\r\n\r\n const submitOrEditMyOwnExpenses: PDFormState = {\r\n currentUserIsSubmitter: true,\r\n canEditExpenses: true,\r\n expensesAreActual: true,\r\n showSubNames: true,\r\n canProvideSubNames: true,\r\n canSubmitExpenses: true,\r\n showExpenseReceipts: true,\r\n canUploadExpenseReceipts: true,\r\n canEditAdditionalComments: true,\r\n };\r\n\r\n if (!this.pdApp.id && this.currentUser.isAuditor) {\r\n // Allow an auditor to view only\r\n this.state = viewOnlyState;\r\n this.state.showUserDetails = true;\r\n this.state.messageAboutState =\r\n \"View Only For Auditor. Auditor cannot create applications\";\r\n return;\r\n }\r\n\r\n if (!this.pdApp.id) {\r\n // this is a new application\r\n this.state = submitOrEditMyOwnApplication;\r\n this.state.messageAboutState = \"Create new application\";\r\n this.state.submitText = \"Submit Application\";\r\n return;\r\n }\r\n\r\n if (\r\n !currentUserIsSubmitter &&\r\n !this.currentUser.isAdmin &&\r\n !this.currentUser.isAuditor\r\n ) {\r\n // they're not supposed to be in here at all and something else should have kept them from this. but it could be transitory?\r\n this.state = viewOnlyState;\r\n this.state.messageAboutState = \"Not authorized to view\";\r\n return;\r\n }\r\n\r\n if (\r\n !currentUserIsSubmitter &&\r\n !this.currentUser.isAdmin &&\r\n this.currentUser.isAuditor\r\n ) {\r\n // Allow an auditor to view only\r\n this.state = viewOnlyState;\r\n this.state.showUserDetails = true;\r\n this.state.messageAboutState = \"View Only For Auditor\";\r\n return;\r\n }\r\n\r\n switch (this.pdApp.status) {\r\n case \"Submitted\":\r\n if (currentUserIsSubmitter) {\r\n // they may make edits\r\n this.state = submitOrEditMyOwnApplication;\r\n this.state.canCancelApplication = true;\r\n this.state.messageAboutState = \"Edit pending application\";\r\n this.state.submitText = \"Save Edits\";\r\n } else if (this.currentUser.isAdmin) {\r\n // they may approve or decline, and tweak the anticipated expenses\r\n this.state = {\r\n showUserDetails: true,\r\n showExplanation: true,\r\n canEditExpenses: true,\r\n canApproveOrDeclineApp: true,\r\n messageAboutState: \"Approve or decline application\",\r\n };\r\n }\r\n return;\r\n case \"Declined\":\r\n // nothing to do for a declined item, they can only view it\r\n this.state = viewOnlyState;\r\n // no wait that's not true, they need to be able to edit it as long as it switches back to Submitted\r\n this.state.canEditEventDetails = true;\r\n this.state.canEditExpenses = true;\r\n this.state.showExplanation = true;\r\n this.state.canEditExplanation = true;\r\n this.state.canEditAdditionalComments = true;\r\n if (currentUserIsSubmitter) {\r\n this.state.canEditExplanation = true;\r\n this.state.canEditAdditionalComments = true;\r\n this.state.canSubmit = true;\r\n this.state.submitText = \"Re-submit with edits\";\r\n this.state.messageAboutState =\r\n \"View or re-submit declined application\";\r\n } else if (this.currentUser.isAdmin) {\r\n (this.state.showUserDetails = true),\r\n (this.state.canApproveOrDeclineApp = true);\r\n this.state.messageAboutState =\r\n \"Adjust or approve declined application\";\r\n }\r\n return;\r\n case \"Approved\":\r\n const endMoment = moment(this.pdApp.event.endDate);\r\n const nowMoment = moment();\r\n if (endMoment.isBefore(nowMoment)) {\r\n // if it's in the past,\r\n if (currentUserIsSubmitter) {\r\n // the submitter can enter actual expenses, receipts, and subs\r\n this.state = submitOrEditMyOwnExpenses;\r\n this.state.canEditEventDetails = true;\r\n this.state.canCancelApplication = true;\r\n this.state.messageAboutState = \"Submit actual expenses\";\r\n } else if (this.currentUser.isAdmin) {\r\n // admin can push a nag button if we build one\r\n this.state = {\r\n showUserDetails: true,\r\n showExplanation: true,\r\n canNagSubmitterToSubmitExpenses: true,\r\n canCancelApplication: true,\r\n messageAboutState: \"Viewing outstanding expenses\",\r\n };\r\n }\r\n } else {\r\n // if it's approved and still upcoming/ongoing then no one can do anything to it\r\n this.state = viewOnlyState;\r\n // no wait that's not true, they need to be able to edit it as long as it switches back to Submitted\r\n this.state.canEditEventDetails = true;\r\n this.state.canEditExpenses = true;\r\n this.state.showUserDetails = true;\r\n this.state.showExplanation = true;\r\n this.state.canCancelApplication = true;\r\n if (currentUserIsSubmitter) {\r\n this.state.canEditExplanation = true;\r\n this.state.canEditAdditionalComments = true;\r\n this.state.canSubmit = true;\r\n this.state.submitText = \"Re-submit with edits\";\r\n this.state.messageAboutState =\r\n \"View or edit upcoming application\";\r\n } else if (this.currentUser.isAdmin) {\r\n this.state.canApproveOrDeclineApp = true;\r\n this.state.canCancelApplication = true;\r\n this.state.messageAboutState =\r\n \"Adjust or deny approved application\";\r\n }\r\n }\r\n this.state.anticipatedIsApproved = true;\r\n return;\r\n case \"ExpensesSubmitted\":\r\n // submitter can make edits to expenses. Admin can make certain edits only\r\n if (currentUserIsSubmitter) {\r\n this.state = submitOrEditMyOwnExpenses;\r\n this.state.messageAboutState =\r\n \"Edit pending actual expenses\";\r\n } else if (this.currentUser.isAdmin) {\r\n this.state.canEditExpenses = true;\r\n this.state.gridUnitCostEditable = true;\r\n this.state.showUserDetails = true;\r\n this.state.expensesAreActual = true;\r\n this.state.showExpenseReceipts = true;\r\n this.state.showSubNames = true;\r\n this.state.canApproveOrDeclineExpenses = true;\r\n this.state.messageAboutState =\r\n \"Approve or reject actual expenses\";\r\n }\r\n this.state.anticipatedIsApproved = true;\r\n return;\r\n case \"ExpensesApproved\":\r\n this.state = viewOnlyState;\r\n this.state.expensesAreActual = true;\r\n this.state.showExplanation = true;\r\n this.state.showExpenseReceipts = true;\r\n this.state.showSubNames = true;\r\n if (currentUserIsSubmitter) {\r\n this.state.messageAboutState = \"View Approved Expenses\";\r\n } else if (this.currentUser.isAdmin) {\r\n this.state.showUserDetails = true;\r\n this.state.canApproveOrDeclineExpenses = true;\r\n this.state.messageAboutState =\r\n \"View or edit Approved Expenses\";\r\n }\r\n this.state.anticipatedIsApproved = true;\r\n return;\r\n case \"ExpensesDeclined\":\r\n // can edit and resubmit\r\n if (currentUserIsSubmitter) {\r\n this.state = submitOrEditMyOwnExpenses;\r\n this.state.showExplanation = true;\r\n this.state.messageAboutState =\r\n \"Edit declined actual expenses\";\r\n } else if (this.currentUser.isAdmin) {\r\n this.state = viewOnlyState;\r\n this.state.expensesAreActual = true;\r\n this.state.showExplanation = true;\r\n this.state.showUserDetails = true;\r\n this.state.showExpenseReceipts = true;\r\n this.state.showSubNames = true;\r\n this.state.canApproveOrDeclineExpenses = true;\r\n this.state.messageAboutState =\r\n \"View or edit declined Expenses\";\r\n }\r\n this.state.anticipatedIsApproved = true;\r\n return;\r\n case \"ExpensesDue\":\r\n if (currentUserIsSubmitter) {\r\n this.state = submitOrEditMyOwnExpenses;\r\n this.state.showUserDetails = true;\r\n this.state.messageAboutState =\r\n \"Submit Expenses. Expenses Are Due\";\r\n } else if (this.currentUser.isAdmin) {\r\n this.state.showUserDetails = true;\r\n this.state.canNagSubmitterToSubmitExpenses = true;\r\n this.state.canApproveOrDeclineExpenses = true;\r\n this.state.messageAboutState = \"Expenses Are Due\";\r\n }\r\n this.state.canEditExpenses = true;\r\n this.state.showExplanation = true;\r\n this.state.canCancelApplication = true;\r\n this.state.anticipatedIsApproved = true;\r\n return;\r\n case \"ExpensesOverdue\":\r\n if (currentUserIsSubmitter) {\r\n this.state = submitOrEditMyOwnExpenses;\r\n this.state.showUserDetails = true;\r\n this.state.messageAboutState = \"Expenses Are Overdue\";\r\n } else if (this.currentUser.isAdmin) {\r\n this.state.showUserDetails = true;\r\n this.state.canNagSubmitterToSubmitExpenses = true;\r\n this.state.canApproveOrDeclineExpenses = true;\r\n this.state.messageAboutState = \"Expenses Are Overdue\";\r\n }\r\n this.state.canEditExpenses = true;\r\n this.state.showExplanation = true;\r\n this.state.canCancelApplication = true;\r\n this.state.showExplanation = true;\r\n this.state.anticipatedIsApproved = true;\r\n return;\r\n }\r\n }\r\n\r\n subNamesRequired() {\r\n return (\r\n (this.pdApp.halfDaysCalculation &&\r\n this.pdApp.halfDaysCalculation.actual &&\r\n this.pdApp.halfDaysCalculation.actual.amount) ||\r\n (this.pdApp.fullDaysCalculation &&\r\n this.pdApp.fullDaysCalculation.actual &&\r\n this.pdApp.fullDaysCalculation.actual.amount) ||\r\n (this.pdApp.gridDaysCalculation &&\r\n this.pdApp.gridDaysCalculation.actual &&\r\n this.pdApp.gridDaysCalculation.actual.amount)\r\n );\r\n }\r\n\r\n subNamesInvalid() {\r\n return this.subNamesRequired() && !this.pdApp.subNames;\r\n }\r\n\r\n principalConfirmationRequired() {\r\n return (\r\n (this.pdApp.halfDaysCalculation &&\r\n this.pdApp.halfDaysCalculation.anticipated &&\r\n this.pdApp.halfDaysCalculation.anticipated.amount) ||\r\n (this.pdApp.fullDaysCalculation &&\r\n this.pdApp.fullDaysCalculation.anticipated &&\r\n this.pdApp.fullDaysCalculation.anticipated.amount) ||\r\n (this.pdApp.gridDaysCalculation &&\r\n this.pdApp.gridDaysCalculation.anticipated &&\r\n this.pdApp.gridDaysCalculation.anticipated.amount)\r\n );\r\n }\r\n\r\n actualExceedsAnticipated() {\r\n let parsedAnticipated = parseFloat(this.pdApp.anticipatedTotal);\r\n if (isNaN(parsedAnticipated)) {\r\n parsedAnticipated = 0;\r\n }\r\n let parsedActual = parseFloat(this.pdApp.actualTotal);\r\n if (isNaN(parsedActual)) {\r\n parsedActual = 0;\r\n }\r\n return parsedActual > parsedAnticipated;\r\n }\r\n\r\n anticipatedExceedsCredits() {\r\n let parsed = parseFloat(this.pdApp.anticipatedTotal);\r\n if (isNaN(parsed)) {\r\n parsed = 0;\r\n }\r\n return (\r\n !this.state.expensesAreActual &&\r\n this.pdApp.applicant.unpendingBalance < parsed\r\n );\r\n }\r\n\r\n actualExceedsCredits() {\r\n let parsed = parseFloat(this.pdApp.actualTotal);\r\n if (isNaN(parsed)) {\r\n parsed = 0;\r\n }\r\n return (\r\n this.state.expensesAreActual &&\r\n this.pdApp.applicant.unpendingBalance < parsed\r\n );\r\n }\r\n\r\n onSubmit(principalConfirmTemplateRef: TemplateRef) {\r\n if (this.accomodationUnitCostExceedsMax()) {\r\n console.log(\r\n \"Aborted submission because accomodation unit cost exceeds max\"\r\n );\r\n return;\r\n }\r\n\r\n // TODO: validate?\r\n if (\r\n this.anticipatedExceedsCredits() &&\r\n !confirm(\r\n \"This application's anticipated expenses exceeds your credit balance. Anything over your credit balance will not be reimbursed. Please remember, new credits are allocated in September of each year and would be applied if appropriate.\"\r\n )\r\n ) {\r\n return;\r\n }\r\n\r\n if (this.principalConfirmationRequired()) {\r\n this.principalConfirmModal = this.modalService.show(\r\n principalConfirmTemplateRef\r\n );\r\n } else {\r\n this.performSubmit();\r\n }\r\n }\r\n\r\n cancel() {\r\n if (!confirm(\"Are you sure you want to cancel this application?\")) {\r\n return;\r\n }\r\n // flag wait\r\n this.savingPDApp = true;\r\n\r\n this.pdAppService.cancel(this.pdApp, (success, error) => {\r\n // unflag wait\r\n this.savingPDApp = false;\r\n\r\n if (success) {\r\n this.toastrService.success(\"Application cancelled.\");\r\n this.router.navigateByUrl(ROUTES.PD);\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n });\r\n }\r\n\r\n cancelPrincipalModal() {\r\n if (this.principalConfirmModal) {\r\n this.principalConfirmModal.hide();\r\n }\r\n }\r\n\r\n cancelNoExpensesModal() {\r\n if (this.noExpensesToSubmitModal) {\r\n this.noExpensesToSubmitModal.hide();\r\n }\r\n }\r\n\r\n confirmPrincipal() {\r\n if (this.principalConfirmModal) {\r\n this.principalConfirmModal.hide();\r\n }\r\n this.performSubmit();\r\n }\r\n\r\n confirmNoExpenses() {\r\n if (this.noExpensesToSubmitModal) {\r\n this.noExpensesToSubmitModal.hide();\r\n }\r\n this.performSubmitExpenses();\r\n }\r\n\r\n performSubmit() {\r\n // flag wait\r\n this.savingPDApp = true;\r\n\r\n this.pdAppService.savePending(this.pdApp, (success, result, error) => {\r\n // unflag wait\r\n this.savingPDApp = false;\r\n\r\n if (success) {\r\n this.toastrService.success(\"Application saved.\");\r\n // trigger user refresh\r\n this.currentUserService.load(() => {});\r\n this.router.navigateByUrl(ROUTES.PD);\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n });\r\n }\r\n\r\n submitExpenses(noExpensesTemplateRef: TemplateRef) {\r\n // TODO: validate?\r\n if (this.actualExceedsCredits()) {\r\n alert(\r\n \"You can not submit actual expenses that exceed your credit balance. You may need to adjust your entered actual expenses accordingly in order to claim the maximum amount available.\"\r\n );\r\n this.toastrService.error(\r\n \"You can not submit actual expenses that exceed your credit balance. You may need to adjust your entered actual expenses accordingly in order to claim the maximum amount available.\"\r\n );\r\n return;\r\n }\r\n\r\n if (this.actualExceedsMaxSubmittable()) {\r\n alert(\r\n \"You can not submit actual expenses that exceed $\" +\r\n this.maxExpensesSubmitable.toString() +\r\n \". You may need to adjust your entered actual expenses accordingly in order to claim the maximum amount available.\"\r\n );\r\n this.toastrService.error(\r\n \"You can not submit actual expenses that exceed \" +\r\n this.maxExpensesSubmitable.toString() +\r\n \". You may need to adjust your entered actual expenses accordingly in order to claim the maximum amount available.\"\r\n );\r\n return;\r\n }\r\n\r\n // Show a modal if the actual total is null or 0 and there were anticipated expenses\r\n if (this.isMissingApprovedExpenses()) {\r\n this.noExpensesToSubmitModal = this.modalService.show(\r\n noExpensesTemplateRef\r\n );\r\n } else {\r\n this.performSubmitExpenses();\r\n }\r\n }\r\n\r\n actualExceedsMaxSubmittable() {\r\n if (this.state.expensesAreActual) {\r\n let parsed = parseFloat(this.pdApp.actualTotal);\r\n if (isNaN(parsed)) {\r\n parsed = 0;\r\n }\r\n return this.maxExpensesSubmitable < parsed;\r\n } else {\r\n let parsed = parseFloat(this.pdApp.anticipatedTotal);\r\n if (isNaN(parsed)) {\r\n parsed = 0;\r\n }\r\n return this.maxExpensesSubmitable < parsed;\r\n }\r\n }\r\n\r\n isMissingApprovedExpenses() {\r\n this.noExpenseHeader = \"\";\r\n this.noExpenseModalText = [];\r\n var anticipated, actual;\r\n if (\r\n this.pdApp.status == \"ExpensesDue\" ||\r\n this.pdApp.status == \"ExpensesOverdue\"\r\n ) {\r\n if (\r\n (this.pdApp.actualTotal == null ||\r\n parseFloat(this.pdApp.actualTotal) == 0) &&\r\n parseFloat(this.pdApp.anticipatedTotal) > 0\r\n ) {\r\n this.noExpenseHeader =\r\n \"Are you sure you do not want to submit any expenses?\";\r\n this.noExpenseModalText.push(\r\n \"This application had total approved expenses of \" +\r\n this.pdApp.anticipatedTotal +\r\n \".\"\r\n );\r\n return true;\r\n }\r\n // Accomodation\r\n anticipated = parseFloat(\r\n this.pdApp.accommodationCalculation.anticipated.total\r\n );\r\n actual = parseFloat(\r\n this.pdApp.accommodationCalculation.actual.total\r\n );\r\n this.checkExpense(anticipated, actual, \"Accomodation\");\r\n // Mileage\r\n anticipated = parseFloat(\r\n this.pdApp.carAllowanceCalculation.anticipated.total\r\n );\r\n actual = parseFloat(\r\n this.pdApp.carAllowanceCalculation.actual.total\r\n );\r\n this.checkExpense(anticipated, actual, \"Mileage\");\r\n // Car Rental\r\n anticipated = this.pdApp.carRentalCost.anticipated;\r\n actual = this.pdApp.carRentalCost.actual;\r\n this.checkExpense(anticipated, actual, \"Car Rental\");\r\n // Flights\r\n anticipated = this.pdApp.flightsCost.anticipated;\r\n actual = this.pdApp.flightsCost.actual;\r\n this.checkExpense(anticipated, actual, \"Flights\");\r\n // Substitute Full Days\r\n anticipated = parseFloat(\r\n this.pdApp.fullDaysCalculation.anticipated.total\r\n );\r\n actual = parseFloat(this.pdApp.fullDaysCalculation.actual.total);\r\n this.checkExpense(anticipated, actual, \"Substitute Full Days\");\r\n // Substitue Half Days\r\n anticipated = parseFloat(\r\n this.pdApp.halfDaysCalculation.anticipated.total\r\n );\r\n actual = parseFloat(this.pdApp.halfDaysCalculation.actual.total);\r\n this.checkExpense(anticipated, actual, \"Substitute Half Days\");\r\n // Subsititute Grid Days\r\n anticipated = parseFloat(\r\n this.pdApp.gridDaysCalculation.anticipated.total\r\n );\r\n actual = parseFloat(this.pdApp.gridDaysCalculation.actual.total);\r\n this.checkExpense(anticipated, actual, \"Substitute Grid Days\");\r\n // Parking Cost\r\n anticipated = this.pdApp.parkingCost.anticipated;\r\n actual = this.pdApp.parkingCost.actual;\r\n this.checkExpense(anticipated, actual, \"Parking\");\r\n // Other Cost\r\n anticipated = this.pdApp.otherCost.anticipated;\r\n actual = this.pdApp.otherCost.actual;\r\n this.checkExpense(anticipated, actual, \"Other Cost\");\r\n // Registration Fee\r\n anticipated = this.pdApp.registrationFee.anticipated;\r\n actual = this.pdApp.registrationFee.actual;\r\n this.checkExpense(anticipated, actual, \"Registration Fee\");\r\n // Subsistence\r\n anticipated = parseFloat(\r\n this.pdApp.subsistenceCalculation.anticipated.total\r\n );\r\n actual = parseFloat(this.pdApp.subsistenceCalculation.actual.total);\r\n this.checkExpense(anticipated, actual, \"Subsistence\");\r\n }\r\n\r\n if (this.noExpenseModalText.length > 0) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n checkExpense(anticipated, actual, fieldName) {\r\n if (anticipated > 0 && actual == 0) {\r\n this.noExpenseHeader =\r\n this.noExpenseHeader == \"\"\r\n ? \"Missing expenses in some fields. Do you want to continue?\"\r\n : this.noExpenseHeader;\r\n this.noExpenseModalText.push(\r\n fieldName +\r\n \": Requested expenses of $\" +\r\n anticipated.toString() +\r\n \" but submitted $0\"\r\n );\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n performSubmitExpenses() {\r\n // flag wait\r\n this.savingPDApp = true;\r\n\r\n this.pdAppService.submitExpenses(\r\n this.pdApp,\r\n (success, result, error) => {\r\n // unflag wait\r\n this.savingPDApp = false;\r\n\r\n if (success) {\r\n this.toastrService.success(\"Expenses submitted.\");\r\n this.router.navigateByUrl(ROUTES.PD);\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n }\r\n );\r\n }\r\n\r\n approve() {\r\n // flag wait\r\n this.savingPDApp = true;\r\n\r\n this.pdAppService.approve(this.pdApp, (success, result, error) => {\r\n // unflag wait\r\n this.savingPDApp = false;\r\n\r\n if (success) {\r\n this.toastrService.success(\"Application approved.\");\r\n this.router.navigateByUrl(ROUTES.ADMIN);\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n });\r\n }\r\n\r\n decline() {\r\n if (\r\n !this.pdApp.applicationApprovalComments ||\r\n this.pdApp.applicationApprovalComments ==\r\n this.originalApplicationApprovalComments\r\n ) {\r\n let errorText =\r\n \"Declining requires that you enter (or add to) details in the 'Application Approval Comments' text area.\";\r\n alert(errorText);\r\n this.toastrService.error(errorText);\r\n return;\r\n }\r\n\r\n // flag wait\r\n this.savingPDApp = true;\r\n\r\n this.pdAppService.decline(this.pdApp, (success, result, error) => {\r\n // unflag wait\r\n this.savingPDApp = false;\r\n\r\n if (success) {\r\n this.toastrService.success(\"Application rejected.\");\r\n this.router.navigateByUrl(ROUTES.ADMIN);\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n });\r\n }\r\n\r\n approveExpenses() {\r\n // flag wait\r\n this.savingPDApp = true;\r\n\r\n this.pdAppService.approveExpenses(\r\n this.pdApp,\r\n (success, result, error) => {\r\n // unflag wait\r\n this.savingPDApp = false;\r\n\r\n if (success) {\r\n this.toastrService.success(\r\n \"Application expenses approved.\"\r\n );\r\n this.router.navigateByUrl(ROUTES.ADMIN);\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n }\r\n );\r\n }\r\n\r\n declineExpenses() {\r\n if (\r\n !this.pdApp.expenseApprovalComments ||\r\n this.pdApp.expenseApprovalComments ==\r\n this.originalExpenseApprovalComments\r\n ) {\r\n let errorText =\r\n \"Declining expenses requires that you enter (or add to) details in the 'Expense Approval Comments' text area.\";\r\n alert(errorText);\r\n this.toastrService.error(errorText);\r\n return;\r\n }\r\n\r\n // flag wait\r\n this.savingPDApp = true;\r\n\r\n this.pdAppService.declineExpenses(\r\n this.pdApp,\r\n (success, result, error) => {\r\n // unflag wait\r\n this.savingPDApp = false;\r\n\r\n if (success) {\r\n this.toastrService.success(\r\n \"Application expenses rejected.\"\r\n );\r\n this.router.navigateByUrl(ROUTES.ADMIN);\r\n } else if (!error.displayHasBeenHandled) {\r\n this.toastrService.error(error.errorMessage);\r\n }\r\n }\r\n );\r\n }\r\n\r\n updateTotal() {\r\n if (this.state.expensesAreActual) {\r\n this.pdApp.actualTotal = this.roundN(\r\n (parseFloat(this.pdApp.halfDaysCalculation.actual.total) || 0) +\r\n (parseFloat(this.pdApp.fullDaysCalculation.actual.total) ||\r\n 0) +\r\n (parseFloat(this.pdApp.gridDaysCalculation.actual.total) ||\r\n 0) +\r\n (this.pdApp.registrationFee.actual || 0) +\r\n (parseFloat(\r\n this.pdApp.carAllowanceCalculation.actual.total\r\n ) || 0) +\r\n (this.pdApp.flightsCost.actual || 0) +\r\n (this.pdApp.parkingCost.actual || 0) +\r\n (this.pdApp.carRentalCost.actual || 0) +\r\n (this.pdApp.otherCost.actual || 0) +\r\n (parseFloat(\r\n this.pdApp.accommodationCalculation.actual.total\r\n ) || 0) +\r\n (parseFloat(\r\n this.pdApp.subsistenceCalculation.actual.total\r\n ) || 0),\r\n 2\r\n );\r\n if (this.term) {\r\n this.term.totalSelected = this.pdApp.actualTotal;\r\n }\r\n } else {\r\n this.pdApp.anticipatedTotal = this.roundN(\r\n (parseFloat(this.pdApp.halfDaysCalculation.anticipated.total) ||\r\n 0) +\r\n (parseFloat(\r\n this.pdApp.fullDaysCalculation.anticipated.total\r\n ) || 0) +\r\n (parseFloat(\r\n this.pdApp.gridDaysCalculation.anticipated.total\r\n ) || 0) +\r\n (this.pdApp.registrationFee.anticipated || 0) +\r\n (parseFloat(\r\n this.pdApp.carAllowanceCalculation.anticipated.total\r\n ) || 0) +\r\n (this.pdApp.flightsCost.anticipated || 0) +\r\n (this.pdApp.parkingCost.anticipated || 0) +\r\n (this.pdApp.carRentalCost.anticipated || 0) +\r\n (this.pdApp.otherCost.anticipated || 0) +\r\n (parseFloat(\r\n this.pdApp.accommodationCalculation.anticipated.total\r\n ) || 0) +\r\n (parseFloat(\r\n this.pdApp.subsistenceCalculation.anticipated.total\r\n ) || 0),\r\n 2\r\n );\r\n if (this.term) {\r\n this.term.totalSelected = this.pdApp.anticipatedTotal;\r\n }\r\n }\r\n }\r\n\r\n roundN(num, n) {\r\n // TODO: move to a common helper function spot\r\n return (Math.round(num * Math.pow(10, n)) / Math.pow(10, n)).toFixed(n);\r\n }\r\n\r\n getLogDate(date) {\r\n const momentDate = moment(date);\r\n return momentDate.format(\"YYYY-MM-DD HH:mm\");\r\n }\r\n\r\n getStartDate() {\r\n if (this.pdApp && this.pdApp.event) {\r\n const momentDate = moment(this.pdApp.event.startDate);\r\n return momentDate.format(\"MMMM DD YYYY\");\r\n }\r\n }\r\n\r\n accomodationUnitCostExceedsMax() {\r\n if (!this.maxAccommodationPricePerNight) return false;\r\n if (!this.pdApp || !this.pdApp.accommodationCalculation) return false;\r\n\r\n if (this.state.expensesAreActual) {\r\n if (!this.pdApp.accommodationCalculation.actual) return false;\r\n return (\r\n this.pdApp.accommodationCalculation.actual.unitCost >\r\n this.maxAccommodationPricePerNight\r\n );\r\n } else {\r\n if (!this.pdApp.accommodationCalculation.anticipated) return false;\r\n return (\r\n this.pdApp.accommodationCalculation.anticipated.unitCost >\r\n this.maxAccommodationPricePerNight\r\n );\r\n }\r\n }\r\n\r\n accomodationTotalExceedsMax() {\r\n const maxDays = 25;\r\n if (!this.pdApp || !this.pdApp.accommodationCalculation) return false;\r\n\r\n if (this.state.expensesAreActual) {\r\n if (!this.pdApp.accommodationCalculation.actual) return false;\r\n return this.pdApp.accommodationCalculation.actual.amount > maxDays;\r\n } else {\r\n if (!this.pdApp.accommodationCalculation.anticipated) return false;\r\n return (\r\n this.pdApp.accommodationCalculation.anticipated.amount > maxDays\r\n );\r\n }\r\n }\r\n\r\n subDatesExceedTotalDates() {\r\n var subDays = 0;\r\n subDays +=\r\n typeof this.pdApp.fullDaysCalculation.anticipated.amount ==\r\n \"undefined\"\r\n ? 0\r\n : this.pdApp.fullDaysCalculation.anticipated.amount;\r\n subDays +=\r\n typeof this.pdApp.halfDaysCalculation.anticipated.amount ==\r\n \"undefined\"\r\n ? 0\r\n : this.pdApp.halfDaysCalculation.anticipated.amount;\r\n subDays +=\r\n typeof this.pdApp.gridDaysCalculation.anticipated.amount ==\r\n \"undefined\"\r\n ? 0\r\n : this.pdApp.gridDaysCalculation.anticipated.amount;\r\n\r\n if (this.pdApp.event.useNonContinuousDate) {\r\n return subDays > this.pdApp.event.nonContinuousDates.length;\r\n } else {\r\n var eventDays =\r\n moment(this.pdApp.event.endDate).diff(\r\n moment(this.pdApp.event.startDate),\r\n \"days\"\r\n ) + 1;\r\n return subDays > eventDays;\r\n }\r\n }\r\n\r\n // TODO: put this function in a common spot so I stop replicating it everywhere\r\n getDateRange(startDate, endDate) {\r\n const start = moment(startDate);\r\n const end = moment(endDate);\r\n const fullFormatString = \"MMMM D, YYYY\";\r\n\r\n if (start.get(\"year\") !== end.get(\"year\")) {\r\n return `${start.format(fullFormatString)} - ${end.format(\r\n fullFormatString\r\n )}`;\r\n }\r\n\r\n if (start.get(\"month\") !== end.get(\"month\")) {\r\n return `${start.format(\"MMMM D\")} - ${end.format(\r\n fullFormatString\r\n )}`;\r\n }\r\n\r\n return `${start.format(\"MMMM D\")} - ${end.format(\"D, YYYY\")}`;\r\n }\r\n\r\n print() {\r\n window.print();\r\n }\r\n\r\n setNonContinuous() {\r\n this.pdApp.event.useNonContinuousDate =\r\n !this.pdApp.event.useNonContinuousDate;\r\n }\r\n\r\n getDates() {\r\n var i, tempDate;\r\n var retString = \"\";\r\n if (this.pdApp.event.nonContinuousDates != null) {\r\n const fullFormatString = \"MMMM D, YYYY\";\r\n this.sortNonContinuous();\r\n\r\n for (i = 0; i < this.pdApp.event.nonContinuousDates.length; i++) {\r\n tempDate = moment(this.pdApp.event.nonContinuousDates[i]);\r\n retString += `${tempDate.format(fullFormatString)}; `;\r\n }\r\n // Remove the final semi-colon from the end\r\n if (retString.endsWith(\"; \")) {\r\n return retString.substring(0, retString.length - 2);\r\n }\r\n }\r\n return retString;\r\n }\r\n\r\n sortNonContinuous() {\r\n this.pdApp.event.nonContinuousDates =\r\n this.pdApp.event.nonContinuousDates.sort(function (a, b) {\r\n return moment(a).valueOf() - moment(b).valueOf();\r\n });\r\n }\r\n\r\n nonContinuousExists() {\r\n return !(\r\n this.pdApp.event.nonContinuousDates == null &&\r\n this.pdApp.event.nonContinuousDates.length > 0\r\n );\r\n }\r\n\r\n subsistencePastMax() {\r\n if (this.state.canSubmitExpenses) {\r\n return (\r\n this.pdApp.subsistenceCalculation.actual.unitCost >\r\n this.maxSubsistencePerDay\r\n );\r\n }\r\n return (\r\n this.pdApp.subsistenceCalculation.anticipated.unitCost >\r\n this.maxSubsistencePerDay\r\n );\r\n }\r\n\r\n termExists() {\r\n return Object.keys(this.term).length > 0 && this.term.id != null;\r\n }\r\n}\r\n","
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

\r\n {{ state.messageAboutState }}\r\n

\r\n\r\n
\r\n
\r\n
\r\n

\r\n Personal Details\r\n

\r\n
\r\n
\r\n

\r\n This is what we have on file for you. Ensure it is up to date before starting your application.\r\n

\r\n
\r\n
\r\n \r\n Edit\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n

\r\n {{ pdApp.applicant.firstName }} {{ pdApp.applicant.lastName }}\r\n

\r\n
\r\n\r\n
\r\n \r\n

\r\n {{ pdApp.applicant.addressLine1 }}\r\n
\r\n {{ pdApp.applicant.addressLine2 }}
\r\n {{ pdApp.applicant.city }} {{ pdApp.applicant.postalCode }}\r\n

\r\n
\r\n\r\n
\r\n \r\n

\r\n {{ pdApp.applicant.homePhone }}\r\n

\r\n
\r\n\r\n
\r\n \r\n

\r\n {{ pdApp.applicant.preferredEmail }}*\r\n

\r\n

\r\n {{ pdApp.applicant.email }}\r\n

\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n

\r\n {{ pdApp.applicant.schoolName }}\r\n
\r\n {{ pdApp.applicant.schoolPhone }}\r\n

\r\n
\r\n\r\n
\r\n \r\n

\r\n {{ pdApp.applicant.employmentType }}\r\n

\r\n
\r\n\r\n
\r\n \r\n

\r\n {{ pdApp.applicant.grades }}\r\n

\r\n
\r\n\r\n
\r\n \r\n

\r\n {{ pdApp.applicant.subject }}\r\n

\r\n
\r\n\r\n
\r\n \r\n

\r\n {{ pdApp.applicant.teachingCertNo }}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n Event Details\r\n

\r\n \r\n
\r\n

\r\n Please Enter Event Details\r\n

\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Event name is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Event Type is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Event description is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Event Location is required.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Event Start Date is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n Event End Date is required.\r\n
\r\n
\r\n
\r\n
\r\n \r\n

\r\n {{this.dateHelpText}}\r\n

\r\n \r\n

\r\n Selected Dates: {{\r\nthis.getDates()\r\n }}\r\n

\r\n
\r\n Old Applications can not select non-continuous dates\r\n
\r\n
\r\n
\r\n

\r\n {{this.conferenceInfoText}}\r\n

\r\n
\r\n \r\n \r\n \r\n {{ pdApp.event.eventUrl }}\r\n \r\n
\r\n
\r\n Upload Conference Documents\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n Explanation\r\n

\r\n
\r\n

\r\n {{this.pdExplanationHelpText}}\r\n

\r\n \r\n
\r\n
\r\n Explanation is required.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

\r\n Receipts\r\n

\r\n
\r\n \r\n
\r\n
\r\n
\r\n

\r\n Sub Name(s), please enter for each sub which date(s) they were needed.\r\n

\r\n

\r\n Selected Dates: {{\r\nthis.getDates()\r\n }}\r\n

\r\n
\r\n \r\n
\r\n\r\n
\r\n Substitute Names are required if any substitute time is listed below.\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n {{ state.expensesAreActual ? 'Actual' : 'Anticipated'}} Expenses\r\n

\r\n\r\n
\r\n
\r\n Substitute Expenses\r\n
\r\n

\r\n {{this.substituteHelpText}}\r\n

\r\n

\r\n

\r\n
\r\n Days 1, 2 & 3\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Days 4 and later (at grid rates)\r\n
\r\n

\r\n up to the maximum rate as indicated, depending upon substitute's experience\r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n Registration Expenses\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n Travel Expenses\r\n
\r\n
\r\n
\r\n \r\n

{{this.mileageHelpText}}

\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n Other\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n Accommodation Expenses\r\n
\r\n
\r\n \r\n

Number of days x Room cost per night

\r\n
\r\n
\r\n Accommodation cost per night has a maximum of {{ maxAccommodationPricePerNight | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n
\r\n
\r\n
\r\n
\r\n Cannot apply for more than 25 days of accomodation\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n Subsistence Expenses\r\n
\r\n

{{this.subsistenceHelpText}}

\r\n
\r\n \r\n
\r\n Subsistence cannot exceed the maximimum amount per day of ${{this.maxSubsistencePerDay}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n Anticipated:\r\n \r\n \r\n ${{pdApp.anticipatedTotal}}\r\n \r\n
\r\n
\r\n ${{ state.expensesAreActual ? pdApp.actualTotal : pdApp.anticipatedTotal }}\r\n
\r\n
\r\n Total {{ state.expensesAreActual ? 'Actual' : 'Anticipated' }} Expenses\r\n
\r\n
\r\n Exceeds available credits\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n

Funding Term ({{ getDateRange(term.startDate, term.endDate) }})

\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n

Credits Available

\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n\r\n
\r\n

\r\n Additional Comments\r\n

\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n

\r\n Application Approval Comments:\r\n

\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n Event Name is required.\r\n
\r\n
\r\n Event Description is required.\r\n
\r\n
\r\n Event Location is required.\r\n
\r\n
\r\n Event Start Date is required.\r\n
\r\n
\r\n Event End Date is required.\r\n
\r\n
\r\n Explanation is required.\r\n
\r\n
\r\n Requested more sub dates than exist on the application\r\n
\r\n
\r\n Accommodation cost per night has a maximum of {{ maxAccommodationPricePerNight | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n
\r\n
\r\n Cannot apply for more than 25 days of accomodation\r\n
\r\n
\r\n Cannot submit an application that requests more than you have credit for. Please adjust your application before submission\r\n
\r\n
\r\n Subsistence cannot exceed the maximimum amount per day\r\n
\r\n
\r\n No fund term exists for this event.\r\n
\r\n
\r\n The amount cannot exceed the maximum claim amount of {{ maxExpensesSubmitable | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n Approve Application\r\n

\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n Expense Approval Comments:\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n Substitute Names are required if any substitute time is listed above.\r\n
\r\n
\r\n
\r\n Subsistence cannot exceed the maximimum amount per day of ${{this.maxSubsistencePerDay}}\r\n
\r\n
\r\n Accommodation cost per night has a maximum of {{ maxAccommodationPricePerNight | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n
\r\n
\r\n Cannot apply for more than 25 days of accomodation\r\n
\r\n
\r\n\r\n
\r\n

\r\n Approve Expenses\r\n

\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n Change History\r\n

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
DateActionBy
\r\n {{ getLogDate(historyItem.actionDate) }}\r\n \r\n {{ historyItem.action }}\r\n \r\n {{ historyItem.name }}\r\n
\r\n {{ historyItem.extraInfo }}\r\n
\r\n Changes:\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
FieldOriginal ValueNew Value
{{ change.fieldName }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n

Would you like to submit?

\r\n \r\n
\r\n
\r\n

\r\n By submitting the application, you confirm that your absence has been approved by your principal. Please\r\n print submit a signed copy to the office manager if substitute days are required.\r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n

{{noExpenseHeader}}

\r\n \r\n
\r\n
\r\n
    \r\n
  • {{expense}}
  • \r\n
\r\n

1. Ensure that you have uploaded all required receipts.

\r\n

2. Ensure that the expense portion of the application has been filled out.

\r\n

If you do not have any expenses to claim against these fields, continue with your submission.

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component,\r\n OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'eil-pd',\r\n templateUrl: './pd.component.html',\r\n styleUrls: ['./pd.component.scss']\r\n }\r\n)\r\nexport class PDComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n constructor() { \r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","

Professional Development

\r\n\r\n\r\n\r\n\r\n","import { ConfigService } from './services/config.service';\r\nimport { CurrentUserService } from \"./services/current-user.service\";\r\nimport { PDAppService } from \"./services/pd-app.service\";\r\nimport { MembersService } from \"./services/members.service\";\r\nimport { TermsService } from \"./services/terms.service\";\r\nimport { MonitoringService } from \"./services/monitoring.service\";\r\nimport {BulkCreditService} from \"./services/bulk-credit.service\";\r\nimport { OrderByPipe } from './order-by.pipe';\r\nimport { BlobClientService } from './services/blob.service';\r\n\r\n\r\nexport const PROVIDERS = [\r\n CurrentUserService,\r\n PDAppService,\r\n ConfigService,\r\n MembersService,\r\n TermsService,\r\n MonitoringService,\r\n BulkCreditService,\r\n BlobClientService,\r\n OrderByPipe\r\n];\r\n","export class ROUTES {\r\n\r\n public static HOME: string = '';\r\n\r\n public static LOGIN: string = 'login';\r\n\r\n public static REGISTER: string = 'registration';\r\n public static REGISTER_AWAITING: string = 'awaiting-approval';\r\n public static REGISTER_DETAIL: string = 'account-detail';\r\n\r\n public static PD: string = 'pd';\r\n\r\n public static PD_APPLICATIONS: string = 'applications';\r\n public static PD_ACCOUNTDETAIL: string = 'account-detail';\r\n // public static PD_AWAITINGAPPROVAL: string = 'awaiting-approval';\r\n public static PD_NEWAPP: string = 'new';\r\n public static PD_EDITAPP: string = 'edit';\r\n\r\n public static ADMIN: string = 'admin';\r\n\r\n public static ADMIN_APPLICATIONS: string = 'applications';\r\n public static ADMIN_FUNDTERMS: string = 'fund-terms';\r\n public static ADMIN_FUNDTERMS_NEW: string = 'newterm';\r\n public static ADMIN_FUNDTERMS_EDIT: string = 'editterm';\r\n public static ADMIN_MEMBERS: string = 'members';\r\n public static ADMIN_EDITMEMBER: string = 'editmember';\r\n // public static ADMIN_PDEVENTS: string = 'pd-events';\r\n public static ADMIN_ADVANCED: string = 'advanced';\r\n\r\n public static IDPARAM: string = ':id';\r\n\r\n public static WILDCARD: string = '**';\r\n}\r\n","import { HttpClient, HttpErrorResponse } from '@angular/common/http';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { ParsedError } from \"./parsed-error\";\r\nimport { MonitoringService } from \"./monitoring.service\";\r\n\r\n// import { Response } from '@angular/http/src/static_response';\r\n\r\nexport abstract class ServiceBase {\r\n\r\n constructor(protected http: HttpClient, protected monitoringService: MonitoringService, protected toastrService: ToastrService) { }\r\n\r\n handleError(error: any, requestData?: any): ParsedError {\r\n\r\n // log to console\r\n console.error(error);\r\n\r\n let returnValue: ParsedError = {\r\n originalError: error\r\n };\r\n\r\n let serializedError: string = \"\";\r\n try {\r\n serializedError = JSON.stringify(error, null, 1);\r\n } catch (e) {\r\n serializedError = e.errorMessage;\r\n }\r\n\r\n let serializedRequestData: string = \"\";\r\n try {\r\n serializedRequestData = JSON.stringify(requestData, null, 1);\r\n } catch (e) {\r\n serializedRequestData = e.errorMessage;\r\n }\r\n //if (serializedRequestData.length > 7000) serializedRequestData = `Sorry, was too long (${serializedRequestData.length})`;\r\n\r\n if (error instanceof HttpErrorResponse) {\r\n let httpError = error as HttpErrorResponse;\r\n let httpErrorError = httpError.error ? httpError.error : httpError.message;\r\n if (httpError.statusText === \"Unknown Error\") {\r\n returnValue.errorMessage = \"An unknown error occurred. You may need to sign out and in again.\";\r\n this.toastrService.warning(returnValue.errorMessage);\r\n returnValue.displayHasBeenHandled = true;\r\n } else {\r\n returnValue.errorMessage = httpErrorError;\r\n }\r\n if (this.monitoringService) {\r\n this.monitoringService.logError(new Error(httpErrorError),\r\n {\r\n \"error\": httpError.error,\r\n \"message\": httpError.message,\r\n \"name\": httpError.name,\r\n \"status\": httpError.status ? httpError.status.toString() : \"\",\r\n \"statusText\": httpError.statusText,\r\n \"serializedRequestData\": serializedRequestData,\r\n \"serializedErrorJson\": serializedError\r\n });\r\n }\r\n } else if (error instanceof Error) {\r\n let genericError = error as Error;\r\n returnValue.errorMessage = genericError.message;\r\n if (this.monitoringService) {\r\n this.monitoringService.logError(genericError,\r\n {\r\n \"error\": genericError.message,\r\n \"message\": genericError.message,\r\n \"name\": genericError.name,\r\n \"stack\": genericError.stack,\r\n \"serializedRequestData\": serializedRequestData,\r\n \"serializedErrorJson\": serializedError\r\n });\r\n }\r\n return returnValue;\r\n } else {\r\n returnValue.errorMessage = (error.message)\r\n ? error.message\r\n : (error._body)\r\n ? error._body\r\n : (error.status)\r\n ? `${error.status} - ${error.statusText}${error.errorMessage ? ' (' + error.errorMessage + ') ' : ''}`\r\n : 'Server error';\r\n if (this.monitoringService) {\r\n this.monitoringService.logError(new Error(returnValue.errorMessage),\r\n {\r\n \"error\": error.error,\r\n \"message\": error.message,\r\n \"name\": error.name,\r\n \"_name\": error._body,\r\n \"status\": error.status ? error.status.toString() : \"\",\r\n \"statusText\": error.statusText,\r\n \"stack\": error.stack,\r\n \"serializedRequestData\": serializedRequestData,\r\n \"serializedErrorJson\": serializedError\r\n });\r\n }\r\n }\r\n\r\n return returnValue;\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { ServiceBase } from './base.service';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { ParsedError } from './parsed-error';\r\nimport { Injectable } from '@angular/core';\r\n\r\nexport interface UploadParams {\r\n storageAccount: string;\r\n containerName: string;\r\n}\r\n\r\n@Injectable()\r\nexport class BlobClientService extends ServiceBase {\r\n private apiUrl = \"fileUpload/\";\r\n\r\n constructor(protected http: HttpClient,\r\n protected toastrService: ToastrService) {\r\n super(http, null, toastrService);\r\n }\r\n\r\n public async deleteFile(fileName: string) {\r\n const callUrl = this.apiUrl + \"DeleteFile?fileName=\" + fileName;\r\n this.http.delete(callUrl)\r\n .subscribe(\r\n result => {\r\n\r\n },\r\n error => {\r\n this.handleError(error);\r\n }\r\n )\r\n }\r\n\r\n public async uploadFile (file: File, callback: (isSuccess: boolean, result?: string, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + \"UploadFile\";\r\n const formData = new FormData();\r\n formData.append(\"uploadedFile\", file);\r\n this.http.post(callUrl, formData)\r\n .subscribe(\r\n result => {\r\n callback(true, result);\r\n },\r\n error => {\r\n callback(false, null, this.handleError(error));\r\n }\r\n )\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ServiceBase } from './base.service';\r\nimport { ParsedError } from \"./parsed-error\";\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport {IBulkCreditLoad} from \"../models/bulk-credit-load.model\";\r\nimport {IBulkLoadNextRequest} from \"../models/bulk-load-next-request.model\";\r\nimport {IBulkLoadMemberRoster} from \"../models/bulk-load-member-roster.model\";\r\nimport { IBulkLoadNextResult } from \"../models/bulk-load-next-result.model\";\r\n\r\n\r\n@Injectable()\r\nexport class BulkCreditService extends ServiceBase {\r\n\r\n constructor(protected http: HttpClient,\r\n protected toastrService: ToastrService) {\r\n super(http, null, toastrService);\r\n }\r\n\r\n private apiUrl = 'bulkCredit/';\r\n\r\n getActiveMemberRoster(callback: (isSuccess: boolean, result?: any[], error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'GetActiveMemberRoster';\r\n this.http.get>(callUrl)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error));\r\n });\r\n }\r\n\r\n getPastCreditLoads(callback: (isSuccess: boolean, result?: any[], error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'GetPastCreditLoads';\r\n this.http.get>(callUrl)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error));\r\n });\r\n }\r\n\r\n createNewCreditLoadEntry(bulkCreditLoad: IBulkCreditLoad, callback: (isSuccess: boolean, result?: IBulkCreditLoad, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'createNewCreditLoadEntry';\r\n this.http.post(callUrl, bulkCreditLoad)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, {}, this.handleError(error, bulkCreditLoad));\r\n });\r\n }\r\n\r\n performCreditLoad(next: IBulkLoadNextRequest, callback: (isSuccess: boolean, result?: IBulkLoadNextResult, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'performCreditLoad';\r\n this.http.post(callUrl, next)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, {}, this.handleError(error, next));\r\n });\r\n }\r\n\r\n markCreditLoadComplete(bulkCreditLoad: IBulkCreditLoad, callback: (isSuccess: boolean, result?: IBulkCreditLoad, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'markCreditLoadComplete';\r\n this.http.post(callUrl, bulkCreditLoad)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, {}, this.handleError(error, bulkCreditLoad));\r\n });\r\n }\r\n}\r\n\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable , BehaviorSubject } from 'rxjs';\r\nimport { ServiceBase } from './base.service';\r\nimport { IConfigValues } from '../models/config-values.model';\r\nimport { ParsedError } from \"./parsed-error\";\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { ToastrService } from 'ngx-toastr';\r\n\r\n\r\n@Injectable()\r\nexport class ConfigService extends ServiceBase {\r\n\r\n constructor(protected http: HttpClient,\r\n protected toastrService: ToastrService) {\r\n super(http, null, toastrService);\r\n }\r\n\r\n private source = new BehaviorSubject({\r\n isLoaded: false\r\n });\r\n\r\n instance = this.source.asObservable();\r\n\r\n private apiUrl = 'config/';\r\n\r\n load(callback: (isSuccess: boolean, error?: ParsedError) => void) {\r\n if (!this.source.value || !this.source.value.isLoaded) {\r\n const callUrl = this.apiUrl + \"Get\";\r\n this.http.get(callUrl)\r\n .subscribe(\r\n item => {\r\n item.isLoaded = true;\r\n this.source.next(item);\r\n callback(true, null);\r\n },\r\n error => {\r\n callback(false, this.handleError(error));\r\n });\r\n } else {\r\n callback(true, null);\r\n }\r\n }\r\n\r\n save(config: IConfigValues, callback: (isSuccess: boolean, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'save';\r\n this.http.post(callUrl, config)\r\n .subscribe(\r\n result => {\r\n config.isLoaded = true;\r\n this.source.next(config);\r\n callback(true, null);\r\n },\r\n error => {\r\n callback(false, this.handleError(error, config));\r\n });\r\n }\r\n}\r\n\r\n\r\n","import { Injectable, computed, signal } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { ServiceBase } from './base.service';\r\nimport { IUserDetail } from \"../models/user-detail.model\";\r\nimport { ParsedError } from \"./parsed-error\";\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { MonitoringService } from \"./monitoring.service\";\r\n\r\n@Injectable()\r\nexport class CurrentUserService extends ServiceBase {\r\n\r\n constructor(protected http: HttpClient,\r\n protected monitoringService: MonitoringService,\r\n protected toastrService: ToastrService) {\r\n super(http, monitoringService, toastrService);\r\n }\r\n\r\n private currentUserSource = new BehaviorSubject({\r\n isLoaded: false\r\n });\r\n\r\n public isAuthenticated = signal(false);\r\n public isRegistered = computed(() => this.isAuthenticated() && this.currentUserSource.getValue().isMember && this.currentUserSource.getValue().isRegistered);\r\n public isApproved = computed(() => this.isAuthenticated() && this.currentUserSource.getValue().isApproved);\r\n public isAdmin = computed(() => this.isAuthenticated() && this.currentUserSource.getValue().isAdmin);\r\n public isAuditor = computed(() => this.isAuthenticated() && this.currentUserSource.getValue().isAuditor);\r\n\r\n currentUser = this.currentUserSource.asObservable();\r\n\r\n private apiUrl = 'user/';\r\n\r\n load(callback: (isSuccess: boolean, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'get';\r\n this.http.get(callUrl)\r\n .subscribe(\r\n user => {\r\n user.isLoaded = true;\r\n this.isAuthenticated.set(user.isAuthenticated);\r\n this.monitoringService.setAuthenticatedUserId(user.email);\r\n this.currentUserSource.next(user);\r\n callback(true, null);\r\n },\r\n error => {\r\n // TODO: Log?\r\n callback(false, this.handleError(error));\r\n });\r\n }\r\n\r\n // TODO: this makes no sense to have in \"CurrentUserService\", but it needs to know the current user, so this and MembersService should be combined anyway\r\n save(user: IUserDetail, callback: (isSuccess: boolean, result?: IUserDetail, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'save';\r\n this.http.post(callUrl, user)\r\n .subscribe(\r\n (returnedUser: IUserDetail) => {\r\n returnedUser.isLoaded = true;\r\n if (this.currentUserSource.value && this.currentUserSource.value.email === returnedUser.email) {\r\n this.currentUserSource.next(returnedUser);\r\n }\r\n callback(true, returnedUser);\r\n },\r\n error => {\r\n // TODO: Log?\r\n callback(false, {}, this.handleError(error, user));\r\n });\r\n }\r\n}\r\n","import { Injectable, ErrorHandler, Injector } from '@angular/core';\r\nimport { MonitoringService } from './monitoring.service';\r\n\r\n@Injectable()\r\nexport class MonitoringErrorHandler extends ErrorHandler {\r\n constructor(private injector: Injector) {\r\n super();\r\n }\r\n\r\n handleError(error: any): void {\r\n const monitoringService = this.injector.get(MonitoringService);\r\n monitoringService.logError(error);\r\n super.handleError(error);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ServiceBase } from './base.service';\r\nimport { IUserDetail } from \"../models/user-detail.model\";\r\nimport { ParsedError } from \"./parsed-error\";\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { MonitoringService } from \"./monitoring.service\";\r\n\r\n@Injectable()\r\nexport class MembersService extends ServiceBase {\r\n\r\n constructor(protected http: HttpClient,\r\n protected monitoringService: MonitoringService,\r\n protected toastrService: ToastrService) {\r\n super(http, monitoringService, toastrService);\r\n }\r\n\r\n private apiUrl = 'user/';\r\n\r\n getOne(id, callback: (isSuccess: boolean, result?: IUserDetail, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'GetOne';\r\n this.http.get(callUrl,\r\n {\r\n params: {\r\n \"id\": id\r\n }\r\n })\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, {}, this.handleError(error, id));\r\n });\r\n }\r\n\r\n getAll(callback: (isSuccess: boolean, result?: IUserDetail[], error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'GetAll';\r\n this.http.get>(callUrl)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error));\r\n });\r\n }\r\n\r\n setMemberSetting(email: string, settingName: string, valueToSet: boolean, callback: (success: boolean, result?: IUserDetail, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'Set' + settingName;\r\n this.http.post(callUrl, {\r\n email: email,\r\n valueToSet: valueToSet\r\n })\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, {}, this.handleError(error, {email: email, settingName: settingName, valueToSet: valueToSet }));\r\n });\r\n }\r\n\r\n delete(email: string, callback: (success: boolean, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'Delete';\r\n this.http.post(callUrl, email)\r\n .subscribe(\r\n result => {\r\n callback(true, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, this.handleError(error, email));\r\n });\r\n }\r\n\r\n addCredits(email: string, amount: number, callback: (success: any, result: IUserDetail, error: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'AddCredits';\r\n this.http.post(callUrl, {\r\n email: email,\r\n creditToAdd: amount\r\n })\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, {}, this.handleError(error, {email: email, amount: amount}));\r\n });\r\n }\r\n\r\n unsubscribe(email: string, callback: (success: boolean, result: IUserDetail, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'Unsubscribe';\r\n this.http.post(callUrl, email)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, {}, this.handleError(error, email));\r\n });\r\n }\r\n\r\n resubscribe(email: string, callback: (success: boolean, result: IUserDetail, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'Resubscribe';\r\n this.http.post(callUrl, email)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, {}, this.handleError(error, email));\r\n });\r\n }\r\n}\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { Router, ActivatedRoute, ResolveEnd, ActivatedRouteSnapshot } from '@angular/router';\r\nimport { Subscription } from 'rxjs';\r\nimport { ApplicationInsights } from '@microsoft/applicationinsights-web';\r\n\r\nimport { ConfigService } from \"./config.service\";\r\n\r\n\r\n@Injectable()\r\nexport class MonitoringService {\r\n\r\n private appInsights: ApplicationInsights;\r\n private userId: string | null = null;\r\n\r\n constructor(\r\n private router: Router,\r\n configService: ConfigService\r\n ) {\r\n configService.load((isSuccess, error) => {\r\n if (isSuccess) {\r\n configService.instance.subscribe(config => {\r\n this.appInsights = new ApplicationInsights({ config: {\r\n instrumentationKey: config.instrumentationKey\r\n }});\r\n this.appInsights.loadAppInsights()\r\n if (this.userId) {\r\n this.appInsights.setAuthenticatedUserContext(this.userId);\r\n }\r\n });\r\n\r\n } else {\r\n // TODO: error?\r\n }\r\n });\r\n\r\n }\r\n\r\n setAuthenticatedUserId(userId: string | null): void {\r\n if (userId) {\r\n this.userId = userId;\r\n this.appInsights?.setAuthenticatedUserContext(userId);\r\n }\r\n }\r\n\r\n private getActivatedComponent(snapshot: ActivatedRouteSnapshot): any {\r\n\r\n if (snapshot.firstChild) {\r\n return this.getActivatedComponent(snapshot.firstChild);\r\n }\r\n\r\n return snapshot.component;\r\n }\r\n\r\n private getRouteTemplate(snapshot: ActivatedRouteSnapshot): string {\r\n let path = '';\r\n if (snapshot.routeConfig) {\r\n path += snapshot.routeConfig.path;\r\n }\r\n\r\n if (snapshot.firstChild) {\r\n return path + this.getRouteTemplate(snapshot.firstChild);\r\n }\r\n\r\n return path;\r\n }\r\n\r\n private AddGlobalProperties(properties?: { [key: string]: string }): { [key: string]: string } {\r\n if (!properties) {\r\n properties = {};\r\n }\r\n\r\n //add your custom properties such as app version\r\n\r\n return properties;\r\n }\r\n\r\n public logPageView(\r\n name: string,\r\n url?: string,\r\n properties?: { [key: string]: string },\r\n measurements?: { [key: string]: number },\r\n duration?: number) {\r\n\r\n this.appInsights?.trackPageView({\r\n name,\r\n uri: url,\r\n measurements,\r\n properties: {\r\n properties, duration\r\n }\r\n });\r\n }\r\n\r\n public logEvent(name: string, properties?: { [key: string]: string }, measurements?: { [key: string]: number }) {\r\n this.appInsights?.trackEvent({\r\n name,\r\n properties,\r\n measurements\r\n });\r\n }\r\n\r\n public logError(error: Error, properties?: { [key: string]: string }, measurements?: { [key: string]: number }) {\r\n this.appInsights?.trackException({\r\n error,\r\n properties,\r\n measurements\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpParams } from '@angular/common/http';\r\nimport { Observable , BehaviorSubject } from 'rxjs';\r\nimport { ServiceBase } from './base.service';\r\nimport { IPDAppModel } from \"../models/pd-app.model\";\r\nimport { ParsedError } from \"./parsed-error\";\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { MonitoringService } from \"./monitoring.service\";\r\n\r\n@Injectable()\r\nexport class PDAppService extends ServiceBase {\r\n\r\n constructor(protected http: HttpClient,\r\n protected monitoringService: MonitoringService,\r\n protected toastrService: ToastrService) {\r\n super(http, monitoringService, toastrService);\r\n }\r\n\r\n private apiUrl = 'pdapp/';\r\n\r\n getMany(filter, callback: (isSuccess: boolean, result?: IPDAppModel[], error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'GetAllForFilter';\r\n this.http.post>(callUrl, filter)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, filter));\r\n });\r\n }\r\n\r\n getOne(id, callback: (isSuccess: boolean, result?: IPDAppModel, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'GetOne';\r\n this.http.get(callUrl,\r\n {\r\n params: {\r\n \"id\": id\r\n }\r\n })\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, {}, this.handleError(error, id));\r\n });\r\n }\r\n\r\n savePending(pdapp: IPDAppModel, callback: (isSuccess: boolean, result?: IPDAppModel, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'savePending';\r\n this.http.post(callUrl, pdapp)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, pdapp));\r\n });\r\n }\r\n\r\n cancel(pdapp: IPDAppModel, callback: (isSuccess: boolean, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'cancel';\r\n this.http.post(callUrl, pdapp.id)\r\n .subscribe(\r\n result => {\r\n callback(true, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, this.handleError(error, pdapp));\r\n });\r\n }\r\n\r\n submitExpenses(pdapp: IPDAppModel, callback: (isSuccess: boolean, result?: IPDAppModel, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'submitExpenses';\r\n this.http.post(callUrl, pdapp)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, pdapp));\r\n });\r\n }\r\n\r\n approve(pdapp: IPDAppModel, callback: (isSuccess: boolean, result?: IPDAppModel, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'approve';\r\n this.http.post(callUrl, pdapp)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, pdapp));\r\n });\r\n }\r\n\r\n expensesDue(pdapp: IPDAppModel, callback: (isSuccess: boolean, result?: IPDAppModel, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'expensesDue';\r\n this.http.post(callUrl, pdapp)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, pdapp));\r\n });\r\n }\r\n\r\n expensesOverdue(pdapp: IPDAppModel, callback: (isSuccess: boolean, result?: IPDAppModel, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'expensesOverdue';\r\n this.http.post(callUrl, pdapp)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, pdapp));\r\n });\r\n }\r\n\r\n decline(pdapp: IPDAppModel, callback: (isSuccess: boolean, result?: IPDAppModel, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'decline';\r\n this.http.post(callUrl, pdapp)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, pdapp));\r\n });\r\n }\r\n\r\n approveExpenses(pdapp: IPDAppModel, callback: (isSuccess: boolean, result?: IPDAppModel, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'approveExpenses';\r\n this.http.post(callUrl, pdapp)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, pdapp));\r\n });\r\n }\r\n\r\n declineExpenses(pdapp: IPDAppModel, callback: (isSuccess: boolean, result?: IPDAppModel, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'declineExpenses';\r\n this.http.post(callUrl, pdapp)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, pdapp));\r\n });\r\n }\r\n}\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable , BehaviorSubject } from 'rxjs';\r\nimport { ServiceBase } from './base.service';\r\nimport { ITerm } from \"../models/term.model\";\r\nimport { ParsedError } from \"./parsed-error\";\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { MonitoringService } from \"./monitoring.service\";\r\n\r\n@Injectable()\r\nexport class TermsService extends ServiceBase {\r\n\r\n constructor(protected http: HttpClient,\r\n protected monitoringService: MonitoringService,\r\n protected toastrService: ToastrService) {\r\n super(http, monitoringService, toastrService);\r\n }\r\n\r\n private apiUrl = 'term/';\r\n\r\n getMany(filter, callback: (isSuccess: boolean, result?: ITerm[], error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'GetAllForFilter';\r\n this.http.get>(callUrl,\r\n {\r\n params: {\r\n filter: filter\r\n }\r\n })\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, filter));\r\n });\r\n }\r\n\r\n getOne(id, callback: (isSuccess: boolean, result?: ITerm, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'GetOne';\r\n this.http.get(callUrl,\r\n {\r\n params: {\r\n \"id\": id\r\n }\r\n })\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, id));\r\n });\r\n }\r\n\r\n getImportant(callback: (isSuccess: boolean, result?: ITerm[], error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'GetImportant';\r\n this.http.get>(callUrl)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error));\r\n });\r\n }\r\n\r\n getForDateAndAppId(date: string, appId: string, callback: (isSuccess: boolean, result?: ITerm, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'GetForDateAndAppId';\r\n this.http.get(callUrl,\r\n {\r\n params: {\r\n \"date\": date,\r\n \"appId\": appId\r\n }\r\n })\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, {date: date, appId: appId}));\r\n });\r\n }\r\n\r\n save(term: ITerm, callback: (isSuccess: boolean, result?: ITerm, error?: ParsedError) => void) {\r\n const callUrl = this.apiUrl + 'save';\r\n this.http.post(callUrl, term)\r\n .subscribe(\r\n result => {\r\n callback(true, result, null);\r\n },\r\n error => {\r\n // TODO\r\n callback(false, null, this.handleError(error, term));\r\n });\r\n }\r\n}\r\n\r\n","import { Component, \r\n forwardRef,\r\n OnInit,\r\n Input,\r\n EventEmitter,\r\n Output } from '@angular/core';\r\nimport { IAmountPair } from '../../models/amount-pair.model';\r\nimport { NG_VALUE_ACCESSOR,\r\n ControlValueAccessor } from '@angular/forms';\r\n\r\nconst noop = () => {\r\n};\r\n\r\nexport const AMOUNT_PAIR_CONTROL_VALUE_ACCESSOR: any = {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => AmountpairComponent),\r\n multi: true\r\n};\r\n\r\n@Component({\r\n selector: 'eil-amountpair',\r\n templateUrl: './amountpair.component.html',\r\n styleUrls: ['./amountpair.component.scss'],\r\n providers: [AMOUNT_PAIR_CONTROL_VALUE_ACCESSOR]\r\n }\r\n)\r\nexport class AmountpairComponent implements OnInit, ControlValueAccessor {\r\n\r\n @Input() public amountHeader?: string;\r\n @Input() public amountPrefix?: string;\r\n @Input() public amountSuffix?: string;\r\n @Input() public placeholder?: string;\r\n @Input() public step?: string;\r\n @Input() public min?: string;\r\n @Output() public change = new EventEmitter();\r\n @Input() public disabled?: boolean;\r\n @Input() public actual?: boolean;\r\n\r\n // The internal data model\r\n amountPair: IAmountPair = {};\r\n\r\n // Databinding the input control\r\n get boundAmount(): number {\r\n if (!this.amountPair) { return null; }\r\n\r\n return this.actual\r\n ? this.amountPair.actual\r\n : this.amountPair.anticipated;\r\n }\r\n set boundAmount(calc: number) {\r\n if (!this.amountPair) { this.amountPair = {}; }\r\n\r\n if (this.actual) {\r\n this.amountPair.actual = calc;\r\n } else {\r\n this.amountPair.anticipated = calc;\r\n }\r\n }\r\n\r\n // Placeholders for the callbacks which are later providesd\r\n // by the Control Value Accessor\r\n onTouchedCallback: () => void = noop;\r\n onChangeCallback: (_: any) => void = noop;\r\n\r\n // get accessor\r\n get value(): IAmountPair {\r\n return this.amountPair;\r\n }\r\n\r\n // set accessor including call the onchange callback\r\n set value(v: IAmountPair) {\r\n if (v !== this.amountPair) {\r\n this.amountPair = v;\r\n this.onChangeCallback(v);\r\n }\r\n }\r\n\r\n // Set touched on blur\r\n onBlur() {\r\n this.onTouchedCallback();\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n writeValue(value: IAmountPair) {\r\n if (value !== this.amountPair) {\r\n this.amountPair = value;\r\n }\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n registerOnChange(fn: any) {\r\n this.onChangeCallback = fn;\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n registerOnTouched(fn: any) {\r\n this.onTouchedCallback = fn;\r\n }\r\n\r\n constructor() {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n}\r\n","
amountPair.anticipated }\">\r\n Anticipated: \r\n {{amountPrefix}}{{amountPair.anticipated}}{{amountSuffix}}\r\n
\r\n
\r\n {{ amountPrefix }}\r\n \r\n {{ amountSuffix }}\r\n
\n\n","import {\r\n Component,\r\n OnInit,\r\n ChangeDetectorRef,\r\n Input\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-eil-color-bar',\r\n templateUrl: './application-color-bar.component.html',\r\n styleUrls: ['./color-bar.component.scss']\r\n}\r\n)\r\nexport class AppColorBarComponent implements OnInit {\r\n\r\n @Input() public available?: number;\r\n @Input() public availableBarText?: string;\r\n @Input() public availableLegendText = \"Credits available\";\r\n @Input() public isCreditsMode?: boolean = false;\r\n\r\n @Input() public spent?: number;\r\n @Input() public spentBarText?: string;\r\n @Input() public spentLegendText = \"Actual expenses approved\";\r\n\r\n @Input() public pending?: number;\r\n @Input() public pendingBarText?: string;\r\n @Input() public pendingLegendText = \"Approved applications pending expenses\";\r\n\r\n @Input() public requested?: number;\r\n @Input() public requestedBarText?: string;\r\n @Input() public requestedLegendText = \"Requests pending approval\";\r\n\r\n @Input() public selected?: number;\r\n @Input() public selectedBarText?: string;\r\n @Input() public selectedLegendText = \"Amount in this item\";\r\n @Input() public selectedIsActual?: boolean;\r\n @Input() public selectedIsApproved?: boolean;\r\n\r\n @Input() public excessLegendText = \"More than available\";\r\n\r\n @Input() public ceiling?: number;\r\n @Input() public showCeilingLabel?: boolean;\r\n @Input() public ceilingLabelText = \"maximum\";\r\n\r\n @Input() public showLegend?: boolean;\r\n @Input() public showRemaining?: boolean;\r\n @Input() public remainingText = \"remaining\";\r\n @Input() public remainingLegendText = \"Amount remaining\";\r\n\r\n @Input() public overdrawnText = \"allocations exceed funding by\";\r\n @Input() public potentiallyOverdrawnText = \"if all approved, requests would exceed funding by\";\r\n\r\n @Input() public showCreditAllocationExplanation?: boolean;\r\n @Input() public creditAllocationExplanationText = \"Please remember, new credits are allocated in September of each year and would be applied if appropriate.\";\r\n\r\n total?: number;\r\n remaining?: number;\r\n potentiallyRemaining?: number;\r\n stack = [];\r\n legend = [];\r\n overdrawn = false;\r\n potentiallyOverdrawn = false;\r\n\r\n constructor(private changeDetectorRef: ChangeDetectorRef) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnChanges() {\r\n this.stack = [];\r\n this.legend = [];\r\n let runningTotal = 0;\r\n let spentPlusPending = 0;\r\n\r\n if (this.selected && typeof (this.selected) === \"string\") {\r\n let parsed = parseFloat(this.selected);\r\n if (!isNaN(parsed)) {\r\n this.selected = parsed;\r\n }\r\n }\r\n\r\n if (this.isCreditsMode) {\r\n this.total = this.ceiling;\r\n\r\n if (this.selected && !this.selectedIsApproved && this.selected > this.available) {\r\n // overdrawn!\r\n this.overdrawn = true;\r\n // available funds shown in the pink\r\n // excess shown in red\r\n if (this.available) {\r\n this.stack.push({\r\n value: this.available,\r\n type: 'available-exceeded',\r\n label: this.availableBarText\r\n });\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'available-exceeded',\r\n amount: this.available,\r\n text: `${this.availableLegendText}${this.selected ? \" to this application\" : \"\"}`\r\n });\r\n }\r\n }\r\n\r\n let excess = this.selected - this.available;\r\n\r\n this.stack.push({\r\n value: excess,\r\n type: 'excess'\r\n });\r\n\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'selected',\r\n amount: this.selected,\r\n text: this.selectedLegendText\r\n });\r\n this.legend.push({\r\n type: 'excess',\r\n amount: excess,\r\n text: this.excessLegendText\r\n });\r\n }\r\n } else {\r\n this.overdrawn = false;\r\n if (this.available) {\r\n let localAvailable = this.available;\r\n if (this.selected && !this.selectedIsApproved) {\r\n localAvailable = this.available - this.selected;\r\n }\r\n //console.log(`localAvailable: ${localAvailable}`);\r\n this.stack.push({\r\n value: localAvailable,\r\n type: 'available',\r\n label: this.availableBarText\r\n });\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'available',\r\n amount: this.available,\r\n text: this.availableLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.selected) {\r\n this.stack.push({\r\n value: this.selected,\r\n type: 'selected',\r\n label: this.selectedBarText\r\n });\r\n\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'selected',\r\n amount: this.selected,\r\n text: this.selectedLegendText\r\n });\r\n }\r\n }\r\n\r\n }\r\n } else {\r\n if (this.spent) {\r\n this.stack.push({\r\n value: this.spent,\r\n type: 'spent',\r\n label: this.spentBarText\r\n });\r\n runningTotal += this.spent;\r\n spentPlusPending += this.spent;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'spent',\r\n amount: this.spent,\r\n text: this.spentLegendText\r\n });\r\n }\r\n }\r\n\r\n // if there's a selected item and it's Actual, then its total goes between spent and pending\r\n if (this.selected && this.selectedIsActual) {\r\n this.stack.push({\r\n value: this.selected,\r\n type: 'selected',\r\n label: this.selectedBarText\r\n });\r\n runningTotal += this.selected;\r\n spentPlusPending += this.selected;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'selected',\r\n amount: this.selected,\r\n text: this.selectedLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.pending) {\r\n this.stack.push({\r\n value: this.pending,\r\n type: 'pending',\r\n label: this.pendingBarText\r\n });\r\n runningTotal += this.pending;\r\n spentPlusPending += this.pending;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'pending',\r\n amount: this.pending,\r\n text: this.pendingLegendText\r\n });\r\n }\r\n }\r\n\r\n // if there's a selected item and it's not actual, then its total goes between pending and requested\r\n if (this.selected && !this.selectedIsActual) {\r\n\r\n this.stack.push({\r\n value: this.selected,\r\n type: 'selected',\r\n label: this.selectedBarText\r\n });\r\n runningTotal += this.selected;\r\n if (this.selectedIsApproved) {\r\n spentPlusPending += this.selected;\r\n }\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'selected',\r\n amount: this.selected,\r\n text: this.selectedLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.requested) {\r\n this.stack.push({\r\n value: this.requested,\r\n type: 'requested',\r\n label: this.requestedBarText\r\n });\r\n runningTotal += this.requested;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'requested',\r\n amount: this.requested,\r\n text: this.requestedLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.ceiling) {\r\n this.total = this.ceiling;\r\n } else {\r\n this.total = runningTotal;\r\n }\r\n this.remaining = this.total - spentPlusPending;\r\n this.potentiallyRemaining = this.total - runningTotal;\r\n this.overdrawn = this.remaining < 0;\r\n this.potentiallyOverdrawn = this.potentiallyRemaining < 0 && !this.overdrawn;\r\n\r\n if (this.remaining > 0 && this.showLegend) {\r\n this.legend.push({\r\n type: 'remaining',\r\n amount: this.remaining,\r\n text: this.remainingLegendText\r\n });\r\n }\r\n }\r\n\r\n // there has to be a better way than this, I'm just not picturing it correctly at the moment\r\n this.changeDetectorRef.detectChanges();\r\n }\r\n\r\n /*getStack() {\r\n\r\n let stack = [];\r\n this.legend = [];\r\n let runningTotal = 0;\r\n\r\n if (this.spent) {\r\n stack.push({\r\n value: this.spent,\r\n type: 'success',\r\n label: this.spentBarText\r\n });\r\n runningTotal += this.spent;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'spent',\r\n amount: this.spent,\r\n text: this.spentLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.pending) {\r\n stack.push({\r\n value: this.pending,\r\n type: 'warning',\r\n label: this.pendingBarText\r\n });\r\n runningTotal += this.pending;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'pending',\r\n amount: this.pending,\r\n text: this.pendingLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.requested) {\r\n stack.push({\r\n value: this.requested,\r\n type: 'info',\r\n label: this.requestedBarText\r\n });\r\n runningTotal += this.requested;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'requested',\r\n amount: this.requested,\r\n text: this.requestedLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.ceiling) {\r\n this.total = this.ceiling;\r\n } else {\r\n this.total = runningTotal;\r\n }\r\n this.remaining = this.total - runningTotal;\r\n\r\n return stack;\r\n }*/\r\n\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n {{overdrawnText}} {{remaining | currency:'CAD':'symbol-narrow':'1.2-2'}}\r\n
\r\n
\r\n {{potentiallyOverdrawnText}} {{potentiallyRemaining | currency:'CAD':'symbol-narrow':'1.2-2'}}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n {{ legendItem.text }}\r\n
  • \r\n
\r\n \r\n {{creditAllocationExplanationText}}\r\n \r\n
\r\n
\r\n","import { Component,\r\n OnInit,\r\n ChangeDetectorRef,\r\n Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'eil-color-bar',\r\n templateUrl: './color-bar.component.html',\r\n styleUrls: ['./color-bar.component.scss']\r\n }\r\n)\r\nexport class ColorBarComponent implements OnInit {\r\n\r\n @Input() public available?: number;\r\n @Input() public availableBarText?: string;\r\n @Input() public availableLegendText = \"credits available\";\r\n @Input() public isCreditsMode?: boolean = false;\r\n\r\n @Input() public spent?: number;\r\n @Input() public spentBarText?: string;\r\n @Input() public spentLegendText = \"actual expenses approved\";\r\n\r\n @Input() public pending?: number;\r\n @Input() public pendingBarText?: string;\r\n @Input() public pendingLegendText = \"approved applications pending expenses\";\r\n\r\n @Input() public requested?: number;\r\n @Input() public requestedBarText?: string;\r\n @Input() public requestedLegendText = \"requests pending approval\";\r\n\r\n @Input() public selected?: number;\r\n @Input() public selectedBarText?: string;\r\n @Input() public selectedLegendText = \"in this item\";\r\n @Input() public selectedIsActual?: boolean;\r\n @Input() public selectedIsApproved?: boolean;\r\n\r\n @Input() public excessLegendText = \"more than available\";\r\n\r\n @Input() public ceiling?: number;\r\n @Input() public showCeilingLabel?: boolean;\r\n @Input() public ceilingLabelText = \"maximum\";\r\n\r\n @Input() public showLegend?: boolean;\r\n @Input() public showRemaining?: boolean;\r\n @Input() public remainingText = \"remaining\";\r\n\r\n @Input() public overdrawnText = \"allocations exceed funding by\";\r\n @Input() public potentiallyOverdrawnText = \"if all approved, requests would exceed funding by\";\r\n\r\n @Input() public showCreditAllocationExplanation?: boolean;\r\n @Input() public creditAllocationExplanationText = \"Please remember, new credits are allocated in September of each year and would be applied if appropriate.\";\r\n\r\n total?: number;\r\n remaining?: number;\r\n potentiallyRemaining?: number;\r\n stack = [];\r\n legend = [];\r\n overdrawn = false;\r\n potentiallyOverdrawn = false;\r\n\r\n constructor(private changeDetectorRef: ChangeDetectorRef) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnChanges() {\r\n this.stack = [];\r\n this.legend = [];\r\n let runningTotal = 0;\r\n let spentPlusPending = 0;\r\n\r\n if (this.selected && typeof(this.selected) === \"string\") {\r\n let parsed = parseFloat(this.selected);\r\n if (!isNaN(parsed)) {\r\n this.selected = parsed;\r\n }\r\n }\r\n\r\n if (this.isCreditsMode) {\r\n this.total = this.ceiling;\r\n\r\n if (this.selected && !this.selectedIsApproved && this.selected > this.available) {\r\n // overdrawn!\r\n this.overdrawn = true;\r\n // available funds shown in the pink\r\n // excess shown in red\r\n if (this.available) {\r\n this.stack.push({\r\n value: this.available,\r\n type: 'available-exceeded',\r\n label: this.availableBarText\r\n });\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'available-exceeded',\r\n amount: this.available,\r\n text: `${this.availableLegendText}${this.selected ? \" to this application\" : \"\"}`\r\n });\r\n }\r\n }\r\n if (this.pending) {\r\n this.stack.push({\r\n value: this.pending,\r\n type: 'pending',\r\n label: this.pendingBarText\r\n });\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'pending',\r\n amount: this.pending,\r\n text: this.pendingLegendText\r\n })\r\n }\r\n }\r\n\r\n let excess = this.selected - this.available;\r\n\r\n this.stack.push({\r\n value: excess,\r\n type: 'excess'\r\n });\r\n\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'selected',\r\n amount: this.selected,\r\n text: this.selectedLegendText\r\n });\r\n this.legend.push({\r\n type: 'excess',\r\n amount: excess,\r\n text: this.excessLegendText\r\n });\r\n }\r\n } else {\r\n this.overdrawn = false;\r\n if (this.available) {\r\n let localAvailable = this.available;\r\n if (this.selected && !this.selectedIsApproved) {\r\n localAvailable = this.available - this.selected;\r\n }\r\n //console.log(`localAvailable: ${localAvailable}`);\r\n this.stack.push({\r\n value: localAvailable,\r\n type: 'available',\r\n label: this.availableBarText\r\n });\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'available',\r\n amount: this.available,\r\n text: this.availableLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.pending) {\r\n this.stack.push({\r\n value: this.pending,\r\n type: 'pending',\r\n label: this.pendingBarText\r\n });\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'pending',\r\n amount: this.pending,\r\n text: this.pendingLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.selected) {\r\n this.stack.push({\r\n value: this.selected,\r\n type: 'selected',\r\n label: this.selectedBarText\r\n });\r\n\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'selected',\r\n amount: this.selected,\r\n text: this.selectedLegendText\r\n });\r\n }\r\n }\r\n\r\n }\r\n } else {\r\n if (this.spent) {\r\n this.stack.push({\r\n value: this.spent,\r\n type: 'spent',\r\n label: this.spentBarText\r\n });\r\n runningTotal += this.spent;\r\n spentPlusPending += this.spent;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'spent',\r\n amount: this.spent,\r\n text: this.spentLegendText\r\n });\r\n }\r\n }\r\n\r\n // if there's a selected item and it's Actual, then its total goes between spent and pending\r\n if (this.selected && this.selectedIsActual) {\r\n this.stack.push({\r\n value: this.selected,\r\n type: 'selected',\r\n label: this.selectedBarText\r\n });\r\n runningTotal += this.selected;\r\n spentPlusPending += this.selected;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'selected',\r\n amount: this.selected,\r\n text: this.selectedLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.pending) {\r\n this.stack.push({\r\n value: this.pending,\r\n type: 'pending',\r\n label: this.pendingBarText\r\n });\r\n runningTotal += this.pending;\r\n spentPlusPending += this.pending;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'pending',\r\n amount: this.pending,\r\n text: this.pendingLegendText\r\n });\r\n }\r\n }\r\n\r\n // if there's a selected item and it's not actual, then its total goes between pending and requested\r\n if (this.selected && !this.selectedIsActual) {\r\n\r\n this.stack.push({\r\n value: this.selected,\r\n type: 'selected',\r\n label: this.selectedBarText\r\n });\r\n runningTotal += this.selected;\r\n if (this.selectedIsApproved) {\r\n spentPlusPending += this.selected;\r\n }\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'selected',\r\n amount: this.selected,\r\n text: this.selectedLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.requested) {\r\n this.stack.push({\r\n value: this.requested,\r\n type: 'requested',\r\n label: this.requestedBarText\r\n });\r\n runningTotal += this.requested;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'requested',\r\n amount: this.requested,\r\n text: this.requestedLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.ceiling) {\r\n this.total = this.ceiling;\r\n } else {\r\n this.total = runningTotal;\r\n }\r\n this.remaining = this.total - spentPlusPending;\r\n this.potentiallyRemaining = this.total - runningTotal;\r\n this.overdrawn = this.remaining < 0;\r\n this.potentiallyOverdrawn = this.potentiallyRemaining < 0 && !this.overdrawn;\r\n }\r\n\r\n // there has to be a better way than this, I'm just not picturing it correctly at the moment\r\n this.changeDetectorRef.detectChanges();\r\n }\r\n\r\n /*getStack() {\r\n\r\n let stack = [];\r\n this.legend = [];\r\n let runningTotal = 0;\r\n\r\n if (this.spent) {\r\n stack.push({\r\n value: this.spent,\r\n type: 'success',\r\n label: this.spentBarText\r\n });\r\n runningTotal += this.spent;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'spent',\r\n amount: this.spent,\r\n text: this.spentLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.pending) {\r\n stack.push({\r\n value: this.pending,\r\n type: 'warning',\r\n label: this.pendingBarText\r\n });\r\n runningTotal += this.pending;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'pending',\r\n amount: this.pending,\r\n text: this.pendingLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.requested) {\r\n stack.push({\r\n value: this.requested,\r\n type: 'info',\r\n label: this.requestedBarText\r\n });\r\n runningTotal += this.requested;\r\n if (this.showLegend) {\r\n this.legend.push({\r\n type: 'requested',\r\n amount: this.requested,\r\n text: this.requestedLegendText\r\n });\r\n }\r\n }\r\n\r\n if (this.ceiling) {\r\n this.total = this.ceiling;\r\n } else {\r\n this.total = runningTotal;\r\n }\r\n this.remaining = this.total - runningTotal;\r\n\r\n return stack;\r\n }*/\r\n\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{remaining | currency:'CAD':'symbol-narrow':'1.2-2'}} {{remainingText}}\r\n
\r\n\r\n
\r\n {{overdrawnText}} {{remaining | currency:'CAD':'symbol-narrow':'1.2-2'}}\r\n
\r\n
\r\n {{potentiallyOverdrawnText}} {{potentiallyRemaining | currency:'CAD':'symbol-narrow':'1.2-2'}}\r\n
\r\n
\r\n
\r\n {{ceiling | currency:'CAD':'symbol-narrow':'1.2-2'}} {{ceilingLabelText}}\r\n
\r\n
\r\n
\r\n
\r\n
    \r\n
  • \r\n {{ legendItem.amount | currency:'CAD':'symbol-narrow':'1.2-2' }} {{ legendItem.text }}\r\n
  • \r\n
\r\n \r\n {{creditAllocationExplanationText}}\r\n \r\n
\r\n
\r\n","import { Component,\r\n OnInit } from '@angular/core';\r\nimport { ConfigService } from '../../services/config.service';\r\nimport { IUserDetail } from \"../../models/user-detail.model\";\r\nimport { CurrentUserService } from \"../../services/current-user.service\";\r\n\r\n\r\n@Component({\r\n selector: 'eil-credits',\r\n templateUrl: './credits.component.html',\r\n styleUrls: ['./credits.component.scss']\r\n }\r\n)\r\nexport class CreditsComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n configIsLoaded = false;\r\n availableCredits: number;\r\n pendingCredits: number;\r\n maximumAllowedCredits: number;\r\n currentUser: IUserDetail;\r\n\r\n constructor(private currentUserService: CurrentUserService, private configService: ConfigService) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n this.currentUserService.currentUser.subscribe(user => {\r\n\r\n this.currentUser = user;\r\n this.availableCredits = user.unpendingBalance;\r\n this.pendingCredits = user.unspentBalance - user.unpendingBalance;\r\n });\r\n\r\n this.configService.instance.subscribe(config => {\r\n this.maximumAllowedCredits = config.maximumAllowedCredits;\r\n });\r\n // TODO: should load be called automatically by the service rather than manually on-demand here?\r\n this.configService.load((isSuccess) => {\r\n if (isSuccess) { this.configIsLoaded = true; }\r\n });\r\n\r\n\r\n }\r\n\r\n}\r\n","
\r\n\r\n

Credits

\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n {{ availableCredits | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n \r\n \r\n available credit\r\n \r\n
\r\n \r\n {{ pendingCredits | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n \r\n \r\n pending credit\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{ maximumAllowedCredits | currency:'CAD':'symbol-narrow':'1.2-2' }}\r\n
\r\n
\r\n Maximum\r\n
\r\n
\r\n
\r\n \r\n
\r\n","import {\r\n Component,\r\n forwardRef,\r\n OnInit,\r\n Input\r\n} from '@angular/core';\r\nimport {\r\n NG_VALUE_ACCESSOR,\r\n ControlValueAccessor\r\n} from '@angular/forms';\r\nimport { IFileUpload } from \"../../models/file-upload.model\";\r\nimport { BlobClientService } from '../../services/blob.service';\r\nimport { ConfigService } from '../../services/config.service';\r\nimport { RestError } from '@azure/storage-blob';\r\nimport { ToastrService } from 'ngx-toastr';\r\nconst noop = () => {\r\n};\r\n\r\nexport const FILE_UPLOAD_CONTROL_VALUE_ACCESSOR: any = {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => FileUploadComponent),\r\n multi: true\r\n};\r\n\r\n\r\n@Component({\r\n selector: 'eil-file-upload',\r\n templateUrl: './file-upload.component.html',\r\n styleUrls: ['./file-upload.component.scss'],\r\n providers: [FILE_UPLOAD_CONTROL_VALUE_ACCESSOR]\r\n}\r\n)\r\nexport class FileUploadComponent implements OnInit, ControlValueAccessor {\r\n @Input() public disabled?: boolean;\r\n\r\n // The internal data model\r\n files: IFileUpload[] = [];\r\n\r\n // Placeholders for the callbacks which are later provided\r\n // by the Control Value Accessor\r\n onTouchedCallback: () => void = noop;\r\n onChangeCallback: (_: any) => void = noop;\r\n\r\n constructor(private blobClient: BlobClientService, private toatrService: ToastrService) {}\r\n\r\n ngOnInit() {\r\n }\r\n\r\n // get accessor\r\n get value(): IFileUpload[] {\r\n return this.files;\r\n }\r\n\r\n // set accessor including call the onchange callback\r\n set value(v: IFileUpload[]) {\r\n if (!v) { v = []; }\r\n if (v !== this.files) {\r\n this.files = v;\r\n this.onChangeCallback(v);\r\n }\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n writeValue(value: IFileUpload[]) {\r\n if (!value) { value = []; }\r\n if (value !== this.files) {\r\n this.files = value;\r\n }\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n registerOnChange(fn: any) {\r\n this.onChangeCallback = fn;\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n registerOnTouched(fn: any) {\r\n this.onTouchedCallback = fn;\r\n }\r\n\r\n addFile() {\r\n this.files.splice(0, 0, {});\r\n this.onChangeCallback(this.files);\r\n }\r\n\r\n fileChanged(file, e) {\r\n file.filename = e.target.files[0].name;\r\n if (this.fileIsAcceptable(file.filename)) {\r\n file.isSelected = true;\r\n file.isUploaded = false;\r\n file.isUploading = true;\r\n\r\n this.blobClient.uploadFile(e.target.files[0], (isSuccess, result, error) => {\r\n //console.log('Transfer completed !');\r\n if (isSuccess) {\r\n file.isUploading = false;\r\n file.isUploaded = true;\r\n file.blobStorageUrl = result;\r\n } else {\r\n this.toatrService.error(\"Something went wrong, please try again later.\");\r\n this.removeFile(file);\r\n }\r\n })\r\n }\r\n }\r\n\r\n fileIsAcceptable(filename: string) {\r\n return filename &&\r\n filename.toLowerCase().endsWith(\".docx\") ||\r\n filename.toLowerCase().endsWith(\".pdf\") ||\r\n filename.toLowerCase().endsWith(\".bmp\") ||\r\n filename.toLowerCase().endsWith(\".doc\") ||\r\n filename.toLowerCase().endsWith(\".jpg\") ||\r\n filename.toLowerCase().endsWith(\".jpeg\") ||\r\n filename.toLowerCase().endsWith(\".png\") ||\r\n filename.toLowerCase().endsWith(\".gif\");\r\n }\r\n\r\n isImageLink(linkText) {\r\n const regex = /jpe?g|gif|png$/;\r\n return regex.test(linkText);\r\n }\r\n\r\n deleteFile(file: IFileUpload) {\r\n if (!confirm(`Are you sure you want to delete ${file.filename}?`)) {\r\n return;\r\n }\r\n\r\n file.isDeleting = true;\r\n if (!file.blobStorageUrl) {\r\n // The file didn't get uploaded properly, possibly due to poor connection\r\n this.removeFile(file)\r\n return;\r\n }\r\n const parts = file.blobStorageUrl.split(\"/\");\r\n const blobName = parts[parts.length - 1];\r\n this.blobClient.deleteFile(blobName).then(() => {\r\n this.removeFile(file);\r\n }).catch((reason: RestError) => {\r\n if (reason.code === \"BlobNotFound\") {\r\n // The file already got deleted but the application didn't get saved\r\n this.removeFile(file);\r\n return;\r\n }\r\n this.toatrService.error(\"Something went wrong, please try again later.\");\r\n console.log(reason);\r\n file.isDeleting = false;\r\n });\r\n }\r\n\r\n private removeFile(file: IFileUpload) {\r\n const index = this.files.indexOf(file);\r\n if (index > -1) {\r\n this.files.splice(index, 1);\r\n this.onChangeCallback(this.files);\r\n }\r\n }\r\n\r\n cancelFile(file) {\r\n // remove from the list\r\n const index = this.files.indexOf(file);\r\n if (index > -1) {\r\n this.files.splice(index, 1);\r\n this.onChangeCallback(this.files);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n No files attached.\r\n \r\n \r\n 1 file attached:\r\n \r\n 1\">\r\n {{files.length}} files attached:\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n Uploading {{ file.filename }}...\r\n
\r\n \r\n
\r\n Deleting {{ file.filename }}...\r\n
\r\n
\r\n Only word documents, pictures, or pdfs allowed. These are files that end with .pdf, .bmp, .docx, .doc, .jpg, .jpeg, .png or .gif\r\n
\r\n
\r\n
\r\n
\r\n","import { Component,\r\n OnInit } from '@angular/core';\r\nimport {TermsService} from \"../../services/terms.service\";\r\nimport moment from 'moment';\r\nimport {ITerm} from \"../../models/term.model\";\r\n\r\n@Component({\r\n selector: 'eil-funding',\r\n templateUrl: './funding.component.html',\r\n styleUrls: ['./funding.component.scss']\r\n }\r\n)\r\nexport class FundingComponent implements OnInit {\r\n\r\n terms = [];\r\n loading = false;\r\n\r\n constructor(private termsService: TermsService) {\r\n }\r\n\r\n ngOnInit() {\r\n this.loading = true;\r\n this.termsService.getImportant((success, result) => {\r\n this.terms = result;\r\n\r\n // unflag wait\r\n this.loading = false;\r\n });\r\n }\r\n\r\n getTermRange(term: ITerm) {\r\n // TODO: this actually should be common code as it's used on applist as well\r\n const start = moment(term.startDate);\r\n const end = moment(term.endDate);\r\n const fullFormatString = \"MMMM D, YYYY\";\r\n\r\n if (start.get('year') !== end.get('year')) {\r\n return `${start.format(fullFormatString)} - ${end.format(fullFormatString)}`;\r\n }\r\n\r\n if (start.get('month') !== end.get('month')) {\r\n return `${start.format(\"MMMM D\")} - ${end.format(fullFormatString)}`;\r\n }\r\n\r\n return `${start.format(\"MMMM D\")} - ${end.format(\"D, YYYY\")}`;\r\n }\r\n}\r\n","
\r\n\r\n

Fund

\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n {{term.name}}\r\n ({{getTermRange(term)}})\r\n
\r\n
\r\n {{ term.isOpen ? 'open' : 'closed' }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n","import { Component, \r\n OnInit,\r\n Input,\r\n Output, \r\n EventEmitter } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'eil-quick-toggle',\r\n templateUrl: './quick-toggle.component.html',\r\n styleUrls: ['./quick-toggle.component.scss'] \r\n }\r\n)\r\nexport class QuickToggleComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n @Input() currentState: boolean;\r\n @Output() toggle = new EventEmitter();\r\n\r\n toggleClick(valueToSet: boolean) {\r\n this.toggle.emit(valueToSet);\r\n }\r\n\r\n constructor() { \r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","\r\n","import { Component, \r\n forwardRef,\r\n OnInit,\r\n Input,\r\n EventEmitter,\r\n Output } from '@angular/core';\r\nimport { Calculation } from '../../models/calculation.model';\r\nimport { NG_VALUE_ACCESSOR,\r\n ControlValueAccessor } from '@angular/forms';\r\n\r\nconst noop = () => {\r\n};\r\n\r\nexport const UNIT_CALC_CONTROL_VALUE_ACCESSOR: any = {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => UnitcalcComponent),\r\n multi: true\r\n};\r\n\r\n@Component({\r\n selector: 'eil-unitcalc',\r\n templateUrl: './unitcalc.component.html',\r\n styleUrls: ['./unitcalc.component.scss'],\r\n providers: [UNIT_CALC_CONTROL_VALUE_ACCESSOR]\r\n }\r\n)\r\nexport class UnitcalcComponent implements OnInit, ControlValueAccessor {\r\n\r\n @Input() public amountHeader?: string;\r\n @Input() public amountPrefix?: string;\r\n @Input() public amountSuffix?: string;\r\n @Input() public unitCostHeader?: string;\r\n @Input() public unitPrefix?: string;\r\n @Input() public unitSuffix?: string;\r\n @Input() public totalHeader?: string;\r\n @Input() public unitCostEditable?: boolean;\r\n @Output() public change = new EventEmitter();\r\n @Input() public disabled?: boolean;\r\n\r\n // The internal data model\r\n calculation: Calculation = {};\r\n\r\n // Placeholders for the callbacks which are later providesd\r\n // by the Control Value Accessor\r\n onTouchedCallback: () => void = noop;\r\n onChangeCallback: (_: any) => void = noop;\r\n\r\n // get accessor\r\n get value(): Calculation {\r\n return this.calculation;\r\n }\r\n\r\n // set accessor including call the onchange callback\r\n set value(v: Calculation) {\r\n if (v !== this.calculation) {\r\n this.calculation = v;\r\n this.onChangeCallback(v);\r\n }\r\n }\r\n\r\n // Set touched on blur\r\n onBlur() {\r\n this.onTouchedCallback();\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n writeValue(value: Calculation) {\r\n if (value !== this.calculation) {\r\n this.calculation = value;\r\n }\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n registerOnChange(fn: any) {\r\n this.onChangeCallback = fn;\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n registerOnTouched(fn: any) {\r\n this.onTouchedCallback = fn;\r\n }\r\n\r\n constructor() { \r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n onUnitCostChange(value: string) {\r\n\r\n const currentAmount = this.calculation.amount;\r\n \r\n\r\n const updatedCalc: Calculation = {\r\n amount: currentAmount,\r\n unitCost: 0,\r\n total: \"0\"\r\n };\r\n\r\n const changingUnitCost = parseFloat(value);\r\n\r\n if (changingUnitCost) {\r\n updatedCalc.unitCost = changingUnitCost;\r\n updatedCalc.total = this.roundN(changingUnitCost * currentAmount, 2);\r\n if (updatedCalc.total == \"NaN\") { updatedCalc.total = \"0\"; }\r\n }\r\n\r\n this.calculation = updatedCalc;\r\n\r\n this.onTouchedCallback();\r\n this.onChangeCallback(this.calculation);\r\n this.change.emit(this.calculation);\r\n }\r\n\r\n onAmountChange(value: string) {\r\n\r\n const currentUnitCost = this.calculation.unitCost;\r\n\r\n const updatedCalc: Calculation = {\r\n amount: 0,\r\n unitCost: currentUnitCost,\r\n total: \"0\"\r\n };\r\n\r\n const changingAmount = parseFloat(value);\r\n\r\n if (changingAmount) {\r\n updatedCalc.amount = changingAmount;\r\n updatedCalc.total = this.roundN(changingAmount * currentUnitCost, 2);\r\n if (updatedCalc.total == \"NaN\") { updatedCalc.total = \"0\"; }\r\n } \r\n \r\n this.calculation = updatedCalc;\r\n\r\n this.onTouchedCallback();\r\n this.onChangeCallback(this.calculation);\r\n this.change.emit(this.calculation);\r\n }\r\n\r\n roundN(num, n) { // TODO: move to a common helper function spot\r\n return (\r\n Math.round(\r\n num * Math.pow(10, n)\r\n ) \r\n / Math.pow(10, n)\r\n ).toFixed(n);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n {{ amountHeader }}\r\n
\r\n
\r\n {{ unitCostHeader }}\r\n
\r\n
\r\n {{ totalHeader }}\r\n
\r\n
\r\n
\r\n
\r\n {{ amountPrefix }}\r\n \r\n {{ amountSuffix }}\r\n
\r\n
\r\n \r\n x\r\n {{ unitPrefix }}\r\n \r\n {{ calculation?.unitCost }}\r\n \r\n \r\n {{ unitSuffix }}\r\n \r\n
\r\n
\r\n \r\n =\r\n \r\n {{ unitPrefix }}\r\n {{ calculation?.total }}\r\n {{ unitSuffix }}\r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component,\r\n forwardRef,\r\n OnInit, Input, Output, EventEmitter } from '@angular/core';\r\n\r\n\r\nimport { Calculation } from '../../models/calculation.model';\r\nimport { CalculationPair } from '../../models/calculation-pair.model';\r\nimport { NG_VALUE_ACCESSOR,\r\n ControlValueAccessor } from '@angular/forms';\r\n\r\nconst noop = () => {\r\n};\r\n\r\nexport const UNIT_CALC_PAIR_CONTROL_VALUE_ACCESSOR: any = {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => UnitcalcpairComponent),\r\n multi: true\r\n};\r\n\r\n@Component({\r\n selector: 'eil-unitcalcpair',\r\n templateUrl: './unitcalcpair.component.html',\r\n styleUrls: ['./unitcalcpair.component.scss'],\r\n providers: [UNIT_CALC_PAIR_CONTROL_VALUE_ACCESSOR] \r\n }\r\n)\r\nexport class UnitcalcpairComponent implements OnInit {\r\n\r\n @Input() public amountHeader?: string;\r\n @Input() public amountPrefix?: string;\r\n @Input() public amountSuffix?: string;\r\n @Input() public unitCostHeader?: string;\r\n @Input() public unitPrefix?: string;\r\n @Input() public unitSuffix?: string;\r\n @Input() public totalHeader?: string;\r\n @Input() public unitCostEditable?: boolean;\r\n @Output() public change = new EventEmitter();\r\n @Input() public disabled?: boolean;\r\n @Input() public actual?: boolean;\r\n\r\n // The internal data model\r\n calcPair: CalculationPair = {\r\n actual: {},\r\n anticipated: {}\r\n };\r\n\r\n // Databinding the calc control\r\n get boundCalc(): Calculation {\r\n if (!this.calcPair) { return null; }\r\n\r\n return this.actual\r\n ? this.calcPair.actual\r\n : this.calcPair.anticipated;\r\n }\r\n set boundCalc(calc: Calculation) {\r\n if (!this.calcPair) { this.calcPair = CalculationPair.newDefault(); }\r\n\r\n if (this.actual) {\r\n this.calcPair.actual = calc;\r\n } else {\r\n this.calcPair.anticipated = calc;\r\n }\r\n }\r\n\r\n // Placeholders for the callbacks which are later provided\r\n // by the Control Value Accessor\r\n onTouchedCallback: () => void = noop;\r\n onChangeCallback: (_: any) => void = noop;\r\n\r\n // get accessor\r\n get value(): CalculationPair {\r\n return this.calcPair;\r\n }\r\n\r\n // set accessor including call the onchange callback\r\n set value(v: CalculationPair) {\r\n if (v !== this.calcPair) {\r\n this.calcPair = v;\r\n this.onChangeCallback(v);\r\n }\r\n }\r\n\r\n // Set touched on blur\r\n onBlur() {\r\n this.onTouchedCallback();\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n writeValue(value: CalculationPair) {\r\n if (value !== this.calcPair) {\r\n this.calcPair = value;\r\n }\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n registerOnChange(fn: any) {\r\n this.onChangeCallback = fn;\r\n }\r\n\r\n // From ControlValueAccessor interface\r\n registerOnTouched(fn: any) {\r\n this.onTouchedCallback = fn;\r\n }\r\n\r\n constructor() { \r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n isExceeded() {\r\n let anticipated = 0;\r\n let actual = 0;\r\n if (this.calcPair && this.calcPair.anticipated && this.calcPair.anticipated.total) {\r\n anticipated = parseFloat(this.calcPair.anticipated.total);\r\n }\r\n if (this.calcPair && this.calcPair.actual && this.calcPair.actual.total) {\r\n actual = parseFloat(this.calcPair.actual.total);\r\n }\r\n return actual > anticipated;\r\n }\r\n}\r\n","
\r\n Anticipated:\r\n {{amountPrefix}}{{calcPair.anticipated.amount}}{{amountSuffix}}\r\n x\r\n {{ unitPrefix }}{{calcPair.anticipated.unitCost}}{{ unitSuffix }}\r\n =\r\n {{ unitPrefix }}{{calcPair.anticipated.total}}{{ unitSuffix }}\r\n
\r\n\r\n","import { Component, \r\n OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'eil-wait',\r\n templateUrl: './wait.component.html',\r\n styleUrls: ['./wait.component.scss'] \r\n }\r\n)\r\nexport class WaitComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n constructor() { \r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","

Under Construction: wait

\r\n

\r\n This is a generated scaffold for the 'wait' component.\r\n

","import { Component,\r\n OnInit} from '@angular/core';\r\nimport { Router,\r\n ActivatedRoute,\r\n Route} from '@angular/router';\r\n\r\n@Component({\r\n selector: 'eil-side-nav',\r\n templateUrl: './side-nav.component.html',\r\n styleUrls: ['./side-nav.component.scss']\r\n }\r\n)\r\nexport class SideNavComponent implements OnInit {\r\n\r\n public parentChildRoutes: Route[];\r\n private parentRoute: string;\r\n\r\n constructor(route: ActivatedRoute, protected router: Router) {\r\n route.params.subscribe(params => {\r\n if (route.parent && route.parent.routeConfig && route.parent.routeConfig.children) {\r\n const childRouteArray = route.parent.routeConfig.children.filter((e) => e.data && e.data.showInSideNavAs);\r\n this.parentChildRoutes = childRouteArray;\r\n this.parentRoute = route.parent.routeConfig.path;\r\n }\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","\r\n","import { Component, \r\n OnInit } from '@angular/core';\r\nimport { CurrentUserService } from \"../services/current-user.service\";\r\nimport { IUserDetail } from \"../models/user-detail.model\";\r\n\r\n@Component({\r\n selector: 'eil-top-nav',\r\n templateUrl: './top-nav.component.html',\r\n styleUrls: ['./top-nav.component.scss']\r\n }\r\n)\r\nexport class TopNavComponent implements OnInit {\r\n\r\n currentUser: IUserDetail;\r\n\r\n isExpanded = false;\r\n\r\n constructor(private currentUserService: CurrentUserService) {\r\n \r\n }\r\n\r\n ngOnInit() {\r\n this.currentUserService.currentUser.subscribe(user => {\r\n this.currentUser = user;\r\n });\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n}\r\n","\r\n","import { Component, \r\n OnInit } from '@angular/core';\r\nimport { CurrentUserService } from \"../../services/current-user.service\";\r\nimport { IUserDetail } from \"../../models/user-detail.model\";\r\n\r\n@Component({\r\n selector: 'eil-user-menu',\r\n templateUrl: './user-menu.component.html',\r\n styleUrls: ['./user-menu.component.scss']\r\n }\r\n)\r\nexport class UserMenuComponent implements OnInit {\r\n\r\n currentUser: IUserDetail;\r\n\r\n constructor(private currentUserService: CurrentUserService) { \r\n \r\n }\r\n\r\n ngOnInit() {\r\n this.currentUserService.currentUser.subscribe(user => {\r\n this.currentUser = user;\r\n });\r\n }\r\n\r\n}\r\n","\n Sign in\n\n\n \r\n {{ currentUser.firstName }} {{ currentUser.lastName }}\r\n \n Sign out\n\n","import { Component, \r\n OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'eil-two-outlet-layout',\r\n templateUrl: './two-outlet-layout.component.html',\r\n styleUrls: ['./two-outlet-layout.component.scss']\r\n }\r\n)\r\nexport class TwoOutletLayoutComponent implements OnInit {\r\n\r\n // @Input() public inputExample: string;\r\n\r\n // public publicExample: string;\r\n // public anotherExample: any;\r\n\r\n // private privateExample: boolean;\r\n\r\n constructor() { \r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n\r\n","// The file contents for the current environment will overwrite these during build.\r\n// The build system defaults to the dev environment which uses `environment.ts`, but if you do\r\n// `ng build --env=prod` then `environment.prod.ts` will be used instead.\r\n// The list of which env maps to which file can be found in `.angular-cli.json`.\r\n\r\nexport const environment = {\r\n production: false\r\n};\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nexport function getBaseUrl() {\r\n return document.getElementsByTagName('base')[0].href;\r\n}\r\n\r\nconst providers = [\r\n { provide: 'BASE_URL', useFactory: getBaseUrl, deps: [] }\r\n];\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic(providers).bootstrapModule(AppModule)\r\n .catch(err => console.log(err));\r\n","var map = {\n\t\"./af\": 35528,\n\t\"./af.js\": 35528,\n\t\"./ar\": 1036,\n\t\"./ar-dz\": 17579,\n\t\"./ar-dz.js\": 17579,\n\t\"./ar-kw\": 69588,\n\t\"./ar-kw.js\": 69588,\n\t\"./ar-ly\": 11650,\n\t\"./ar-ly.js\": 11650,\n\t\"./ar-ma\": 93258,\n\t\"./ar-ma.js\": 93258,\n\t\"./ar-sa\": 54085,\n\t\"./ar-sa.js\": 54085,\n\t\"./ar-tn\": 90287,\n\t\"./ar-tn.js\": 90287,\n\t\"./ar.js\": 1036,\n\t\"./az\": 89757,\n\t\"./az.js\": 89757,\n\t\"./be\": 59620,\n\t\"./be.js\": 59620,\n\t\"./bg\": 31139,\n\t\"./bg.js\": 31139,\n\t\"./bm\": 4042,\n\t\"./bm.js\": 4042,\n\t\"./bn\": 19641,\n\t\"./bn-bd\": 19126,\n\t\"./bn-bd.js\": 19126,\n\t\"./bn.js\": 19641,\n\t\"./bo\": 494,\n\t\"./bo.js\": 494,\n\t\"./br\": 20934,\n\t\"./br.js\": 20934,\n\t\"./bs\": 26274,\n\t\"./bs.js\": 26274,\n\t\"./ca\": 45831,\n\t\"./ca.js\": 45831,\n\t\"./cs\": 92354,\n\t\"./cs.js\": 92354,\n\t\"./cv\": 79692,\n\t\"./cv.js\": 79692,\n\t\"./cy\": 58774,\n\t\"./cy.js\": 58774,\n\t\"./da\": 38955,\n\t\"./da.js\": 38955,\n\t\"./de\": 21557,\n\t\"./de-at\": 24954,\n\t\"./de-at.js\": 24954,\n\t\"./de-ch\": 81881,\n\t\"./de-ch.js\": 81881,\n\t\"./de.js\": 21557,\n\t\"./dv\": 16475,\n\t\"./dv.js\": 16475,\n\t\"./el\": 38877,\n\t\"./el.js\": 38877,\n\t\"./en-au\": 70454,\n\t\"./en-au.js\": 70454,\n\t\"./en-ca\": 67356,\n\t\"./en-ca.js\": 67356,\n\t\"./en-gb\": 10456,\n\t\"./en-gb.js\": 10456,\n\t\"./en-ie\": 28789,\n\t\"./en-ie.js\": 28789,\n\t\"./en-il\": 85471,\n\t\"./en-il.js\": 85471,\n\t\"./en-in\": 39664,\n\t\"./en-in.js\": 39664,\n\t\"./en-nz\": 97672,\n\t\"./en-nz.js\": 97672,\n\t\"./en-sg\": 80805,\n\t\"./en-sg.js\": 80805,\n\t\"./eo\": 87390,\n\t\"./eo.js\": 87390,\n\t\"./es\": 1564,\n\t\"./es-do\": 51473,\n\t\"./es-do.js\": 51473,\n\t\"./es-mx\": 92089,\n\t\"./es-mx.js\": 92089,\n\t\"./es-us\": 84156,\n\t\"./es-us.js\": 84156,\n\t\"./es.js\": 1564,\n\t\"./et\": 6513,\n\t\"./et.js\": 6513,\n\t\"./eu\": 7856,\n\t\"./eu.js\": 7856,\n\t\"./fa\": 2378,\n\t\"./fa.js\": 2378,\n\t\"./fi\": 22687,\n\t\"./fi.js\": 22687,\n\t\"./fil\": 80032,\n\t\"./fil.js\": 80032,\n\t\"./fo\": 46845,\n\t\"./fo.js\": 46845,\n\t\"./fr\": 8875,\n\t\"./fr-ca\": 56425,\n\t\"./fr-ca.js\": 56425,\n\t\"./fr-ch\": 41746,\n\t\"./fr-ch.js\": 41746,\n\t\"./fr.js\": 8875,\n\t\"./fy\": 67037,\n\t\"./fy.js\": 67037,\n\t\"./ga\": 11217,\n\t\"./ga.js\": 11217,\n\t\"./gd\": 37010,\n\t\"./gd.js\": 37010,\n\t\"./gl\": 51931,\n\t\"./gl.js\": 51931,\n\t\"./gom-deva\": 64488,\n\t\"./gom-deva.js\": 64488,\n\t\"./gom-latn\": 8032,\n\t\"./gom-latn.js\": 8032,\n\t\"./gu\": 34984,\n\t\"./gu.js\": 34984,\n\t\"./he\": 69090,\n\t\"./he.js\": 69090,\n\t\"./hi\": 42085,\n\t\"./hi.js\": 42085,\n\t\"./hr\": 38787,\n\t\"./hr.js\": 38787,\n\t\"./hu\": 2901,\n\t\"./hu.js\": 2901,\n\t\"./hy-am\": 59819,\n\t\"./hy-am.js\": 59819,\n\t\"./id\": 44074,\n\t\"./id.js\": 44074,\n\t\"./is\": 70715,\n\t\"./is.js\": 70715,\n\t\"./it\": 31746,\n\t\"./it-ch\": 77040,\n\t\"./it-ch.js\": 77040,\n\t\"./it.js\": 31746,\n\t\"./ja\": 3180,\n\t\"./ja.js\": 3180,\n\t\"./jv\": 34346,\n\t\"./jv.js\": 34346,\n\t\"./ka\": 65538,\n\t\"./ka.js\": 65538,\n\t\"./kk\": 79772,\n\t\"./kk.js\": 79772,\n\t\"./km\": 87905,\n\t\"./km.js\": 87905,\n\t\"./kn\": 79125,\n\t\"./kn.js\": 79125,\n\t\"./ko\": 69140,\n\t\"./ko.js\": 69140,\n\t\"./ku\": 2354,\n\t\"./ku.js\": 2354,\n\t\"./ky\": 63768,\n\t\"./ky.js\": 63768,\n\t\"./lb\": 14016,\n\t\"./lb.js\": 14016,\n\t\"./lo\": 83169,\n\t\"./lo.js\": 83169,\n\t\"./lt\": 62353,\n\t\"./lt.js\": 62353,\n\t\"./lv\": 83243,\n\t\"./lv.js\": 83243,\n\t\"./me\": 52338,\n\t\"./me.js\": 52338,\n\t\"./mi\": 35555,\n\t\"./mi.js\": 35555,\n\t\"./mk\": 85794,\n\t\"./mk.js\": 85794,\n\t\"./ml\": 53151,\n\t\"./ml.js\": 53151,\n\t\"./mn\": 46458,\n\t\"./mn.js\": 46458,\n\t\"./mr\": 69165,\n\t\"./mr.js\": 69165,\n\t\"./ms\": 8680,\n\t\"./ms-my\": 87477,\n\t\"./ms-my.js\": 87477,\n\t\"./ms.js\": 8680,\n\t\"./mt\": 79684,\n\t\"./mt.js\": 79684,\n\t\"./my\": 40285,\n\t\"./my.js\": 40285,\n\t\"./nb\": 45922,\n\t\"./nb.js\": 45922,\n\t\"./ne\": 29040,\n\t\"./ne.js\": 29040,\n\t\"./nl\": 5066,\n\t\"./nl-be\": 74460,\n\t\"./nl-be.js\": 74460,\n\t\"./nl.js\": 5066,\n\t\"./nn\": 53693,\n\t\"./nn.js\": 53693,\n\t\"./oc-lnc\": 88676,\n\t\"./oc-lnc.js\": 88676,\n\t\"./pa-in\": 92341,\n\t\"./pa-in.js\": 92341,\n\t\"./pl\": 57416,\n\t\"./pl.js\": 57416,\n\t\"./pt\": 84344,\n\t\"./pt-br\": 30113,\n\t\"./pt-br.js\": 30113,\n\t\"./pt.js\": 84344,\n\t\"./ro\": 72643,\n\t\"./ro.js\": 72643,\n\t\"./ru\": 61305,\n\t\"./ru.js\": 61305,\n\t\"./sd\": 96095,\n\t\"./sd.js\": 96095,\n\t\"./se\": 74486,\n\t\"./se.js\": 74486,\n\t\"./si\": 58742,\n\t\"./si.js\": 58742,\n\t\"./sk\": 96722,\n\t\"./sk.js\": 96722,\n\t\"./sl\": 3345,\n\t\"./sl.js\": 3345,\n\t\"./sq\": 52416,\n\t\"./sq.js\": 52416,\n\t\"./sr\": 39450,\n\t\"./sr-cyrl\": 50501,\n\t\"./sr-cyrl.js\": 50501,\n\t\"./sr.js\": 39450,\n\t\"./ss\": 32222,\n\t\"./ss.js\": 32222,\n\t\"./sv\": 9454,\n\t\"./sv.js\": 9454,\n\t\"./sw\": 19638,\n\t\"./sw.js\": 19638,\n\t\"./ta\": 96494,\n\t\"./ta.js\": 96494,\n\t\"./te\": 94435,\n\t\"./te.js\": 94435,\n\t\"./tet\": 25003,\n\t\"./tet.js\": 25003,\n\t\"./tg\": 13706,\n\t\"./tg.js\": 13706,\n\t\"./th\": 16025,\n\t\"./th.js\": 16025,\n\t\"./tk\": 59780,\n\t\"./tk.js\": 59780,\n\t\"./tl-ph\": 22068,\n\t\"./tl-ph.js\": 22068,\n\t\"./tlh\": 39167,\n\t\"./tlh.js\": 39167,\n\t\"./tr\": 32494,\n\t\"./tr.js\": 32494,\n\t\"./tzl\": 58707,\n\t\"./tzl.js\": 58707,\n\t\"./tzm\": 91296,\n\t\"./tzm-latn\": 34532,\n\t\"./tzm-latn.js\": 34532,\n\t\"./tzm.js\": 91296,\n\t\"./ug-cn\": 12086,\n\t\"./ug-cn.js\": 12086,\n\t\"./uk\": 85069,\n\t\"./uk.js\": 85069,\n\t\"./ur\": 29304,\n\t\"./ur.js\": 29304,\n\t\"./uz\": 95115,\n\t\"./uz-latn\": 97609,\n\t\"./uz-latn.js\": 97609,\n\t\"./uz.js\": 95115,\n\t\"./vi\": 34802,\n\t\"./vi.js\": 34802,\n\t\"./x-pseudo\": 65605,\n\t\"./x-pseudo.js\": 65605,\n\t\"./yo\": 88456,\n\t\"./yo.js\": 88456,\n\t\"./zh-cn\": 23272,\n\t\"./zh-cn.js\": 23272,\n\t\"./zh-hk\": 9402,\n\t\"./zh-hk.js\": 9402,\n\t\"./zh-mo\": 48101,\n\t\"./zh-mo.js\": 48101,\n\t\"./zh-tw\": 40262,\n\t\"./zh-tw.js\": 40262\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 46700;"],"names":["AdminApplicationsComponent","constructor","location","linkToExcel","prepareExternalUrl","ngOnInit","_","i0","ɵɵdirectiveInject","i1","Location","_2","selectors","decls","vars","consts","template","AdminApplicationsComponent_Template","rf","ctx","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵtext","ɵɵadvance","ɵɵpropertyInterpolate","ɵɵsanitizeUrl","SearchFilterPipe","transform","items","args","filter","item","applicantName","toLowerCase","indexOf","event","name","pure","StatusFilterPipe","status","ROUTES","moment","ɵɵnamespaceSVG","ɵɵproperty","ɵɵpureFunction1","_c0","ctx_r1","linkToEdit","pdApp_r3","id","ɵɵtextInterpolate1","created","getAgo","displayTotal","AdminApplistComponent","pdAppService","orderByPipe","filterStatus","loading","order","pdApps","reverse","searchText","PD","PD_EDITAPP","filterDate","subtract","ApplicantEmail","ExcludeStatus","CreatedAt","getMany","success","result","addDisplayTotal","checkAndUpdateStatus","tablePage","setOrder","dateString","fromNow","i","length","actualTotal","parseFloat","anticipatedTotal","isNaN","value","oneDay","endDate","Date","now","valueOf","getTime","expensesOverdue","error","displayHasBeenHandled","toastrService","errorMessage","expensesDue","loadAllApps","PDAppService","i2","OrderByPipe","AdminApplistComponent_Template","ɵɵlistener","AdminApplistComponent_Template_input_input_2_listener","$event","target","AdminApplistComponent_Template_select_change_3_listener","AdminApplistComponent_Template_th_click_27_listener","AdminApplistComponent_Template_th_click_33_listener","AdminApplistComponent_Template_th_click_39_listener","AdminApplistComponent_Template_th_click_45_listener","AdminApplistComponent_Template_th_click_51_listener","ɵɵtemplate","AdminApplistComponent_tr_58_Template","AdminApplistComponent_tr_59_Template","AdminApplistComponent_div_64_Template","AdminApplistComponent_Template_pagination_controls_pageChange_65_listener","AdminApplistComponent_Template_button_click_69_listener","ɵɵclassProp","ɵɵpipeBind2","ɵɵpipeBind4","_c1","AdminComponent","AdminComponent_Template","AdvancedComponent_form_3_div_8_div_1_Template","_r4","errors","required","AdvancedComponent_form_3_div_14_div_1_Template","_r6","AdvancedComponent_form_3_div_20_div_1_Template","_r8","AdvancedComponent_form_3_div_26_div_1_Template","_r10","AdvancedComponent_form_3_div_32_div_1_Template","_r12","AdvancedComponent_form_3_div_38_div_1_Template","_r14","AdvancedComponent_form_3_div_44_div_1_Template","_r16","AdvancedComponent_form_3_div_50_div_1_Template","_r18","AdvancedComponent_form_3_div_56_div_1_Template","_r20","AdvancedComponent_form_3_div_62_div_1_Template","_r22","AdvancedComponent_form_3_div_68_div_1_Template","AdvancedComponent_form_3_div_74_div_1_Template","_r26","AdvancedComponent_form_3_div_80_div_1_Template","_r28","AdvancedComponent_form_3_div_86_div_1_Template","_r30","pastCreditLoad_r52","startDate","ctx_r49","startedByUserEmail","startedByUserName","amountToLoad","toMaximumOf","membersToLoad","membersLoaded","loadStatus","AdvancedComponent_form_3_div_91_div_27_div_4_Template_input_ngModelChange_2_listener","ɵɵrestoreView","_r59","ctx_r58","ɵɵnextContext","ɵɵresetView","bulkCreditsToAdd","AdvancedComponent_form_3_div_91_div_27_div_4_Template_button_click_3_listener","ctx_r60","startBulkCredit","ctx_r53","loadingRosterMembers","loadingConfig","disableForNonAdmin","ctx_r61","activeCreditLoad","MembersLoaded","ɵɵtextInterpolate2","ctx_r62","rosterMembers","ctx_r64","processingRosterIndex","AdvancedComponent_form_3_div_91_div_27_div_5_div_1_Template","AdvancedComponent_form_3_div_91_div_27_div_5_div_2_Template","AdvancedComponent_form_3_div_91_div_27_div_5_div_3_Template","AdvancedComponent_form_3_div_91_div_27_div_5_div_4_Template","AdvancedComponent_form_3_div_91_div_27_div_5_div_5_Template","ctx_r54","member_r66","previousBalance","AdvancedComponent_form_3_div_91_div_27_tr_30_span_14_span_1_Template","isBeingCredited","creditsAdded","resultingBalance","AdvancedComponent_form_3_div_91_div_27_tr_30_span_12_Template","AdvancedComponent_form_3_div_91_div_27_tr_30_span_14_Template","AdvancedComponent_form_3_div_91_div_27_tr_30_span_16_Template","email","firstName","lastName","lastSeen","ctx_r57","lastCreditLoadDate","lastCreditLoadAmount","AdvancedComponent_form_3_div_91_div_27_div_4_Template","AdvancedComponent_form_3_div_91_div_27_div_5_Template","AdvancedComponent_form_3_div_91_div_27_span_7_Template","AdvancedComponent_form_3_div_91_div_27_span_8_Template","AdvancedComponent_form_3_div_91_div_27_tr_30_Template","ctx_r51","config","maximumAllowedCredits","AdvancedComponent_form_3_div_91_tr_24_Template","AdvancedComponent_form_3_div_91_tr_25_Template","AdvancedComponent_form_3_div_91_div_26_Template","AdvancedComponent_form_3_div_91_div_27_Template","ctx_r33","loadingPastCredits","pastCreditLoads","AdvancedComponent_form_3_Template_form_ngSubmit_0_listener","_r75","ctx_r74","onSubmit","AdvancedComponent_form_3_Template_input_ngModelChange_6_listener","ctx_r76","AdvancedComponent_form_3_div_8_Template","AdvancedComponent_form_3_Template_input_ngModelChange_12_listener","ctx_r77","maxExpensesSubmitable","AdvancedComponent_form_3_div_14_Template","AdvancedComponent_form_3_Template_input_ngModelChange_18_listener","ctx_r78","subsistencePerDay","AdvancedComponent_form_3_div_20_Template","AdvancedComponent_form_3_Template_input_ngModelChange_24_listener","ctx_r79","maxAccommodationPricePerNight","AdvancedComponent_form_3_div_26_Template","AdvancedComponent_form_3_Template_input_ngModelChange_30_listener","ctx_r80","carAllowancePerKm","AdvancedComponent_form_3_div_32_Template","AdvancedComponent_form_3_Template_input_ngModelChange_36_listener","ctx_r81","substituteCostPerHalfDay","AdvancedComponent_form_3_div_38_Template","AdvancedComponent_form_3_Template_input_ngModelChange_42_listener","ctx_r82","substituteCostPerFullDay","AdvancedComponent_form_3_div_44_Template","AdvancedComponent_form_3_Template_input_ngModelChange_48_listener","ctx_r83","substituteMaximumGridCostPerDay","AdvancedComponent_form_3_div_50_Template","AdvancedComponent_form_3_Template_textarea_ngModelChange_54_listener","ctx_r84","dateHelpText","AdvancedComponent_form_3_div_56_Template","AdvancedComponent_form_3_Template_textarea_ngModelChange_60_listener","ctx_r85","conferenceInfoText","AdvancedComponent_form_3_div_62_Template","AdvancedComponent_form_3_Template_textarea_ngModelChange_66_listener","ctx_r86","pdExplanationHelpText","AdvancedComponent_form_3_div_68_Template","AdvancedComponent_form_3_Template_textarea_ngModelChange_72_listener","ctx_r87","substituteExpenseHelpText","AdvancedComponent_form_3_div_74_Template","AdvancedComponent_form_3_Template_textarea_ngModelChange_78_listener","ctx_r88","mileageHelpText","AdvancedComponent_form_3_div_80_Template","AdvancedComponent_form_3_Template_textarea_ngModelChange_84_listener","ctx_r89","subsistenceHelpText","AdvancedComponent_form_3_div_86_Template","AdvancedComponent_form_3_div_88_Template","AdvancedComponent_form_3_div_91_Template","invalid","dirty","touched","_r24","savingConfig","_r3","form","valid","AdvancedComponent","configService","bulkCreditService","creditLoadInProgress","instance","subscribe","defaultCreditAddAmount","load","isSuccess","getActiveMemberRoster","loadPastCredits","getPastCreditLoads","save","creditsToAdd","confirm","createNewCreditLoadEntry","processRosterEntry","rosterEntry","request","bulkCreditId","userId","performCreditLoad","bulkMaster","member","rosterEntryName","warning","completeBulkCredit","markCreditLoadComplete","ConfigService","BulkCreditService","i3","ToastrService","AdvancedComponent_Template","AdvancedComponent_div_0_Template","AdvancedComponent_form_3_Template","AdvancedComponent_div_4_Template","FundtermFormComponent_form_1_div_8_div_1_Template","FundtermFormComponent_form_1_div_15_div_1_Template","FundtermFormComponent_form_1_div_22_div_1_Template","_r9","FundtermFormComponent_form_1_div_28_div_1_Template","_r11","FundtermFormComponent_form_1_mat_slide_toggle_33_Template_mat_slide_toggle_ngModelChange_0_listener","ctx_r21","term","isOpen","ctx_r13","ctx_r14","totalSpent","totalPending","totalProposed","startingBalance","FundtermFormComponent_form_1_div_39_div_1_Template","FundtermFormComponent_form_1_div_39_div_2_Template","FundtermFormComponent_form_1_div_39_div_3_Template","FundtermFormComponent_form_1_div_39_div_4_Template","FundtermFormComponent_form_1_Template_form_ngSubmit_0_listener","ctx_r27","FundtermFormComponent_form_1_Template_input_ngModelChange_6_listener","ctx_r29","FundtermFormComponent_form_1_div_8_Template","FundtermFormComponent_form_1_Template_input_ngModelChange_12_listener","ctx_r30","FundtermFormComponent_form_1_div_15_Template","FundtermFormComponent_form_1_Template_input_ngModelChange_19_listener","ctx_r31","FundtermFormComponent_form_1_div_22_Template","FundtermFormComponent_form_1_Template_input_ngModelChange_26_listener","ctx_r32","FundtermFormComponent_form_1_div_28_Template","FundtermFormComponent_form_1_mat_slide_toggle_33_Template","FundtermFormComponent_form_1_div_34_Template","FundtermFormComponent_form_1_div_36_Template","FundtermFormComponent_form_1_div_39_Template","loadingTerm","showAllocationBar","savingTerm","_r2","FundtermFormComponent","termsService","router","route","userService","currentUser","user","isAdmin","paramMap","snapshot","has","get","getOne","navigateByUrl","ADMIN","ADMIN_FUNDTERMS","TermsService","Router","ActivatedRoute","i4","CurrentUserService","FundtermFormComponent_Template","FundtermFormComponent_div_0_Template","FundtermFormComponent_form_1_Template","term_r3","getTermRange","FundtermsListComponent","terms","ADMIN_FUNDTERMS_EDIT","start","end","fullFormatString","format","FundtermsListComponent_Template","FundtermsListComponent_tr_15_Template","FundtermsListComponent_tr_16_Template","FundtermsListComponent_div_17_Template","ctx_r0","linkToNew","FundtermsComponent","disabledForNonAdmin","ADMIN_FUNDTERMS_NEW","FundtermsComponent_Template","FundtermsComponent_div_2_Template","MemberSearchFilterPipe","test","teachingCertNo","preferredEmail","MemberLogic","ctx_r7","member_r3","ctx_r9","ɵɵpropertyInterpolate1","MemberListComponent_tr_48_div_21_ul_3_li_1_Template_a_click_1_listener","_r31","$implicit","toggleIsApproved","MemberListComponent_tr_48_div_21_ul_3_li_2_Template_a_click_1_listener","_r34","reject","MemberListComponent_tr_48_div_21_ul_3_li_4_Template_a_click_1_listener","_r37","ctx_r35","toggleIsAdmin","MemberListComponent_tr_48_div_21_ul_3_li_5_Template_a_click_1_listener","_r40","ctx_r38","MemberListComponent_tr_48_div_21_ul_3_li_6_Template_a_click_1_listener","_r43","ctx_r41","toggleIsMember","MemberListComponent_tr_48_div_21_ul_3_li_7_Template_a_click_1_listener","_r46","ctx_r44","MemberListComponent_tr_48_div_21_ul_3_li_9_Template_a_click_1_listener","_r49","ctx_r47","deactivate","MemberListComponent_tr_48_div_21_ul_3_li_10_Template_a_click_1_listener","_r52","ctx_r50","reactivate","MemberListComponent_tr_48_div_21_ul_3_li_12_Template_a_click_1_listener","_r55","toggleIsAuditor","MemberListComponent_tr_48_div_21_ul_3_li_13_Template_a_click_1_listener","_r58","ctx_r56","MemberListComponent_tr_48_div_21_ul_3_li_1_Template","MemberListComponent_tr_48_div_21_ul_3_li_2_Template","MemberListComponent_tr_48_div_21_ul_3_li_4_Template","MemberListComponent_tr_48_div_21_ul_3_li_5_Template","MemberListComponent_tr_48_div_21_ul_3_li_6_Template","MemberListComponent_tr_48_div_21_ul_3_li_7_Template","MemberListComponent_tr_48_div_21_ul_3_li_9_Template","MemberListComponent_tr_48_div_21_ul_3_li_10_Template","MemberListComponent_tr_48_div_21_ul_3_li_12_Template","MemberListComponent_tr_48_div_21_ul_3_li_13_Template","ctx_r18","memberLogic","adminCanApprove","adminCanReject","adminCanMakeAdmin","adminCanRemoveAsAdmin","adminCanMakeMember","adminCanRemoveAsMember","adminCanDeactivate","adminCanReactivate","adminCanMakeAuditor","adminCanRemoveAsAuditor","MemberListComponent_tr_48_div_21_ul_3_Template","MemberListComponent_tr_48_span_2_Template","MemberListComponent_tr_48_span_3_Template","MemberListComponent_tr_48_span_4_Template","MemberListComponent_tr_48_a_6_Template","MemberListComponent_tr_48_div_7_Template","MemberListComponent_tr_48_a_9_Template","MemberListComponent_tr_48_div_10_Template","MemberListComponent_tr_48_span_13_Template","MemberListComponent_tr_48_div_21_Template","isMember","isAud","isAuditor","getStatus","MemberListComponent","membersService","currentUserService","members","ADMIN_EDITMEMBER","getAll","toggleMemberSetting","valueToSet","settingName","setMemberSetting","index","delete","splice","toggleIsRegistered","MembersService","MemberListComponent_Template","MemberListComponent_Template_input_input_2_listener","MemberListComponent_Template_th_click_8_listener","MemberListComponent_Template_th_click_14_listener","MemberListComponent_Template_th_click_20_listener","MemberListComponent_Template_th_click_26_listener","MemberListComponent_Template_th_click_32_listener","MemberListComponent_Template_th_click_38_listener","MemberListComponent_tr_47_Template","MemberListComponent_tr_48_Template","MemberListComponent_div_52_Template","MemberListComponent_Template_pagination_controls_pageChange_53_listener","MembersComponent","MembersComponent_Template","PDEventsComponent","PDEventsComponent_Template","AppComponent","title","showNav","currentPos","lastTimeNegative","container","document","getElementById","showNavBar","window","screen","width","deltaY","displayNavBarMobile","dif","changedTouches","pageY","AppComponent_Template","AppComponent_eil_top_nav_1_Template","AppComponent_Template_div_wheel_2_listener","AppComponent_Template_div_touchmove_2_listener","BrowserModule","BrowserAnimationsModule","ErrorHandler","FormsModule","HttpClientModule","BsDatepickerModule","BsDropdownModule","ProgressbarModule","ModalModule","MatProgressBarModule","ToastrModule","MatSlideToggleModule","InlineSVGModule","NgxPaginationModule","AppRoutingModule","PROVIDERS","MonitoringErrorHandler","NewLine2BrPipe","AppModule","bootstrap","_3","provide","useClass","imports","forRoot","closeButton","timeOut","declarations","TopNavComponent","SideNavComponent","TwoOutletLayoutComponent","UserMenuComponent","i5","LoginComponent","i6","PDComponent","i7","PDApplicationsComponent","i8","AccountDetailComponent","i9","AwaitingApprovalComponent","i10","i11","i12","i13","i14","i15","i16","PDApplistComponent","i17","FundingComponent","i18","CreditsComponent","i19","ColorBarComponent","i20","AppColorBarComponent","i21","i22","PDFormComponent","i23","UnitcalcComponent","i24","WaitComponent","i25","UnitcalcpairComponent","i26","AmountpairComponent","i27","FileUploadComponent","i28","i29","QuickToggleComponent","i30","i31","i32","i33","i34","i35","i36","i37","i38","i39","RouterModule","AuthGuard","appRoutes","path","HOME","redirectTo","LOGIN","pathMatch","component","REGISTER","canActivate","children","REGISTER_DETAIL","REGISTER_AWAITING","PD_APPLICATIONS","data","showInSideNavAs","svgIcon","PD_NEWAPP","PD_ACCOUNTDETAIL","outlet","IDPARAM","ADMIN_APPLICATIONS","ADMIN_MEMBERS","ADMIN_ADVANCED","WILDCARD","exports","inject","next","state","isAuthenticated","navigate","queryParams","returnUrl","url","toString","isRegistered","isApproved","ɵɵtextInterpolate3","ctx_r2","wasSuccess","newlyAuthenticated","LoginComponent_Template","LoginComponent_p_1_Template","LoginComponent_p_2_Template","LoginComponent_p_3_Template","isLoaded","Calculation","CalculationPair","newDefault","anticipated","actual","total","MemberStatus","for","hasBeenApproved","Incomplete","Pending","Deactivated","_4","Approved","_5","Auditor","SecurityContext","sanitizer","santize","parsed","replace","sanitize","HTML","bypassSecurityTrustHtml","DomSanitizer","orderBy","field","AccountDetailComponent_div_0_button_11_Template_button_click_0_listener","AccountDetailComponent_div_0_button_12_Template_button_click_0_listener","ctx_r15","AccountDetailComponent_div_0_button_28_Template_button_click_0_listener","ctx_r17","AccountDetailComponent_div_0_button_29_Template_button_click_0_listener","ctx_r19","AccountDetailComponent_div_0_button_30_Template_button_click_0_listener","AccountDetailComponent_div_0_button_31_Template_button_click_0_listener","ctx_r23","AccountDetailComponent_div_0_button_40_Template_button_click_0_listener","ctx_r25","AccountDetailComponent_div_0_button_41_Template_button_click_0_listener","AccountDetailComponent_div_0_button_11_Template","AccountDetailComponent_div_0_button_12_Template","AccountDetailComponent_div_0_button_28_Template","AccountDetailComponent_div_0_button_29_Template","AccountDetailComponent_div_0_button_30_Template","AccountDetailComponent_div_0_button_31_Template","AccountDetailComponent_div_0_button_40_Template","AccountDetailComponent_div_0_button_41_Template","AccountDetailComponent_div_1_div_29_Template_input_ngModelChange_2_listener","_r33","AccountDetailComponent_div_1_div_29_Template_button_click_3_listener","ctx_r34","addCredits","getDisplayDate","row_r35","date","label","amount","newProposedBalance","newPendingBalance","newSpentBalance","AccountDetailComponent_div_1_div_29_Template","AccountDetailComponent_div_1_tr_50_Template","AccountDetailComponent_div_1_tr_51_Template","showAdminPanel","ledger","AccountDetailComponent_div_3_div_2_button_4_Template_button_click_0_listener","_r41","ctx_r40","unsubscribe","AccountDetailComponent_div_3_div_2_button_5_Template_button_click_0_listener","ctx_r42","resubscribe","AccountDetailComponent_div_3_div_2_button_4_Template","AccountDetailComponent_div_3_div_2_button_5_Template","ctx_r37","isSubscribed","AccountDetailComponent_div_3_span_1_Template","AccountDetailComponent_div_3_div_2_Template","ctx_r3","waiting","AccountDetailComponent_form_4_div_3_div_8_div_1_Template","_r47","AccountDetailComponent_form_4_div_3_div_14_div_1_Template","AccountDetailComponent_form_4_div_3_div_26_div_1_Template","_r51","AccountDetailComponent_form_4_div_3_div_37_div_1_Template","AccountDetailComponent_form_4_div_3_div_37_div_2_Template","_r54","pattern","AccountDetailComponent_form_4_div_3_div_43_div_1_Template","_r56","AccountDetailComponent_form_4_div_3_div_49_div_1_Template","AccountDetailComponent_form_4_div_3_div_60_div_1_Template","_r61","AccountDetailComponent_form_4_div_3_div_66_div_1_Template","AccountDetailComponent_form_4_div_3_div_66_div_2_Template","_r63","AccountDetailComponent_form_4_div_3_div_72_div_1_Template","AccountDetailComponent_form_4_div_3_div_72_div_2_Template","_r65","AccountDetailComponent_form_4_div_3_div_78_div_1_Template","AccountDetailComponent_form_4_div_3_div_78_div_2_Template","_r67","AccountDetailComponent_form_4_div_3_div_84_div_1_Template","AccountDetailComponent_form_4_div_3_div_84_div_2_Template","_r69","AccountDetailComponent_form_4_div_3_div_90_div_1_Template","_r71","AccountDetailComponent_form_4_div_3_div_96_div_1_Template","_r73","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_6_listener","_r95","ctx_r94","AccountDetailComponent_form_4_div_3_div_8_Template","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_12_listener","ctx_r96","AccountDetailComponent_form_4_div_3_div_14_Template","AccountDetailComponent_form_4_div_3_Template_select_ngModelChange_18_listener","ctx_r97","employmentType","AccountDetailComponent_form_4_div_3_div_26_Template","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_30_listener","ctx_r98","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_35_listener","ctx_r99","AccountDetailComponent_form_4_div_3_div_37_Template","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_41_listener","ctx_r100","AccountDetailComponent_form_4_div_3_div_43_Template","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_47_listener","ctx_r101","addressLine1","AccountDetailComponent_form_4_div_3_div_49_Template","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_53_listener","ctx_r102","addressLine2","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_58_listener","ctx_r103","city","AccountDetailComponent_form_4_div_3_div_60_Template","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_64_listener","ctx_r104","postalCode","AccountDetailComponent_form_4_div_3_div_66_Template","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_70_listener","ctx_r105","homePhone","AccountDetailComponent_form_4_div_3_div_72_Template","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_76_listener","ctx_r106","schoolName","AccountDetailComponent_form_4_div_3_div_78_Template","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_82_listener","ctx_r107","schoolPhone","AccountDetailComponent_form_4_div_3_div_84_Template","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_88_listener","ctx_r108","grades","AccountDetailComponent_form_4_div_3_div_90_Template","AccountDetailComponent_form_4_div_3_Template_input_ngModelChange_94_listener","ctx_r109","subject","AccountDetailComponent_form_4_div_3_div_96_Template","AccountDetailComponent_form_4_div_3_div_100_Template","ctx_r46","emailRegex","postalCodeRegex","phoneNumberRegex","_r44","AccountDetailComponent_form_4_Template_form_ngSubmit_0_listener","_r111","ctx_r110","onSave","AccountDetailComponent_form_4_span_2_Template","AccountDetailComponent_form_4_div_3_Template","ctx_r4","AccountDetailComponent_Template","AccountDetailComponent_div_0_Template","AccountDetailComponent_div_1_Template","AccountDetailComponent_div_2_Template","AccountDetailComponent_div_3_Template","AccountDetailComponent_form_4_Template","AwaitingApprovalComponent_Template","PDApplicationsComponent_Template","pdApp_r4","getEventRange","ɵɵclassMapInterpolate1","expensesAreActual","applicantEmail","reminderToUpdatePersonalInfo","lastSessionDate","lastSession","septemberFirstString","year","septemberFirst","disableTimeOut","pdApp","PDApplistComponent_Template","PDApplistComponent_div_1_Template","PDApplistComponent_div_2_Template","PDApplistComponent_div_3_Template","PDApplistComponent_div_4_Template","messageAboutState","ɵɵpureFunction0","_c2","applicant","ctx_r55","PDFormComponent_form_1_div_3_div_5_Template","PDFormComponent_form_1_div_3_div_6_Template","PDFormComponent_form_1_div_3_br_19_Template","PDFormComponent_form_1_div_3_p_31_Template","PDFormComponent_form_1_div_3_p_32_Template","PDFormComponent_form_1_div_3_br_39_Template","canEditUserDetails","PDFormComponent_form_1_div_14_div_1_Template","PDFormComponent_form_1_div_28_div_1_Template","PDFormComponent_form_1_div_34_div_1_Template","PDFormComponent_form_1_div_40_div_1_Template","PDFormComponent_form_1_div_48_div_1_Template","_r15","PDFormComponent_form_1_div_55_div_1_Template","PDFormComponent_form_1_input_71_Template_input_ngModelChange_0_listener","_r64","ctx_r63","eventUrl","ctx_r22","PDFormComponent_form_1_div_76_div_8_div_1_Template","PDFormComponent_form_1_div_76_Template_textarea_ngModelChange_6_listener","ctx_r68","explanation","PDFormComponent_form_1_div_76_div_8_Template","canEditExplanation","_c3","PDFormComponent_form_1_div_77_Template_eil_file_upload_ngModelChange_4_listener","ctx_r70","receipts","ctx_r24","_c4","canUploadExpenseReceipts","blobConfig","PDFormComponent_form_1_div_78_div_8_div_1_Template","_r72","PDFormComponent_form_1_div_78_Template_input_ngModelChange_6_listener","_r76","ctx_r75","subNames","PDFormComponent_form_1_div_78_div_8_Template","useNonContinuousDate","nonContinuousExists","getDates","subNamesRequired","canProvideSubNames","maxSubsistencePerDay","_c5","ctx_r36","actualExceedsAnticipated","ctx_r39","totalSelected","ancicipatedIsApproved","PDFormComponent_form_1_div_219_Template_textarea_ngModelChange_3_listener","_r78","applicationApprovalComments","PDFormComponent_form_1_div_220_button_4_Template_button_click_0_listener","_r83","cancel","ctx_r91","PDFormComponent_form_1_div_220_div_8_div_1_Template","PDFormComponent_form_1_div_220_div_8_div_2_Template","PDFormComponent_form_1_div_220_div_8_div_3_Template","PDFormComponent_form_1_div_220_div_8_div_4_Template","PDFormComponent_form_1_div_220_div_8_div_5_Template","PDFormComponent_form_1_div_220_div_8_div_6_Template","PDFormComponent_form_1_div_220_div_8_div_7_Template","PDFormComponent_form_1_div_220_div_8_div_8_Template","PDFormComponent_form_1_div_220_div_8_div_9_Template","PDFormComponent_form_1_div_220_div_8_div_10_Template","PDFormComponent_form_1_div_220_div_8_div_11_Template","PDFormComponent_form_1_div_220_div_8_div_12_Template","PDFormComponent_form_1_div_220_div_8_div_13_Template","subDatesExceedTotalDates","accomodationUnitCostExceedsMax","accomodationTotalExceedsMax","anticipatedExceedsCredits","subsistencePastMax","termExists","actualExceedsMaxSubmittable","PDFormComponent_form_1_div_220_div_1_Template","PDFormComponent_form_1_div_220_button_4_Template","PDFormComponent_form_1_div_220_Template_button_click_6_listener","_r98","print","PDFormComponent_form_1_div_220_div_8_Template","savingPDApp","submitText","canCancelApplication","PDFormComponent_form_1_div_221_button_12_Template_button_click_0_listener","_r102","PDFormComponent_form_1_div_221_div_4_Template","PDFormComponent_form_1_div_221_Template_textarea_ngModelChange_7_listener","_r104","PDFormComponent_form_1_div_221_Template_button_click_8_listener","approve","PDFormComponent_form_1_div_221_Template_button_click_10_listener","decline","PDFormComponent_form_1_div_221_button_12_Template","PDFormComponent_form_1_div_221_Template_button_click_14_listener","canApproveOrDeclineApp","PDFormComponent_form_1_div_222_Template_textarea_ngModelChange_3_listener","_r109","expenseApprovalComments","ctx_r43","ctx_r112","ctx_r113","PDFormComponent_form_1_div_223_div_1_Template","PDFormComponent_form_1_div_223_Template_button_click_3_listener","_r116","ctx_r115","PDFormComponent_form_1_div_223_Template_button_click_5_listener","ɵɵreference","ctx_r117","submitExpenses","PDFormComponent_form_1_div_223_div_7_Template","PDFormComponent_form_1_div_223_div_8_Template","PDFormComponent_form_1_div_223_div_9_Template","PDFormComponent_form_1_div_223_div_10_Template","subNamesInvalid","PDFormComponent_form_1_div_224_button_12_Template_button_click_0_listener","_r121","ctx_r120","PDFormComponent_form_1_div_224_div_4_Template","PDFormComponent_form_1_div_224_Template_textarea_ngModelChange_7_listener","_r123","ctx_r122","PDFormComponent_form_1_div_224_Template_button_click_8_listener","ctx_r124","approveExpenses","PDFormComponent_form_1_div_224_Template_button_click_10_listener","ctx_r125","declineExpenses","PDFormComponent_form_1_div_224_button_12_Template","PDFormComponent_form_1_div_224_Template_button_click_14_listener","ctx_r126","ctx_r45","canApproveOrDeclineExpenses","historyItem_r128","extraInfo","ɵɵtextInterpolate","change_r133","fieldName","ɵɵpipeBind1","originalValue","ɵɵsanitizeHtml","newValue","PDFormComponent_form_1_div_225_ng_template_12_tr_8_tr_12_Template","changes","PDFormComponent_form_1_div_225_ng_template_12_tr_7_Template","PDFormComponent_form_1_div_225_ng_template_12_tr_8_Template","ctx_r127","getLogDate","actionDate","action","PDFormComponent_form_1_div_225_ng_template_12_Template","history","PDFormComponent_form_1_ng_template_226_Template_button_click_3_listener","_r136","ctx_r135","cancelPrincipalModal","PDFormComponent_form_1_ng_template_226_Template_button_click_15_listener","ctx_r137","PDFormComponent_form_1_ng_template_226_Template_button_click_18_listener","ctx_r138","confirmPrincipal","expense_r140","PDFormComponent_form_1_ng_template_228_Template_button_click_3_listener","_r142","ctx_r141","cancelNoExpensesModal","PDFormComponent_form_1_ng_template_228_ul_7_Template","PDFormComponent_form_1_ng_template_228_Template_button_click_17_listener","ctx_r143","PDFormComponent_form_1_ng_template_228_Template_button_click_20_listener","ctx_r144","confirmNoExpenses","noExpenseHeader","noExpenseModalText","PDFormComponent_form_1_Template_form_ngSubmit_0_listener","_r146","ctx_r145","PDFormComponent_form_1_h2_2_Template","PDFormComponent_form_1_div_3_Template","PDFormComponent_form_1_p_8_Template","PDFormComponent_form_1_Template_input_ngModelChange_12_listener","ctx_r147","PDFormComponent_form_1_div_14_Template","PDFormComponent_form_1_Template_select_ngModelChange_18_listener","ctx_r148","type","PDFormComponent_form_1_div_28_Template","PDFormComponent_form_1_Template_textarea_ngModelChange_32_listener","ctx_r149","description","PDFormComponent_form_1_div_34_Template","PDFormComponent_form_1_Template_input_ngModelChange_38_listener","ctx_r150","PDFormComponent_form_1_div_40_Template","PDFormComponent_form_1_Template_input_ngModelChange_45_listener","ctx_r151","PDFormComponent_form_1_div_48_Template","PDFormComponent_form_1_Template_input_ngModelChange_52_listener","ctx_r152","PDFormComponent_form_1_div_55_Template","PDFormComponent_form_1_Template_bs_datepicker_inline_bsValueChange_61_listener","ctx_r153","onCalendarSelect","PDFormComponent_form_1_div_64_Template","PDFormComponent_form_1_input_71_Template","PDFormComponent_form_1_a_72_Template","PDFormComponent_form_1_Template_eil_file_upload_ngModelChange_75_listener","ctx_r154","files","PDFormComponent_form_1_div_76_Template","PDFormComponent_form_1_div_77_Template","PDFormComponent_form_1_div_78_Template","PDFormComponent_form_1_Template_eil_unitcalcpair_ngModelChange_97_listener","ctx_r155","halfDaysCalculation","PDFormComponent_form_1_Template_eil_unitcalcpair_change_97_listener","ctx_r156","updateTotal","PDFormComponent_form_1_Template_eil_unitcalcpair_ngModelChange_105_listener","ctx_r157","fullDaysCalculation","PDFormComponent_form_1_Template_eil_unitcalcpair_change_105_listener","ctx_r158","PDFormComponent_form_1_Template_eil_unitcalcpair_ngModelChange_118_listener","ctx_r159","gridDaysCalculation","PDFormComponent_form_1_Template_eil_unitcalcpair_change_118_listener","ctx_r160","PDFormComponent_form_1_Template_eil_amountpair_ngModelChange_130_listener","ctx_r161","registrationFee","PDFormComponent_form_1_Template_eil_amountpair_change_130_listener","ctx_r162","PDFormComponent_form_1_Template_eil_unitcalcpair_ngModelChange_141_listener","ctx_r163","carAllowanceCalculation","PDFormComponent_form_1_Template_eil_unitcalcpair_change_141_listener","ctx_r164","PDFormComponent_form_1_Template_eil_amountpair_ngModelChange_148_listener","ctx_r165","flightsCost","PDFormComponent_form_1_Template_eil_amountpair_change_148_listener","ctx_r166","PDFormComponent_form_1_Template_eil_amountpair_ngModelChange_154_listener","ctx_r167","parkingCost","PDFormComponent_form_1_Template_eil_amountpair_change_154_listener","ctx_r168","PDFormComponent_form_1_Template_eil_amountpair_ngModelChange_160_listener","ctx_r169","carRentalCost","PDFormComponent_form_1_Template_eil_amountpair_change_160_listener","ctx_r170","PDFormComponent_form_1_Template_eil_amountpair_keyup_160_listener","ctx_r171","PDFormComponent_form_1_Template_input_ngModelChange_169_listener","ctx_r172","otherDescription","PDFormComponent_form_1_Template_eil_amountpair_ngModelChange_176_listener","ctx_r173","otherCost","PDFormComponent_form_1_Template_eil_amountpair_change_176_listener","ctx_r174","PDFormComponent_form_1_Template_eil_amountpair_keyup_176_listener","ctx_r175","PDFormComponent_form_1_Template_eil_unitcalcpair_ngModelChange_181_listener","ctx_r176","accommodationCalculation","PDFormComponent_form_1_Template_eil_unitcalcpair_change_181_listener","ctx_r177","PDFormComponent_form_1_div_185_Template","PDFormComponent_form_1_div_186_Template","PDFormComponent_form_1_Template_eil_unitcalcpair_ngModelChange_193_listener","ctx_r178","subsistenceCalculation","PDFormComponent_form_1_Template_eil_unitcalcpair_change_193_listener","ctx_r179","PDFormComponent_form_1_div_195_Template","PDFormComponent_form_1_div_197_Template","PDFormComponent_form_1_div_202_Template","PDFormComponent_form_1_div_207_Template","PDFormComponent_form_1_app_eil_color_bar_208_Template","PDFormComponent_form_1_Template_textarea_ngModelChange_218_listener","ctx_r180","additionalComments","PDFormComponent_form_1_div_219_Template","PDFormComponent_form_1_div_220_Template","PDFormComponent_form_1_div_221_Template","PDFormComponent_form_1_div_222_Template","PDFormComponent_form_1_div_223_Template","PDFormComponent_form_1_div_224_Template","PDFormComponent_form_1_div_225_Template","PDFormComponent_form_1_ng_template_226_Template","ɵɵtemplateRefExtractor","PDFormComponent_form_1_ng_template_228_Template","showUserDetails","canEditEventDetails","dateCustomClasses","datesEnabled","showExplanation","showExpenseReceipts","showSubNames","substituteHelpText","canEditExpenses","gridUnitCostEditable","formIsReadonly","_c6","getDateRange","loadingFundTerm","unpendingBalance","unspentBalance","canEditAdditionalComments","canSubmit","canSubmitExpenses","modalService","configIsLoaded","loadingPDApp","nonContinuousDates","setFormState","unitCost","storageAccount","blobStorageAccount","containerName","blobContainerName","originalApplicationApprovalComments","originalExpenseApprovalComments","map","e","isSelected","isUploaded","push","classes","concat","sort","a","b","date1","date2","loadTerm","isValid","toDateString","dcc","some","c","existingIndex","findIndex","maybeMoment","isSame","sortNonContinuous","startMoment","isBetween","getForDateAndAppId","submitOrEditMyOwnApplication","currentUserIsSubmitter","viewOnlyState","submitOrEditMyOwnExpenses","endMoment","nowMoment","isBefore","canNagSubmitterToSubmitExpenses","anticipatedIsApproved","principalConfirmationRequired","parsedAnticipated","parsedActual","actualExceedsCredits","principalConfirmTemplateRef","console","log","principalConfirmModal","show","performSubmit","hide","noExpensesToSubmitModal","performSubmitExpenses","savePending","noExpensesTemplateRef","alert","isMissingApprovedExpenses","checkExpense","errorText","roundN","num","n","Math","round","pow","toFixed","momentDate","getStartDate","maxDays","subDays","eventDays","diff","setNonContinuous","tempDate","retString","endsWith","substring","Object","keys","BsModalService","viewQuery","PDFormComponent_Query","PDFormComponent_div_0_Template","PDFormComponent_form_1_Template","PDComponent_Template","MonitoringService","BlobClientService","_6","_7","_8","_9","_10","_11","_12","_13","_14","_15","_16","_17","_18","_19","_20","HttpErrorResponse","ServiceBase","http","monitoringService","handleError","requestData","returnValue","originalError","serializedError","JSON","stringify","serializedRequestData","httpError","httpErrorError","message","statusText","logError","Error","genericError","stack","_body","apiUrl","deleteFile","fileName","_this","_asyncToGenerator","callUrl","uploadFile","file","callback","_this2","formData","FormData","append","post","ɵɵinject","HttpClient","factory","ɵfac","bulkCreditLoad","BehaviorSubject","source","asObservable","computed","signal","currentUserSource","getValue","set","setAuthenticatedUserId","returnedUser","injector","Injector","params","creditToAdd","ApplicationInsights","appInsights","instrumentationKey","loadAppInsights","setAuthenticatedUserContext","getActivatedComponent","firstChild","getRouteTemplate","routeConfig","AddGlobalProperties","properties","logPageView","measurements","duration","trackPageView","uri","logEvent","trackEvent","trackException","pdapp","getImportant","appId","forwardRef","EventEmitter","NG_VALUE_ACCESSOR","amountPair","amountPrefix","amountSuffix","noop","AMOUNT_PAIR_CONTROL_VALUE_ACCESSOR","useExisting","multi","boundAmount","calc","v","onChangeCallback","onBlur","onTouchedCallback","writeValue","registerOnChange","fn","registerOnTouched","change","inputs","amountHeader","placeholder","step","min","disabled","outputs","features","ɵɵProvidersFeature","AmountpairComponent_Template","AmountpairComponent_div_0_Template","AmountpairComponent_Template_input_ngModelChange_3_listener","AmountpairComponent_Template_input_change_3_listener","AmountpairComponent_Template_input_keyup_3_listener","overdrawnText","remaining","potentiallyOverdrawnText","potentiallyRemaining","AppColorBarComponent_div_2_div_2_div_1_Template","AppColorBarComponent_div_2_div_2_div_2_Template","overdrawn","potentiallyOverdrawn","AppColorBarComponent_div_2_div_2_Template","showRemaining","legendItem_r7","text","ctx_r6","creditAllocationExplanationText","AppColorBarComponent_div_3_li_2_Template","AppColorBarComponent_div_3_span_3_Template","legend","showCreditAllocationExplanation","changeDetectorRef","availableLegendText","isCreditsMode","spentLegendText","pendingLegendText","requestedLegendText","selectedLegendText","excessLegendText","ceilingLabelText","remainingText","remainingLegendText","ngOnChanges","runningTotal","spentPlusPending","selected","ceiling","selectedIsApproved","available","availableBarText","showLegend","excess","localAvailable","selectedBarText","spent","spentBarText","selectedIsActual","pending","pendingBarText","requested","requestedBarText","detectChanges","ChangeDetectorRef","showCeilingLabel","ɵɵNgOnChangesFeature","AppColorBarComponent_Template","AppColorBarComponent_div_2_Template","AppColorBarComponent_div_3_Template","ɵɵpureFunction2","ctx_r5","ColorBarComponent_div_2_div_2_div_1_Template","ColorBarComponent_div_2_div_2_div_2_Template","ColorBarComponent_div_2_div_2_div_3_Template","ColorBarComponent_div_2_div_2_Template","ColorBarComponent_div_2_div_3_Template","legendItem_r9","ctx_r8","ColorBarComponent_div_3_li_2_Template","ColorBarComponent_div_3_span_3_Template","ColorBarComponent_Template","ColorBarComponent_div_2_Template","ColorBarComponent_div_3_Template","availableCredits","pendingCredits","CreditsComponent_Template","FileUploadComponent_button_6_Template_button_click_0_listener","addFile","FileUploadComponent_div_7_div_2_div_1_Template_input_change_2_listener","file_r8","fileChanged","FileUploadComponent_div_7_div_2_div_1_Template_a_click_4_listener","cancelFile","filename","blobStorageUrl","FileUploadComponent_div_7_div_2_div_3_a_8_Template_a_click_0_listener","FileUploadComponent_div_7_div_2_div_3_img_4_Template","FileUploadComponent_div_7_div_2_div_3_span_5_Template","FileUploadComponent_div_7_div_2_div_3_a_8_Template","ctx_r11","isImageLink","FileUploadComponent_div_7_div_2_div_1_Template","FileUploadComponent_div_7_div_2_div_2_Template","FileUploadComponent_div_7_div_2_div_3_Template","FileUploadComponent_div_7_div_2_div_4_Template","FileUploadComponent_div_7_div_2_div_5_Template","isUploading","isDeleting","fileIsAcceptable","FileUploadComponent_div_7_div_2_Template","FILE_UPLOAD_CONTROL_VALUE_ACCESSOR","blobClient","toatrService","removeFile","linkText","regex","parts","split","blobName","then","catch","reason","code","FileUploadComponent_Template","FileUploadComponent_span_2_Template","FileUploadComponent_span_3_Template","FileUploadComponent_span_4_Template","FileUploadComponent_button_6_Template","FileUploadComponent_div_7_Template","term_r2","FundingComponent_Template","FundingComponent_div_3_Template","FundingComponent_div_4_Template","toggleClick","toggle","emit","currentState","QuickToggleComponent_Template","QuickToggleComponent_Template_button_click_0_listener","unitCostHeader","totalHeader","calculation","UnitcalcComponent_div_0_input_12_Template_input_ngModelChange_0_listener","_r7","UnitcalcComponent_div_0_input_12_Template_input_change_0_listener","_r5","onUnitCostChange","UnitcalcComponent_div_0_input_12_Template_input_keyup_0_listener","UnitcalcComponent_div_0_div_1_Template","UnitcalcComponent_div_0_Template_input_ngModelChange_5_listener","ctx_r10","UnitcalcComponent_div_0_Template_input_change_5_listener","ctx_r12","onAmountChange","UnitcalcComponent_div_0_Template_input_keyup_5_listener","UnitcalcComponent_div_0_span_11_Template","UnitcalcComponent_div_0_input_12_Template","unitPrefix","unitCostEditable","unitSuffix","UNIT_CALC_CONTROL_VALUE_ACCESSOR","currentAmount","updatedCalc","changingUnitCost","currentUnitCost","changingAmount","UnitcalcComponent_Template","UnitcalcComponent_div_0_Template","isExceeded","calcPair","UNIT_CALC_PAIR_CONTROL_VALUE_ACCESSOR","boundCalc","UnitcalcpairComponent_Template","UnitcalcpairComponent_div_0_Template","UnitcalcpairComponent_Template_eil_unitcalc_ngModelChange_1_listener","UnitcalcpairComponent_Template_eil_unitcalc_change_1_listener","WaitComponent_Template","navitem_r1","SideNavComponent_div_0_span_2_Template","parentRoute","parent","childRouteArray","parentChildRoutes","SideNavComponent_Template","SideNavComponent_div_0_Template","isExpanded","collapse","TopNavComponent_Template","TopNavComponent_li_11_Template","TopNavComponent_li_12_Template","TopNavComponent_li_13_Template","UserMenuComponent_Template","UserMenuComponent_span_0_Template","UserMenuComponent_span_1_Template","TwoOutletLayoutComponent_Template","environment","production","enableProdMode","getBaseUrl","getElementsByTagName","href","providers","useFactory","deps","__NgCli_bootstrap_1","platformBrowser","bootstrapModule","err"],"sourceRoot":"webpack:///","x_google_ignoreList":[90]}