From 328cd87077b49bdf1c049829fd54ca042f63dfde Mon Sep 17 00:00:00 2001 From: Jack-Golding <94838251+Jack-Golding@users.noreply.github.com> Date: Tue, 22 Aug 2023 15:01:14 +0100 Subject: [PATCH] fix: Serials sequence EAN13 (#94) Added EAN13 as checkDigitAlgo to serials pattern number to ensure the checksum within the template does not show as null --- service/grails-app/services/org/olf/HousekeepingService.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/grails-app/services/org/olf/HousekeepingService.groovy b/service/grails-app/services/org/olf/HousekeepingService.groovy index b24c16c..8f6cb21 100644 --- a/service/grails-app/services/org/olf/HousekeepingService.groovy +++ b/service/grails-app/services/org/olf/HousekeepingService.groovy @@ -136,7 +136,7 @@ public class HousekeepingService { name: 'Pattern number', code:'patternNumber', format:'000000000', - checkDigitAlgo:'None', + checkDigitAlgo:'EAN13', outputTemplate:'sm-${generated_number}-${checksum}' ], ]