Skip to content

Commit 9e95a2c

Browse files
committed
Update
- Fixed: barcode generation
1 parent 9a8b4ef commit 9e95a2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/Services/BarcodeService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public function generateRandomBarcode( $code ): string
6666
break;
6767
}
6868

69-
$product = Product::where( 'barcode', '<>', $barcode )->first();
70-
} while( ! $product instanceof Product );
69+
$product = Product::where( 'barcode', $barcode )->first();
70+
} while( $product instanceof Product );
7171

7272
return $barcode;
7373
}

config/nexopos.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
return [
3-
'version' => '4.7.9',
3+
'version' => '4.7.10',
44
'languages' => [
55
'en' => 'English',
66
'fr' => 'Français',

0 commit comments

Comments
 (0)