@james_jayaraj/test-npm 1.3.0 → 1.3.1

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.
@@ -5007,7 +5007,8 @@ class RxComponent {
5007
5007
  amtCodeSystem: !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.amtCodeSystem) ? this.commonServices.selectedFormulation.amtCodeSystem : "",
5008
5008
  amtVersion: !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.amtVersion) ? this.commonServices.selectedFormulation.amtVersion : "",
5009
5009
  quantityWithUnit: this.commonServices.quantityWithUnitFlag && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.maxQtyUnits) ? this.commonServices.selectedFormulation.maxQtyUnits : "",
5010
- clientId: this.clientId
5010
+ clientId: this.clientId,
5011
+ productPackId: this.commonServices.selectedFormulation?.productPackId ? this.commonServices.selectedFormulation.productPackId : '',
5011
5012
  };
5012
5013
  this.commonServices.removeErrToast();
5013
5014
  this.changedetect.detectChanges();
@@ -5314,7 +5315,8 @@ class RxComponent {
5314
5315
  amtCodeSystem: !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.amtCodeSystem) ? this.commonServices.selectedFormulation.amtCodeSystem : "",
5315
5316
  amtVersion: !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.amtVersion) ? this.commonServices.selectedFormulation.amtVersion : "",
5316
5317
  quantityWithUnit: this.commonServices.quantityWithUnitFlag && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.maxQtyUnits) ? this.commonServices.selectedFormulation.maxQtyUnits : "",
5317
- clientId: this.clientId
5318
+ clientId: this.clientId,
5319
+ productPackId: this.commonServices.selectedFormulation?.productPackId ? this.commonServices.selectedFormulation.productPackId : '',
5318
5320
  };
5319
5321
  this.commonServices.prescribeMedLoader = true;
5320
5322
  this.commonServices.removeErrToast();
@@ -5440,9 +5442,10 @@ class RxComponent {
5440
5442
  request_type: "parameter",
5441
5443
  productId: rxList.productId,
5442
5444
  pbsCode: rxList.pbsItemCodeCode,
5443
- rxId: this.commonServices.rxid
5445
+ rxId: this.commonServices.rxid,
5446
+ productPackId: rxList.productPackId ? rxList.productPackId : '',
5444
5447
  };
5445
- this.apiService.Get(config.PHYSICIAN.GET_MED_DET_BY_ID + "?productId=" + rxList.productId + "&pbsCode=" + (this.commonServices.isMedicineRestrict ? rxList.pbsItemCodeCode : "") + "&rxId=" + this.commonServices.rxid).subscribe((res) => {
5448
+ this.apiService.Get(config.PHYSICIAN.GET_MED_DET_BY_ID + "?productId=" + rxList.productId + "&pbsCode=" + rxList.pbsItemCodeCode + "&rxId=" + this.commonServices.rxid + "&productPackId=" + (rxList.productPackId ? rxList.productPackId : '')).subscribe((res) => {
5446
5449
  try {
5447
5450
  if (this.commonServices.IsNullOrEmpty(res)) {
5448
5451
  this.PopupScreenLoader = false;
@@ -6174,6 +6177,7 @@ class RxComponent {
6174
6177
  instruction: this.commonServices.InstructionSearchValue,
6175
6178
  route: this.commonServices.routeSearchValue,
6176
6179
  ...(!isAdding && { encryptedId: this.commonServices.favouriteEncryptedId }),
6180
+ productPackId: this.commonServices.selectedFormulation?.productPackId ? this.commonServices.selectedFormulation.productPackId : '',
6177
6181
  };
6178
6182
  this.apiService.Post(body, config.PHYSICIAN.ADD_FAVOURITE_MEDICINE).subscribe((res) => {
6179
6183
  try {
@@ -6307,12 +6311,13 @@ class RxComponent {
6307
6311
  request_type: "parameter",
6308
6312
  productId: rxList.productId,
6309
6313
  pbsCode: rxList.pbsCode,
6310
- rxId: 0
6314
+ rxId: 0,
6315
+ productPackId: rxList.productPackId ? rxList.productPackId : '',
6311
6316
  };
6312
6317
  this.favMedicineLoader = true;
6313
6318
  this.commonServices.favouriteEncryptedId = rxList.encryptedId;
6314
6319
  this.changedetect.detectChanges();
6315
- this.apiService.Get(config.PHYSICIAN.GET_MED_DET_BY_ID + "?productId=" + rxList.productId + "&pbsCode=" + (this.commonServices.isMedicineRestrict ? rxList.pbsCode : "") + "&rxId=" + 0).subscribe((res) => {
6320
+ this.apiService.Get(config.PHYSICIAN.GET_MED_DET_BY_ID + "?productId=" + rxList.productId + "&pbsCode=" + rxList.pbsCode + "&rxId=" + 0 + "&productPackId=" + (rxList.productPackId ? rxList.productPackId : '')).subscribe((res) => {
6316
6321
  try {
6317
6322
  if (this.commonServices.IsNullOrEmpty(res)) {
6318
6323
  this.favMedicineLoader = false;