Skip to content

Commit

Permalink
Merge pull request #50 from OpenLMIS/OLMIS-7921
Browse files Browse the repository at this point in the history
calculate fields for referencedata source
  • Loading branch information
dszafranek authored Apr 17, 2024
2 parents 47f69df + b81ea4b commit b8395d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/requisition-calculations/calculation.factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@

function getColumnValue(lineItem, requisition, column) {

if (column.source === COLUMN_SOURCES.CALCULATED) {
if (column.source === COLUMN_SOURCES.CALCULATED || column.source === COLUMN_SOURCES.REFERENCE_DATA) {
return calculationFactory[column.name](lineItem, requisition);
}

Expand Down

0 comments on commit b8395d1

Please sign in to comment.