shish 3 ani în urmă
părinte
comite
94ccbea3c5
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      app-ghs/controllers/ProductController.php

+ 1 - 1
app-ghs/controllers/ProductController.php

@@ -109,7 +109,7 @@ class ProductController extends BaseController
         $p = new printUtil($printLabelSn);
         $unit = $info->ratio . $info->smallUnit . '/' . $info->bigUnit;
         $p->times = $num;
-        if (stringUtil::getWordNum($name) > 8) {
+        if (stringUtil::getWordNum($name) > 7) {
             $content = '<TEXT x="30" y="30" font="12" w="1" h="1" r="0">' . $name . '</TEXT>';
         } else {
             $content = '<TEXT x="30" y="30" font="12" w="2" h="2" r="0">' . $name . '</TEXT>';