Revised the unapplied original line item report to mark matched offsets for administrators when there are unmatched offsets.
This commit is contained in:
@ -90,6 +90,7 @@ class OffsetMatcher:
|
||||
continue
|
||||
self.matched_pairs.append(
|
||||
OffsetPair(original_item, offset_candidates[0]))
|
||||
original_item.match = offset_candidates[0]
|
||||
offset_candidates[0].match = original_item
|
||||
remains.remove(offset_candidates[0])
|
||||
self.is_having_matches = len(self.matched_pairs) > 0
|
||||
|
Reference in New Issue
Block a user