Date Picker Enhancement (#1435)

This commit is contained in:
Ramveer
2022-06-13 16:10:08 +05:30
committed by GitHub
parent be3c53dca1
commit e41f12c6aa
143 changed files with 206 additions and 206 deletions
@@ -37,7 +37,7 @@
<input matInput formControlName="chargeTime" />
</mat-form-field>
<mat-form-field *ngIf="loanChargeForm.controls['dueDate']">
<mat-form-field *ngIf="loanChargeForm.controls['dueDate']" (click)="dueDatePicker.open()">
<mat-label>Due On</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="dueDatePicker" required
formControlName="dueDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="approvedDatePicker.open()">
<mat-label>Approved On</mat-label>
<input matInput [min]="minDate" [matDatepicker]="approvedDatePicker" required
formControlName="approvedOnDate">
@@ -19,7 +19,7 @@
</mat-error>
</mat-form-field>
<mat-form-field>
<mat-form-field (click)="disbursementDatePicker.open()">
<mat-label>Expected disbursement on</mat-label>
<input matInput [min]="minDate" [matDatepicker]="disbursementDatePicker"
formControlName="expectedDisbursementDate">
@@ -20,7 +20,7 @@
</mat-error>
</mat-form-field>
<mat-form-field>
<mat-form-field (click)="assignOnDatePicker.open()">
<mat-label>Assignment Date</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="assignOnDatePicker" required
formControlName="assignmentDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="closedDatePicker.open()">
<mat-label>Closed On</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="closedDatePicker" required
formControlName="transactionDate">
@@ -85,7 +85,7 @@
</mat-error>
</mat-form-field>
<mat-form-field>
<mat-form-field (click)="dobDatePicker.open()">
<mat-label>Date Of Birth</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="dobDatePicker" formControlName="dob">
<mat-datepicker-toggle matSuffix [for]="dobDatePicker"></mat-datepicker-toggle>
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="disbursementDatePicker.open()">
<mat-label>Disbursement On</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="disbursementDatePicker" required
formControlName="actualDisbursementDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="actualDisbursementDatePicker.open()">
<mat-label>Disbursed On</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="actualDisbursementDatePicker" required
formControlName="actualDisbursementDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="transactionsDatePicker.open()">
<mat-label>Transaction Date</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="transactionsDatePicker" required
formControlName="transactionDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="rescheduleDatePicker.open()">
<mat-label>Reschedule from Installment On</mat-label>
<input matInput [min]="minDate" [matDatepicker]="rescheduleDatePicker" required
formControlName="rescheduleFromDate">
@@ -31,7 +31,7 @@
</mat-error>
</mat-form-field>
<mat-form-field>
<mat-form-field (click)="submittedDatePicker.open()">
<mat-label>Submitted On</mat-label>
<input matInput [min]="minDate" [matDatepicker]="submittedDatePicker" required
formControlName="submittedOnDate">
@@ -49,7 +49,7 @@
<mat-checkbox [formControl]="changeRepaymentDate"> Change Repayment Date </mat-checkbox>
<ng-container *ngIf="changeRepaymentDate.value">
<ng-container *ngIf="changeRepaymentDate.value" (click)="installmentrescheduledDatePicker.open()">
<mat-form-field>
<mat-label>Installment Rescheduled to</mat-label>
<input matInput [min]="minDate" [matDatepicker]="installmentrescheduledDatePicker"
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="closedDatePicker.open()">
<mat-label>Closed On</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="closedDatePicker" required
formControlName="transactionDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="transactionDatePicker.open()">
<mat-label>Transaction Date</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="transactionDatePicker" required
formControlName="transactionDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="transactionDatePicker.open()">
<mat-label>Transaction Date</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="transactionDatePicker" required
formControlName="transactionDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="transactionDatePicker.open()">
<mat-label>Transaction Date</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="transactionDatePicker" required
formControlName="transactionDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="rejectedDatePicker.open()">
<mat-label>Rejected On</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="rejectedDatePicker" required
formControlName="rejectedOnDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="interestDatePicker.open()">
<mat-label>Interest waived on</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="interestDatePicker" required
formControlName="transactionDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="withdrawnOnDatePicker.open()">
<mat-label>Withdrawn On</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="withdrawnOnDatePicker" required
formControlName="withdrawnOnDate">
@@ -8,7 +8,7 @@
<div fxLayout="column">
<mat-form-field>
<mat-form-field (click)="writeOffDatePicker.open()">
<mat-label>Write off on</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="writeOffDatePicker" required
formControlName="transactionDate">
@@ -6,7 +6,7 @@
<mat-card-content fxLayout="column">
<mat-form-field>
<mat-form-field (click)="dueDatePicker.open()">
<mat-label>Transaction Date</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="dueDatePicker"
formControlName="transactionDate" required>
@@ -2,7 +2,7 @@
<div fxLayout="row" fxLayoutGap="3%" fxLayoutAlign="center">
<mat-form-field fxFlex="30%">
<mat-form-field fxFlex="30%" (click)="fromDatePicker.open()">
<mat-label>From Date</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="fromDatePicker" required formControlName="fromDate">
<mat-datepicker-toggle matSuffix [for]="fromDatePicker"></mat-datepicker-toggle>
@@ -12,7 +12,7 @@
</mat-error>
</mat-form-field>
<mat-form-field fxFlex="30%">
<mat-form-field fxFlex="30%" (click)="toDatePicker.open()">
<mat-label>To Date</mat-label>
<input matInput [min]="minDate" [max]="maxDate" [matDatepicker]="toDatePicker" required formControlName="toDate">
<mat-datepicker-toggle matSuffix [for]="toDatePicker"></mat-datepicker-toggle>