@james_jayaraj/test-npm 1.4.8 → 1.5.0

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.
@@ -22,8 +22,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
22
22
  }], ctorParameters: function () { return []; } });
23
23
 
24
24
  const config = {
25
- STAGING_URL: "https://sydcapi.hlhlth.com.au/packapill",
26
- LIVE_URL: "https://sydcapi.hlhlth.com.au/packapill",
25
+ STAGING_URL: "https://ppcapi.hlhlth.app/packapill",
26
+ LIVE_URL: "https://ppcapi.hlhlth.app/packapill",
27
27
  GET_MEDS_BY_SEARCH: "api/rxwidget/searchMedicines",
28
28
  GET_MEDS_BY_SMART_SEARCH: "api/rxwidget/smartSearchMedicines",
29
29
  GET_MEDS_BY_NAME: "api/rxwidget/searchMedicinesByName",
@@ -4572,7 +4572,7 @@ class RxComponent {
4572
4572
  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] : '') : "";
4573
4573
  if (!this.commonServices.isMedicineRestrict && scheduleNumber.toLowerCase() == 's8' && this.commonServices.physicianDetails.isPasswordCheck) {
4574
4574
  this.commonServices.dialogopen(PasswordComponent, this.content, 2).subscribe((res) => {
4575
- if (res.responseCode == 0) {
4575
+ if (res) {
4576
4576
  this.prescribeMed();
4577
4577
  }
4578
4578
  });
@@ -4635,7 +4635,7 @@ class RxComponent {
4635
4635
  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] : '') : "";
4636
4636
  if (!this.commonServices.isMedicineRestrict && scheduleNumber.toLowerCase() == 's8' && this.commonServices.physicianDetails.isPasswordCheck) {
4637
4637
  this.commonServices.dialogopen(PasswordComponent, this.content, 2).subscribe((res) => {
4638
- if (res.responseCode == 0) {
4638
+ if (res) {
4639
4639
  this.prescribeMed();
4640
4640
  }
4641
4641
  });
@@ -4700,7 +4700,7 @@ class RxComponent {
4700
4700
  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] : '') : "";
4701
4701
  if (!this.commonServices.isMedicineRestrict && scheduleNumber.toLowerCase() == 's8' && this.commonServices.physicianDetails.isPasswordCheck) {
4702
4702
  this.commonServices.dialogopen(PasswordComponent, this.content, 2).subscribe((res) => {
4703
- if (res.responseCode == 0) {
4703
+ if (res) {
4704
4704
  this.prescribeMed();
4705
4705
  }
4706
4706
  });