advance filter hide

This commit is contained in:
sriram-at-840620226347 2020-07-24 17:22:08 +05:30
parent 3527509236
commit 9c7df9e76f
6 changed files with 51 additions and 88 deletions

View File

@ -1,5 +1,5 @@
<mat-card-content>
<mat-expansion-panel [(expanded)]="xpandStatus">
<!-- <mat-expansion-panel [(expanded)]="xpandStatus">
<mat-expansion-panel-header>
<mat-panel-title class="text-xs-left">
<mat-toolbar-row>
@ -41,12 +41,7 @@
<mat-select multiple formControlName="pd_city" placeholder="City">
<mat-option *ngFor="let city of CITY" [value]="city.city_id">{{city.name}}</mat-option>
</mat-select>
</mat-form-field> &nbsp; &nbsp;
<!-- <mat-form-field style="width:30%">
<mat-select multiple formControlName="pd_lender" placeholder="Lender Name">
<mat-option *ngFor="let ent of ENTITY" [value]="ent.entity_id">{{ent.full_name}}</mat-option>
</mat-select>
</mat-form-field> -->
</mat-form-field> &nbsp; &nbsp;
<mat-form-field style="width:30%">
<input matInput type="text" formControlName="pd_name" placeholder="Applicant Name">
</mat-form-field> &nbsp; &nbsp;
@ -69,7 +64,7 @@
</div>
</mat-list>
</mat-expansion-panel>
</mat-expansion-panel> -->
<p class="note" *ngIf="!recordStatus && limitMsg">Showing data for last {{common}}. To see older records, please use advanced filter</p>
<br/>

View File

@ -1,9 +1,8 @@
<mat-card-content>
<mat-expansion-panel [(expanded)]="xpandStatus">
<!-- <mat-expansion-panel [(expanded)]="xpandStatus">
<mat-expansion-panel-header>
<mat-panel-title class="text-xs-left">
<!-- <h6 class="mt-0"><mat-icon>filter_list</mat-icon> Filter</h6> -->
<mat-toolbar-row>
<mat-icon>filter_list</mat-icon>
<span class="toolbar-space"></span>
@ -19,11 +18,7 @@
<mat-option *ngFor="let type of PDType" [value]="type.pd_type_id">{{type.type_name}}</mat-option>
</mat-select>
</mat-form-field> &nbsp; &nbsp;
<!-- <mat-form-field style="width:30%">
<mat-select multiple formControlName="pd_status" placeholder="PD Status">
<mat-option *ngFor="let status of pdStatus" [value]="status.pd_status_name">{{status.pd_status_name}}</mat-option>
</mat-select>
</mat-form-field> -->
<mat-form-field style="width:30%">
<input matInput [max]="todaydate" [matDatepicker]="picker" (blur)="checkDate($event)" formControlName="pd_from_date" placeholder="Choose a From date">
<mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>
@ -43,12 +38,7 @@
<mat-select multiple formControlName="pd_city" placeholder="City">
<mat-option *ngFor="let city of CITY" [value]="city.city_id">{{city.name}}</mat-option>
</mat-select>
</mat-form-field> &nbsp; &nbsp;
<!-- <mat-form-field style="width:30%">
<mat-select multiple formControlName="pd_lender" placeholder="Lender Name">
<mat-option *ngFor="let ent of ENTITY" [value]="ent.entity_id">{{ent.full_name}}</mat-option>
</mat-select>
</mat-form-field> -->
</mat-form-field> &nbsp; &nbsp;
<mat-form-field style="width:30%">
<input matInput type="text" formControlName="pd_name" placeholder="Applicant Name">
</mat-form-field> &nbsp; &nbsp;
@ -69,7 +59,7 @@
</div>
</mat-list>
</mat-expansion-panel>
</mat-expansion-panel> -->
<p class="note" *ngIf="!recordStatus && limitMsg">Showing data for last {{common}}. To see older records, please use advanced filter</p>
<br/>
<mat-table [dataSource]="dataSourceTab4" matSort *ngIf="completedPdListData.length > 0" >

View File

@ -1,8 +1,7 @@
<mat-card-content>
<mat-expansion-panel [(expanded)]="xpandStatus">
<!-- <mat-expansion-panel [(expanded)]="xpandStatus">
<mat-expansion-panel-header >
<mat-panel-title class="text-xs-left">
<!-- <h6 class="mt-0"><mat-icon>filter_list</mat-icon> Filter</h6> -->
<mat-toolbar-row>
<mat-icon>filter_list</mat-icon>
<span class="toolbar-space"></span>
@ -17,12 +16,7 @@
<mat-select multiple formControlName="pd_type" placeholder="PD Type">
<mat-option *ngFor="let type of PDType" [value]="type.pd_type_id">{{type.type_name}}</mat-option>
</mat-select>
</mat-form-field> &nbsp; &nbsp;
<!-- <mat-form-field style="width:30%">
<mat-select multiple formControlName="vendor_status" placeholder="PD Status">
<mat-option *ngFor="let status of pdStatus" [value]="status.pd_status_name">{{status.pd_status_name}}</mat-option>
</mat-select>
</mat-form-field> -->
</mat-form-field> &nbsp; &nbsp;
<mat-form-field style="width:30%">
<input matInput [matDatepicker]="picker" [max]="todaydate" (blur)="checkDate($event)" formControlName="pd_from_date" placeholder="Choose a From date">
<mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>
@ -42,12 +36,7 @@
<mat-select multiple formControlName="pd_city" placeholder="City">
<mat-option *ngFor="let city of CITY" [value]="city.city_id">{{city.name}}</mat-option>
</mat-select>
</mat-form-field> &nbsp; &nbsp;
<!-- <mat-form-field style="width:30%">
<mat-select multiple formControlName="pd_lender" placeholder="Lender Name">
<mat-option *ngFor="let ent of ENTITY" [value]="ent.entity_id">{{ent.full_name}}</mat-option>
</mat-select>
</mat-form-field> -->
</mat-form-field> &nbsp; &nbsp;
<mat-form-field style="width:30%">
<input matInput type="text" formControlName="pd_name" placeholder="Applicant Name">
</mat-form-field> &nbsp; &nbsp;
@ -68,7 +57,7 @@
</div>
</mat-list>
</mat-expansion-panel>
</mat-expansion-panel> -->
<p class="note" *ngIf="!recordStatus && limitMsg">Showing data for last {{common}}. To see older records, please use advanced filter</p>
<br/>
<mat-table [dataSource]="dataSourceTab2" matSort *ngIf="progressPdListData.length > 0" >

View File

@ -1,8 +1,7 @@
<mat-card-content>
<mat-expansion-panel [(expanded)]="xpandStatus">
<!-- <mat-expansion-panel [(expanded)]="xpandStatus">
<mat-expansion-panel-header>
<mat-panel-title class="text-xs-left">
<!-- <h6 class="mt-0"><mat-icon>filter_list</mat-icon> Filter</h6> -->
<mat-toolbar-row>
<mat-icon>filter_list</mat-icon>
<span class="toolbar-space"></span>
@ -17,12 +16,7 @@
<mat-select multiple formControlName="pd_type" placeholder="PD Type">
<mat-option *ngFor="let type of PDType" [value]="type.pd_type_id">{{type.type_name}}</mat-option>
</mat-select>
</mat-form-field> &nbsp; &nbsp;
<!-- <mat-form-field style="width:40%">
<mat-select formControlName="vendor_status" placeholder="PD Status">
<mat-option *ngFor="let status of pdStatus" [value]="status.pd_status_name" [disabled]="'true'">{{status.pd_status_name}}</mat-option>
</mat-select>
</mat-form-field> -->
</mat-form-field> &nbsp; &nbsp;
<mat-form-field style="width:30%">
<input matInput [matDatepicker]="picker" [max]="todaydate" (blur)="checkDate($event)" formControlName="pd_from_date" placeholder="Choose a From date">
<mat-datepicker-toggle matSuffix [for]="picker"></mat-datepicker-toggle>
@ -42,12 +36,7 @@
<mat-select multiple formControlName="pd_city" placeholder="City">
<mat-option *ngFor="let city of CITY" [value]="city.city_id">{{city.name}}</mat-option>
</mat-select>
</mat-form-field> &nbsp; &nbsp;
<!-- <mat-form-field style="width:30%">
<mat-select multiple formControlName="pd_lender" placeholder="Lender Name">
<mat-option *ngFor="let ent of ENTITY" [value]="ent.entity_id">{{ent.full_name}}</mat-option>
</mat-select>
</mat-form-field> -->
</mat-form-field> &nbsp; &nbsp;
<mat-form-field style="width:30%">
<input matInput type="text" formControlName="pd_name" placeholder="Applicant Name">
</mat-form-field> &nbsp; &nbsp;
@ -68,7 +57,7 @@
</div>
</mat-list>
</mat-expansion-panel>
</mat-expansion-panel> -->
<p class="note" *ngIf="!recordStatus && limitMsg">Showing data for last {{common}}. To see older records, please use advanced filter</p>
<br/>
<mat-table [dataSource]="dataSourceTab3" matSort *ngIf="scheduledPdListData.length > 0" >

View File

@ -28,16 +28,16 @@ const HORIZONTALMENUITEMS = [
// type: 'link',
// icon: 'home'
// },
{
state:'personal_discussion',
name:'Personal Discussion',
type:'link',
icon:'forum',
// {
// state:'personal_discussion',
// name:'Personal Discussion',
// type:'link',
// icon:'forum',
// children:[
// {state:'pdtriggerlist',name:'Pd Trigger Listing'}
// ]
},
// // children:[
// // {state:'pdtriggerlist',name:'Pd Trigger Listing'}
// // ]
// },
// {
// state:'setting/users',
// name:'Users',
@ -69,16 +69,16 @@ const salesmenu = [
// type: 'link',
// icon: 'home'
// },
{
state:'personal_discussion',
name:'Personal Discussion',
type:'link',
icon:'forum',
// {
// state:'personal_discussion',
// name:'Personal Discussion',
// type:'link',
// icon:'forum',
// children:[
// {state:'pdtriggerlist',name:'Pd Trigger Listing'}
// ]
},
// // children:[
// // {state:'pdtriggerlist',name:'Pd Trigger Listing'}
// // ]
// },
// {
// state:'setting/users',
// name:'Users',

View File

@ -70,15 +70,15 @@ const MENUITEMS : Menu[] = [
// }
// ]
// },
{
state:'personal_discussion',
name:'Personal Discussion',
type:'link',
icon:'forum',
// children:[
// {state:'pdtriggerlist',name:'Pd Trigger Listing'}
// ]
},
// {
// state:'personal_discussion',
// name:'Personal Discussion',
// type:'link',
// icon:'forum',
// // children:[
// // {state:'pdtriggerlist',name:'Pd Trigger Listing'}
// // ]
// },
// {
// state:'setting/users',
// name:'Users',
@ -150,16 +150,16 @@ const salesMenus: Menu[]= [
// // {state:'pdtriggerlist',name:'Pd Trigger Listing'}
// // ]
// },
{
state:'personal_discussion',
name:'Personal Discussion',
type:'link',
icon:'forum',
// {
// state:'personal_discussion',
// name:'Personal Discussion',
// type:'link',
// icon:'forum',
// children:[
// {state:'pdtriggerlist',name:'Pd Trigger Listing'}
// ]
},
// // children:[
// // {state:'pdtriggerlist',name:'Pd Trigger Listing'}
// // ]
// },
// {
// state:'setting/users',
// name:'Users',