Fixing style errors.
This commit is contained in:
parent
21fac1ff7a
commit
0cdd9f8640
@ -210,7 +210,7 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
|
|||||||
if ((substr($numFinal, -1)=='*') or (substr($numFinal, -1)=='?')) // if last mask character is * or ? a joker, probably we have to calculate a key as last character (EAN13...)
|
if ((substr($numFinal, -1)=='*') or (substr($numFinal, -1)=='?')) // if last mask character is * or ? a joker, probably we have to calculate a key as last character (EAN13...)
|
||||||
{
|
{
|
||||||
$literaltype = '';
|
$literaltype = '';
|
||||||
$literaltype = $this->literalBarcodeType($db,$type);//get literal_Barcode_Type
|
$literaltype = $this->literalBarcodeType($db, $type);//get literal_Barcode_Type
|
||||||
switch ($literaltype)
|
switch ($literaltype)
|
||||||
{
|
{
|
||||||
case 'EAN13': //EAN13 rowid = 2
|
case 'EAN13': //EAN13 rowid = 2
|
||||||
@ -222,7 +222,7 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
|
|||||||
$numFinal = $ean;
|
$numFinal = $ean;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
// Other barcode cases with key could be written here
|
// Other barcode cases with key could be written here
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user