From b632df1d91c18cb889de2cd2835283a054fd3910 Mon Sep 17 00:00:00 2001 From: tommy Date: Thu, 2 Jul 2026 11:17:09 +0800 Subject: [PATCH] no message --- .../ffii/fpsms/modules/stock/service/StockInLineService.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ffii/fpsms/modules/stock/service/StockInLineService.kt b/src/main/java/com/ffii/fpsms/modules/stock/service/StockInLineService.kt index 59ff83a..8dd7249 100644 --- a/src/main/java/com/ffii/fpsms/modules/stock/service/StockInLineService.kt +++ b/src/main/java/com/ffii/fpsms/modules/stock/service/StockInLineService.kt @@ -581,7 +581,7 @@ open class StockInLineService( this.stockInLine = stockInLine this.failQty = it.failQty this.qcPassed = it.qcPassed - this.type = "qc" // default as qc for now + this.remarks = it.remarks this.escalationLog = escalationLogService.find(escLogId).getOrNull() } @@ -1079,7 +1079,7 @@ open class StockInLineService( if (putAwayStockQty >= requiredStockQty) { val _tStatus = System.nanoTime() stockInLine.apply { - val isWipJobOrder = stockInLine.jobOrder?.bom?.bomKind == "WIP" + val isWipJobOrder = stockInLine.jobOrder?.bom?.description == "WIP" this.status = if (isWipJobOrder) { StockInLineStatus.COMPLETE.status } else {