|
|
@@ -185,10 +185,11 @@ open class PurchaseOrderService( |
|
|
|
} |
|
|
|
val mappedPoLine = pol.map { thisPol -> |
|
|
|
val inLine = stockInLine.filter { it.purchaseOrderLineId == thisPol.id } |
|
|
|
val categoryCode = thisPol.item?.qcCategory?.code |
|
|
|
val qcItems = thisPol.item?.qcCategory?.qcItemCategory?.map { |
|
|
|
QcForPoLine( |
|
|
|
id = it.qcItem?.id, |
|
|
|
code = it.qcItem?.code, |
|
|
|
code = categoryCode, |
|
|
|
name = it.qcItem?.name, |
|
|
|
description = it.description |
|
|
|
) |
|
|
|