tango-app-ui-manage-tickets 3.7.0-beta.72 → 3.7.0-beta.73

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.
@@ -4007,11 +4007,6 @@ class TicketFootfallNewComponent {
4007
4007
  getHeaderStatus() {
4008
4008
  // Default: ticket-level status
4009
4009
  let headerStatus = this.ticketData?.status || "--";
4010
- // if(headerStatus === 'Open'){
4011
- // this.isCheckboxEnable =false;
4012
- // } else if(headerStatus === 'In-Progress'){
4013
- // this.isCheckboxEnable =true;
4014
- // }
4015
4010
  if (!this.footfallTicketsData || !this.footfallTicketsData.length) {
4016
4011
  return headerStatus;
4017
4012
  }
@@ -4063,6 +4058,11 @@ class TicketFootfallNewComponent {
4063
4058
  }
4064
4059
  // Save for other places if needed
4065
4060
  this.statusVal = roleMapping;
4061
+ // if(this.statusVal?.status === 'Open'){
4062
+ // this.isCheckboxEnable =false;
4063
+ // } else if(this.statusVal?.status === 'In-Progress'){
4064
+ // this.isCheckboxEnable =true;
4065
+ // }
4066
4066
  if (roleMapping?.status) {
4067
4067
  this.areAllItemsReviewed(roleMapping); // keep your side-effect
4068
4068
  headerStatus = roleMapping.status; // "Open", "In-Progress", "Closed", etc.
@@ -4762,6 +4762,7 @@ class TicketFootfallNewComponent {
4762
4762
  this.selectedStores = [store];
4763
4763
  this.footfallTicketsData = [];
4764
4764
  this.startTicketData = store;
4765
+ this.isCheckboxEnable = false;
4765
4766
  this.dataStoreView(store);
4766
4767
  this.newallSelected =
4767
4768
  this.selectedStores.length === this.openTicketsList.length &&
@@ -4928,6 +4929,11 @@ class TicketFootfallNewComponent {
4928
4929
  (tickets || []).forEach((ticket) => {
4929
4930
  const mappingInfo = ticket?._source?.mappingInfo || [];
4930
4931
  mappingInfo.forEach((mapping) => {
4932
+ // if(mapping.status ==='Open'){
4933
+ // this.isCheckboxEnable =false;
4934
+ // } else if(mapping?.status === "In-Progress"){
4935
+ // this.isCheckboxEnable =true;
4936
+ // }
4931
4937
  if (mapping?.status === "In-Progress" &&
4932
4938
  ["review", "approve"].includes(mapping.type)) {
4933
4939
  this.ticketStatus = mapping?.createdByEmail;
@@ -5232,7 +5238,6 @@ class TicketFootfallNewComponent {
5232
5238
  this.allSelected = false;
5233
5239
  const ticket = data?.ticketId;
5234
5240
  this.ticketId = data?.ticketId;
5235
- console.log("====", this.ticketId);
5236
5241
  this.lastSelectedTicket = ticket;
5237
5242
  this.addStoreIfNotExists(ticket);
5238
5243
  this.imageUrl = this.service?.footfallCDN;