@james_jayaraj/test-npm 1.4.8 → 1.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4562,7 +4562,7 @@ class RxComponent {
4562
4562
  var scheduleNumber = !this.commonServices.isMedicineRestrict ? (!this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation) && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation.poisonClassification) && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation.poisonClassification.poisonClasses) && this.commonServices.selectedFormulation.poisonClassification.poisonClasses.length != 0 && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation.poisonClassification.poisonClasses[0]) ? this.commonServices.selectedFormulation.poisonClassification.poisonClasses[0].toLowerCase() == 'unscheduled' ? '' : this.commonServices.selectedFormulation.poisonClassification.poisonClasses[0] : '') : "";
4563
4563
  if (!this.commonServices.isMedicineRestrict && scheduleNumber.toLowerCase() == 's8' && this.commonServices.physicianDetails.isPasswordCheck) {
4564
4564
  this.commonServices.dialogopen(PasswordComponent, this.content, 2).subscribe((res) => {
4565
- if (res.responseCode == 0) {
4565
+ if (res) {
4566
4566
  this.prescribeMed();
4567
4567
  }
4568
4568
  });
@@ -4625,7 +4625,7 @@ class RxComponent {
4625
4625
  var scheduleNumber = !this.commonServices.isMedicineRestrict ? (!this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation) && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation.poisonClassification) && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation.poisonClassification.poisonClasses) && this.commonServices.selectedFormulation.poisonClassification.poisonClasses.length != 0 && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation.poisonClassification.poisonClasses[0]) ? this.commonServices.selectedFormulation.poisonClassification.poisonClasses[0].toLowerCase() == 'unscheduled' ? '' : this.commonServices.selectedFormulation.poisonClassification.poisonClasses[0] : '') : "";
4626
4626
  if (!this.commonServices.isMedicineRestrict && scheduleNumber.toLowerCase() == 's8' && this.commonServices.physicianDetails.isPasswordCheck) {
4627
4627
  this.commonServices.dialogopen(PasswordComponent, this.content, 2).subscribe((res) => {
4628
- if (res.responseCode == 0) {
4628
+ if (res) {
4629
4629
  this.prescribeMed();
4630
4630
  }
4631
4631
  });
@@ -4689,7 +4689,7 @@ class RxComponent {
4689
4689
  var scheduleNumber = !this.commonServices.isMedicineRestrict ? (!this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation) && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation.poisonClassification) && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation.poisonClassification.poisonClasses) && this.commonServices.selectedFormulation.poisonClassification.poisonClasses.length != 0 && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation.poisonClassification.poisonClasses[0]) ? this.commonServices.selectedFormulation.poisonClassification.poisonClasses[0].toLowerCase() == 'unscheduled' ? '' : this.commonServices.selectedFormulation.poisonClassification.poisonClasses[0] : '') : "";
4690
4690
  if (!this.commonServices.isMedicineRestrict && scheduleNumber.toLowerCase() == 's8' && this.commonServices.physicianDetails.isPasswordCheck) {
4691
4691
  this.commonServices.dialogopen(PasswordComponent, this.content, 2).subscribe((res) => {
4692
- if (res.responseCode == 0) {
4692
+ if (res) {
4693
4693
  this.prescribeMed();
4694
4694
  }
4695
4695
  });