Explorar el Código

fix for expiry date

debrand
Fai Luk hace 1 mes
padre
commit
59c1b15870
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      src/main/java/com/ffii/fpsms/modules/stock/service/StockInLineService.kt

+ 1
- 0
src/main/java/com/ffii/fpsms/modules/stock/service/StockInLineService.kt Ver fichero

@@ -448,6 +448,7 @@ open class StockInLineService(
receiptDate = request.receiptDate?.atStartOfDay() ?: LocalDateTime.now()
// The item label prints this field under 收貨日期.
productionDate = request.productionDate?.atStartOfDay() ?: receiptDate
expiryDate = request.expiryDate ?: expiryDate
productLotNo = request.productLotNo
this.type = "NOR"
status = StockInLineStatus.PENDING.status


Cargando…
Cancelar
Guardar