issues fixes : ps

This commit is contained in:
venbatechnologies@gmail.com 2019-07-08 13:31:57 +05:30
parent 31b2e9a46a
commit 5bb486805f
96 changed files with 308 additions and 303 deletions

View File

@ -95,7 +95,7 @@ export class EditPdMasterComponent implements OnInit {
}
//, error => this.errorMessage = <any> 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

View File

@ -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);
});

View File

@ -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);
});
}
}

View File

@ -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();
});

View File

@ -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;
});
}

View File

@ -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.!');
});
}

View File

@ -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.!');
});
}

View File

@ -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.!');
});
}

View File

@ -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.!');
});
}

View File

@ -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.!');
});
}

View File

@ -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.!');
});
}

View File

@ -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.!');
});
}

View File

@ -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.!');
});
}

View File

@ -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});
});
}

View File

@ -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.!');
});
}

View File

@ -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.!');
});
}

View File

@ -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');
});
}

View File

@ -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.!');
});
}

View File

@ -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.!');
});
}

View File

@ -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

View File

@ -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');
});
}

View File

@ -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.!');
});
}

View File

@ -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();
});

View File

@ -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.!');
});
}

View File

@ -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.!');
});
}
}

View File

@ -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.!');
});
}

View File

@ -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.!');
});
}

View File

@ -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

View File

@ -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) {

View File

@ -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.!');
});
}

View File

@ -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 */

View File

@ -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.!');
});
}

View File

@ -146,8 +146,8 @@
<mat-card *ngIf="lender_short_name == 'CLIX' || product_abbr == 'LAEP'">
<mat-card-content>
<mat-card-subtitle>CLIX</mat-card-subtitle>
<mat-form-field style="width:94%;" *ngIf="_finalRemarkForm.controls['outlet_location']">
<mat-card-subtitle *ngIf="lender_short_name == 'CLIX'">CLIX</mat-card-subtitle>
<mat-form-field style="width:94%;" *ngIf="_finalRemarkForm.controls['outlet_location'] && product_abbr == 'LAEP'">
<mat-select placeholder="Comment on Footfall in the market where the B2C outlet is located…" formControlName="outlet_location"
required>
<mat-option>Select</mat-option>

View File

@ -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

View File

@ -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.!');
})
}

View File

@ -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();
});

View File

@ -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 !";
});
}
}

View File

@ -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;
})
}

View File

@ -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;
})
}

View File

@ -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.!');
});
}
}

View File

@ -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) {

View File

@ -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;
}

View File

@ -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{

View File

@ -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.!');
});

View File

@ -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

View File

@ -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();
});

View File

@ -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.!');
});
}

View File

@ -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);
});
}

View File

@ -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);
});
}

View File

@ -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);
});
}

View File

@ -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);
});
}

View File

@ -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 !";
});
}
}

View File

@ -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.!');
})
}

View File

@ -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();
});
}

View File

@ -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 {

View File

@ -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.!');
})

View File

@ -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 {

View File

@ -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 !";
});
}
}

View File

@ -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.!');});
}
}

View File

@ -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.!');
});
}

View File

@ -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 !');
}
});

View File

@ -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 !');
}
});

View File

@ -125,7 +125,7 @@ this.CompanyFormData();
alert("Data Saved Successfully");
}
else{
alert("SomeThing Wents Wrong Try Again !");
alert("SomeThing Went Wrong Try Again !");
}
});

View File

@ -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 !');
}
}

View File

@ -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

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -124,7 +124,7 @@ pageSize = 10;
this.getDesignation();
}
else{
Swal("SomeThing Wents Wrong Try Again !");
Swal("SomeThing Went Wrong Try Again !");
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -147,7 +147,7 @@ isactiveLenderHierarchy(id: number,isactive : number) {
this.getLenderHierarchy();
}
else{
Swal("SomeThing Wents Wrong Try Again !");
Swal("Something Went Wrong Try Again !");
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -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');

View File

@ -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 !');
}
});
}

View File

@ -167,7 +167,7 @@ export class PdNotificationListComponent implements OnInit {
// this.getPdNotification();
// }
// else{
// alert("SomeThing Wents Wrong Try Again !");
// alert("Something Went Wrong Try Again !");
// }
// });
// }

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -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 !');
}
});
}

View File

@ -460,7 +460,7 @@ export class PdTeamEditComponent implements OnInit {
}
else{
Swal("SomeThing Wents Wrong Try Again !");
Swal("Something Went Wrong Try Again !");
}
});

View File

@ -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);
// });
}

View File

@ -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

View File

@ -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();
});

View File

@ -162,7 +162,7 @@ export class EditCategoryComponent implements OnInit, OnDestroy, AfterViewInit {
const control = <FormArray>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 {

View File

@ -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 {

View File

@ -233,7 +233,7 @@ export class CategoryQuestionAnswerComponent implements OnInit {
const control = <FormArray>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 {

View File

@ -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.!');
})
}

View File

@ -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 !!!");

View File

@ -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.!";
});
}