Include Archived added in filter
This commit is contained in:
parent
590b3f796f
commit
8737b76866
@ -56,6 +56,11 @@
|
||||
<mat-form-field style="width: 30%">
|
||||
<input matInput type="text" formControlName="pd_officer" placeholder="PD Officer Name" >
|
||||
</mat-form-field>
|
||||
<div fxLayout="row wrap">
|
||||
<div fxFlex.xs="100%" fxFlex.sm="100%" fxFlex="45%">
|
||||
<mat-checkbox class="example-margin" color="primary" formControlName="is_include_archived">Include Archived</mat-checkbox>
|
||||
</div>
|
||||
</div>
|
||||
<div align="right">
|
||||
|
||||
<button type="button" mat-raised-button mat-icon-button (click)="onReset()"
|
||||
|
||||
@ -60,7 +60,8 @@ export class AllPdComponent implements OnInit, OnChanges {
|
||||
pd_lender:[null],
|
||||
pd_name:[null],
|
||||
pd_applicant_id:[null],
|
||||
pd_officer:[null]
|
||||
pd_officer:[null],
|
||||
is_include_archived: [false]
|
||||
});
|
||||
this.getcommonDropDown();
|
||||
}
|
||||
@ -188,7 +189,7 @@ export class AllPdComponent implements OnInit, OnChanges {
|
||||
{
|
||||
this.searchForm.value.pd_status = [];
|
||||
}
|
||||
|
||||
this.searchForm.get('is_include_archived').setValue(this.searchForm.value.is_include_archived == true ? 1 : 0)
|
||||
this.searchForm.value.pd_from_date = this.pipe.transform(this.searchForm.value.pd_from_date,'yyyy-MM-dd');
|
||||
this.searchForm.value.pd_to_date = this.pipe.transform(this.searchForm.value.pd_to_date,'yyyy-MM-dd');
|
||||
// console.log(JSON.stringify(this.searchForm.value));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user