Manos Chorianopoulos

fix barcode generator

......@@ -638,6 +638,11 @@ import AVFoundation
var result = 0;
var fixedCouponCode = couponString;
if (fixedCouponCode.count == 13) {
return fixedCouponCode;
}
if (fixedCouponCode.count < 12) {
let loops = 12 - fixedCouponCode.count;
var zerosStr = "";
......