added store autodetect in email scene
This commit is contained in:
		@@ -1,5 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
	"name":"Магнит",
 | 
			
		||||
	"autodetect_regex":"",
 | 
			
		||||
	"goods_name_regex": "([\\(\\)\\%\\*a-zA-Z0-9\u0401\u0451\u0410-\u044f \\.\\-\/]{17,100})",
 | 
			
		||||
	"goods_price_regex": "[0-9]{0,4}[^%]\\.[0-9]{2} ",
 | 
			
		||||
	"goods_quantity_regex": "([0-9]{0,4}[^%]\\.[0-9]{3} )|(\t\\d )",
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,8 @@
 | 
			
		||||
{
 | 
			
		||||
	"name":"Пятёрочка",
 | 
			
		||||
	"goods_name_regex": "^\\d+\\s\\t\\*?[\\(\\)\\%\\*a-zA-Z0-9ёЁА-я\\.\\-\\/ ]+",
 | 
			
		||||
	"autodetect_regex":"ООО\s*\"Агроторг\"",
 | 
			
		||||
	"goods_name_regex": "([\\(\\)\\%\\*a-zA-Z0-9\u0401\u0451\u0410-\u044f \\.\\-\/]{17,100})",
 | 
			
		||||
	"goods_price_regex": "[0-9]{0,4}[^%]\\.[0-9]{2} ",
 | 
			
		||||
	"goods_net_weight_regex": "((\\d+(\\.|,)?\\d{0,}((м|)л|(к|м|)г|т|ц|шт|(pc|)s|(m|k|)g|(m|)l|t))(\\s|\\t){0,})+",
 | 
			
		||||
	"goods_quantity_regex": "([0-9]{0,4}[^%]\\.[0-9]{3} )|(\t\\d )",
 | 
			
		||||
	"check_start_regex": "КАССОВЫЙ ЧЕК\nприход",
 | 
			
		||||
	"check_end_regex": "Итог\\:.{0,3}[0-9]{0,6}\\.[0-9]{2}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user