Merged PR 1857: feat(oms-return-review): implement return review feature

feat(oms-return-review): implement return review feature

Introduce the initial implementation of the return review feature in the OMS module. This includes core logic, UI components, and integration with existing state management. The feature enables users to review return processes, view item details, and confirm actions as part of the return workflow.

Ref: #5120
This commit is contained in:
Nino Righi
2025-06-12 12:16:30 +00:00
committed by Lorenz Hilpert
parent 1617533412
commit 7323c67ba6

View File

@@ -22,10 +22,8 @@ export class ReturnReviewComponent {
if (processId) {
const receiptIds = this.#returnProcessStore
.entities()
.filter((p) => p.processId === processId && p.returnReceipt?.id)
.map((p) => p.returnReceipt!.id);
console.log('receiptIds', this.#returnProcessStore.entities());
.filter((p) => p.processId === processId && p.receiptId)
.map((p) => p.receiptId);
await this.#printReceiptsService.printReturnReceipts({
returnReceiptIds: receiptIds,