From 5bb486805f6309fda670031597de85fa20eceac5 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Mon, 8 Jul 2019 13:31:57 +0530 Subject: [PATCH] issues fixes : ps --- .../edit-pd-master.component.ts | 6 ++-- .../initiate-additional-pd.component.ts | 2 +- .../list-pd/pd-report/pd-report.component.ts | 16 +++++----- .../smart-pd-allocation.component.ts | 7 ++--- .../forms/address/address.component.ts | 16 +++++----- .../manage-busines-expense.component.ts | 5 ++-- .../manage-daily-purchase.component.ts | 4 +-- .../manage-daily-sales.component.ts | 4 +-- .../manage-house-hold.component.ts | 4 +-- .../manage-other-business-income.component.ts | 4 +-- .../manage-purchase.component.ts | 4 +-- .../manage-sales/manage-sales.component.ts | 4 +-- .../business-expense-details.component.ts | 4 +-- .../confirm-ai-details.component.ts | 13 ++++---- .../daily-purchase-details.component.ts | 4 +-- .../daily-sales-details.component.ts | 4 +-- .../gross-profit-calculation.component.ts | 4 +-- .../house-hold-details.component.ts | 2 +- ...other-business-income-details.component.ts | 2 +- .../purchase-details.component.ts | 2 +- .../sales-calculation.component.ts | 2 +- .../sales-details/sales-details.component.ts | 2 +- .../assets-info/assets-info.component.ts | 5 ++-- .../banking-details.component.ts | 6 ++-- .../business-assets-info.component.ts | 6 ++-- .../business-banking-details.component.ts | 5 ++-- .../business-info/business-info.component.ts | 3 +- .../client-info/client-info.component.ts | 5 ++-- .../current-loan/current-loan.component.ts | 5 ++-- .../image-crop/image-crop.component.ts | 6 ++-- .../employment-info.component.ts | 4 +-- .../family-details.component.ts | 4 +-- .../final-remarks.component.html | 4 +-- .../final-remarks/final-remarks.component.ts | 10 +++---- .../financial-info.component.ts | 4 +-- ...lans-and-business-environment.component.ts | 4 +-- .../general-info/general-info.component.ts | 6 ++-- .../lender-representative.component.ts | 4 +-- .../loan-details/loan-details.component.ts | 4 +-- .../neighbour-hood.component.ts | 4 +-- .../other-income/other-income.component.ts | 4 +-- .../personal-info/personal-info.component.ts | 8 ++--- .../manage-rental-verification.component.ts | 6 ++-- .../start-pd/forms/stock/stock.component.ts | 6 ++-- .../supplier-info/supplier-info.component.ts | 8 ++--- .../tele-pd-allocation.component.ts | 6 ++-- .../list-pd/view-pd/view-pd.component.ts | 8 ++--- .../model-edit-pd-report.component.ts | 8 ++--- .../qc-pd-report/qc-pd-report.component.ts | 30 +++++++++---------- .../qc-review/qc-review.component.ts | 12 ++++---- .../qc-list/qc-start/qc-start.component.ts | 4 +-- .../entity/entity-add/entity.add.component.ts | 6 ++-- .../entity-branch-add.component.ts | 12 ++++---- .../entity-edit-billing-info.component.ts | 4 +-- .../entity-edit-region.component.ts | 6 ++-- .../entity-edit-tat.component.ts | 12 ++++---- .../entity-edit-vendor-city-info.component.ts | 8 ++--- .../entity-edit/entity.edit.component.ts | 8 ++--- .../branch-dialog/branch-dialog.component.ts | 12 ++++---- .../branch-list/branch-list.component.ts | 4 ++- .../city/city-dialog/city-dialog.component.ts | 8 ++--- .../comments-on-locality-dialog.component.ts | 8 ++--- .../company-dialog.component.ts | 2 +- .../component/company/company.component.ts | 8 ++--- .../customer-behaviour-dialog.component.ts | 8 ++--- .../customer-segment-dialog.component.ts | 8 ++--- .../designation-dialog.component.ts | 8 ++--- .../designation-list.component.ts | 2 +- .../frequency-dialog.component.ts | 8 ++--- ...ndustry_classification-dialog.component.ts | 8 ++--- .../lender-hierarchy-dialog.component.ts | 8 ++--- .../lender-hierarchy-list.component.ts | 2 +- .../members-occupation-dialog.component.ts | 8 ++--- .../pd-allocation-type-list.component.ts | 4 +-- .../pd-location-approach-dialog.component.ts | 8 ++--- .../pd-notification-list.component.ts | 2 +- .../pd-type-dialog.component.ts | 8 ++--- .../product-dialog.component.ts | 8 ++--- .../question-category-dialog.component.ts | 8 ++--- .../regions-dialog.component.ts | 8 ++--- .../relation-ship-dialog.component.ts | 8 ++--- .../states-dialog/states-dialog.component.ts | 8 ++--- .../sub-product-dialog.component.ts | 8 ++--- .../title-dialog/title-dialog.component.ts | 8 ++--- .../activity-dialog.component.ts | 8 ++--- .../uom/uom-dialog/uom-dialog.component.ts | 8 ++--- .../pd-team-edit/pd-team-edit.component.ts | 2 +- ng6-seed/src/app/shared/messaging.service.ts | 2 +- .../template/questions/add/add.component.ts | 6 ++-- .../template/questions/edit/edit.component.ts | 6 ++-- .../edit-category/edit-category.component.ts | 9 +++--- .../edit/edit-lender/edit-lender.component.ts | 6 ++-- .../category-question-answer.component.ts | 8 ++--- .../report-template.component.ts | 4 +-- .../template-forms.component.ts | 6 ++-- .../edit/templates.edit.component.ts | 6 ++-- 96 files changed, 308 insertions(+), 303 deletions(-) diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/edit-pd-master/edit-pd-master.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/edit-pd-master/edit-pd-master.component.ts index 2034be09d..81651e2d7 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/edit-pd-master/edit-pd-master.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/edit-pd-master/edit-pd-master.component.ts @@ -95,7 +95,7 @@ export class EditPdMasterComponent implements OnInit { } //, error => this.errorMessage = error); , error => { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } @@ -586,7 +586,7 @@ export class EditPdMasterComponent implements OnInit { this.notifier.notify('warning', 'Something Went Wrong in Address Try Again.!'); }//else }, error => { - // this.notifier.notify('warning', 'Something Wents Wrong in Address Try Again.!'); + // this.notifier.notify('warning', 'Something Went Wrong in Address Try Again.!'); this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } @@ -595,7 +595,7 @@ export class EditPdMasterComponent implements OnInit { this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); }//else }, error => { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + // this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); this.disableAfterSubmit = false; this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); });//error closed diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/initiate-additional-pd/initiate-additional-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/initiate-additional-pd/initiate-additional-pd.component.ts index c714da27d..1814e595c 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/initiate-additional-pd/initiate-additional-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/initiate-additional-pd/initiate-additional-pd.component.ts @@ -94,7 +94,7 @@ submitDetails(values: any) { this.dialogRef.close({update_status:true}); },3000); }, error => { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + // this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); // alert(error); }); diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-report/pd-report.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-report/pd-report.component.ts index f0794bd18..b4ac804b2 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-report/pd-report.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-report/pd-report.component.ts @@ -222,12 +222,13 @@ export class PdReportComponent implements OnInit { if (data.status == 200) { this.notifier.notify('success', 'Your Changes Updated.!'); this.getPdReportVersionList(); - } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }else { + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, err => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - }) + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + // alert(err.html_format); + }); } else { } }); @@ -281,11 +282,12 @@ export class PdReportComponent implements OnInit { // console.log(file); importedSaveAs(file); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, err => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - }) + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + // alert(err.html_format); + }); } } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.ts index cf70503ee..cc61e61dc 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/smart-pd-allocation/smart-pd-allocation.component.ts @@ -73,11 +73,10 @@ export class SmartPdAllocationComponent implements OnInit { this.dialogRef.close(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Something Went Wrong Try Again.!"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } - }, error => { - this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); this.errorMessage = "Some Thing Went Wrong Try Again.!"; // this.dialogRef.close(); }); diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts index deca3b7e5..2cefc1726 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts @@ -457,11 +457,11 @@ export class AddressComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); this.disableAfterSubmit = false; - } - }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + } + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); this.disableAfterSubmit = false; }); @@ -549,11 +549,11 @@ export class AddressComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); this.disableAfterSubmit = false; - } - }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + } + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); this.disableAfterSubmit = false; }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-busines-expense/manage-busines-expense.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-busines-expense/manage-busines-expense.component.ts index 66e281b79..a25baf942 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-busines-expense/manage-busines-expense.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-busines-expense/manage-busines-expense.component.ts @@ -111,8 +111,9 @@ submitDetails(records) { setTimeout(() =>{ this.dialogRef.close({update_status:true}); },3000); - }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + } +, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-daily-purchase/manage-daily-purchase.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-daily-purchase/manage-daily-purchase.component.ts index ca02f6c3f..06ec5d157 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-daily-purchase/manage-daily-purchase.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-daily-purchase/manage-daily-purchase.component.ts @@ -239,8 +239,8 @@ submitDetails(records) { setTimeout(() =>{ this.dialogRef.close({update_status:true}); },3000); - }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-daily-sales/manage-daily-sales.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-daily-sales/manage-daily-sales.component.ts index 0c433b6a7..054cd24e6 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-daily-sales/manage-daily-sales.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-daily-sales/manage-daily-sales.component.ts @@ -360,8 +360,8 @@ submitDetails(records) { setTimeout(() =>{ this.dialogRef.close({update_status:true}); },3000); - }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-house-hold/manage-house-hold.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-house-hold/manage-house-hold.component.ts index 4552f1c32..72abbcf5b 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-house-hold/manage-house-hold.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-house-hold/manage-house-hold.component.ts @@ -106,8 +106,8 @@ submitDetails(records) { setTimeout(() =>{ this.dialogRef.close({update_status:true}); },3000); - }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-other-business-income/manage-other-business-income.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-other-business-income/manage-other-business-income.component.ts index c4399d79c..9a9911e01 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-other-business-income/manage-other-business-income.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-other-business-income/manage-other-business-income.component.ts @@ -109,8 +109,8 @@ submitDetails(records) { setTimeout(() =>{ this.dialogRef.close({update_status:true}); },3000); - }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-purchase/manage-purchase.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-purchase/manage-purchase.component.ts index 9c2818b02..a301e2035 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-purchase/manage-purchase.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-purchase/manage-purchase.component.ts @@ -183,8 +183,8 @@ submitDetails(records) { setTimeout(() =>{ this.dialogRef.close({update_status:true}); },3000); - }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-sales/manage-sales.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-sales/manage-sales.component.ts index bb06b8c90..4dc333517 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-sales/manage-sales.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/AI-diologue/manage-sales/manage-sales.component.ts @@ -253,8 +253,8 @@ submitDetails(records) { setTimeout(() =>{ this.dialogRef.close({update_status:true}); },3000); - }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/business-expense-details/business-expense-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/business-expense-details/business-expense-details.component.ts index 3109e8554..3b3eb39e0 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/business-expense-details/business-expense-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/business-expense-details/business-expense-details.component.ts @@ -76,8 +76,8 @@ removeExpenseItem(value: any) : void{ this._pd.saveAssessedDetails('saveAssessedIncomeBusinessExpenses',deleteRecords).subscribe(data => { this.notifier.notify('success','Removed Successfully'); this.loadAssessedForms.next('1'); -}, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/confirm-ai-details/confirm-ai-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/confirm-ai-details/confirm-ai-details.component.ts index 5fef9c4d4..fb151b462 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/confirm-ai-details/confirm-ai-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/confirm-ai-details/confirm-ai-details.component.ts @@ -34,11 +34,14 @@ export class ConfirmAiDetailsComponent implements OnInit { } else { this.dialogRef.close({update_status:false}); - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - } - }, error => { - this.dialogRef.close({update_status:false}); - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + + } + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + this.dialogRef.close({update_status:false}); + }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/daily-purchase-details/daily-purchase-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/daily-purchase-details/daily-purchase-details.component.ts index 0d8992182..41277587e 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/daily-purchase-details/daily-purchase-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/daily-purchase-details/daily-purchase-details.component.ts @@ -94,8 +94,8 @@ removePurchaseBillWise(value: any) : void{ this._pd.saveAssessedDetails('saveAssessedIncomePurchaseBillwise',deleteRecords).subscribe(data => { this.notifier.notify('success','Removed Successfully'); this.loadAssessedForms.next('1'); - }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/daily-sales-details/daily-sales-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/daily-sales-details/daily-sales-details.component.ts index 125a3b8ce..d653cfc30 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/daily-sales-details/daily-sales-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/daily-sales-details/daily-sales-details.component.ts @@ -101,8 +101,8 @@ removeSalesItem(value: any) : void{ this._pd.saveAssessedDetails('saveAssessedIncomeMonthwiseItems',deleteRecords).subscribe(data => { this.notifier.notify('success','Removed Successfully'); this.loadAssessedForms.next('1'); -}, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/gross-profit-calculation/gross-profit-calculation.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/gross-profit-calculation/gross-profit-calculation.component.ts index b6bdd2019..309721d3c 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/gross-profit-calculation/gross-profit-calculation.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/gross-profit-calculation/gross-profit-calculation.component.ts @@ -52,8 +52,8 @@ export class GrossProfitCalculationComponent implements OnInit, OnChanges { this._pd.saveAssessedDetails('saveAssessedIncomeCalculateMode',records).subscribe(data => { this.notifier.notify('success','Saved Successfully.'); this.loadAssessedForms.next('1'); - }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, err => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); this.loadAssessedForms.next('1'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/house-hold-details/house-hold-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/house-hold-details/house-hold-details.component.ts index eb3b41ac4..25a40f2ba 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/house-hold-details/house-hold-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/house-hold-details/house-hold-details.component.ts @@ -78,7 +78,7 @@ removeHouseItem(value: any) : void{ this.notifier.notify('success','Removed Successfully'); this.loadAssessedForms.next('1'); }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/other-business-income-details/other-business-income-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/other-business-income-details/other-business-income-details.component.ts index 09718a16a..64d021b6d 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/other-business-income-details/other-business-income-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/other-business-income-details/other-business-income-details.component.ts @@ -76,7 +76,7 @@ removeIncomeItem(value: any) : void{ this.notifier.notify('success','Removed Successfully'); this.loadAssessedForms.next('1'); }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/purchase-details/purchase-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/purchase-details/purchase-details.component.ts index 11d8a161e..7160cfcb2 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/purchase-details/purchase-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/purchase-details/purchase-details.component.ts @@ -77,7 +77,7 @@ removePurchaseItem(value: any) : void{ this.notifier.notify('success','Removed Successfully'); this.loadAssessedForms.next('1'); }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } // sum all annual Purchase values diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/sales-calculation/sales-calculation.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/sales-calculation/sales-calculation.component.ts index 1968fb440..96e94795b 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/sales-calculation/sales-calculation.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/sales-calculation/sales-calculation.component.ts @@ -43,7 +43,7 @@ submitDetails(records) { this.notifier.notify('success', 'Saved Successfully.'); this.loadAssessedForms.next('1'); }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); this.loadAssessedForms.next('1'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/sales-details/sales-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/sales-details/sales-details.component.ts index baca6acea..850bd31ed 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/sales-details/sales-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assessed-income/sales-details/sales-details.component.ts @@ -83,7 +83,7 @@ removeSalesItem(value: any) : void{ this.notifier.notify('success','Removed Successfully'); this.loadAssessedForms.next('1'); }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assets-info/assets-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assets-info/assets-info.component.ts index 0085546bd..7dbeafc9c 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assets-info/assets-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assets-info/assets-info.component.ts @@ -827,12 +827,11 @@ export class AssetsInfoComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); this.disableAfterSubmit = false; } }, error => { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); this.disableAfterSubmit = false; // this.dialogRef.close(); }); diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/banking-details/banking-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/banking-details/banking-details.component.ts index 3d0e2b080..08d512c52 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/banking-details/banking-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/banking-details/banking-details.component.ts @@ -301,11 +301,11 @@ export class BankingDetailsComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.ts index 2bad2a653..12b18dd8c 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.ts @@ -887,11 +887,11 @@ export class BusinessAssetsInfoComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-banking-details/business-banking-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-banking-details/business-banking-details.component.ts index 48f6fc581..e65436b61 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-banking-details/business-banking-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-banking-details/business-banking-details.component.ts @@ -296,11 +296,10 @@ export class BusinessBankingDetailsComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.ts index d7fe30ef7..afaa7c389 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.ts @@ -1644,8 +1644,7 @@ export class BusinessInfoComponent implements OnInit { this.dialogRef.close(); }, 3000); }, error => { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.ts index 7e0c13541..50cef6c04 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.ts @@ -672,12 +672,11 @@ export class ClientInfoComponent implements OnInit { // alert("sample alert for Saving"); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); // this.errorMessage = "Some Thing Wents Wrong Try Again !"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); - // this.errorMessage = "Something Wents Wrong Try Again !"; + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); // this.dialogRef.close(); }); //After Saving the BRANCH data then popup close diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.ts index d979ecdf2..07e358d36 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.ts @@ -549,11 +549,10 @@ this.retriveFile(); }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }) } validateAllFormFields(formGroup: FormGroup) { diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/dialogue/image-crop/image-crop.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/dialogue/image-crop/image-crop.component.ts index 7b52201c6..035fa93c9 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/dialogue/image-crop/image-crop.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/dialogue/image-crop/image-crop.component.ts @@ -125,12 +125,12 @@ export class ImageCropComponent implements OnInit, OnDestroy { this.dialogRef.close('1'); } else{ - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); - //alert("SomeThing Wents Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); + } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.ts index 83c0e147d..e8a6ad54f 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.ts @@ -498,10 +498,10 @@ export class EmploymentInfoComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }) } /** On Key Press Event For Numbers */ diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts index 5270b8ad1..f2826a4d3 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts @@ -671,10 +671,10 @@ export class FamilyDetailsComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.html index 806c21d8f..7128261ae 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.html @@ -146,8 +146,8 @@ - CLIX - + CLIX + Select diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.ts index 662f0ab2e..6d813396e 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.ts @@ -99,7 +99,7 @@ export class FinalRemarksComponent implements OnInit { }); if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){ - this._finalRemarkForm.addControl('outlet_location', new FormControl('', Validators.required)) ; + this.product_abbr == 'LAEP' ? this._finalRemarkForm.addControl('outlet_location', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('outlet_location'); this._finalRemarkForm.addControl('is_competition', new FormControl('')); this._finalRemarkForm.addControl('sealing_activity', new FormControl('')); this._finalRemarkForm.addControl('demolition_activity', new FormControl('')); @@ -228,7 +228,7 @@ export class FinalRemarksComponent implements OnInit { if(this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP'){ - this._finalRemarkForm.controls.outlet_location.setValue(data.records.outlet_location); + if(this.product_abbr == 'LAEP') {this._finalRemarkForm.controls.outlet_location.setValue(this.product_abbr == 'LAEP' ? data.records.outlet_location : ''); } this._finalRemarkForm.controls.is_competition.setValue(data.records.is_competition); this._finalRemarkForm.controls.sealing_activity.setValue(data.records.sealing_activity); this._finalRemarkForm.controls.demolition_activity.setValue(data.records.demolition_activity); @@ -330,11 +330,11 @@ export class FinalRemarksComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); - // this.errorMessage = "Something Wents Wrong Try Again !"; + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); + // this.errorMessage = "Something Went Wrong Try Again !"; // this.dialogRef.close(); }); // //After Saving the BRANCH data then popup close diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.ts index a0011949a..1b99fe31a 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.ts @@ -1938,11 +1938,11 @@ export class FinancialInfoComponent implements OnInit { },3000); } else{ - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } //this.dialogRef.close(); }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }) } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/future-plans-and-business-environment/future-plans-and-business-environment.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/future-plans-and-business-environment/future-plans-and-business-environment.component.ts index b7ae53d47..196bd33e5 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/future-plans-and-business-environment/future-plans-and-business-environment.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/future-plans-and-business-environment/future-plans-and-business-environment.component.ts @@ -168,10 +168,10 @@ export class FuturePlansAndBusinessEnvironmentComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); // this.dialogRef.close(); }); diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/general-info/general-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/general-info/general-info.component.ts index 659a7bb89..c08bcfb2d 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/general-info/general-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/general-info/general-info.component.ts @@ -757,14 +757,14 @@ export class GeneralInfoComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); this.disableAfterSubmit = false; // this.errorMessage = "Some Thing Wents Wrong Try Again !"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); this.disableAfterSubmit = false; - // this.errorMessage = "Something Wents Wrong Try Again !"; + // this.errorMessage = "Something Went Wrong Try Again !"; }); } } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.ts index 2d66730ac..1b1887433 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.ts @@ -175,11 +175,11 @@ export class LenderRepresentativeComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); this.disableAfterSubmit = false; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); this.disableAfterSubmit = false; }) } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts index 067890fad..062914368 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts @@ -870,11 +870,11 @@ export class LoanDetailsComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); this.disableAfterSubmit = false; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); this.disableAfterSubmit = false; }) } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.ts index f1899b65d..949b3f7b2 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.ts @@ -415,10 +415,10 @@ pdf(fileURL){ },3000); } else{ - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts index 64e82cd12..ac36e4b46 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts @@ -367,10 +367,10 @@ export class OtherIncomeComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }) } validateAllFormFields(formGroup: any) { diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts index 15363f250..ab4293422 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts @@ -358,10 +358,10 @@ submitPersonalForm(formData:any) { this.questionsSubmitCheck(save_details); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } else{ @@ -382,10 +382,10 @@ submitPersonalForm(formData:any) { },3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); return; } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.ts index c7fbaf645..5ad286bf7 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.ts @@ -1018,14 +1018,14 @@ export class ManageRentalVerificationComponent implements OnInit { } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); return; // this.errorMessage = "Some Thing Wents Wrong Try Again !"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); return; - // this.errorMessage = "Something Wents Wrong Try Again !"; + // this.errorMessage = "Something Went Wrong Try Again !"; }); } else{ diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.ts index 55d3bce73..751174e11 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.ts @@ -673,7 +673,7 @@ export class StockComponent implements OnInit { if (datas.service_provider !== undefined) { datas.service_provider.forEach((val, index) => { - this.checkComments(val.traded_goods_observed, 5, index); + this.checkComments(val.service_provider_observed, 5, index); service.push(this.createServiceProvider(val)); }); } @@ -828,10 +828,10 @@ export class StockComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts index 900d7a4ae..5f23fb498 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts @@ -605,12 +605,12 @@ export class SupplierInfoComponent implements OnInit { }, 3000); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - // this.errorMessage = "Some Thing Wents Wrong Try Again !"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + // this.errorMessage = "Some Thing Went Wrong Try Again !"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur'); - // this.errorMessage = "Something Wents Wrong Try Again !"; + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); + // this.errorMessage = "Something Went Wrong Try Again !"; // this.dialogRef.close(); }); // //After Saving the BRANCH data then popup close diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/tele-pd-allocation/tele-pd-allocation.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/tele-pd-allocation/tele-pd-allocation.component.ts index 71030a146..aaa63ab5f 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/tele-pd-allocation/tele-pd-allocation.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/tele-pd-allocation/tele-pd-allocation.component.ts @@ -61,11 +61,11 @@ export class TelePdAllocationComponent implements OnInit { this.dialogRef.close(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Something Wents Wrong Try Again.!"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + this.errorMessage = "Something Went Wrong Try Again.!"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); this.errorMessage = "Some Thing Wents Wrong Try Again.!"; // this.dialogRef.close(); }); diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts index 48a279450..4541f0eb0 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts @@ -385,10 +385,10 @@ export class ViewPdComponent implements OnInit, OnDestroy { // this.viewPdDetails(this.viewID); // } // else { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + // this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); // }//else // }, error => { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + // this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); // });//error closed // } @@ -417,10 +417,10 @@ export class ViewPdComponent implements OnInit, OnDestroy { this.viewPdDetails(this.viewID); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/model-edit-pd-report/model-edit-pd-report.component.ts b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/model-edit-pd-report/model-edit-pd-report.component.ts index fec9a69ec..876402149 100755 --- a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/model-edit-pd-report/model-edit-pd-report.component.ts +++ b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/model-edit-pd-report/model-edit-pd-report.component.ts @@ -56,8 +56,8 @@ export class ModelEditPdReportComponent implements OnInit { }); this.showEditor = true; } - }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + }, error => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); this.ckeConfig = { @@ -91,8 +91,8 @@ export class ModelEditPdReportComponent implements OnInit { status: true } ); - }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + }, error => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } diff --git a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts index c448125b1..2161069ed 100644 --- a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts +++ b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts @@ -135,10 +135,10 @@ export class QcPdReportComponent implements OnInit { this.notifier.notify('success', 'Done Successfully..!'); // this.getPdReportVersionList(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); @@ -154,10 +154,10 @@ export class QcPdReportComponent implements OnInit { this.notifier.notify('success', 'Done Successfully..!'); this.getPdReportVersionList(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } @@ -171,10 +171,10 @@ export class QcPdReportComponent implements OnInit { window.open(data.records); this.notifier.notify('success', 'Done Successfully..!'); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } @@ -189,10 +189,10 @@ export class QcPdReportComponent implements OnInit { window.open(data.records); this.notifier.notify('success', 'Downloaded Successfully..!'); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } @@ -216,7 +216,7 @@ export class QcPdReportComponent implements OnInit { this.message = data.msg; } }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } @@ -236,10 +236,10 @@ export class QcPdReportComponent implements OnInit { else{ this.generateBtn = true; // console.log('else',this.generateBtn); - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } @@ -315,10 +315,10 @@ export class QcPdReportComponent implements OnInit { this.notifier.notify('success', 'Your Changes Updated.!'); this.getPdReportVersionList(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } else { @@ -374,10 +374,10 @@ export class QcPdReportComponent implements OnInit { // console.log(file); importedSaveAs(file); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } diff --git a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-review/qc-review.component.ts b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-review/qc-review.component.ts index 73e88e2d3..77595bc02 100755 --- a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-review/qc-review.component.ts +++ b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-review/qc-review.component.ts @@ -54,8 +54,8 @@ export class QcReviewComponent implements OnInit { }) this.showForm = true; } - }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + }, error => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } else if(this.showStatus === 'COMPLETE') { @@ -70,8 +70,8 @@ export class QcReviewComponent implements OnInit { }) this.showForm = true; } - }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + }, error => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } else { @@ -91,8 +91,8 @@ export class QcReviewComponent implements OnInit { this.dialogRef.close({ status:true }); - }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + }, error => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } diff --git a/ng6-seed/src/app/quality-check/qc-list/qc-start/qc-start.component.ts b/ng6-seed/src/app/quality-check/qc-list/qc-start/qc-start.component.ts index d67598b70..c3ff12337 100755 --- a/ng6-seed/src/app/quality-check/qc-list/qc-start/qc-start.component.ts +++ b/ng6-seed/src/app/quality-check/qc-list/qc-start/qc-start.component.ts @@ -133,8 +133,8 @@ export class QcStartComponent implements OnInit, OnDestroy { } // this.getAnswers(serachQuestions); - }, err => { - this.notifier.notify('error', 'Something Wents Wrong Try Again.! \t\"' + (err.error_type == 2 ? err.error_status + ' ( ' + err.error_text + ' ) ' : ' ( ' + err.error_text + ' ) ') +'\" Error Occur.!'); + }, error => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); // alert(err.html_format); }); } diff --git a/ng6-seed/src/app/settings/entity/entity-add/entity.add.component.ts b/ng6-seed/src/app/settings/entity/entity-add/entity.add.component.ts index d1cb03950..20102da96 100755 --- a/ng6-seed/src/app/settings/entity/entity-add/entity.add.component.ts +++ b/ng6-seed/src/app/settings/entity/entity-add/entity.add.component.ts @@ -121,13 +121,13 @@ export class EntityAddComponent implements OnInit { this.dialogRef.close(dataresult); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); // this.errorMessage = "Some Thing Wents Wrong Try Again !"; } }, error => { this.dialogRef.close(null); - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - // this.errorMessage = "Something Wents Wrong Try Again !"; + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); + // this.errorMessage = "Something Went Wrong Try Again !"; }); } } diff --git a/ng6-seed/src/app/settings/entity/entity-edit/entity-branch-add/entity-branch-add.component.ts b/ng6-seed/src/app/settings/entity/entity-edit/entity-branch-add/entity-branch-add.component.ts index 517aad7ac..a930816db 100755 --- a/ng6-seed/src/app/settings/entity/entity-edit/entity-branch-add/entity-branch-add.component.ts +++ b/ng6-seed/src/app/settings/entity/entity-edit/entity-branch-add/entity-branch-add.component.ts @@ -198,11 +198,11 @@ export class EntityBranchAddComponent implements OnInit { // // this.getEntityIDRegionInfoDetails(); // } // else { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - // // this.errorMessage = "Something Wents Wrong Try Again.!"; + // this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + // // this.errorMessage = "Something Went Wrong Try Again.!"; // } // }, error => { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + // this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); // // this.errorMessage = "Some Thing Wents Wrong Try Again.!"; // }); } @@ -220,10 +220,10 @@ export class EntityBranchAddComponent implements OnInit { if (data.dataStatus) { this.notifier.notify('success', 'Your Changes Updated.!'); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } - }, err => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, error => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }) } diff --git a/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-billing-info/entity-edit-billing-info.component.ts b/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-billing-info/entity-edit-billing-info.component.ts index 52568ad0a..2fe71d68b 100755 --- a/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-billing-info/entity-edit-billing-info.component.ts +++ b/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-billing-info/entity-edit-billing-info.component.ts @@ -224,10 +224,10 @@ export class DialogAddEditBillingInfo implements OnInit { this.dialogRef.close(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); this.dialogRef.close(); }); } diff --git a/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-region/entity-edit-region.component.ts b/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-region/entity-edit-region.component.ts index a27fabd60..13ffa27f7 100755 --- a/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-region/entity-edit-region.component.ts +++ b/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-region/entity-edit-region.component.ts @@ -193,11 +193,11 @@ export class EntityEditRegionComponent implements OnInit { this.getEntityIDRegionInfoDetails(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Something Wents Wrong Try Again.!"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + this.errorMessage = "Something Went Wrong Try Again.!"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); this.errorMessage = "Some Thing Wents Wrong Try Again.!"; }); } else { diff --git a/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-tat/entity-edit-tat.component.ts b/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-tat/entity-edit-tat.component.ts index 8c52bd7e0..5b69b24d0 100755 --- a/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-tat/entity-edit-tat.component.ts +++ b/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-tat/entity-edit-tat.component.ts @@ -243,11 +243,11 @@ export class DialogEntityEditListTatComponent implements OnInit { this.notifier.notify('success', 'Your Changes Updated.!'); this.dialogRef.close(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } - }, err => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, error => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }) } @@ -289,11 +289,11 @@ export class DialogEntityEditListTatComponent implements OnInit { this.notifier.notify('success', 'Your Changes Updated.!'); this.dialogRef.close(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } - } , err => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + } , error => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }) diff --git a/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-vendor-city-info/entity-edit-vendor-city-info.component.ts b/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-vendor-city-info/entity-edit-vendor-city-info.component.ts index 9da70da57..de2493fd2 100755 --- a/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-vendor-city-info/entity-edit-vendor-city-info.component.ts +++ b/ng6-seed/src/app/settings/entity/entity-edit/entity-edit-vendor-city-info/entity-edit-vendor-city-info.component.ts @@ -130,12 +130,12 @@ export class EntityEditVendorCityInfoComponent implements OnInit { // this.getEntityIDRegionInfoDetails(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Something Wents Wrong Try Again.!"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + this.errorMessage = "Something Went Wrong Try Again.!"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Some Thing Wents Wrong Try Again.!"; + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); + this.errorMessage = "Some Thing Went Wrong Try Again.!"; }); }else { diff --git a/ng6-seed/src/app/settings/entity/entity-edit/entity.edit.component.ts b/ng6-seed/src/app/settings/entity/entity-edit/entity.edit.component.ts index 520eaedc3..a44840763 100755 --- a/ng6-seed/src/app/settings/entity/entity-edit/entity.edit.component.ts +++ b/ng6-seed/src/app/settings/entity/entity-edit/entity.edit.component.ts @@ -133,12 +133,12 @@ export class EntityEditComponent implements OnInit, OnDestroy { this.getEntityIdDetails(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Some Thing Wents Wrong Try Again !"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + this.errorMessage = "Some Thing Went Wrong Try Again !"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Something Wents Wrong Try Again !"; + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); + this.errorMessage = "Something Went Wrong Try Again !"; }); } } diff --git a/ng6-seed/src/app/settings/masters/component/branch/branch-dialog/branch-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/branch/branch-dialog/branch-dialog.component.ts index aa157394c..8a16b89ac 100755 --- a/ng6-seed/src/app/settings/masters/component/branch/branch-dialog/branch-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/branch/branch-dialog/branch-dialog.component.ts @@ -95,10 +95,12 @@ export class BranchDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); - //alert("SomeThing Wents Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); + //alert("SomeThing Went Wrong Try Again !"); } + },error=>{ + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } else { this._mastersService.editMasterDetails(BranchFormValues,'BRANCH').subscribe( @@ -110,10 +112,10 @@ export class BranchDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); - //alert("SomeThing Wents Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); + //alert("SomeThing Went Wrong Try Again !"); } - }); + },error=>{this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!');}); } } diff --git a/ng6-seed/src/app/settings/masters/component/branch/branch-list/branch-list.component.ts b/ng6-seed/src/app/settings/masters/component/branch/branch-list/branch-list.component.ts index 19aa459a0..f93f81528 100755 --- a/ng6-seed/src/app/settings/masters/component/branch/branch-list/branch-list.component.ts +++ b/ng6-seed/src/app/settings/masters/component/branch/branch-list/branch-list.component.ts @@ -124,8 +124,10 @@ export class BranchListComponent implements OnInit { this.getBranch(); } else{ - Swal("SomeThing Wents Wrong Try Again !"); + Swal("SomeThing Went Wrong Try Again !"); } + },error=>{ + Swal('Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }); } diff --git a/ng6-seed/src/app/settings/masters/component/city/city-dialog/city-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/city/city-dialog/city-dialog.component.ts index eeabab7ef..745955f72 100755 --- a/ng6-seed/src/app/settings/masters/component/city/city-dialog/city-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/city/city-dialog/city-dialog.component.ts @@ -93,8 +93,8 @@ export class CityDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("SomeThing Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } }); @@ -110,8 +110,8 @@ export class CityDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("SomeThing Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } }); diff --git a/ng6-seed/src/app/settings/masters/component/comments-on-locality/comments-on-locality-dialog/comments-on-locality-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/comments-on-locality/comments-on-locality-dialog/comments-on-locality-dialog.component.ts index dc0cc1e35..4eabc751b 100755 --- a/ng6-seed/src/app/settings/masters/component/comments-on-locality/comments-on-locality-dialog/comments-on-locality-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/comments-on-locality/comments-on-locality-dialog/comments-on-locality-dialog.component.ts @@ -67,8 +67,8 @@ export class CommentsOnLocalityDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("SomeThing Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } }); @@ -84,8 +84,8 @@ export class CommentsOnLocalityDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("SomeThing Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } }); diff --git a/ng6-seed/src/app/settings/masters/component/company/company-dialog/company-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/company/company-dialog/company-dialog.component.ts index c35524bdc..6a45f8205 100755 --- a/ng6-seed/src/app/settings/masters/component/company/company-dialog/company-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/company/company-dialog/company-dialog.component.ts @@ -125,7 +125,7 @@ this.CompanyFormData(); alert("Data Saved Successfully"); } else{ - alert("SomeThing Wents Wrong Try Again !"); + alert("SomeThing Went Wrong Try Again !"); } }); diff --git a/ng6-seed/src/app/settings/masters/component/company/company.component.ts b/ng6-seed/src/app/settings/masters/component/company/company.component.ts index 310dcfe96..e6682c96a 100755 --- a/ng6-seed/src/app/settings/masters/component/company/company.component.ts +++ b/ng6-seed/src/app/settings/masters/component/company/company.component.ts @@ -145,8 +145,8 @@ export class CompanyComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("SomeThing Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } }); @@ -160,8 +160,8 @@ export class CompanyComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("SomeThing Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } } diff --git a/ng6-seed/src/app/settings/masters/component/customer-behaviour/customer-behaviour-dialog/customer-behaviour-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/customer-behaviour/customer-behaviour-dialog/customer-behaviour-dialog.component.ts index e0b9cb434..235ec50fb 100755 --- a/ng6-seed/src/app/settings/masters/component/customer-behaviour/customer-behaviour-dialog/customer-behaviour-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/customer-behaviour/customer-behaviour-dialog/customer-behaviour-dialog.component.ts @@ -84,8 +84,8 @@ onNoClick(): void { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("SomeThing Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } }); @@ -101,8 +101,8 @@ onNoClick(): void { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); //After Editing the data then popup close diff --git a/ng6-seed/src/app/settings/masters/component/customer-segment/customer-segment-dialog/customer-segment-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/customer-segment/customer-segment-dialog/customer-segment-dialog.component.ts index 03d489b89..e0459c2bd 100755 --- a/ng6-seed/src/app/settings/masters/component/customer-segment/customer-segment-dialog/customer-segment-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/customer-segment/customer-segment-dialog/customer-segment-dialog.component.ts @@ -80,8 +80,8 @@ export class CustomerSegmentDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } }); @@ -96,8 +96,8 @@ export class CustomerSegmentDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/designation/designation-dialog/designation-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/designation/designation-dialog/designation-dialog.component.ts index 8cff41902..f9794dad6 100755 --- a/ng6-seed/src/app/settings/masters/component/designation/designation-dialog/designation-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/designation/designation-dialog/designation-dialog.component.ts @@ -79,8 +79,8 @@ export class DesignationDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } }); @@ -96,8 +96,8 @@ export class DesignationDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/designation/designation-list/designation-list.component.ts b/ng6-seed/src/app/settings/masters/component/designation/designation-list/designation-list.component.ts index bcd5f4da9..aaa627252 100755 --- a/ng6-seed/src/app/settings/masters/component/designation/designation-list/designation-list.component.ts +++ b/ng6-seed/src/app/settings/masters/component/designation/designation-list/designation-list.component.ts @@ -124,7 +124,7 @@ pageSize = 10; this.getDesignation(); } else{ - Swal("SomeThing Wents Wrong Try Again !"); + Swal("SomeThing Went Wrong Try Again !"); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/frequency/frequency-dialog/frequency-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/frequency/frequency-dialog/frequency-dialog.component.ts index b46989985..152f83a24 100755 --- a/ng6-seed/src/app/settings/masters/component/frequency/frequency-dialog/frequency-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/frequency/frequency-dialog/frequency-dialog.component.ts @@ -66,8 +66,8 @@ export class FrequencyDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } }); @@ -81,8 +81,8 @@ export class FrequencyDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - // alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + // alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/industry_classification/industry_classification-dialog/industry_classification-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/industry_classification/industry_classification-dialog/industry_classification-dialog.component.ts index 8511783fb..a6ef1c786 100755 --- a/ng6-seed/src/app/settings/masters/component/industry_classification/industry_classification-dialog/industry_classification-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/industry_classification/industry_classification-dialog/industry_classification-dialog.component.ts @@ -82,8 +82,8 @@ onNoClick(): void { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("SomeThing Went Wrong Try Again !"); + this.notifier.notify('warning', 'SomeThing Went Wrong Try Again !'); } }); @@ -98,8 +98,8 @@ onNoClick(): void { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/lender-hierarchy/lender-hierarchy-dialog/lender-hierarchy-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/lender-hierarchy/lender-hierarchy-dialog/lender-hierarchy-dialog.component.ts index 161e4e663..bdd227e4f 100755 --- a/ng6-seed/src/app/settings/masters/component/lender-hierarchy/lender-hierarchy-dialog/lender-hierarchy-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/lender-hierarchy/lender-hierarchy-dialog/lender-hierarchy-dialog.component.ts @@ -79,8 +79,8 @@ export class LenderHierarchyDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -99,8 +99,8 @@ export class LenderHierarchyDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/lender-hierarchy/lender-hierarchy-list/lender-hierarchy-list.component.ts b/ng6-seed/src/app/settings/masters/component/lender-hierarchy/lender-hierarchy-list/lender-hierarchy-list.component.ts index ba8c91a0c..50da2f4d8 100755 --- a/ng6-seed/src/app/settings/masters/component/lender-hierarchy/lender-hierarchy-list/lender-hierarchy-list.component.ts +++ b/ng6-seed/src/app/settings/masters/component/lender-hierarchy/lender-hierarchy-list/lender-hierarchy-list.component.ts @@ -147,7 +147,7 @@ isactiveLenderHierarchy(id: number,isactive : number) { this.getLenderHierarchy(); } else{ - Swal("SomeThing Wents Wrong Try Again !"); + Swal("Something Went Wrong Try Again !"); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/members-occupation/members-occupation-dialog/members-occupation-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/members-occupation/members-occupation-dialog/members-occupation-dialog.component.ts index b86c207b2..3df006e9b 100755 --- a/ng6-seed/src/app/settings/masters/component/members-occupation/members-occupation-dialog/members-occupation-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/members-occupation/members-occupation-dialog/members-occupation-dialog.component.ts @@ -64,8 +64,8 @@ export class MembersOccupationDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -80,8 +80,8 @@ export class MembersOccupationDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/pd-allocation-type/pd-allocation-type-list.component.ts b/ng6-seed/src/app/settings/masters/component/pd-allocation-type/pd-allocation-type-list.component.ts index 990a71daa..9d0eadb65 100755 --- a/ng6-seed/src/app/settings/masters/component/pd-allocation-type/pd-allocation-type-list.component.ts +++ b/ng6-seed/src/app/settings/masters/component/pd-allocation-type/pd-allocation-type-list.component.ts @@ -117,8 +117,8 @@ export class PdAllocationTypeListComponent implements OnInit { this.notifier.notify('success', 'Done.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); //console.log('at last Completed Section'); diff --git a/ng6-seed/src/app/settings/masters/component/pd-location-approach/pd-location-approach-dialog/pd-location-approach-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/pd-location-approach/pd-location-approach-dialog/pd-location-approach-dialog.component.ts index 86c83e83b..44c61d06c 100755 --- a/ng6-seed/src/app/settings/masters/component/pd-location-approach/pd-location-approach-dialog/pd-location-approach-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/pd-location-approach/pd-location-approach-dialog/pd-location-approach-dialog.component.ts @@ -77,8 +77,8 @@ export class PdLocationApproachDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -96,8 +96,8 @@ export class PdLocationApproachDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.ts b/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.ts index 0207a9a5f..c82cac7a1 100755 --- a/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.ts +++ b/ng6-seed/src/app/settings/masters/component/pd-notification/pd-notification-list.component.ts @@ -167,7 +167,7 @@ export class PdNotificationListComponent implements OnInit { // this.getPdNotification(); // } // else{ -// alert("SomeThing Wents Wrong Try Again !"); +// alert("Something Went Wrong Try Again !"); // } // }); // } diff --git a/ng6-seed/src/app/settings/masters/component/pd-type/pd-type-dialog/pd-type-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/pd-type/pd-type-dialog/pd-type-dialog.component.ts index 596776797..028bc41f4 100755 --- a/ng6-seed/src/app/settings/masters/component/pd-type/pd-type-dialog/pd-type-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/pd-type/pd-type-dialog/pd-type-dialog.component.ts @@ -77,8 +77,8 @@ export class PdTypeDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -95,8 +95,8 @@ export class PdTypeDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/product/product-dialog/product-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/product/product-dialog/product-dialog.component.ts index 19c5b18ac..a4962b4f3 100755 --- a/ng6-seed/src/app/settings/masters/component/product/product-dialog/product-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/product/product-dialog/product-dialog.component.ts @@ -69,8 +69,8 @@ export class ProductDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -85,8 +85,8 @@ export class ProductDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/question-category/question-category-dialog/question-category-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/question-category/question-category-dialog/question-category-dialog.component.ts index 6959b2127..87536de82 100755 --- a/ng6-seed/src/app/settings/masters/component/question-category/question-category-dialog/question-category-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/question-category/question-category-dialog/question-category-dialog.component.ts @@ -58,8 +58,8 @@ export class QuestionCategoryDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - // alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + // alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -74,8 +74,8 @@ export class QuestionCategoryDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - // alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + // alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/regions/regions-dialog/regions-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/regions/regions-dialog/regions-dialog.component.ts index 2fbc640d4..f114ad274 100755 --- a/ng6-seed/src/app/settings/masters/component/regions/regions-dialog/regions-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/regions/regions-dialog/regions-dialog.component.ts @@ -72,8 +72,8 @@ onNoClick(): void { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -89,8 +89,8 @@ onNoClick(): void { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/relation-ship/relation-ship-dialog/relation-ship-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/relation-ship/relation-ship-dialog/relation-ship-dialog.component.ts index 6791ad3a1..7f9957870 100755 --- a/ng6-seed/src/app/settings/masters/component/relation-ship/relation-ship-dialog/relation-ship-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/relation-ship/relation-ship-dialog/relation-ship-dialog.component.ts @@ -74,8 +74,8 @@ onNoClick(): void { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -91,8 +91,8 @@ onNoClick(): void { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/states/states-dialog/states-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/states/states-dialog/states-dialog.component.ts index 85acbc4da..983500b4f 100755 --- a/ng6-seed/src/app/settings/masters/component/states/states-dialog/states-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/states/states-dialog/states-dialog.component.ts @@ -95,8 +95,8 @@ export class StatesDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -112,8 +112,8 @@ export class StatesDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/sub-product/sub-product-dialog/sub-product-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/sub-product/sub-product-dialog/sub-product-dialog.component.ts index 99a731df2..a0a797034 100755 --- a/ng6-seed/src/app/settings/masters/component/sub-product/sub-product-dialog/sub-product-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/sub-product/sub-product-dialog/sub-product-dialog.component.ts @@ -89,8 +89,8 @@ export class SubProductDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -106,8 +106,8 @@ export class SubProductDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/title/title-dialog/title-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/title/title-dialog/title-dialog.component.ts index ee59fc61d..25b7d7bdf 100755 --- a/ng6-seed/src/app/settings/masters/component/title/title-dialog/title-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/title/title-dialog/title-dialog.component.ts @@ -76,8 +76,8 @@ export class TitleDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -92,8 +92,8 @@ export class TitleDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/type-of-activity/activity-dialog/activity-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/type-of-activity/activity-dialog/activity-dialog.component.ts index e178eb52f..08d5727ac 100755 --- a/ng6-seed/src/app/settings/masters/component/type-of-activity/activity-dialog/activity-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/type-of-activity/activity-dialog/activity-dialog.component.ts @@ -67,8 +67,8 @@ onSubmit() { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -84,8 +84,8 @@ onSubmit() { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/masters/component/uom/uom-dialog/uom-dialog.component.ts b/ng6-seed/src/app/settings/masters/component/uom/uom-dialog/uom-dialog.component.ts index 71c061bdc..15d424cb3 100755 --- a/ng6-seed/src/app/settings/masters/component/uom/uom-dialog/uom-dialog.component.ts +++ b/ng6-seed/src/app/settings/masters/component/uom/uom-dialog/uom-dialog.component.ts @@ -79,8 +79,8 @@ export class UomDialogComponent implements OnInit { this.notifier.notify('success', 'Record Saved Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); @@ -96,8 +96,8 @@ export class UomDialogComponent implements OnInit { this.notifier.notify('success', 'Record Edited Successfully.!'); } else{ - //alert("SomeThing Wents Wrong Try Again !"); - this.notifier.notify('warning', 'SomeThing Wents Wrong Try Again !'); + //alert("Something Went Wrong Try Again !"); + this.notifier.notify('warning', 'Something Went Wrong Try Again !'); } }); } diff --git a/ng6-seed/src/app/settings/pd-team/pd-team-edit/pd-team-edit.component.ts b/ng6-seed/src/app/settings/pd-team/pd-team-edit/pd-team-edit.component.ts index 2a2f6067c..51ded32c5 100755 --- a/ng6-seed/src/app/settings/pd-team/pd-team-edit/pd-team-edit.component.ts +++ b/ng6-seed/src/app/settings/pd-team/pd-team-edit/pd-team-edit.component.ts @@ -460,7 +460,7 @@ export class PdTeamEditComponent implements OnInit { } else{ - Swal("SomeThing Wents Wrong Try Again !"); + Swal("Something Went Wrong Try Again !"); } }); diff --git a/ng6-seed/src/app/shared/messaging.service.ts b/ng6-seed/src/app/shared/messaging.service.ts index 17501a308..050dd8297 100644 --- a/ng6-seed/src/app/shared/messaging.service.ts +++ b/ng6-seed/src/app/shared/messaging.service.ts @@ -46,7 +46,7 @@ export class MessagingService { // let params = {"records":{ "fk_user_id":userId,"token":token,"client":"WEB"}}; // this.updateNotificationToken(params).subscribe( // (data) => { console.log('success',data);}, - // (err) => { console.error('something wents wrong on update notify.', err); + // (err) => { console.error('Something Went wrong on update notify.', err); // }); } diff --git a/ng6-seed/src/app/template/questions/add/add.component.ts b/ng6-seed/src/app/template/questions/add/add.component.ts index d0977dcbb..2678a6ae0 100755 --- a/ng6-seed/src/app/template/questions/add/add.component.ts +++ b/ng6-seed/src/app/template/questions/add/add.component.ts @@ -160,12 +160,12 @@ export class AddComponent implements OnInit { // alert("sample alert for Saving"); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); this.errorMessage = "Some Thing Wents Wrong Try Again !"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Something Wents Wrong Try Again !"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + this.errorMessage = "Something Went Wrong Try Again !"; this.dialogRef.close(); }); //After Saving the BRANCH data then popup close diff --git a/ng6-seed/src/app/template/questions/edit/edit.component.ts b/ng6-seed/src/app/template/questions/edit/edit.component.ts index 843c2d2eb..131e38c64 100755 --- a/ng6-seed/src/app/template/questions/edit/edit.component.ts +++ b/ng6-seed/src/app/template/questions/edit/edit.component.ts @@ -194,11 +194,11 @@ export class EditComponent implements OnInit { // alert("sample alert for Saving"); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Something Wents Wrong Try Again.!"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + this.errorMessage = "Something Went Wrong Try Again.!"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); this.errorMessage = "Some Thing Wents Wrong Try Again.!"; this.dialogRef.close(); }); diff --git a/ng6-seed/src/app/template/templates/templates-list/edit/edit-category/edit-category.component.ts b/ng6-seed/src/app/template/templates/templates-list/edit/edit-category/edit-category.component.ts index 82ed34c83..bc2415a67 100755 --- a/ng6-seed/src/app/template/templates/templates-list/edit/edit-category/edit-category.component.ts +++ b/ng6-seed/src/app/template/templates/templates-list/edit/edit-category/edit-category.component.ts @@ -162,7 +162,7 @@ export class EditCategoryComponent implements OnInit, OnDestroy, AfterViewInit { const control = this._editTempCategoryFrom.controls['temp_category']; control.removeAt(i); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } } @@ -196,11 +196,12 @@ export class EditCategoryComponent implements OnInit, OnDestroy, AfterViewInit { this.getTemplateCategoryDetails(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Something Wents Wrong Try Again.!"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + this.errorMessage = "Something Went Wrong Try Again.!"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); + this.errorMessage = "Some Thing Wents Wrong Try Again.!"; }); } else { diff --git a/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.ts b/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.ts index 86b705623..5066c460c 100755 --- a/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.ts +++ b/ng6-seed/src/app/template/templates/templates-list/edit/edit-lender/edit-lender.component.ts @@ -194,11 +194,11 @@ export class EditLenderComponent implements OnInit { this.getTemplateLenderDetails(); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Something Wents Wrong Try Again.!"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + this.errorMessage = "Something Went Wrong Try Again.!"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); this.errorMessage = "Some Thing Wents Wrong Try Again.!"; }); } else { diff --git a/ng6-seed/src/app/template/templates/templates-list/edit/edit-question-answer/category-question-answer/category-question-answer.component.ts b/ng6-seed/src/app/template/templates/templates-list/edit/edit-question-answer/category-question-answer/category-question-answer.component.ts index ffcb2b2c5..b947b7e23 100755 --- a/ng6-seed/src/app/template/templates/templates-list/edit/edit-question-answer/category-question-answer/category-question-answer.component.ts +++ b/ng6-seed/src/app/template/templates/templates-list/edit/edit-question-answer/category-question-answer/category-question-answer.component.ts @@ -233,7 +233,7 @@ export class CategoryQuestionAnswerComponent implements OnInit { const control = this._editquestionAnswerForm.controls['temp_questions']; control.removeAt(inx); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } } @@ -261,11 +261,11 @@ export class CategoryQuestionAnswerComponent implements OnInit { this.notifier.notify('success', 'Your Changes Updated.!'); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - // this.errorMessage = "Something Wents Wrong Try Again.!"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + // this.errorMessage = "Something Went Wrong Try Again.!"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); // this.errorMessage = "Some Thing Wents Wrong Try Again.!"; }); } else { diff --git a/ng6-seed/src/app/template/templates/templates-list/edit/report-template/report-template.component.ts b/ng6-seed/src/app/template/templates/templates-list/edit/report-template/report-template.component.ts index 1825c438d..ff322b35c 100755 --- a/ng6-seed/src/app/template/templates/templates-list/edit/report-template/report-template.component.ts +++ b/ng6-seed/src/app/template/templates/templates-list/edit/report-template/report-template.component.ts @@ -84,8 +84,8 @@ export class ReportTemplateComponent implements OnInit { this.templatesService.addPDReportModelTemplate(formValues).subscribe(data=>{ this.notifier.notify('success', 'Your Changes Updated.!'); - }, err => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, error => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }) } diff --git a/ng6-seed/src/app/template/templates/templates-list/edit/template-forms/template-forms.component.ts b/ng6-seed/src/app/template/templates/templates-list/edit/template-forms/template-forms.component.ts index fd3194e03..d0bd7399e 100755 --- a/ng6-seed/src/app/template/templates/templates-list/edit/template-forms/template-forms.component.ts +++ b/ng6-seed/src/app/template/templates/templates-list/edit/template-forms/template-forms.component.ts @@ -57,10 +57,10 @@ export class TemplateFormsComponent implements OnInit { if(data.dataStatus){ this.notifier.notify('success', 'Your Changes Updated.!'); }else{ - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); } - }, err => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + }, error => { + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); }) } else { alert("should select the forms in list !!!"); diff --git a/ng6-seed/src/app/template/templates/templates-list/edit/templates.edit.component.ts b/ng6-seed/src/app/template/templates/templates-list/edit/templates.edit.component.ts index 888795e67..15d751121 100755 --- a/ng6-seed/src/app/template/templates/templates-list/edit/templates.edit.component.ts +++ b/ng6-seed/src/app/template/templates/templates-list/edit/templates.edit.component.ts @@ -111,11 +111,11 @@ export class TemplateEditComponent implements OnInit, OnDestroy { this.getTemplateNameDetails(this.question_id); } else { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - this.errorMessage = "Something Wents Wrong Try Again.!"; + this.notifier.notify('warning', 'Something Went Wrong Try Again.!'); + this.errorMessage = "Something Went Wrong Try Again.!"; } }, error => { - this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); + this.notifier.notify('error', 'Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!'); this.errorMessage = "Some Thing Wents Wrong Try Again.!"; }); }