diff --git a/ng6-seed/src/app/sales-pd/advance-filter/advance-filter.component.html b/ng6-seed/src/app/sales-pd/advance-filter/advance-filter.component.html index a99892c..1c028aa 100644 --- a/ng6-seed/src/app/sales-pd/advance-filter/advance-filter.component.html +++ b/ng6-seed/src/app/sales-pd/advance-filter/advance-filter.component.html @@ -20,17 +20,17 @@ - + - - + + - + - - + + diff --git a/ng6-seed/src/app/sales-pd/advance-filter/advance-filter.component.ts b/ng6-seed/src/app/sales-pd/advance-filter/advance-filter.component.ts index afbca2a..2942445 100644 --- a/ng6-seed/src/app/sales-pd/advance-filter/advance-filter.component.ts +++ b/ng6-seed/src/app/sales-pd/advance-filter/advance-filter.component.ts @@ -27,10 +27,11 @@ export class AdvanceFilterComponent implements OnInit { this.getDropdown(); } - ngOnInit() { + ngOnInit() { let entity_id=localStorage.getItem('LocalSetEntity'); this.searchForm=this._fb.group({ pd_status:[''], + pd_typefilter:[''], pd_from_date:[''], pd_to_date:[''], pd_products:[''], @@ -99,7 +100,9 @@ export class AdvanceFilterComponent implements OnInit { searchItem(){ 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.stringifythis.searchForm.value); + // console.log(this.searchForm.value); + //console.log('testing'); + this.xpandStatus=true; this.salesPDService.advancedFilter(this.searchForm.value).subscribe(res=>{ if(res.dataStatus){