@james_jayaraj/test-npm 1.3.2 → 1.3.3
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.
|
@@ -3715,6 +3715,7 @@ class RxComponent {
|
|
|
3715
3715
|
try {
|
|
3716
3716
|
this.commonServices.selectedFormulation = med;
|
|
3717
3717
|
this.commonServices.clearMedicalPrescriptionDataOnchangeofMedicine(med);
|
|
3718
|
+
this.changedetect.detectChanges();
|
|
3718
3719
|
if (!this.commonServices.isMedicineRestrict) {
|
|
3719
3720
|
this.commonServices.isS8WarningNext = true;
|
|
3720
3721
|
this.restrictions = med.Restrictions && med.Restrictions.length != 0 ? med.Restrictions[0] : null;
|
|
@@ -6400,9 +6401,9 @@ class RxComponent {
|
|
|
6400
6401
|
}
|
|
6401
6402
|
return this.commonServices.favouriteMedicineList.some((favMed) => favMed.productId.toString() === this.commonServices.selectedFormulation.productId.toString() &&
|
|
6402
6403
|
(!this.commonServices.IsNullOrEmpty(favMed.pbsCode) ? favMed.pbsCode : "") === (!this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.pbsCode) ? this.commonServices.selectedFormulation.pbsCode : "") &&
|
|
6403
|
-
favMed.productName === this.commonServices.selectedFormulation.productName && favMed.quantity === this.commonServices.quantityVal && favMed.repeats === this.commonServices.repeatsVal &&
|
|
6404
|
-
favMed.dose === this.commonServices.doseSearchValue && favMed.frequency === this.commonServices.freqSearchValue && favMed.food === this.commonServices.foodSearchValue &&
|
|
6405
|
-
favMed.instruction === this.commonServices.InstructionSearchValue && favMed.route === this.commonServices.routeSearchValue);
|
|
6404
|
+
favMed.productName === this.commonServices.selectedFormulation.productName && favMed.quantity?.toString() === this.commonServices.quantityVal?.toString() && favMed.repeats?.toString() === this.commonServices.repeatsVal?.toString() &&
|
|
6405
|
+
favMed.dose?.toString() === this.commonServices.doseSearchValue?.toString() && favMed.frequency?.toString() === this.commonServices.freqSearchValue?.toString() && favMed.food?.toString() === this.commonServices.foodSearchValue?.toString() &&
|
|
6406
|
+
favMed.instruction?.toString() === this.commonServices.InstructionSearchValue?.toString() && favMed.route?.toString() === this.commonServices.routeSearchValue?.toString());
|
|
6406
6407
|
}
|
|
6407
6408
|
isPbsTypeMatch(itemPbsType, pbsTypeFilter) {
|
|
6408
6409
|
if (!pbsTypeFilter?.trim())
|