UI is broken in dates parsing in Safari

This commit is contained in:
Jose Alberto Hernandez
2022-06-22 15:33:50 -05:00
parent 3d1c41badc
commit 9bf535da18
113 changed files with 268 additions and 235 deletions
+7 -8
View File
@@ -33,6 +33,7 @@
"chart.js": "3.0.0-alpha", "chart.js": "3.0.0-alpha",
"core-js": "2.5.0", "core-js": "2.5.0",
"lodash": "4.17.21", "lodash": "4.17.21",
"moment": "^2.29.3",
"rxjs": "6.6.2", "rxjs": "6.6.2",
"tslib": "1.10.0", "tslib": "1.10.0",
"zone.js": "0.10.2" "zone.js": "0.10.2"
@@ -14901,10 +14902,9 @@
} }
}, },
"node_modules/moment": { "node_modules/moment": {
"version": "2.24.0", "version": "2.29.3",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz", "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz",
"integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==", "integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw==",
"dev": true,
"engines": { "engines": {
"node": "*" "node": "*"
} }
@@ -36007,10 +36007,9 @@
} }
}, },
"moment": { "moment": {
"version": "2.24.0", "version": "2.29.3",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz", "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz",
"integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==", "integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw=="
"dev": true
}, },
"move-concurrently": { "move-concurrently": {
"version": "1.0.1", "version": "1.0.1",
+1
View File
@@ -49,6 +49,7 @@
"chart.js": "3.0.0-alpha", "chart.js": "3.0.0-alpha",
"core-js": "2.5.0", "core-js": "2.5.0",
"lodash": "4.17.21", "lodash": "4.17.21",
"moment": "^2.29.3",
"rxjs": "6.6.2", "rxjs": "6.6.2",
"tslib": "1.10.0", "tslib": "1.10.0",
"zone.js": "0.10.2" "zone.js": "0.10.2"
@@ -73,7 +73,7 @@
<ng-container matColumnDef="validity"> <ng-container matColumnDef="validity">
<th mat-header-cell *matHeaderCellDef> Validity </th> <th mat-header-cell *matHeaderCellDef> Validity </th>
<td mat-cell *matCellDef="let instruction">{{instruction.validFrom | date}} to {{instruction.validTill | date}} <td mat-cell *matCellDef="let instruction">{{instruction.validFrom | dateFormat}} to {{instruction.validTill | dateFormat}}
</td> </td>
</ng-container> </ng-container>
@@ -44,7 +44,7 @@
<ng-container matColumnDef="transactionDate"> <ng-container matColumnDef="transactionDate">
<th mat-header-cell *matHeaderCellDef> Transaction Date </th> <th mat-header-cell *matHeaderCellDef> Transaction Date </th>
<td mat-cell *matCellDef="let transaction"> {{ transaction.transferDate | date }} </td> <td mat-cell *matCellDef="let transaction"> {{ transaction.transferDate | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="amount"> <ng-container matColumnDef="amount">
@@ -17,7 +17,7 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Transaction Date:</span> <span fxFlex="40%">Transaction Date:</span>
<span fxFlex="60%">{{ viewAccountTransferData.transferDate | date }}</span> <span fxFlex="60%">{{ viewAccountTransferData.transferDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
@@ -90,7 +90,7 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Validity:</span> <span fxFlex="40%">Validity:</span>
<span fxFlex="60%">{{ standingInstructionsData.validFrom | date }} - {{ standingInstructionsData.validTill | date }}</span> <span fxFlex="60%">{{ standingInstructionsData.validFrom | dateFormat }} - {{ standingInstructionsData.validTill | dateFormat }}</span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
@@ -110,7 +110,7 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">On Month Day:</span> <span fxFlex="40%">On Month Day:</span>
<span fxFlex="60%">{{ standingInstructionsData.recurrenceOnMonthDay | date }}</span> <span fxFlex="60%">{{ standingInstructionsData.recurrenceOnMonthDay | dateFormat }}</span>
</div> </div>
</div> </div>
@@ -6,10 +6,10 @@
<mat-label>Meeting Date</mat-label> <mat-label>Meeting Date</mat-label>
<mat-select [formControl]="meetingDate"> <mat-select [formControl]="meetingDate">
<mat-option *ngFor="let date of meetingDates" [value]="date"> <mat-option *ngFor="let date of meetingDates" [value]="date">
{{ date | date }} {{ date | dateFormat }}
</mat-option> </mat-option>
</mat-select> </mat-select>
<mat-hint>Next Meeting on: {{ this.centerData.collectionMeetingCalendar.nextTenRecurringDates[0] | date }}</mat-hint> <mat-hint>Next Meeting on: {{ this.centerData.collectionMeetingCalendar.nextTenRecurringDates[0] | dateFormat }}</mat-hint>
</mat-form-field> </mat-form-field>
<table class="mat-elevation-z1" mat-table [dataSource]="dataSource"> <table class="mat-elevation-z1" mat-table [dataSource]="dataSource">
@@ -12,7 +12,7 @@
<mat-label>Existing Meeting Date</mat-label> <mat-label>Existing Meeting Date</mat-label>
<mat-select formControlName="presentMeetingDate"> <mat-select formControlName="presentMeetingDate">
<mat-option *ngFor="let date of nextMeetingDates" [value]="date"> <mat-option *ngFor="let date of nextMeetingDates" [value]="date">
{{ date | date }} {{ date | dateFormat }}
</mat-option> </mat-option>
</mat-select> </mat-select>
<mat-error *ngIf="centerEditMeetingScheduleForm.controls.presentMeetingDate.hasError('repeatsOnDay')"> <mat-error *ngIf="centerEditMeetingScheduleForm.controls.presentMeetingDate.hasError('repeatsOnDay')">
@@ -28,7 +28,7 @@
Staff: {{centerViewData.staffName}} <br/> Staff: {{centerViewData.staffName}} <br/>
</span> </span>
Activation Date : Activation Date :
{{(centerViewData.activationDate)?(centerViewData.activationDate|date) :'Not Activated'}}<br /> {{(centerViewData.activationDate)?(centerViewData.activationDate | dateFormat) :'Not Activated'}}<br />
</p> </p>
</div> </div>
</div> </div>
@@ -38,7 +38,7 @@
<div class="center-meeting" fxLayoutAlign="start start"> <div class="center-meeting" fxLayoutAlign="start start">
<div *ngIf="centerViewData.collectionMeetingCalendar; else unassigned"> <div *ngIf="centerViewData.collectionMeetingCalendar; else unassigned">
<p> <p>
Next Meeting on: {{centerViewData.collectionMeetingCalendar?.nextTenRecurringDates[0] | date}} Next Meeting on: {{centerViewData.collectionMeetingCalendar?.nextTenRecurringDates[0] | dateFormat}}
<span *ngIf="editMeeting"> <span *ngIf="editMeeting">
<i class="fa fa-edit" (click)="doAction('Edit Meeting')" *mifosxHasPermission="'UPDATE_MEETING'"></i><br /> <i class="fa fa-edit" (click)="doAction('Edit Meeting')" *mifosxHasPermission="'UPDATE_MEETING'"></i><br />
</span> </span>
@@ -43,7 +43,7 @@
<ng-container matColumnDef="Submitted On"> <ng-container matColumnDef="Submitted On">
<th mat-header-cell *matHeaderCellDef> Submitted On </th> <th mat-header-cell *matHeaderCellDef> Submitted On </th>
<td mat-cell *matCellDef="let element"> {{element.timeline.submittedOnDate|date}} </td> <td mat-cell *matCellDef="let element"> {{element.timeline.submittedOnDate | dateFormat}} </td>
</ng-container> </ng-container>
<tr mat-header-row *matHeaderRowDef="groupsColumns"></tr> <tr mat-header-row *matHeaderRowDef="groupsColumns"></tr>
@@ -17,7 +17,7 @@
<h3 matLine>{{centerNote.note}} </h3> <h3 matLine>{{centerNote.note}} </h3>
<p matLine> <p matLine>
<span>Created by: {{centerNote.createdByUsername}}</span><br /> <span>Created by: {{centerNote.createdByUsername}}</span><br />
<span>Date: {{centerNote.createdOn | date}}</span> <span>Date: {{centerNote.createdOn | dateFormat}}</span>
</p> </p>
<div fxLayout="row" fxLayoutAlign="flex-start"> <div fxLayout="row" fxLayoutAlign="flex-start">
<button mat-button color="primary" (click)="editNote(centerNote.id,centerNote.note,i)"> <button mat-button color="primary" (click)="editNote(centerNote.id,centerNote.note,i)">
@@ -46,7 +46,7 @@
Marital Status : {{ member.maritalStatusId | find:clientTemplate.familyMemberOptions.maritalStatusIdOptions:'id':'name' }}<br /> Marital Status : {{ member.maritalStatusId | find:clientTemplate.familyMemberOptions.maritalStatusIdOptions:'id':'name' }}<br />
Gender : {{ member.genderId | find:clientTemplate.familyMemberOptions.genderIdOptions:'id':'name' }}<br /> Gender : {{ member.genderId | find:clientTemplate.familyMemberOptions.genderIdOptions:'id':'name' }}<br />
Profession : {{member.professionId | find:clientTemplate.familyMemberOptions.professionIdOptions:'id':'name' }}<br /> Profession : {{member.professionId | find:clientTemplate.familyMemberOptions.professionIdOptions:'id':'name' }}<br />
Date Of Birth : {{member.dateOfBirth | date}}<br /> Date Of Birth : {{member.dateOfBirth | dateFormat}}<br />
</p> </p>
</mat-expansion-panel> </mat-expansion-panel>
@@ -27,7 +27,7 @@
<div fxFlexFill *ngIf="client.dateOfBirth"> <div fxFlexFill *ngIf="client.dateOfBirth">
<span fxFlex="40%">{{ client.legalFormId === 1 ? 'Date of Birth' : 'Incorporation Date' }}</span> <span fxFlex="40%">{{ client.legalFormId === 1 ? 'Date of Birth' : 'Incorporation Date' }}</span>
<span fxFlex="60%">{{ client.dateOfBirth | date }}</span> <span fxFlex="60%">{{ client.dateOfBirth | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="client.externalId"> <div fxFlexFill *ngIf="client.externalId">
@@ -62,7 +62,7 @@
<div fxFlexFill *ngIf="client.submittedOnDate"> <div fxFlexFill *ngIf="client.submittedOnDate">
<span fxFlex="40%">Submitted On Date</span> <span fxFlex="40%">Submitted On Date</span>
<span fxFlex="60%">{{ client.submittedOnDate | date }}</span> <span fxFlex="60%">{{ client.submittedOnDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
@@ -72,7 +72,7 @@
<div fxFlexFill *ngIf="client.activationDate"> <div fxFlexFill *ngIf="client.activationDate">
<span fxFlex="40%">Activation Date</span> <span fxFlex="40%">Activation Date</span>
<span fxFlex="60%">{{ client.activationDate | date }}</span> <span fxFlex="60%">{{ client.activationDate | dateFormat }}</span>
</div> </div>
<ng-container *ngIf="client.legalFormId === 1"> <ng-container *ngIf="client.legalFormId === 1">
@@ -93,7 +93,7 @@
<div fxFlexFill *ngIf="client.clientNonPersonDetails.incorpValidityTillDate"> <div fxFlexFill *ngIf="client.clientNonPersonDetails.incorpValidityTillDate">
<span fxFlex="40%">Incorporation Validity Till Date</span> <span fxFlex="40%">Incorporation Validity Till Date</span>
<span fxFlex="60%">{{ client.clientNonPersonDetails.incorpValidityTillDate | date }}</span> <span fxFlex="60%">{{ client.clientNonPersonDetails.incorpValidityTillDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
@@ -153,7 +153,7 @@
Marital Status : {{ member.maritalStatusId | find:clientTemplate.familyMemberOptions.maritalStatusIdOptions:'id':'name' }}<br /> Marital Status : {{ member.maritalStatusId | find:clientTemplate.familyMemberOptions.maritalStatusIdOptions:'id':'name' }}<br />
Gender : {{ member.genderId | find:clientTemplate.familyMemberOptions.genderIdOptions:'id':'name' }}<br /> Gender : {{ member.genderId | find:clientTemplate.familyMemberOptions.genderIdOptions:'id':'name' }}<br />
Profession : {{ member.professionId | find:clientTemplate.familyMemberOptions.professionIdOptions:'id':'name' }}<br /> Profession : {{ member.professionId | find:clientTemplate.familyMemberOptions.professionIdOptions:'id':'name' }}<br />
Date Of Birth : {{ member.dateOfBirth | date }}<br /> Date Of Birth : {{ member.dateOfBirth | dateFormat }}<br />
</p> </p>
</mat-expansion-panel> </mat-expansion-panel>
@@ -15,7 +15,7 @@
<ng-container matColumnDef="dueAsOf"> <ng-container matColumnDef="dueAsOf">
<th mat-header-cell *matHeaderCellDef> Due as of </th> <th mat-header-cell *matHeaderCellDef> Due as of </th>
<td mat-cell *matCellDef="let chargeOverviewData"> {{chargeOverviewData.dueDate|date}} </td> <td mat-cell *matCellDef="let chargeOverviewData"> {{chargeOverviewData.dueDate | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="due"> <ng-container matColumnDef="due">
@@ -48,7 +48,7 @@
<tr> <tr>
<td> Due as of </td> <td> Due as of </td>
<td> {{ chargeData.dueDate | date }} </td> <td> {{ chargeData.dueDate | dateFormat }} </td>
</tr> </tr>
<tr> <tr>
@@ -99,7 +99,7 @@
</ng-container> </ng-container>
<ng-container matColumnDef="transactionDate"> <ng-container matColumnDef="transactionDate">
<th mat-header-cell *matHeaderCellDef> Transaction Date </th> <th mat-header-cell *matHeaderCellDef> Transaction Date </th>
<td mat-cell *matCellDef="let element" [ngClass]="{'strikeoff':element.reversed}"> {{element.date | date}} </td> <td mat-cell *matCellDef="let element" [ngClass]="{'strikeoff':element.reversed}"> {{element.date | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="amount"> <ng-container matColumnDef="amount">
@@ -31,7 +31,7 @@
<ng-container matColumnDef="date"> <ng-container matColumnDef="date">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Date </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Date </th>
<td mat-cell *matCellDef="let survey"> {{ survey.date | date }} </td> <td mat-cell *matCellDef="let survey"> {{ survey.date | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="score"> <ng-container matColumnDef="score">
@@ -38,7 +38,7 @@
Client #:{{clientViewData.accountNo}} | External Client #:{{clientViewData.accountNo}} | External
Id: {{clientViewData.externalId}} | Staff:{{clientViewData.staffName || 'Unassigned'}}<br /> Id: {{clientViewData.externalId}} | Staff:{{clientViewData.staffName || 'Unassigned'}}<br />
Activation Date : Activation Date :
{{(clientViewData.activationDate)?(clientViewData.activationDate|date) :'Not Activated'}}<br /> {{(clientViewData.activation)?(clientViewData.activationDate | dateFormat) :'Not Activated'}}<br />
Member Of : Member Of :
<span *ngFor="let group of clientViewData.groups"> <span *ngFor="let group of clientViewData.groups">
<a>{{group.name}}</a>&nbsp; <a>{{group.name}}</a>&nbsp;
@@ -45,7 +45,7 @@
Martial Status : {{member.maritalStatus}}<br /> Martial Status : {{member.maritalStatus}}<br />
Gender : {{member.gender}}<br /> Gender : {{member.gender}}<br />
Profession : {{member.profession}}<br /> Profession : {{member.profession}}<br />
Date Of Birth : {{member.dateOfBirth|date}}<br /> Date Of Birth : {{member.dateOfBirth | dateFormat}}<br />
</p> </p>
</mat-expansion-panel> </mat-expansion-panel>
@@ -39,7 +39,7 @@
<ng-container matColumnDef="Due as of"> <ng-container matColumnDef="Due as of">
<th mat-header-cell *matHeaderCellDef> Due as of </th> <th mat-header-cell *matHeaderCellDef> Due as of </th>
<td mat-cell *matCellDef="let element"> {{element.dueDate|date}} </td> <td mat-cell *matCellDef="let element"> {{element.dueDate | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="Due"> <ng-container matColumnDef="Due">
@@ -188,7 +188,7 @@
<ng-container matColumnDef="Original Loan"> <ng-container matColumnDef="Original Loan">
<th mat-header-cell *matHeaderCellDef> Original Loan </th> <th mat-header-cell *matHeaderCellDef> Original Loan </th>
<td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | date}} </td> <td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="Loan Balance"> <ng-container matColumnDef="Loan Balance">
@@ -210,7 +210,7 @@
<ng-container matColumnDef="Closed Date"> <ng-container matColumnDef="Closed Date">
<th mat-header-cell *matHeaderCellDef> Closed Date </th> <th mat-header-cell *matHeaderCellDef> Closed Date </th>
<td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | date}}</td> <td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | dateFormat}}</td>
</ng-container> </ng-container>
<tr mat-header-row *matHeaderRowDef="closedLoansColumns"></tr> <tr mat-header-row *matHeaderRowDef="closedLoansColumns"></tr>
@@ -250,7 +250,7 @@
<ng-container matColumnDef="Last Active"> <ng-container matColumnDef="Last Active">
<th mat-header-cell *matHeaderCellDef> Last Active </th> <th mat-header-cell *matHeaderCellDef> Last Active </th>
<td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | date}} </td> <td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="Balance"> <ng-container matColumnDef="Balance">
@@ -309,7 +309,7 @@
<ng-container matColumnDef="Closed Date"> <ng-container matColumnDef="Closed Date">
<th mat-header-cell *matHeaderCellDef> Closed Date </th> <th mat-header-cell *matHeaderCellDef> Closed Date </th>
<td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | date}}</td> <td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | dateFormat}}</td>
</ng-container> </ng-container>
<tr mat-header-row *matHeaderRowDef="closedSavingsColumns"></tr> <tr mat-header-row *matHeaderRowDef="closedSavingsColumns"></tr>
@@ -348,7 +348,7 @@
<ng-container matColumnDef="Last Active"> <ng-container matColumnDef="Last Active">
<th mat-header-cell *matHeaderCellDef> Last Active </th> <th mat-header-cell *matHeaderCellDef> Last Active </th>
<td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | date}} </td> <td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="Balance"> <ng-container matColumnDef="Balance">
@@ -400,7 +400,7 @@
<ng-container matColumnDef="Closed Date"> <ng-container matColumnDef="Closed Date">
<th mat-header-cell *matHeaderCellDef> Closed Date </th> <th mat-header-cell *matHeaderCellDef> Closed Date </th>
<td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | date}}</td> <td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | dateFormat}}</td>
</ng-container> </ng-container>
<tr mat-header-row *matHeaderRowDef="closedSavingsColumns"></tr> <tr mat-header-row *matHeaderRowDef="closedSavingsColumns"></tr>
@@ -440,7 +440,7 @@
<ng-container matColumnDef="Last Active"> <ng-container matColumnDef="Last Active">
<th mat-header-cell *matHeaderCellDef> Last Active </th> <th mat-header-cell *matHeaderCellDef> Last Active </th>
<td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | date}} </td> <td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="Balance"> <ng-container matColumnDef="Balance">
@@ -496,7 +496,7 @@
<ng-container matColumnDef="Closed Date"> <ng-container matColumnDef="Closed Date">
<th mat-header-cell *matHeaderCellDef> Closed Date </th> <th mat-header-cell *matHeaderCellDef> Closed Date </th>
<td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | date}}</td> <td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | dateFormat}}</td>
</ng-container> </ng-container>
<tr mat-header-row *matHeaderRowDef="closedSavingsColumns"></tr> <tr mat-header-row *matHeaderRowDef="closedSavingsColumns"></tr>
@@ -592,7 +592,7 @@
<ng-container matColumnDef="Closed Date"> <ng-container matColumnDef="Closed Date">
<th mat-header-cell *matHeaderCellDef> Closed Date </th> <th mat-header-cell *matHeaderCellDef> Closed Date </th>
<td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | date}}</td> <td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | dateFormat}}</td>
</ng-container> </ng-container>
<tr mat-header-row *matHeaderRowDef="closedSharesColumns"></tr> <tr mat-header-row *matHeaderRowDef="closedSharesColumns"></tr>
@@ -26,7 +26,7 @@
<h3 matLine>{{clientNote.note}} </h3> <h3 matLine>{{clientNote.note}} </h3>
<p matLine> <p matLine>
<span>Created by: {{clientNote.createdByUsername}}</span><br /> <span>Created by: {{clientNote.createdByUsername}}</span><br />
<span>Date: {{clientNote.createdOn | date}}</span> <span>Date: {{clientNote.createdOn | dateFormat}}</span>
</p> </p>
<div fxLayout="row" fxLayoutAlign="flex-start"> <div fxLayout="row" fxLayoutAlign="flex-start">
<button mat-button color="primary" (click)="editNote(clientNote.id,clientNote.note,i)" *mifosxHasPermission="'CREATE_CLIENTNOTE'"> <button mat-button color="primary" (click)="editNote(clientNote.id,clientNote.note,i)" *mifosxHasPermission="'CREATE_CLIENTNOTE'">
@@ -54,10 +54,10 @@
<th mat-header-cell *matHeaderCellDef> Date </th> <th mat-header-cell *matHeaderCellDef> Date </th>
<td mat-cell *matCellDef="let charge"> <td mat-cell *matCellDef="let charge">
<span *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'">
{{(charge.dueDate | date) || 'Unassigned*'}} {{(charge.dueDate | dateFormat) || 'Unassigned*'}}
</span> </span>
<span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'">
{{charge.feeOnMonthDay ? ([2000].concat(charge.feeOnMonthDay) | date: 'dd MMMM') : 'Unassigned'}} {{charge.feeOnMonthDay ? ([2000].concat(charge.feeOnMonthDay) | dateFormat: 'dd MMMM') : 'Unassigned'}}
</span> </span>
<span *ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee' <span *ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'
|| charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee')"> || charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee')">
@@ -7,12 +7,12 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Valid from Date:</span> <span fxFlex="40%">Valid from Date:</span>
<span fxFlex="60%">{{ fixedDepositsAccountProductTemplate?.accountChart.fromDate | date }}</span> <span fxFlex="60%">{{ fixedDepositsAccountProductTemplate?.accountChart.fromDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="fixedDepositsAccountProductTemplate?.accountChart.endDate"> <div fxFlexFill *ngIf="fixedDepositsAccountProductTemplate?.accountChart.endDate">
<span fxFlex="40%">End Date:</span> <span fxFlex="40%">End Date:</span>
<span fxFlex="60%">{{ fixedDepositsAccountProductTemplate?.accountChart.endDate | date }}</span> <span fxFlex="60%">{{ fixedDepositsAccountProductTemplate?.accountChart.endDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="fixedDepositsAccountProductTemplate?.accountChart.description"> <div fxFlexFill *ngIf="fixedDepositsAccountProductTemplate?.accountChart.description">
@@ -11,7 +11,7 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Submitted On</span> <span fxFlex="40%">Submitted On</span>
<span fxFlex="60%">{{ fixedDepositAccountData.submittedOnDate | date }}</span> <span fxFlex="60%">{{ fixedDepositAccountData.submittedOnDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
@@ -134,12 +134,12 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Valid from Date:</span> <span fxFlex="40%">Valid from Date:</span>
<span fxFlex="60%">{{ fixedDepositsAccountProductTemplate?.accountChart.fromDate | date }}</span> <span fxFlex="60%">{{ fixedDepositsAccountProductTemplate?.accountChart.fromDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="fixedDepositsAccountProductTemplate?.accountChart.endDate"> <div fxFlexFill *ngIf="fixedDepositsAccountProductTemplate?.accountChart.endDate">
<span fxFlex="40%">End Date:</span> <span fxFlex="40%">End Date:</span>
<span fxFlex="60%">{{ fixedDepositsAccountProductTemplate?.accountChart.endDate | date }}</span> <span fxFlex="60%">{{ fixedDepositsAccountProductTemplate?.accountChart.endDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="fixedDepositsAccountProductTemplate?.accountChart.description"> <div fxFlexFill *ngIf="fixedDepositsAccountProductTemplate?.accountChart.description">
@@ -298,10 +298,10 @@
<td mat-cell *matCellDef="let charge"> <td mat-cell *matCellDef="let charge">
<span <span
*ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'"> *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'">
{{(charge.dueDate | date) || 'Unassigned'}} {{(charge.dueDate | dateFormat) || 'Unassigned'}}
</span> </span>
<span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'">
{{charge.feeOnMonthDay ? ([2000].concat(charge.feeOnMonthDay) | date: 'dd MMMM') : 'Unassigned'}} {{charge.feeOnMonthDay ? ([2000].concat(charge.feeOnMonthDay) | dateFormat: 'dd MMMM') : 'Unassigned'}}
</span> </span>
<span <span
*ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee' *ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'
@@ -31,12 +31,12 @@
<ng-container matColumnDef="dueAsOf"> <ng-container matColumnDef="dueAsOf">
<th mat-header-cell *matHeaderCellDef> Due As Of </th> <th mat-header-cell *matHeaderCellDef> Due As Of </th>
<td mat-cell *matCellDef="let charge"> {{ charge.dueDate | date }} </td> <td mat-cell *matCellDef="let charge"> {{ charge.dueDate | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="repeatsOn"> <ng-container matColumnDef="repeatsOn">
<th mat-header-cell *matHeaderCellDef> Repeats On </th> <th mat-header-cell *matHeaderCellDef> Repeats On </th>
<td mat-cell *matCellDef="let charge"> {{charge.feeOnMonthDay ? ([2000].concat(charge.feeOnMonthDay) | date: 'dd MMMM') : 'Unassigned'}} </td> <td mat-cell *matCellDef="let charge"> {{charge.feeOnMonthDay ? ([2000].concat(charge.feeOnMonthDay) | dateFormat: 'dd MMMM') : 'Unassigned'}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="calculationType"> <ng-container matColumnDef="calculationType">
@@ -64,11 +64,11 @@
<tbody> <tbody>
<tr> <tr>
<td>Activated On</td> <td>Activated On</td>
<td>{{fixedDepositsAccountData.timeline.activatedOnDate ? (fixedDepositsAccountData.timeline.activatedOnDate | date) : 'Not Activated'}}</td> <td>{{fixedDepositsAccountData.timeline.activatedOnDate ? (fixedDepositsAccountData.timeline.activatedOnDate | dateFormat) : 'Not Activated'}}</td>
</tr> </tr>
<tr *ngIf="fixedDepositsAccountData.timeline.closedOnDate"> <tr *ngIf="fixedDepositsAccountData.timeline.closedOnDate">
<td>Closed On</td> <td>Closed On</td>
<td>{{fixedDepositsAccountData.timeline.closedOnDate | date}}</td> <td>{{fixedDepositsAccountData.timeline.closedOnDate | dateFormat}}</td>
</tr> </tr>
<tr> <tr>
<td>Field Officer</td> <td>Field Officer</td>
@@ -76,7 +76,7 @@
</tr> </tr>
<tr> <tr>
<td>Maturity Date</td> <td>Maturity Date</td>
<td>{{fixedDepositsAccountData.maturityDate ? (fixedDepositsAccountData.maturityDate | date) : 'N/A'}}</td> <td>{{fixedDepositsAccountData.maturityDate ? (fixedDepositsAccountData.maturityDate | dateFormat) : 'N/A'}}</td>
</tr> </tr>
<tr> <tr>
<td>Deposit Period</td> <td>Deposit Period</td>
@@ -35,7 +35,7 @@
<ng-container matColumnDef="validity"> <ng-container matColumnDef="validity">
<th mat-header-cell *matHeaderCellDef> Validity </th> <th mat-header-cell *matHeaderCellDef> Validity </th>
<td mat-cell *matCellDef="let instruction">{{instruction.validFrom | date}} to {{instruction.validTill | date}}</td> <td mat-cell *matCellDef="let instruction">{{instruction.validFrom | dateFormat}} to {{instruction.validTill | dateFormat}}</td>
</ng-container> </ng-container>
<ng-container matColumnDef="actions"> <ng-container matColumnDef="actions">
@@ -17,7 +17,7 @@
<ng-container matColumnDef="transactionDate"> <ng-container matColumnDef="transactionDate">
<th mat-header-cell *matHeaderCellDef> Transaction Date </th> <th mat-header-cell *matHeaderCellDef> Transaction Date </th>
<td mat-cell *matCellDef="let transaction"> {{ transaction.date | date }} </td> <td mat-cell *matCellDef="let transaction"> {{ transaction.date | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="transactionType"> <ng-container matColumnDef="transactionType">
@@ -27,7 +27,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ transactionData.date | date }} {{ transactionData.date | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong"> <div fxFlex="50%" class="mat-body-strong">
@@ -55,10 +55,10 @@
<th mat-header-cell *matHeaderCellDef> Date </th> <th mat-header-cell *matHeaderCellDef> Date </th>
<td mat-cell *matCellDef="let charge"> <td mat-cell *matCellDef="let charge">
<span *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'">
{{(charge.dueDate | date) || 'Unassigned'}} {{(charge.dueDate | dateFormat) || 'Unassigned'}}
</span> </span>
<span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'">
{{(charge.feeOnMonthDay | date) || 'Unassigned'}} {{(charge.feeOnMonthDay | dateFormat) || 'Unassigned'}}
</span> </span>
<span *ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee' <span *ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'
|| charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee')"> || charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee')">
@@ -7,12 +7,12 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Valid from Date:</span> <span fxFlex="40%">Valid from Date:</span>
<span fxFlex="60%">{{ recurringDepositsAccountProductTemplate?.accountChart.fromDate | date }}</span> <span fxFlex="60%">{{ recurringDepositsAccountProductTemplate?.accountChart.fromDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="recurringDepositsAccountProductTemplate?.accountChart.endDate"> <div fxFlexFill *ngIf="recurringDepositsAccountProductTemplate?.accountChart.endDate">
<span fxFlex="40%">End Date:</span> <span fxFlex="40%">End Date:</span>
<span fxFlex="60%">{{ recurringDepositsAccountProductTemplate?.accountChart.endDate | date }}</span> <span fxFlex="60%">{{ recurringDepositsAccountProductTemplate?.accountChart.endDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="recurringDepositsAccountProductTemplate?.accountChart.description"> <div fxFlexFill *ngIf="recurringDepositsAccountProductTemplate?.accountChart.description">
@@ -12,7 +12,7 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Submitted On</span> <span fxFlex="40%">Submitted On</span>
<span fxFlex="60%">{{ recurringDepositAccountData.submittedOnDate | date }}</span> <span fxFlex="60%">{{ recurringDepositAccountData.submittedOnDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
@@ -96,7 +96,7 @@
<ng-container *ngIf="!recurringDepositsAccountProductTemplate.isCalendarInherited"> <ng-container *ngIf="!recurringDepositsAccountProductTemplate.isCalendarInherited">
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Deposit Start Date:</span> <span fxFlex="40%">Deposit Start Date:</span>
<span fxFlex="60%">{{ recurringDepositAccountData.expectedFirstDepositOnDate | date}}</span> <span fxFlex="60%">{{ recurringDepositAccountData.expectedFirstDepositOnDate | dateFormat}}</span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
@@ -139,12 +139,12 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Valid from Date:</span> <span fxFlex="40%">Valid from Date:</span>
<span fxFlex="60%">{{ recurringDepositsAccountProductTemplate?.accountChart.fromDate | date }}</span> <span fxFlex="60%">{{ recurringDepositsAccountProductTemplate?.accountChart.fromDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="recurringDepositsAccountProductTemplate?.accountChart.endDate"> <div fxFlexFill *ngIf="recurringDepositsAccountProductTemplate?.accountChart.endDate">
<span fxFlex="40%">End Date:</span> <span fxFlex="40%">End Date:</span>
<span fxFlex="60%">{{ recurringDepositsAccountProductTemplate?.accountChart.endDate | date }}</span> <span fxFlex="60%">{{ recurringDepositsAccountProductTemplate?.accountChart.endDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="recurringDepositsAccountProductTemplate?.accountChart.description"> <div fxFlexFill *ngIf="recurringDepositsAccountProductTemplate?.accountChart.description">
@@ -308,10 +308,10 @@
<td mat-cell *matCellDef="let charge"> <td mat-cell *matCellDef="let charge">
<span <span
*ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'"> *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'">
{{(charge.dueDate | date) || 'Unassigned'}} {{(charge.dueDate | dateFormat) || 'Unassigned'}}
</span> </span>
<span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'">
{{(charge.feeOnMonthDay | date) || 'Unassigned'}} {{(charge.feeOnMonthDay | dateFormat) || 'Unassigned'}}
</span> </span>
<span <span
*ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee' *ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'
@@ -27,13 +27,13 @@
<ng-container matColumnDef="dueAsOf"> <ng-container matColumnDef="dueAsOf">
<th mat-header-cell *matHeaderCellDef> Due As Of </th> <th mat-header-cell *matHeaderCellDef> Due As Of </th>
<td mat-cell *matCellDef="let charge"> {{ charge.dueDate | date }} </td> <td mat-cell *matCellDef="let charge"> {{ charge.dueDate | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="repeatsOn"> <ng-container matColumnDef="repeatsOn">
<th mat-header-cell *matHeaderCellDef> Repeats On </th> <th mat-header-cell *matHeaderCellDef> Repeats On </th>
<td mat-cell *matCellDef="let charge"> <td mat-cell *matCellDef="let charge">
{{charge.feeOnMonthDay ? ([2000].concat(charge.feeOnMonthDay) | date: 'dd MMMM') : 'Unassigned'}} </td> {{charge.feeOnMonthDay ? ([2000].concat(charge.feeOnMonthDay) | dateFormat: 'dd MMMM') : 'Unassigned'}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="calculationType"> <ng-container matColumnDef="calculationType">
@@ -72,17 +72,17 @@
</tr> </tr>
<tr> <tr>
<td>Activation date</td> <td>Activation date</td>
<td>{{recurringDepositsAccountData.timeline.activatedOnDate | date}}</td> <td>{{recurringDepositsAccountData.timeline.activatedOnDate | dateFormat}}</td>
</tr> </tr>
<tr> <tr>
<td>Maturity Date</td> <td>Maturity Date</td>
<td><span>{{recurringDepositsAccountData.maturityDate | date}}</span></td> <td><span>{{recurringDepositsAccountData.maturityDate | dateFormat}}</span></td>
</tr> </tr>
<tr <tr
*ngIf="recurringDepositsAccountData.timeline.closedOnDate || recurringDepositsAccountData.summary.totalWitddrawals"> *ngIf="recurringDepositsAccountData.timeline.closedOnDate || recurringDepositsAccountData.summary.totalWitddrawals">
<td *ngIf="recurringDepositsAccountData.timeline.closedOnDate"> <td *ngIf="recurringDepositsAccountData.timeline.closedOnDate">
Closed on Date</td> Closed on Date</td>
<td><span>{{recurringDepositsAccountData.timeline.closedOnDate | date}}</span></td> <td><span>{{recurringDepositsAccountData.timeline.closedOnDate | dateFormat}}</span></td>
</tr> </tr>
<tr> <tr>
<td>Period</td> <td>Period</td>
@@ -165,10 +165,10 @@
<tr> <tr>
<td>Date of Deposit</td> <td>Date of Deposit</td>
<td> <td>
<span *ngIf="!recurringDepositsAccountData.expectedFirstDepositOnDate">{{recurringDepositsAccountData.timeline.activatedOnDate | date}} <span *ngIf="!recurringDepositsAccountData.expectedFirstDepositOnDate">{{recurringDepositsAccountData.timeline.activatedOnDate | dateFormat}}
<span *ngIf="!recurringDepositsAccountData.timeline.activatedOnDate">Not Activated</span> <span *ngIf="!recurringDepositsAccountData.timeline.activatedOnDate">Not Activated</span>
</span> </span>
<span *ngIf="recurringDepositsAccountData.expectedFirstDepositOnDate" >{{recurringDepositsAccountData.expectedFirstDepositOnDate | date}} <span *ngIf="recurringDepositsAccountData.expectedFirstDepositOnDate" >{{recurringDepositsAccountData.expectedFirstDepositOnDate | dateFormat}}
<span *ngIf="!recurringDepositsAccountData.expectedFirstDepositOnDate">Not Activated</span> <span *ngIf="!recurringDepositsAccountData.expectedFirstDepositOnDate">Not Activated</span>
</span> </span>
</td> </td>
@@ -181,7 +181,7 @@
</tr> </tr>
<tr *ngIf="recurringDepositsAccountData.maturityDate"> <tr *ngIf="recurringDepositsAccountData.maturityDate">
<td>Maturity Date</td> <td>Maturity Date</td>
<td><span>{{recurringDepositsAccountData.maturityDate | date}}</span></td> <td><span>{{recurringDepositsAccountData.maturityDate | dateFormat}}</span></td>
</tr> </tr>
<tr> <tr>
<td>Total Deposits </td> <td>Total Deposits </td>
@@ -255,7 +255,7 @@
<tr *ngIf="recurringDepositsAccountData.timeline.closedOnDate"> <tr *ngIf="recurringDepositsAccountData.timeline.closedOnDate">
<td> Closed on Date </td> <td> Closed on Date </td>
<td> <td>
{{ recurringDepositsAccountData.timeline.closedOnDate | date }} {{ recurringDepositsAccountData.timeline.closedOnDate | dateFormat }}
</tr> </tr>
<tr> <tr>
<td> Deposits Frequency </td> <td> Deposits Frequency </td>
@@ -38,7 +38,7 @@
<ng-container matColumnDef="validity"> <ng-container matColumnDef="validity">
<th mat-header-cell *matHeaderCellDef> Validity </th> <th mat-header-cell *matHeaderCellDef> Validity </th>
<td mat-cell *matCellDef="let instruction">{{instruction.validFrom | date}} to {{instruction.validTill | date}} <td mat-cell *matCellDef="let instruction">{{instruction.validFrom | dateFormat}} to {{instruction.validTill | dateFormat}}
</td> </td>
</ng-container> </ng-container>
@@ -11,7 +11,7 @@
<ng-container matColumnDef="transactionDate"> <ng-container matColumnDef="transactionDate">
<th mat-header-cell *matHeaderCellDef> Transaction Date </th> <th mat-header-cell *matHeaderCellDef> Transaction Date </th>
<td mat-cell *matCellDef="let transaction" [ngClass]="{'strike': transaction.reversed}"> {{ transaction.date | date }} </td> <td mat-cell *matCellDef="let transaction" [ngClass]="{'strike': transaction.reversed}"> {{ transaction.date | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="transactionType"> <ng-container matColumnDef="transactionType">
@@ -43,7 +43,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ transactionData.date | date }} {{ transactionData.date | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong"> <div fxFlex="50%" class="mat-body-strong">
@@ -160,7 +160,7 @@
<ng-container matColumnDef="Original Loan"> <ng-container matColumnDef="Original Loan">
<th mat-header-cell *matHeaderCellDef> Original Loan </th> <th mat-header-cell *matHeaderCellDef> Original Loan </th>
<td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | date}} </td> <td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="Loan Balance"> <ng-container matColumnDef="Loan Balance">
@@ -183,7 +183,7 @@
<ng-container matColumnDef="Closed Date"> <ng-container matColumnDef="Closed Date">
<th mat-header-cell *matHeaderCellDef> Closed Date </th> <th mat-header-cell *matHeaderCellDef> Closed Date </th>
<td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | date}}</td> <td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | dateFormat}}</td>
</ng-container> </ng-container>
<tr mat-header-row *matHeaderRowDef="closedLoansColumns"></tr> <tr mat-header-row *matHeaderRowDef="closedLoansColumns"></tr>
@@ -222,7 +222,7 @@
<ng-container matColumnDef="Last Active"> <ng-container matColumnDef="Last Active">
<th mat-header-cell *matHeaderCellDef> Last Active </th> <th mat-header-cell *matHeaderCellDef> Last Active </th>
<td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | date}} </td> <td mat-cell *matCellDef="let element"> {{element.lastActiveTransactionDate | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="Balance"> <ng-container matColumnDef="Balance">
@@ -280,7 +280,7 @@
<ng-container matColumnDef="Closed Date"> <ng-container matColumnDef="Closed Date">
<th mat-header-cell *matHeaderCellDef> Closed Date </th> <th mat-header-cell *matHeaderCellDef> Closed Date </th>
<td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | date}}</td> <td mat-cell *matCellDef="let element">{{element.timeline.closedOnDate | dateFormat}}</td>
</ng-container> </ng-container>
<tr mat-header-row *matHeaderRowDef="closedSavingsColumns"></tr> <tr mat-header-row *matHeaderRowDef="closedSavingsColumns"></tr>
@@ -12,7 +12,7 @@
<mat-label>Existing Meeting Date</mat-label> <mat-label>Existing Meeting Date</mat-label>
<mat-select formControlName="presentMeetingDate"> <mat-select formControlName="presentMeetingDate">
<mat-option *ngFor="let date of nextMeetingDates" [value]="date"> <mat-option *ngFor="let date of nextMeetingDates" [value]="date">
{{ date | date }} {{ date | dateFormat }}
</mat-option> </mat-option>
</mat-select> </mat-select>
<mat-error *ngIf="groupEditMeetingScheduleForm.controls.presentMeetingDate.hasError('repeatsOnDay')"> <mat-error *ngIf="groupEditMeetingScheduleForm.controls.presentMeetingDate.hasError('repeatsOnDay')">
@@ -6,10 +6,10 @@
<mat-label>Meeting Date</mat-label> <mat-label>Meeting Date</mat-label>
<mat-select [formControl]="meetingDate"> <mat-select [formControl]="meetingDate">
<mat-option *ngFor="let date of meetingDates" [value]="date"> <mat-option *ngFor="let date of meetingDates" [value]="date">
{{ date | date }} {{ date | dateFormat }}
</mat-option> </mat-option>
</mat-select> </mat-select>
<mat-hint>Next Meeting on: {{ this.groupData.collectionMeetingCalendar.nextTenRecurringDates[0] | date }}</mat-hint> <mat-hint>Next Meeting on: {{ this.groupData.collectionMeetingCalendar.nextTenRecurringDates[0] | dateFormat }}</mat-hint>
</mat-form-field> </mat-form-field>
<table class="mat-elevation-z1" mat-table [dataSource]="dataSource"> <table class="mat-elevation-z1" mat-table [dataSource]="dataSource">
@@ -54,7 +54,7 @@
</div> </div>
<div class="mat-row"> <div class="mat-row">
<div class="mat-cell">Activation Date</div> <div class="mat-cell">Activation Date</div>
<div class="mat-cell">{{(transferClientsForm.get('destinationGroupId').value.activationDate | date) || 'Not Activated'}}</div> <div class="mat-cell">{{(transferClientsForm.get('destinationGroupId').value.activationDate | dateFormat) || 'Not Activated'}}</div>
</div> </div>
<div class="mat-row"> <div class="mat-row">
<div class="mat-cell">Staff</div> <div class="mat-cell">Staff</div>
@@ -22,9 +22,9 @@
<p> <p>
Group #: {{groupViewData.id}} | Center Name: {{groupViewData.centerName}} | Staff: {{groupViewData.staffName || 'Unassigned'}}<br/> Group #: {{groupViewData.id}} | Center Name: {{groupViewData.centerName}} | Staff: {{groupViewData.staffName || 'Unassigned'}}<br/>
Office Name: {{groupViewData.officeName}}<br/> Office Name: {{groupViewData.officeName}}<br/>
Activation Date : {{(groupViewData.activationDate)?(groupViewData.activationDate|date) :'Not Activated'}}<br/> Activation Date : {{(groupViewData.activationDate)?(groupViewData.activationDate | dateFormat) :'Not Activated'}}<br/>
<span *ngIf="!groupViewData.active"> <span *ngIf="!groupViewData.active">
Closure Date: {{groupViewData.timeline.closedOnDate | date}} Closure Date: {{groupViewData.timeline.closedOnDate | dateFormat}}
</span> </span>
</p> </p>
</mat-card-subtitle> </mat-card-subtitle>
@@ -33,7 +33,7 @@
<div class="group-meeting" fxLayoutAlign="start start"> <div class="group-meeting" fxLayoutAlign="start start">
<div *ngIf="groupViewData.collectionMeetingCalendar; else unassigned"> <div *ngIf="groupViewData.collectionMeetingCalendar; else unassigned">
<p> <p>
Next Meeting on: {{groupViewData.collectionMeetingCalendar?.nextTenRecurringDates[0] | date}} Next Meeting on: {{groupViewData.collectionMeetingCalendar?.nextTenRecurringDates[0] | dateFormat}}
<i class="fa fa-edit" *ngIf="editMeeting" (click)="doAction('Edit Meeting')"></i><br/> <i class="fa fa-edit" *ngIf="editMeeting" (click)="doAction('Edit Meeting')"></i><br/>
Meeting Frequency: {{groupViewData.collectionMeetingCalendar?.frequency.value | lowercase}} Meeting Frequency: {{groupViewData.collectionMeetingCalendar?.frequency.value | lowercase}}
</p> </p>
@@ -22,7 +22,7 @@
<h3 matLine>{{groupNote.note}} </h3> <h3 matLine>{{groupNote.note}} </h3>
<p matLine> <p matLine>
<span>Created by: {{groupNote.createdByUsername}}</span><br /> <span>Created by: {{groupNote.createdByUsername}}</span><br />
<span>Date: {{groupNote.createdOn | date}}</span> <span>Date: {{groupNote.createdOn | dateFormat}}</span>
</p> </p>
<div fxLayout="row" fxLayoutAlign="flex-start"> <div fxLayout="row" fxLayoutAlign="flex-start">
<button mat-button color="primary" (click)="editNote(groupNote.id,groupNote.note,i)"> <button mat-button color="primary" (click)="editNote(groupNote.id,groupNote.note,i)">
@@ -55,10 +55,10 @@
<td mat-cell *matCellDef="let charge"> <td mat-cell *matCellDef="let charge">
<span <span
*ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'"> *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'">
{{(charge.dueDate | date) || 'Unassigned'}} {{(charge.dueDate | dateFormat) || 'Unassigned'}}
</span> </span>
<span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'">
{{(charge.feeOnMonthDay | date) || 'Unassigned'}} {{(charge.feeOnMonthDay | dateFormat) || 'Unassigned'}}
</span> </span>
<span <span
*ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee' *ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'
@@ -28,12 +28,12 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Submitted on:</span> <span fxFlex="40%">Submitted on:</span>
<span fxFlex="60%">{{ loansAccount.submittedOnDate | date }}</span> <span fxFlex="60%">{{ loansAccount.submittedOnDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Disbursement on:</span> <span fxFlex="40%">Disbursement on:</span>
<span fxFlex="60%">{{ loansAccount.expectedDisbursementDate | date }}</span> <span fxFlex="60%">{{ loansAccount.expectedDisbursementDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="loansAccount.externalId"> <div fxFlexFill *ngIf="loansAccount.externalId">
@@ -71,12 +71,12 @@
<div fxFlexFill *ngIf="loansAccount.repaymentsStartingFromDate"> <div fxFlexFill *ngIf="loansAccount.repaymentsStartingFromDate">
<span fxFlex="40%">First repayment on:</span> <span fxFlex="40%">First repayment on:</span>
<span fxFlex="60%">{{ loansAccount.repaymentsStartingFromDate | date }}</span> <span fxFlex="60%">{{ loansAccount.repaymentsStartingFromDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="loansAccount.interestChargedFromDate"> <div fxFlexFill *ngIf="loansAccount.interestChargedFromDate">
<span fxFlex="40%">Interest charged from:</span> <span fxFlex="40%">Interest charged from:</span>
<span fxFlex="60%">{{ loansAccount.interestChargedFromDate | date }}</span> <span fxFlex="60%">{{ loansAccount.interestChargedFromDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="loansAccount.interestRatePerPeriod"> <div fxFlexFill *ngIf="loansAccount.interestRatePerPeriod">
@@ -204,10 +204,10 @@
<td mat-cell *matCellDef="let charge"> <td mat-cell *matCellDef="let charge">
<span <span
*ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'"> *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'">
{{(charge.dueDate | date) || 'Unassigned'}} {{(charge.dueDate | dateFormat) || 'Unassigned'}}
</span> </span>
<span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'">
{{(charge.feeOnMonthDay | date) || 'Unassigned'}} {{(charge.feeOnMonthDay | dateFormat) || 'Unassigned'}}
</span> </span>
<span <span
*ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee' *ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'
@@ -73,22 +73,22 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="50%"> Submitted on</span> <span fxFlex="50%"> Submitted on</span>
<span fxFlex="50%"> {{loanDetails.timeline.submittedOnDate | date }} </span> <span fxFlex="50%"> {{loanDetails.timeline.submittedOnDate | dateFormat }} </span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="50%"> Approved on</span> <span fxFlex="50%"> Approved on</span>
<span fxFlex="50%"> {{loanDetails.timeline.approvedOnDate | date }} </span> <span fxFlex="50%"> {{loanDetails.timeline.approvedOnDate | dateFormat }} </span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="50%"> Disbursed on</span> <span fxFlex="50%"> Disbursed on</span>
<span fxFlex="50%"> {{loanDetails.timeline.actualDisbursementDate | date }} </span> <span fxFlex="50%"> {{loanDetails.timeline.actualDisbursementDate | dateFormat }} </span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="50%"> Matures on</span> <span fxFlex="50%"> Matures on</span>
<span fxFlex="50%"> {{loanDetails.timeline.expectedMaturityDate | date }} </span> <span fxFlex="50%"> {{loanDetails.timeline.expectedMaturityDate | dateFormat }} </span>
</div> </div>
<div fxFlexFill *ngIf="loanDetails.canDefineInstallmentAmount"> <div fxFlexFill *ngIf="loanDetails.canDefineInstallmentAmount">
@@ -22,7 +22,7 @@
<ng-container matColumnDef="dueasof"> <ng-container matColumnDef="dueasof">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Due as of </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Due as of </th>
<td mat-cell *matCellDef="let charge"> {{ charge.dueDate| date }} </td> <td mat-cell *matCellDef="let charge"> {{ charge.dueDate | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="calculationtype"> <ng-container matColumnDef="calculationtype">
@@ -4,7 +4,7 @@
<ng-container matColumnDef="fromDate"> <ng-container matColumnDef="fromDate">
<th mat-header-cell *matHeaderCellDef> From Date </th> <th mat-header-cell *matHeaderCellDef> From Date </th>
<td mat-cell *matCellDef="let ele"> {{ ele.fromDate | date}} </td> <td mat-cell *matCellDef="let ele"> {{ ele.fromDate | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="interestRate"> <ng-container matColumnDef="interestRate">
@@ -6,7 +6,7 @@
<p> <p>
# of Repayments :{{loanDetails?.numberOfRepayments}} # of Repayments :{{loanDetails?.numberOfRepayments}}
<p> <p>
Maturity Date :{{loanDetails?.timeline.expectedMaturityDate | date}} Maturity Date :{{loanDetails?.timeline.expectedMaturityDate | dateFormat}}
</p> </p>
</div> </div>
</ng-container> </ng-container>
@@ -71,7 +71,7 @@
<th mat-header-cell *matHeaderCellDef> Value </th> <th mat-header-cell *matHeaderCellDef> Value </th>
<td mat-cell *matCellDef="let ele"> <td mat-cell *matCellDef="let ele">
<ng-container *ngIf="ele.key === 'Disbursement Date'" > <ng-container *ngIf="ele.key === 'Disbursement Date'" >
<span *ngIf="loanDetails.timeline.actualDisbursementDate"> {{loanDetails.timeline.actualDisbursementDate | date}} </span> <span *ngIf="loanDetails.timeline.actualDisbursementDate"> {{loanDetails.timeline.actualDisbursementDate | dateFormat}} </span>
<span *ngIf="!loanDetails.timeline.actualDisbursementDate"> Not Available </span> <span *ngIf="!loanDetails.timeline.actualDisbursementDate"> Not Available </span>
</ng-container> </ng-container>
@@ -126,7 +126,7 @@
<th mat-header-cell *matHeaderCellDef> Value </th> <th mat-header-cell *matHeaderCellDef> Value </th>
<td mat-cell *matCellDef="let ele"> <td mat-cell *matCellDef="let ele">
<ng-container *ngIf="ele.key === 'Disbursement Date'" > <ng-container *ngIf="ele.key === 'Disbursement Date'" >
<span *ngIf="loanDetails.timeline.actualDisbursementDate"> {{loanDetails.timeline.actualDisbursementDate | date}} </span> <span *ngIf="loanDetails.timeline.actualDisbursementDate"> {{loanDetails.timeline.actualDisbursementDate | dateFormat}} </span>
<span *ngIf="!loanDetails.timeline.actualDisbursementDate"> Not Available </span> <span *ngIf="!loanDetails.timeline.actualDisbursementDate"> Not Available </span>
</ng-container> </ng-container>
@@ -22,14 +22,14 @@
<ng-container matColumnDef="expected disbursement on"> <ng-container matColumnDef="expected disbursement on">
<th mat-header-cell *matHeaderCellDef> Expected Disbursement On </th> <th mat-header-cell *matHeaderCellDef> Expected Disbursement On </th>
<td mat-cell *matCellDef="let ele"> {{ ele.expectedDisbursementDate | date}} </td> <td mat-cell *matCellDef="let ele"> {{ ele.expectedDisbursementDate | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="disbursed on"> <ng-container matColumnDef="disbursed on">
<th mat-header-cell *matHeaderCellDef> Disbursed On </th> <th mat-header-cell *matHeaderCellDef> Disbursed On </th>
<td mat-cell *matCellDef="let ele"> <td mat-cell *matCellDef="let ele">
<span *ngIf="ele.actualDisbursementDate"> <span *ngIf="ele.actualDisbursementDate">
{{ ele.actualDisbursementDate | date }} {{ ele.actualDisbursementDate | dateFormat }}
</span> </span>
</td> </td>
</ng-container> </ng-container>
@@ -63,7 +63,7 @@
<ng-container matColumnDef="emi amount variation from"> <ng-container matColumnDef="emi amount variation from">
<th mat-header-cell *matHeaderCellDef> Applicable From Date </th> <th mat-header-cell *matHeaderCellDef> Applicable From Date </th>
<td mat-cell *matCellDef="let ele"> {{ ele.termVariationApplicableFrom | date}} </td> <td mat-cell *matCellDef="let ele"> {{ ele.termVariationApplicableFrom | dateFormat}} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="fixed emi amount"> <ng-container matColumnDef="fixed emi amount">
@@ -17,7 +17,7 @@
<h3 matLine>{{loanNote.note}} </h3> <h3 matLine>{{loanNote.note}} </h3>
<p matLine> <p matLine>
<span>Created by: {{loanNote.createdByUsername}}</span><br /> <span>Created by: {{loanNote.createdByUsername}}</span><br />
<span>Date: {{loanNote.createdOn | date}}</span> <span>Date: {{loanNote.createdOn | dateFormat}}</span>
</p> </p>
<div fxLayout="row" fxLayoutAlign="flex-start"> <div fxLayout="row" fxLayoutAlign="flex-start">
<button mat-button color="primary" (click)="editNote(loanNote.id,loanNote.note,i)"> <button mat-button color="primary" (click)="editNote(loanNote.id,loanNote.note,i)">
@@ -4,7 +4,7 @@
<ng-container matColumnDef="date"> <ng-container matColumnDef="date">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Date </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Date </th>
<td mat-cell *matCellDef="let ele"> {{ ele.dueDate | date}} </td> <td mat-cell *matCellDef="let ele"> {{ ele.dueDate | dateFormat}} </td>
<td mat-footer-cell *matFooterCellDef> <b> Total</b> </td> <td mat-footer-cell *matFooterCellDef> <b> Total</b> </td>
</ng-container> </ng-container>
@@ -16,13 +16,13 @@
<ng-container matColumnDef="date"> <ng-container matColumnDef="date">
<th mat-header-cell *matHeaderCellDef> Date </th> <th mat-header-cell *matHeaderCellDef> Date </th>
<td mat-cell *matCellDef="let ele"> {{ ele.dueDate | date}} </td> <td mat-cell *matCellDef="let ele"> {{ ele.dueDate | dateFormat}} </td>
<td mat-footer-cell *matFooterCellDef> </td> <td mat-footer-cell *matFooterCellDef> </td>
</ng-container> </ng-container>
<ng-container matColumnDef="paiddate"> <ng-container matColumnDef="paiddate">
<th mat-header-cell *matHeaderCellDef> Paid Date </th> <th mat-header-cell *matHeaderCellDef> Paid Date </th>
<td mat-cell *matCellDef="let ele"> {{ ele.obligationsMetOnDate | date}} </td> <td mat-cell *matCellDef="let ele"> {{ ele.obligationsMetOnDate | dateFormat}} </td>
<td mat-footer-cell *matFooterCellDef> </td> <td mat-footer-cell *matFooterCellDef> </td>
</ng-container> </ng-container>
@@ -41,7 +41,7 @@
<ng-container matColumnDef="validity"> <ng-container matColumnDef="validity">
<th mat-header-cell *matHeaderCellDef> Validity </th> <th mat-header-cell *matHeaderCellDef> Validity </th>
<td mat-cell *matCellDef="let instruction">{{instruction.validFrom | date}} to {{instruction.validTill | date}} <td mat-cell *matCellDef="let instruction">{{instruction.validFrom | dateFormat}} to {{instruction.validTill | dateFormat}}
</td> </td>
</ng-container> </ng-container>
@@ -24,7 +24,7 @@
<ng-container matColumnDef="transactionDate"> <ng-container matColumnDef="transactionDate">
<th mat-header-cell *matHeaderCellDef> Transaction Date </th> <th mat-header-cell *matHeaderCellDef> Transaction Date </th>
<td mat-cell *matCellDef="let transaction" [ngClass]="{'strike': transaction.manuallyReversed}"> {{ transaction.date | date }} </td> <td mat-cell *matCellDef="let transaction" [ngClass]="{'strike': transaction.manuallyReversed}"> {{ transaction.date | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="transactionType"> <ng-container matColumnDef="transactionType">
@@ -39,7 +39,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ transactionData.date | date }} {{ transactionData.date | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong"> <div fxFlex="50%" class="mat-body-strong">
@@ -67,7 +67,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ chargeData.dueDate | date }} {{ chargeData.dueDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong"> <div fxFlex="50%" class="mat-body-strong">
@@ -30,7 +30,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ centerData.activationDate | date }} {{ centerData.activationDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong"> <div fxFlex="50%" class="mat-body-strong">
@@ -86,7 +86,7 @@
</div> </div>
<div fxFlex="50%" *ngIf="centerData.collectionMeetingCalendar && centerData.collectionMeetingCalendar.nextTenRecurringDates[0]"> <div fxFlex="50%" *ngIf="centerData.collectionMeetingCalendar && centerData.collectionMeetingCalendar.nextTenRecurringDates[0]">
{{ centerSummaryData.collectionMeetingCalendar.nextTenRecurringDates[0] | date }} {{ centerSummaryData.collectionMeetingCalendar.nextTenRecurringDates[0] | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong" *ngIf="centerData.collectionMeetingCalendar && centerData.collectionMeetingCalendar.humanReadable"> <div fxFlex="50%" class="mat-body-strong" *ngIf="centerData.collectionMeetingCalendar && centerData.collectionMeetingCalendar.humanReadable">
@@ -55,7 +55,7 @@
</div> </div>
<div fxFlex="50%" *ngIf="clientData.dateOfBirth"> <div fxFlex="50%" *ngIf="clientData.dateOfBirth">
{{ clientData.dateOfBirth | date }} {{ clientData.dateOfBirth | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong" *ngIf="clientData.mobileNo"> <div fxFlex="50%" class="mat-body-strong" *ngIf="clientData.mobileNo">
@@ -71,7 +71,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ clientData.activationDate | date }} {{ clientData.activationDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong" *ngIf="clientData.officeName"> <div fxFlex="50%" class="mat-body-strong" *ngIf="clientData.officeName">
@@ -29,7 +29,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ groupData.activationDate | date }} {{ groupData.activationDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong"> <div fxFlex="50%" class="mat-body-strong">
@@ -53,7 +53,7 @@
</div> </div>
<div fxFlex="50%" *ngIf="groupData.collectionMeetingCalendar && groupData.collectionMeetingCalendar.nextTenRecurringDates[0]"> <div fxFlex="50%" *ngIf="groupData.collectionMeetingCalendar && groupData.collectionMeetingCalendar.nextTenRecurringDates[0]">
{{ groupData.collectionMeetingCalendar.nextTenRecurringDates[0] | date }} {{ groupData.collectionMeetingCalendar.nextTenRecurringDates[0] | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong" *ngIf="groupData.collectionMeetingCalendar && groupData.collectionMeetingCalendar.humanReadable"> <div fxFlex="50%" class="mat-body-strong" *ngIf="groupData.collectionMeetingCalendar && groupData.collectionMeetingCalendar.humanReadable">
@@ -24,7 +24,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ officeData.openingDate | date }} {{ officeData.openingDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong" *ngIf="officeData.parentName"> <div fxFlex="50%" class="mat-body-strong" *ngIf="officeData.parentName">
@@ -27,7 +27,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ employeeData.joiningDate | date }} {{ employeeData.joiningDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong"> <div fxFlex="50%" class="mat-body-strong">
@@ -99,12 +99,12 @@
<ng-container matColumnDef="importTime"> <ng-container matColumnDef="importTime">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Import Time </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Import Time </th>
<td mat-cell *matCellDef="let import"> {{ import.importTime | date }} </td> <td mat-cell *matCellDef="let import"> {{ import.importTime | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="endTime"> <ng-container matColumnDef="endTime">
<th mat-header-cell *matHeaderCellDef mat-sort-header> End Time </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> End Time </th>
<td mat-cell *matCellDef="let import"> {{ import.endTime | date }} </td> <td mat-cell *matCellDef="let import"> {{ import.endTime | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="completed"> <ng-container matColumnDef="completed">
@@ -66,7 +66,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ employeeData.joiningDate | date }} {{ employeeData.joiningDate | dateFormat }}
</div> </div>
</div> </div>
@@ -37,17 +37,17 @@
<ng-container matColumnDef="fromDate"> <ng-container matColumnDef="fromDate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Start Date </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Start Date </th>
<td mat-cell *matCellDef="let holidays"> {{ holidays.fromDate | date }} </td> <td mat-cell *matCellDef="let holidays"> {{ holidays.fromDate | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="toDate"> <ng-container matColumnDef="toDate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> End Date </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> End Date </th>
<td mat-cell *matCellDef="let holidays"> {{ holidays.toDate | date }} </td> <td mat-cell *matCellDef="let holidays"> {{ holidays.toDate | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="repaymentsRescheduledTo"> <ng-container matColumnDef="repaymentsRescheduledTo">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Repayments Scheduled To </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Repayments Scheduled To </th>
<td mat-cell *matCellDef="let holidays"> {{ holidays.reschedulingType === 1 ? 'Next Repayment Date' : holidays.repaymentsRescheduledTo | date }} </td> <td mat-cell *matCellDef="let holidays"> {{ holidays.reschedulingType === 1 ? 'Next Repayment Date' : holidays.repaymentsRescheduledTo | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="status"> <ng-container matColumnDef="status">
@@ -36,7 +36,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ holidayData.fromDate | date }} {{ holidayData.fromDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="header"> <div fxFlex="50%" class="header">
@@ -44,7 +44,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ holidayData.toDate | date }} {{ holidayData.toDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="header"> <div fxFlex="50%" class="header">
@@ -52,7 +52,7 @@
</div> </div>
<div fxFlex="50%" *ngIf="holidayData.repaymentsRescheduledTo !== undefined && holidayData.repaymentsRescheduledTo !== null"> <div fxFlex="50%" *ngIf="holidayData.repaymentsRescheduledTo !== undefined && holidayData.repaymentsRescheduledTo !== null">
{{ holidayData.repaymentsRescheduledTo | date }} {{ holidayData.repaymentsRescheduledTo | dateFormat }}
</div> </div>
<div fxFlex="50%" *ngIf="holidayData.repaymentsRescheduledTo === undefined || holidayData.repaymentsRescheduledTo === null"> <div fxFlex="50%" *ngIf="holidayData.repaymentsRescheduledTo === undefined || holidayData.repaymentsRescheduledTo === null">
@@ -47,7 +47,7 @@
<ng-container matColumnDef="openingDate"> <ng-container matColumnDef="openingDate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Opened On </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Opened On </th>
<td mat-cell *matCellDef="let offices"> {{ offices.openingDate | date }} </td> <td mat-cell *matCellDef="let offices"> {{ offices.openingDate | dateFormat }} </td>
</ng-container> </ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr> <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
@@ -7,7 +7,7 @@
</mat-list-item> </mat-list-item>
<mat-list-item> <mat-list-item>
Opened On : {{ officeData.openingDate ? (officeData.openingDate | date) : 'Unassigned' }} Opened On : {{ officeData.openingDate ? (officeData.openingDate | dateFormat) : 'Unassigned' }}
</mat-list-item> </mat-list-item>
<mat-list-item> <mat-list-item>
@@ -63,7 +63,7 @@
</mat-list-item> </mat-list-item>
<mat-list-item> <mat-list-item>
Submitted on : {{ smsCampaignData.smsCampaignTimeLine.submittedOnDate | date }} Submitted on : {{ smsCampaignData.smsCampaignTimeLine.submittedOnDate | dateFormat }}
</mat-list-item> </mat-list-item>
<mat-list-item *ngIf="smsCampaignData.recurrence"> <mat-list-item *ngIf="smsCampaignData.recurrence">
@@ -22,7 +22,7 @@
<ng-container matColumnDef="period"> <ng-container matColumnDef="period">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Period </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Period </th>
<td mat-cell *matCellDef="let cashier"> {{ cashier.startDate | date }} - {{ cashier.endDate | date }}</td> <td mat-cell *matCellDef="let cashier"> {{ cashier.startDate | dateFormat }} - {{ cashier.endDate | dateFormat }}</td>
</ng-container> </ng-container>
<ng-container matColumnDef="staffName"> <ng-container matColumnDef="staffName">
@@ -85,7 +85,7 @@
<ng-container matColumnDef="date"> <ng-container matColumnDef="date">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Date </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Date </th>
<td mat-cell *matCellDef="let transaction"> {{ transaction.txnDate | date }} </td> <td mat-cell *matCellDef="let transaction"> {{ transaction.txnDate | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="transactions"> <ng-container matColumnDef="transactions">
@@ -47,7 +47,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ cashierData.startDate | date }} {{ cashierData.startDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="header"> <div fxFlex="50%" class="header">
@@ -55,7 +55,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ cashierData.endDate | date }} {{ cashierData.endDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="header"> <div fxFlex="50%" class="header">
@@ -41,7 +41,7 @@
<ng-container matColumnDef="startDate"> <ng-container matColumnDef="startDate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Started On </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Started On </th>
<td mat-cell *matCellDef="let teller"> {{ teller.startDate | date }} </td> <td mat-cell *matCellDef="let teller"> {{ teller.startDate | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="actions"> <ng-container matColumnDef="actions">
@@ -46,7 +46,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ tellerData.startDate | date }} {{ tellerData.startDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong" *ngIf="tellerData.endDate"> <div fxFlex="50%" class="mat-body-strong" *ngIf="tellerData.endDate">
@@ -54,7 +54,7 @@
</div> </div>
<div fxFlex="50%" *ngIf="tellerData.endDate"> <div fxFlex="50%" *ngIf="tellerData.endDate">
{{ tellerData.endDate | date }} {{ tellerData.endDate | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong"> <div fxFlex="50%" class="mat-body-strong">
+8
View File
@@ -0,0 +1,8 @@
import { DateFormatPipe } from './date-format.pipe';
describe('DateFormatPipe', () => {
it('create an instance', () => {
const pipe = new DateFormatPipe();
expect(pipe).toBeTruthy();
});
});
+24
View File
@@ -0,0 +1,24 @@
import { Pipe, PipeTransform } from '@angular/core';
import { SettingsService } from 'app/settings/settings.service';
import * as moment from 'moment';
@Pipe({
name: 'dateFormat'
})
export class DateFormatPipe implements PipeTransform {
defaultDateFormat: string;
constructor(private settingsService: SettingsService) {
this.defaultDateFormat = this.settingsService.dateFormat;
this.defaultDateFormat = this.defaultDateFormat.replace('dd', 'DD');
}
transform(value: Date | moment.Moment, dateFormat: string): any {
if (dateFormat == null) {
return moment(value).format(this.defaultDateFormat);
}
return moment(value).format(dateFormat);
}
}
+4 -3
View File
@@ -6,13 +6,14 @@ import { ChargesFilterPipe } from './charges-filter.pipe';
import { ChargesPenaltyFilterPipe } from './charges-penalty-filter.pipe'; import { ChargesPenaltyFilterPipe } from './charges-penalty-filter.pipe';
import { FindPipe } from './find.pipe'; import { FindPipe } from './find.pipe';
import { UrlToStringPipe } from './url-to-string.pipe'; import { UrlToStringPipe } from './url-to-string.pipe';
import { DateFormatPipe } from './date-format.pipe';
@NgModule({ @NgModule({
imports: [ imports: [
CommonModule CommonModule
], ],
declarations: [StatusLookupPipe, AccountsFilterPipe, ChargesFilterPipe, ChargesPenaltyFilterPipe, FindPipe, UrlToStringPipe], declarations: [StatusLookupPipe, AccountsFilterPipe, ChargesFilterPipe, ChargesPenaltyFilterPipe, FindPipe, UrlToStringPipe, DateFormatPipe],
providers: [StatusLookupPipe, AccountsFilterPipe, ChargesFilterPipe, ChargesPenaltyFilterPipe, FindPipe, UrlToStringPipe], providers: [StatusLookupPipe, AccountsFilterPipe, ChargesFilterPipe, ChargesPenaltyFilterPipe, FindPipe, UrlToStringPipe, DateFormatPipe],
exports: [StatusLookupPipe, AccountsFilterPipe, ChargesFilterPipe, ChargesPenaltyFilterPipe, FindPipe, UrlToStringPipe] exports: [StatusLookupPipe, AccountsFilterPipe, ChargesFilterPipe, ChargesPenaltyFilterPipe, FindPipe, UrlToStringPipe, DateFormatPipe]
}) })
export class PipesModule { } export class PipesModule { }
@@ -125,12 +125,12 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Valid from Date:</span> <span fxFlex="40%">Valid from Date:</span>
<span fxFlex="60%">{{ chart.fromDate | date }}</span> <span fxFlex="60%">{{ chart.fromDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="chart.endDate"> <div fxFlexFill *ngIf="chart.endDate">
<span fxFlex="40%">End Date:</span> <span fxFlex="40%">End Date:</span>
<span fxFlex="60%">{{ chart.endDate | date }}</span> <span fxFlex="60%">{{ chart.endDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="chart.description"> <div fxFlexFill *ngIf="chart.description">
@@ -154,12 +154,12 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Valid from Date:</span> <span fxFlex="40%">Valid from Date:</span>
<span fxFlex="60%">{{ fixedDepositProductData.activeChart.fromDate | date }}</span> <span fxFlex="60%">{{ fixedDepositProductData.activeChart.fromDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="fixedDepositProductData.activeChart.endDate"> <div fxFlexFill *ngIf="fixedDepositProductData.activeChart.endDate">
<span fxFlex="40%">End Date:</span> <span fxFlex="40%">End Date:</span>
<span fxFlex="60%">{{ fixedDepositProductData.activeChart.endDate | date }}</span> <span fxFlex="60%">{{ fixedDepositProductData.activeChart.endDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="fixedDepositProductData.activeChart.description"> <div fxFlexFill *ngIf="fixedDepositProductData.activeChart.description">
@@ -47,7 +47,7 @@
<ng-container matColumnDef="fromDate"> <ng-container matColumnDef="fromDate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> From Date </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> From Date </th>
<td mat-cell *matCellDef="let floatingRatePeriod"> {{ floatingRatePeriod.fromDate | date : 'dd MMMM yyyy' }} </td> <td mat-cell *matCellDef="let floatingRatePeriod"> {{ floatingRatePeriod.fromDate | dateFormat : 'dd MMMM yyyy' }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="interestRate"> <ng-container matColumnDef="interestRate">
@@ -50,7 +50,7 @@
<ng-container matColumnDef="fromDate"> <ng-container matColumnDef="fromDate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> From Date </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> From Date </th>
<td mat-cell *matCellDef="let floatingRatePeriod"> {{ floatingRatePeriod.fromDate | date : 'dd MMMM yyyy' }} </td> <td mat-cell *matCellDef="let floatingRatePeriod"> {{ floatingRatePeriod.fromDate | dateFormat : 'dd MMMM yyyy' }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="interestRate"> <ng-container matColumnDef="interestRate">
@@ -55,7 +55,7 @@
<ng-container matColumnDef="fromDate"> <ng-container matColumnDef="fromDate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> From Date </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> From Date </th>
<td mat-cell *matCellDef="let floatingRate"> {{ floatingRate.fromDate | date : 'dd MMMM yyyy' }} </td> <td mat-cell *matCellDef="let floatingRate"> {{ floatingRate.fromDate | dateFormat : 'dd MMMM yyyy' }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="interestRate"> <ng-container matColumnDef="interestRate">
@@ -30,7 +30,7 @@
<ng-container matColumnDef="closeDate"> <ng-container matColumnDef="closeDate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Expiry Date </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Expiry Date </th>
<td mat-cell *matCellDef="let loanProduct"> {{ loanProduct.closeDate | date }} </td> <td mat-cell *matCellDef="let loanProduct"> {{ loanProduct.closeDate | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="status"> <ng-container matColumnDef="status">
@@ -38,12 +38,12 @@
<div fxFlexFill *ngIf="loanProduct.startDate"> <div fxFlexFill *ngIf="loanProduct.startDate">
<span fxFlex="40%">Start Date:</span> <span fxFlex="40%">Start Date:</span>
<span fxFlex="60%">{{ loanProduct.startDate | date }}</span> <span fxFlex="60%">{{ loanProduct.startDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="loanProduct.closeDate"> <div fxFlexFill *ngIf="loanProduct.closeDate">
<span fxFlex="40%">Close Date:</span> <span fxFlex="40%">Close Date:</span>
<span fxFlex="60%">{{ loanProduct.closeDate | date }}</span> <span fxFlex="60%">{{ loanProduct.closeDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="loanProduct.description"> <div fxFlexFill *ngIf="loanProduct.description">
@@ -66,7 +66,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ taxComponentData.startDate | date }} {{ taxComponentData.startDate | dateFormat }}
</div> </div>
</div> </div>
@@ -35,7 +35,7 @@
<ng-container matColumnDef="startDate"> <ng-container matColumnDef="startDate">
<th mat-header-cell *matHeaderCellDef> Start Date </th> <th mat-header-cell *matHeaderCellDef> Start Date </th>
<td mat-cell *matCellDef="let taxComponent"> {{ taxComponent.startDate | date }} <td mat-cell *matCellDef="let taxComponent"> {{ taxComponent.startDate | dateFormat }}
</td> </td>
</ng-container> </ng-container>
@@ -35,13 +35,13 @@
<ng-container matColumnDef="startDate"> <ng-container matColumnDef="startDate">
<th mat-header-cell *matHeaderCellDef> Start Date </th> <th mat-header-cell *matHeaderCellDef> Start Date </th>
<td mat-cell *matCellDef="let taxComponent"> {{ taxComponent.startDate | date }} <td mat-cell *matCellDef="let taxComponent"> {{ taxComponent.startDate | dateFormat }}
</td> </td>
</ng-container> </ng-container>
<ng-container matColumnDef="endDate"> <ng-container matColumnDef="endDate">
<th mat-header-cell *matHeaderCellDef> End Date </th> <th mat-header-cell *matHeaderCellDef> End Date </th>
<td mat-cell *matCellDef="let taxComponent"> {{ taxComponent.endDate ? (taxComponent.endDate | date) : '' }} <td mat-cell *matCellDef="let taxComponent"> {{ taxComponent.endDate ? (taxComponent.endDate | dateFormat) : '' }}
</td> </td>
</ng-container> </ng-container>
@@ -42,11 +42,11 @@
</div> </div>
<div fxFlex="33%"> <div fxFlex="33%">
{{ taxcomponent.startDate | date }} {{ taxcomponent.startDate | dateFormat }}
</div> </div>
<div fxFlex="33%" *ngIf="taxcomponent.endDate !== undefined || taxcomponent.endDate !== null"> <div fxFlex="33%" *ngIf="taxcomponent.endDate !== undefined || taxcomponent.endDate !== null">
{{ taxcomponent.endDate | date }} {{ taxcomponent.endDate | dateFormat }}
</div> </div>
</div> </div>
@@ -131,12 +131,12 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Valid from Date:</span> <span fxFlex="40%">Valid from Date:</span>
<span fxFlex="60%">{{ chart.fromDate | date }}</span> <span fxFlex="60%">{{ chart.fromDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="chart.endDate"> <div fxFlexFill *ngIf="chart.endDate">
<span fxFlex="40%">End Date:</span> <span fxFlex="40%">End Date:</span>
<span fxFlex="60%">{{ chart.endDate | date }}</span> <span fxFlex="60%">{{ chart.endDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="chart.description"> <div fxFlexFill *ngIf="chart.description">
@@ -152,12 +152,12 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Valid from Date:</span> <span fxFlex="40%">Valid from Date:</span>
<span fxFlex="60%">{{ recurringDepositProduct.activeChart.fromDate | date }}</span> <span fxFlex="60%">{{ recurringDepositProduct.activeChart.fromDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="recurringDepositProduct.activeChart.endDate"> <div fxFlexFill *ngIf="recurringDepositProduct.activeChart.endDate">
<span fxFlex="40%">End Date:</span> <span fxFlex="40%">End Date:</span>
<span fxFlex="60%">{{ recurringDepositProduct.activeChart.endDate | date }}</span> <span fxFlex="60%">{{ recurringDepositProduct.activeChart.endDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill *ngIf="recurringDepositProduct.activeChart.description"> <div fxFlexFill *ngIf="recurringDepositProduct.activeChart.description">
@@ -25,12 +25,12 @@
<ng-container matColumnDef="dividendPeriodStartDate"> <ng-container matColumnDef="dividendPeriodStartDate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Dividend Period Start Date </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Dividend Period Start Date </th>
<td mat-cell *matCellDef="let dividend">{{ dividend.dividendPeriodStartDate | date }}</td> <td mat-cell *matCellDef="let dividend">{{ dividend.dividendPeriodStartDate | dateFormat }}</td>
</ng-container> </ng-container>
<ng-container matColumnDef="dividendPeriodEndDate"> <ng-container matColumnDef="dividendPeriodEndDate">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Dividend Period End Date </th> <th mat-header-cell *matHeaderCellDef mat-sort-header> Dividend Period End Date </th>
<td mat-cell *matCellDef="let dividend">{{ dividend.dividendPeriodEndDate | date }}</td> <td mat-cell *matCellDef="let dividend">{{ dividend.dividendPeriodEndDate | dateFormat }}</td>
</ng-container> </ng-container>
<ng-container matColumnDef="amount"> <ng-container matColumnDef="amount">
@@ -14,7 +14,7 @@
<ng-container matColumnDef="fromDate"> <ng-container matColumnDef="fromDate">
<th mat-header-cell *matHeaderCellDef> From Date </th> <th mat-header-cell *matHeaderCellDef> From Date </th>
<td mat-cell *matCellDef="let marketPricePeriod"> <td mat-cell *matCellDef="let marketPricePeriod">
{{ marketPricePeriod.fromDate | date }} {{ marketPricePeriod.fromDate | dateFormat }}
</td> </td>
</ng-container> </ng-container>
@@ -96,7 +96,7 @@
<ng-container matColumnDef="fromDate"> <ng-container matColumnDef="fromDate">
<th mat-header-cell *matHeaderCellDef> From Date </th> <th mat-header-cell *matHeaderCellDef> From Date </th>
<td mat-cell *matCellDef="let marketPricePeriod"> <td mat-cell *matCellDef="let marketPricePeriod">
{{ marketPricePeriod.fromDate | date }} {{ marketPricePeriod.fromDate | dateFormat }}
</td> </td>
</ng-container> </ng-container>
@@ -113,7 +113,7 @@
<ng-container matColumnDef="fromDate"> <ng-container matColumnDef="fromDate">
<th mat-header-cell *matHeaderCellDef> From Date </th> <th mat-header-cell *matHeaderCellDef> From Date </th>
<td mat-cell *matCellDef="let marketPrice"> <td mat-cell *matCellDef="let marketPrice">
{{ marketPrice.fromDate | date }} {{ marketPrice.fromDate | dateFormat }}
</td> </td>
</ng-container> </ng-container>
@@ -53,10 +53,10 @@
<th mat-header-cell *matHeaderCellDef> Date </th> <th mat-header-cell *matHeaderCellDef> Date </th>
<td mat-cell *matCellDef="let charge"> <td mat-cell *matCellDef="let charge">
<span *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'">
{{(charge.dueDate | date) || 'Unassigned'}} {{(charge.dueDate | dateFormat) || 'Unassigned'}}
</span> </span>
<span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'">
{{(charge.feeOnMonthDay | date) || 'Unassigned'}} {{(charge.feeOnMonthDay | dateFormat) || 'Unassigned'}}
</span> </span>
<span <span
*ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee' *ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'
@@ -11,7 +11,7 @@
<div fxFlexFill> <div fxFlexFill>
<span fxFlex="40%">Submitted On</span> <span fxFlex="40%">Submitted On</span>
<span fxFlex="60%">{{ savingsAccount.submittedOnDate | date }}</span> <span fxFlex="60%">{{ savingsAccount.submittedOnDate | dateFormat }}</span>
</div> </div>
<div fxFlexFill> <div fxFlexFill>
@@ -146,10 +146,10 @@
<th mat-header-cell *matHeaderCellDef> Date </th> <th mat-header-cell *matHeaderCellDef> Date </th>
<td mat-cell *matCellDef="let charge"> <td mat-cell *matCellDef="let charge">
<span *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Specified due date' || charge.chargeTimeType.value === 'Weekly Fee'">
{{(charge.dueDate | date) || 'Unassigned'}} {{(charge.dueDate | dateFormat) || 'Unassigned'}}
</span> </span>
<span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'"> <span *ngIf="charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'">
{{(charge.feeOnMonthDay | date) || 'Unassigned'}} {{(charge.feeOnMonthDay | dateFormat) || 'Unassigned'}}
</span> </span>
<span <span
*ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee' *ngIf="!(charge.chargeTimeType.value === 'Monthly Fee' || charge.chargeTimeType.value === 'Annual Fee'
@@ -31,7 +31,7 @@
<ng-container matColumnDef="dueAsOf"> <ng-container matColumnDef="dueAsOf">
<th mat-header-cell *matHeaderCellDef> Due As Of </th> <th mat-header-cell *matHeaderCellDef> Due As Of </th>
<td mat-cell *matCellDef="let charge"> {{ charge.dueDate | date }} </td> <td mat-cell *matCellDef="let charge"> {{ charge.dueDate | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="repeatsOn"> <ng-container matColumnDef="repeatsOn">
@@ -118,7 +118,7 @@
</tr> </tr>
<tr *ngIf="savingsAccountData.lastActiveTransactionDate"> <tr *ngIf="savingsAccountData.lastActiveTransactionDate">
<td>Last Active Transaction Date</td> <td>Last Active Transaction Date</td>
<td>{{savingsAccountData.lastActiveTransactionDate | date}}</td> <td>{{savingsAccountData.lastActiveTransactionDate | dateFormat}}</td>
</tr> </tr>
<tr *ngIf="!(savingsAccountData.subStatus.id === 0)"> <tr *ngIf="!(savingsAccountData.subStatus.id === 0)">
<td>Substatus</td> <td>Substatus</td>
@@ -162,7 +162,7 @@
</tr> </tr>
<tr *ngIf="savingsAccountData.summary.lastInterestCalculationDate"> <tr *ngIf="savingsAccountData.summary.lastInterestCalculationDate">
<td>Interest Recalculation Date</td> <td>Interest Recalculation Date</td>
<td>{{savingsAccountData.summary.lastInterestCalculationDate | date}}</td> <td>{{savingsAccountData.summary.lastInterestCalculationDate | dateFormat}}</td>
</tr> </tr>
<tr *ngIf="savingsAccountData.onHoldFunds"> <tr *ngIf="savingsAccountData.onHoldFunds">
<td>On Hold Funds</td> <td>On Hold Funds</td>
@@ -183,7 +183,7 @@
<tbody> <tbody>
<tr> <tr>
<td>Activated On</td> <td>Activated On</td>
<td>{{savingsAccountData.timeline.activatedOnDate ? (savingsAccountData.timeline.activatedOnDate | date) : 'Not Activated'}}</td> <td>{{savingsAccountData.timeline.activatedOnDate ? (savingsAccountData.timeline.activatedOnDate | dateFormat) : 'Not Activated'}}</td>
</tr> </tr>
<tr> <tr>
<td>Currency</td> <td>Currency</td>
@@ -206,7 +206,7 @@
<tbody> <tbody>
<tr> <tr>
<td>Activated On</td> <td>Activated On</td>
<td>{{savingsAccountData.timeline.activatedOnDate ? (savingsAccountData.timeline.activatedOnDate | date) : 'Not Activated'}}</td> <td>{{savingsAccountData.timeline.activatedOnDate ? (savingsAccountData.timeline.activatedOnDate | dateFormat) : 'Not Activated'}}</td>
</tr> </tr>
<tr> <tr>
<td>Field Officer</td> <td>Field Officer</td>
@@ -35,7 +35,7 @@
<ng-container matColumnDef="validity"> <ng-container matColumnDef="validity">
<th mat-header-cell *matHeaderCellDef> Validity </th> <th mat-header-cell *matHeaderCellDef> Validity </th>
<td mat-cell *matCellDef="let instruction">{{instruction.validFrom | date}} to {{instruction.validTill | date}}</td> <td mat-cell *matCellDef="let instruction">{{instruction.validFrom | dateFormat}} to {{instruction.validTill | dateFormat}}</td>
</ng-container> </ng-container>
<ng-container matColumnDef="actions"> <ng-container matColumnDef="actions">
@@ -21,7 +21,7 @@
<ng-container matColumnDef="transactionDate"> <ng-container matColumnDef="transactionDate">
<th mat-header-cell *matHeaderCellDef> Transaction Date </th> <th mat-header-cell *matHeaderCellDef> Transaction Date </th>
<td mat-cell *matCellDef="let transaction"> {{ transaction.date | date }} </td> <td mat-cell *matCellDef="let transaction"> {{ transaction.date | dateFormat }} </td>
</ng-container> </ng-container>
<ng-container matColumnDef="transactionType"> <ng-container matColumnDef="transactionType">
@@ -44,7 +44,7 @@
</div> </div>
<div fxFlex="50%"> <div fxFlex="50%">
{{ transactionData.date | date }} {{ transactionData.date | dateFormat }}
</div> </div>
<div fxFlex="50%" class="mat-body-strong"> <div fxFlex="50%" class="mat-body-strong">

Some files were not shown because too many files have changed in this diff Show More