@james_jayaraj/test-npm 1.2.2 → 1.2.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.
- package/esm2020/lib/rx/rx.component.mjs +9 -3
- package/fesm2015/james_jayaraj-test-npm.mjs +8 -2
- package/fesm2015/james_jayaraj-test-npm.mjs.map +1 -1
- package/fesm2020/james_jayaraj-test-npm.mjs +8 -2
- package/fesm2020/james_jayaraj-test-npm.mjs.map +1 -1
- package/package.json +1 -1
- package/_hola-rx.styles.scss +0 -2653
|
@@ -3027,6 +3027,7 @@ class RxComponent {
|
|
|
3027
3027
|
(med.pbsCode != null ? med.pbsCode : "") == (this.commonServices.selectedFormulation.pbsCode != null ? this.commonServices.selectedFormulation.pbsCode : "") &&
|
|
3028
3028
|
med.productName == this.commonServices.selectedFormulation.productName &&
|
|
3029
3029
|
med.repeats == this.commonServices.selectedFormulation.repeats &&
|
|
3030
|
+
med?.encryptedId == this.commonServices.favouriteEncryptedId &&
|
|
3030
3031
|
med.quantity == (this.commonServices.selectedFormulation?.pbsType != undefined && this.commonServices.selectedFormulation?.pbsType != null && this.commonServices.selectedFormulation.pbsType.toLowerCase() == "non pbs"
|
|
3031
3032
|
? (this.commonServices.selectedFormulation.numberOfPack + "x" + this.commonServices.selectedFormulation.unitPerPack)
|
|
3032
3033
|
: this.commonServices.selectedFormulation.maxQtyUnits).toString();
|
|
@@ -4506,14 +4507,19 @@ class RxComponent {
|
|
|
4506
4507
|
});
|
|
4507
4508
|
}
|
|
4508
4509
|
else {
|
|
4509
|
-
if (!this.commonServices.sendToPharmacy && !this.commonServices.emergencySupply && flag != 2) {
|
|
4510
|
+
if (!this.commonServices.sendToPharmacy && !this.commonServices.emergencySupply && flag != 2 && this.commonServices.isScriptToPharmacy == 0) {
|
|
4510
4511
|
this.ConfirmPatientPopup();
|
|
4511
4512
|
}
|
|
4512
4513
|
else {
|
|
4513
4514
|
this.commonServices.AddressSendToAddType = "";
|
|
4514
4515
|
this.commonServices.rxnumber = "";
|
|
4515
4516
|
this.commonServices.rxemailId = "";
|
|
4516
|
-
this.commonServices.
|
|
4517
|
+
if (this.commonServices.isScriptToPharmacy == 0) {
|
|
4518
|
+
this.commonServices.isPrintAvailable = true;
|
|
4519
|
+
}
|
|
4520
|
+
else {
|
|
4521
|
+
this.commonServices.isPrintAvailable = false;
|
|
4522
|
+
}
|
|
4517
4523
|
this.changedetect.detectChanges();
|
|
4518
4524
|
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] : '') : "";
|
|
4519
4525
|
if (!this.commonServices.isMedicineRestrict && scheduleNumber.toLowerCase() == 's8' && this.commonServices.physicianDetails.isPasswordCheck) {
|