diff --git a/src/pages/sales_pd/pages/sales-p-dlist/sales-p-dlist.ts b/src/pages/sales_pd/pages/sales-p-dlist/sales-p-dlist.ts index b79c905..3d9c41d 100755 --- a/src/pages/sales_pd/pages/sales-p-dlist/sales-p-dlist.ts +++ b/src/pages/sales_pd/pages/sales-p-dlist/sales-p-dlist.ts @@ -69,6 +69,9 @@ export class SalesPDlistPage { this.localPDs = result_val this.sales_displayValue.unshift(...this.localPDs); } + this.loader_access=false + },err=>{ + this.loader_access=false }) } getListofPD(){ @@ -92,7 +95,7 @@ export class SalesPDlistPage { } }) } - this.loader_access=false + if(this.sales_displayValue.length > 0){ this.filterMsg = true let products=[] diff --git a/src/pages/sales_pd/pages/section-list/section-list.html b/src/pages/sales_pd/pages/section-list/section-list.html index e213184..423510a 100755 --- a/src/pages/sales_pd/pages/section-list/section-list.html +++ b/src/pages/sales_pd/pages/section-list/section-list.html @@ -29,12 +29,12 @@

-PD is Completed. Please click the sync button above to send the data to server. When internet is available

+ PD is completed. Please click the sync button above to send the data to server when internet is available.

-
+ 0) { - this.is_sync_btn = this.section_template.filter(val=>val.is_synced == false).length > 0 + this.is_sync_btn = this.section_template.filter(val=>val.is_synced == false && val.section_id != 'all').length > 0 } } getTemplate(){