Skip to content

Commit

Permalink
Fixed: issue in download csv file to use item status
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Dec 27, 2024
1 parent 1acf71b commit 1829df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DownloadClosedCountModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ async function downloadCSV() {
} else if (property === 'countName' && item.countImportName) {
details[property] = item.countImportName;
} else if (property === "lineStatus") {
details[property] = item.statusId === 'INV_COUNT_COMPLETED' ? 'Completed' : item.statusId === 'INV_COUNT_REJECTED' ? 'Rejected' : item.statusId;
details[property] = item.itemStatusId === 'INV_COUNT_COMPLETED' ? 'Completed' : item.itemStatusId === 'INV_COUNT_REJECTED' ? 'Rejected' : item.itemStatusId;
} else {
details[property] = item[selectedFieldMappings[property]];
}
Expand Down

0 comments on commit 1829df9

Please sign in to comment.