This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"AccountScreens":null,"AccountTransactionDocumentTypes":null,"AccountTransactionTypes":null,"AccountTypes":null,"Accounts":null,"Actions":null,"AutoConfigurationTasks":[{"CreateBackup":true,"Description":"SambaPOS'a Peket Servisi Özelliklerini aktif eder. Paket Servisi ile birlikte, Yemek Sepeti Entegrasyonu kullanıyorsanız gerekli olan ekranları ve ayarları da beraberinde yapar.\u000d\u000aGörevi çalıştırdıktan sonra, Yönetim > Varlıklar > Varlıklar menüsünden Paketçi varlıklarınızı oluşturmalısınız.","Language":"tr","Name":"Paket Servis (Yemek Sepeti ile Birlikte)","SortOrder":0,"TaskData":"[{\"Action\":\"var ds = sql.Exists(\\\"SELECT Id from EntityScreens where Name = 'Paket Servis'\\\");\\u000d\\u000avar et = sql.Exists(\\\"SELECT Id from EntityTypes where Name = 'Paketçiler'\\\");\\u000d\\u000avar tt = sql.Exists(\\\"SELECT Id from TicketTypes where Name = 'Paket Servis'\\\");\\u000d\\u000avar cr = sql.Exists(\\\"SELECT Id from CustomReports where Name = 'Metrics'\\\");\\u000d\\u000avar sc = sql.Exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"AccountScreens":null,"AccountTransactionDocumentTypes":null,"AccountTransactionTypes":null,"AccountTypes":null,"Accounts":null,"Actions":null,"AutoConfigurationTasks":[{"CreateBackup":false,"Description":"Koyu veya Açık renk temayı etkinleştirin. Varsayılan masa ve menü renkleri de temaya uygun olarak değiştirilecektir.","Language":"tr","Name":"Tema Değiştir","SortOrder":40,"TaskData":"[{\"Action\":\"[?Tema Seçin:Açık|Koyu:Açık|Koyu]\",\"ActionType\":4,\"Condition\":null,\"Description\":\"Initialize Parameters\"},{\"Action\":\"function UpdateColor(name,oldColor,newColor)\\u000d\\u000a{\\u000d\\u000a sql.ExecSql(\\\"Update States set Color = '\\\"+newColor+\\\"' where Name = N'\\\"+name+\\\"' and Color = '\\\"+oldColor+\\\"'\\\");\\u000d\\u000a}\\u000d\\u000a\\u000d\\u000afunction UpdateMenuItem(oldColor,newColor)\\u000d\\u000a{\\u000d\\u000a sql.ExecSql(\\\"Update ScreenMenuCategories set MenuItemButtonColor = '\\\"+newColor+\\\"' where MenuItemButtonColor = '\\\"+oldColor+\\\"'\\\");\\u000d\\u000a}\\u000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Items: | |
- Description: Fast payment buttons and confirmation tasks | |
Url: https://gist.githubusercontent.com/emreeren/0c925ae66dafa3a7b6da/raw/ | |
Version: 99 | |
- Description: Switch themes | |
Url: https://gist.githubusercontent.com/emreeren/8c64d9ca1f4bfbdea801/raw/ | |
Version: 98 | |
- Description: UK Postal Codes integration | |
Url: https://gist.githubusercontent.com/emreeren/1894194f2f8fe9a179ff/raw/ | |
Version: 103 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"AccountScreens":null,"AccountTransactionDocumentTypes":null,"AccountTransactionTypes":null,"AccountTypes":null,"Accounts":null,"Actions":null,"AutoConfigurationTasks":[{"CreateBackup":false,"Description":"Enable Reservation List to Keep track of reservations and deposit payments","Language":"en","Name":"Reservation Setup","SortOrder":0,"TaskData":"[{\"Action\":\"var miscTxt = gql.Exec('{getProduct(name:\\\"Deposit\\\"){name}}');\\u000d\\u000avar misc = JSON.parse(miscTxt);\\u000d\\u000a\\u000d\\u000aif(misc.data === null){\\u000d\\u000a gql.Exec('mutation m{addProduct(name:\\\"Deposit\\\",groupCode:\\\"Misc\\\",portions:[{name:\\\"Normal\\\",price:0}]){id}}');\\u000d\\u000a}\",\"ActionType\":1,\"Condition\":null,\"Description\":\"Create Deposit Product\"},{\"Action\":\"TicketTypes:\\u000d\\u000a- Name: Reservation Ticket\\u000d\\u000a ScreenMenuName: Menu\\u000d\\u000a TicketNumeratorName: Ticket Number Generator\\u000d\\u000a OrderNumeratorName: Order Number Generator\\u000d\\u000a SaleTransactionTyp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"AccountScreens":null,"AccountTransactionDocumentTypes":null,"AccountTransactionTypes":null,"AccountTypes":null,"Accounts":null,"Actions":null,"AutoConfigurationTasks":[{"CreateBackup":true,"Description":"Enables UK Post Code lookup feature. Uses free Google Maps service and resolves Post Codes to Street level.","Language":"en","Name":"Enable UK Post Code Lookup","SortOrder":50,"TaskData":"[{\"Action\":\"dlg.AskQuestion(\\u000d\\u000a \\\"You'll need a Google Maps API Key to enable this feature.\\\",\\u000d\\u000a \\\"OK\\\",\\\"\\\",\\\"#CC000000\\\",0,\\u000d\\u000a \\\"You can visit <link https:\\\/\\\/developers.google.com\\\/maps\\\/documentation\\\/javascript\\\/get-api-key>Google Maps<\\\/link> website to have more info about creating an API Key.\\\")\\u000d\\u000aresult = '[?Google API Key]'\",\"ActionType\":4,\"Condition\":null,\"Description\":\"Ask Google Maps API Key\"},{\"Action\":\"var result = 'Customers';\\u000d\\u000aif(!sql.Exists(\\\"Select * from EntityTypes where Name='Customers'\\\")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var request = require('request'); | |
var querystring = require('querystring'); | |
var messageServer = 'localhost'; | |
var messageServerPort = 9000; | |
var gloriaFoodKey = 'xxxxxxxxxxxxxxxxxx'; | |
var serverKey = 'xxxxxxxxxxxxxxxxxxx'; | |
var timeout = 30000; | |
var customerEntityType = 'Customers'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE FROM [TicketEntities] | |
GO | |
DELETE FROM [Tickets] | |
GO | |
DELETE FROM [AccountTransactionDocuments] | |
GO | |
DELETE FROM [AccountTransactions] |
OlderNewer