Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{"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(\\\"SELECT Id from Scripts where Name = 'Metrics'\\\");\\u000d\\u000a\\u000d\\u000aData.Set('canCreateMetrics',!cr && !sc);\\u000d\\u000a\\u000d\\u000avar question = '';\\u000d\\u000aif(ds) question += 'Paket Servis Varlık Ekranı<br\\\/>';\\u000d\\u000aif(et) question += 'Paketçi Varlık Tipi<br\\\/>';\\u000d\\u000aif(tt) question += 'Paket Servis Belge Tipi<br\\\/>';\\u000d\\u000a\\u000d\\u000aif(question !== ''){\\u000d\\u000a question = 'Aşağıdakiler zaten açılmış<br\\\/><br\\\/>'+question;\\u000d\\u000a question += '<br\\\/>Mevcut Kurulum üzerine yazılacaktır!';\\u000d\\u000a question += '<br\\\/>Devam etmek istiyor musunuz?';\\u000d\\u000a result = dlg.AskQuestion(question,'Evet,Hayır')==='Evet';\\u000d\\u000a}\\u000d\\u000aelse result = true;\",\"ActionType\":3,\"Condition\":null,\"Description\":\"Check Existing Configuration\"},{\"Action\":\"var miscTxt = gql.Exec('{getProduct(name:\\\"Paket Servis Tanımsız Ürünler\\\"){name}}');\\u000d\\u000avar misc = JSON.parse(miscTxt);\\u000d\\u000a\\u000d\\u000aif(misc.data === null){\\u000d\\u000a gql.Exec('mutation m{addProduct(name:\\\"YS Tanımsız Ürün\\\",groupCode:\\\"Paket Servis\\\",portions:[{name:\\\"Normal\\\",price:0}]){id}}');\\u000d\\u000a}\",\"ActionType\":1,\"Condition\":null,\"Description\":\"Create Misc Product\"},{\"Action\":\"EntityTypes:\\u000d\\u000a- Name: Paketçiler\\u000d\\u000a EntityName: Paketçi\\u000d\\u000a EntityCustomFields:\\u000d\\u000a - Name: Telefon\\u000d\\u000a EditingFormat: '(###) ####'\\u000d\\u000a - Name: Adres\\u000d\\u000a FieldType: 1\\u000d\\u000a\",\"ActionType\":0,\"Condition\":null,\"Description\":\"Setup Deliverer Entity Type\"},{\"Action\":\"TicketTypes:\\u000d\\u000a- Name: Paket Servis\\u000d\\u000a ScreenMenuName: Menu\\u000d\\u000a TicketNumeratorName: Adisyon Numaratörü\\u000d\\u000a OrderNumeratorName: Sipariş Numaratörü\\u000d\\u000a SaleTransactionTypeName: Satış Hareketi\\u000d\\u000a EntityTypeAssignments:\\u000d\\u000a - EntityTypeName: Müşteriler\\u000d\\u000a CopyToNewTickets: true\\u000d\\u000a SortOrder: 10\\u000d\\u000a - EntityTypeName: Paketçiler\\u000d\\u000a CopyToNewTickets: true\\u000d\\u000a SortOrder: 20\\u000d\\u000a\",\"ActionType\":0,\"Condition\":null,\"Description\":\"Setup Delivery Ticket Type\"},{\"Action\":\"Actions:\\u000d\\u000a- Name: DLV_Close Ticket\\u000d\\u000a ActionType: CloseActiveTicket\\u000d\\u000a SortOrder: -1\\u000d\\u000a- Name: DLV_Update Ticket's Delivery Status\\u000d\\u000a ActionType: UpdateTicketState\\u000d\\u000a Parameter: '[{\\\"Key\\\":\\\"StateName\\\",\\\"Value\\\":\\\"Paket\\\"},{\\\"Key\\\":\\\"CurrentState\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"State\\\",\\\"Value\\\":\\\"[:Paket Durumu]\\\"},{\\\"Key\\\":\\\"StateValue\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"QuantityExp\\\",\\\"Value\\\":null}]'\\u000d\\u000a- Name: DLV_Load Ticket\\u000d\\u000a ActionType: LoadTicket\\u000d\\u000a Parameter: '[{\\\"Key\\\":\\\"TicketId\\\",\\\"Value\\\":\\\"[:Ticket Id]\\\"},{\\\"Key\\\":\\\"TagName\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"TagValue\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"StateName\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"State\\\",\\\"Value\\\":null}]'\\u000d\\u000a- Name: DLV_Update Ticket Deliverer\\u000d\\u000a ActionType: ChangeTicketEntity\\u000d\\u000a Parameter: '[{\\\"Key\\\":\\\"CanCreateTicket\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"CanCreateEntity\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"EntityTypeName\\\",\\\"Value\\\":\\\"Paketçiler\\\"},{\\\"Key\\\":\\\"EntityName\\\",\\\"Value\\\":\\\"[:Paketçi]\\\"},{\\\"Key\\\":\\\"EntitySearchValue\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"UpdateNullEntity\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"EntityScreenName\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"EntityScreenSearchValue\\\",\\\"Value\\\":null}]'\\u000d\\u000a- Name: DLV_Display Ticket\\u000d\\u000a ActionType: DisplayTicket\\u000d\\u000a Parameter: '[{\\\"Key\\\":\\\"TicketId\\\",\\\"Value\\\":\\\"[:Ticket Id]\\\"}]'\\u000d\\u000a- Name: DLV_Popup Browser\\u000d\\u000a ActionType: PopupBrowser\\u000d\\u000a Parameter: '[{\\\"Key\\\":\\\"Url\\\",\\\"Value\\\":\\\"[:URL]\\\"},{\\\"Key\\\":\\\"Buttons\\\",\\\"Value\\\":\\\"Close\\\"},{\\\"Key\\\":\\\"AutomationCommandName\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"BackgroundColor\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"Zoom\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"Height\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"Width\\\",\\\"Value\\\":null}]'\\u000d\\u000a- Name: DLV_ACM Pay Ticket by Nakit\\u000d\\u000a ActionType: PayTicket\\u000d\\u000a Parameter: '[{\\\"Key\\\":\\\"PaymentTypeName\\\",\\\"Value\\\":\\\"Nakit\\\"}]'\\u000d\\u000a- Name: DLV_ACM Pay Ticket by Kredi Kartı\\u000d\\u000a ActionType: PayTicket\\u000d\\u000a Parameter: '[{\\\"Key\\\":\\\"PaymentTypeName\\\",\\\"Value\\\":\\\"Kredi Kartı\\\"}]'\\u000d\\u000a- Name: DLV_Confirm Customer\\u000d\\u000a ActionType: UpdateEntityState\\u000d\\u000a Parameter: '[{\\\"Key\\\":\\\"EntityTypeName\\\",\\\"Value\\\":\\\"Müşteriler\\\"},{\\\"Key\\\":\\\"EntityName\\\",\\\"Value\\\":\\\"[:Entity Name]\\\"},{\\\"Key\\\":\\\"EntityStateName\\\",\\\"Value\\\":\\\"CStatus\\\"},{\\\"Key\\\":\\\"CurrentState\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"EntityState\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"QuantityExp\\\",\\\"Value\\\":null}]'\\u000d\\u000a- Name: DLV_Update Yemek Sepeti Status\\u000d\\u000a ActionType: ExecuteScript\\u000d\\u000a Parameter: '[{\\\"Key\\\":\\\"Function\\\",\\\"Value\\\":\\\"ys.post(''[:Status]'',''[:siparisNo]'')\\\"},{\\\"Key\\\":\\\"Command\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"Parameters\\\",\\\"Value\\\":null},{\\\"Key\\\":\\\"RunInBackground\\\",\\\"Value\\\":null}]'\\u000d\\u000aRules:\\u000d\\u000a- Name: DLV_Update new Paket Servis Status\\u000d\\u000a EventName: TicketCreated\\u000d\\u000a RuleConstraints: '[{\\\"L\\\":\\\"TicketTypeName\\\",\\\"N\\\":\\\"gx8Mdl73kR\\\",\\\"O\\\":\\\"Equal\\\",\\\"R\\\":\\\"Paket Servis\\\"}]'\\u000d\\u000a Actions:\\u000d\\u000a - Name: DLV_Update Ticket's Delivery Status\\u000d\\u000a ParameterValues: Paket Durumu=Bekliyor\\u000d\\u000a SortOrder: 10\\u000d\\u000a AppRuleMaps:\\u000d\\u000a - {}\\u000d\\u000a- Name: DLV_Update Ticket Status when Deliverer selected\\u000d\\u000a EventName: TicketEntityChanged\\u000d\\u000a RuleConstraints: '[{\\\"L\\\":\\\"EntityTypeName\\\",\\\"N\\\":\\\"c8CdaemSGl\\\",\\\"O\\\":\\\"Equal\\\",\\\"R\\\":\\\"Paketçiler\\\"}]'\\u000d\\u000a Actions:\\u000d\\u000a - Name: DLV_Update Ticket's Delivery Status\\u000d\\u000a ParameterValues: Paket Durumu=Yolda\\u000d\\u000a SortOrder: 10\\u000d\\u000a AppRuleMaps:\\u000d\\u000a - {}\\u000d\\u000a- Name: DLV_Update Paid Paket Servis status\\u000d\\u000a EventName: BeforeTicketClosing\\u000d\\u000a RuleConstraints: '[{\\\"L\\\":\\\"RemainingAmount\\\",\\\"N\\\":\\\"odCzLcyT6Y\\\",\\\"O\\\":\\\"Equal\\\",\\\"R\\\":\\\"0\\\"},{\\\"L\\\":\\\"TicketTypeName\\\",\\\"N\\\":\\\"Rb0XjyqtGe\\\",\\\"O\\\":\\\"Equal\\\",\\\"R\\\":\\\"Paket Servis\\\"}]'\\u000d\\u000a Actions:\\u000d\\u000a - Name: DLV_Update Ticket's Delivery Status\\u000d\\u000a ParameterValues: \\\"Paket Durumu=Ödendi\\\"\\u000d\\u000a SortOrder: 10\\u000d\\u000a - Name: DLV_Update Yemek Sepeti Status\\u000d\\u000a ParameterValues: \\\"Status=Tamamlandi`siparisNo={TICKET TAG:Sipariş No}\\\"\\u000d\\u000a SortOrder: 20\\u000d\\u000a AppRuleMaps:\\u000d\\u000a - {}\\u000d\\u000a- Name: DLV_Display Ticket Rule\\u000d\\u000a EventName: AutomationCommandExecuted\\u000d\\u000a RuleConstraints: '[{\\\"L\\\":\\\"AutomationCommandName\\\",\\\"N\\\":\\\"baommlH7GR\\\",\\\"O\\\":\\\"Equal\\\",\\\"R\\\":\\\"Adisyonu Göster\\\"}]'\\u000d\\u000a Actions:\\u000d\\u000a - Name: DLV_Display Ticket\\u000d\\u000a ParameterValues: Ticket Id=[:CommandValue]\\u000d\\u000a SortOrder: 10\\u000d\\u000a AppRuleMaps:\\u000d\\u000a - {}\\u000d\\u000a- Name: DLV_Display Map Rule\\u000d\\u000a EventName: AutomationCommandExecuted\\u000d\\u000a RuleConstraints: '[{\\\"L\\\":\\\"AutomationCommandName\\\",\\\"N\\\":\\\"iE6ujZ8B4Y\\\",\\\"O\\\":\\\"Equal\\\",\\\"R\\\":\\\"Haritada Göster\\\"}]'\\u000d\\u000a Actions:\\u000d\\u000a - Name: DLV_Popup Browser\\u000d\\u000a ParameterValues: URL=[:MapURL]\\u000d\\u000a SortOrder: 10\\u000d\\u000a AppRuleMaps:\\u000d\\u000a - {}\\u000d\\u000a- Name: DLV_Handle Deliverer Command\\u000d\\u000a EventName: AutomationCommandExecuted\\u000d\\u000a RuleConstraints: '[{\\\"L\\\":\\\"AutomationCommandName\\\",\\\"N\\\":\\\"7XwidLvxRZ\\\",\\\"O\\\":\\\"Equal\\\",\\\"R\\\":\\\"DLV_Deliverer Command\\\"}]'\\u000d\\u000a Actions:\\u000d\\u000a - Name: DLV_Load Ticket\\u000d\\u000a ParameterValues: Ticket Id=[:TicketId]\\u000d\\u000a SortOrder: 10\\u000d\\u000a - Name: DLV_Update Ticket Deliverer\\u000d\\u000a ParameterValues: Paketçi=[:Paketçiler]\\u000d\\u000a SortOrder: 20\\u000d\\u000a - Name: DLV_Close Ticket\\u000d\\u000a SortOrder: 30\\u000d\\u000a - Name: DLV_Update Yemek Sepeti Status\\u000d\\u000a ParameterValues: \\\"Status=Paketci`siparisNo={TICKET TAG:Sipariş No}\\\"\\u000d\\u000a SortOrder: 40\\u000d\\u000a AppRuleMaps:\\u000d\\u000a - {}\\u000d\\u000a- Name: DLV_Confirm Paket Servis\\u000d\\u000a EventName: AutomationCommandExecuted\\u000d\\u000a RuleConstraints: '[{\\\"L\\\":\\\"AutomationCommandName\\\",\\\"N\\\":\\\"0TAT84rhoZ\\\",\\\"O\\\":\\\"Equal\\\",\\\"R\\\":\\\"Confirm Ticket\\\"}]'\\u000d\\u000a Actions:\\u000d\\u000a - Name: DLV_Load Ticket\\u000d\\u000a ParameterValues: Ticket Id=[:CommandValue]\\u000d\\u000a SortOrder: 10\\u000d\\u000a - Name: DLV_Close Ticket\\u000d\\u000a SortOrder: 40\\u000d\\u000a - Name: DLV_Confirm Customer\\u000d\\u000a ParameterValues: \\\"Entity Name={ENTITY NAME:Müşteriler}\\\"\\u000d\\u000a SortOrder: 30\\u000d\\u000a - Name: DLV_Update Ticket's Delivery Status\\u000d\\u000a ParameterValues: Paket Durumu=Bekliyor\\u000d\\u000a SortOrder: 20\\u000d\\u000a AppRuleMaps:\\u000d\\u000a - {}\\u000d\\u000a- Name: DLV_Pay Ticket Rule\\u000d\\u000a EventName: AutomationCommandExecuted\\u000d\\u000a RuleConstraints: '[{\\\"L\\\":\\\"AutomationCommandName\\\",\\\"N\\\":\\\"QVCWmJX2WD\\\",\\\"O\\\":\\\"Equal\\\",\\\"R\\\":\\\"Pay Ticket by Nakit\\\"}]'\\u000d\\u000a Actions:\\u000d\\u000a - Name: DLV_ACM Pay Ticket by Nakit\\u000d\\u000a SortOrder: 20\\u000d\\u000a - Name: DLV_Load Ticket\\u000d\\u000a ParameterValues: Ticket Id=[:CommandValue]\\u000d\\u000a SortOrder: 10\\u000d\\u000a - Name: DLV_Close Ticket\\u000d\\u000a SortOrder: 30\\u000d\\u000a AppRuleMaps:\\u000d\\u000a - {}\\u000d\\u000a- Name: DLV_Pay Ticket by CC Rule\\u000d\\u000a EventName: AutomationCommandExecuted\\u000d\\u000a RuleConstraints: '[{\\\"L\\\":\\\"AutomationCommandName\\\",\\\"N\\\":\\\"0l8F7BixoH\\\",\\\"O\\\":\\\"Equal\\\",\\\"R\\\":\\\"Pay Ticket by Kredi Kartı\\\"}]'\\u000d\\u000a Actions:\\u000d\\u000a - Name: DLV_Load Ticket\\u000d\\u000a ParameterValues: Ticket Id=[:CommandValue]\\u000d\\u000a SortOrder: 10\\u000d\\u000a - Name: DLV_ACM Pay Ticket by Kredi Kartı\\u000d\\u000a SortOrder: 20\\u000d\\u000a - Name: DLV_Close Ticket\\u000d\\u000a SortOrder: 30\\u000d\\u000a AppRuleMaps:\\u000d\\u000a - {}\",\"ActionType\":0,\"Condition\":null,\"Description\":\"Create Rules\"},{\"Action\":\"EntityScreens:\\u000d\\u000a- Name: Paket Servis\\u000d\\u000a TicketTypeName: Paket Servis\\u000d\\u000a EntityTypeName: \\\"Müşteriler\\\"\\u000d\\u000a DisplayMode: 3\\u000d\\u000a BackgroundColor: Transparent\\u000d\\u000a FontSize: 50\\u000d\\u000a PageCount: 1\\u000d\\u000a Layout: <?xml version=\\\"1.0\\\" encoding=\\\"utf-16\\\"?><LayoutControl ID=\\\"LayoutControl\\\" ItemSpace=\\\"0\\\" Padding=\\\"0\\\"><LayoutGroup Orientation=\\\"Vertical\\\"><Element ID=\\\"NnrLHu9nXOEiD5ydKMH30XA\\\" Height=\\\"60\\\" \\\/><Element ID=\\\"N82rFNmIAe0GAfyV5teUh3A\\\" VerticalAlignment=\\\"Stretch\\\" \\\/><\\\/LayoutGroup><LayoutGroup Orientation=\\\"Vertical\\\"><Element ID=\\\"N69567St60ESuONi_L0RtsQ\\\" HorizontalAlignment=\\\"Stretch\\\" VerticalAlignment=\\\"Top\\\" Width=\\\"NaN\\\" Height=\\\"60\\\" \\\/><Element ID=\\\"NtyMvsdLG80iashKzpqhzrg\\\" HorizontalAlignment=\\\"Stretch\\\" VerticalAlignment=\\\"Stretch\\\" Width=\\\"NaN\\\" \\\/><\\\/LayoutGroup><LayoutGroup Orientation=\\\"Vertical\\\"><Element ID=\\\"NCtr1a9Uh_EKmvxCTxF0h5A\\\" HorizontalAlignment=\\\"Stretch\\\" Width=\\\"NaN\\\" Height=\\\"60\\\" \\\/><Element ID=\\\"NptQJrmXQPEW9JN8Qbyj0IA\\\" HorizontalAlignment=\\\"Stretch\\\" VerticalAlignment=\\\"Stretch\\\" Width=\\\"NaN\\\" \\\/><\\\/LayoutGroup><LayoutGroup Orientation=\\\"Vertical\\\"><Element ID=\\\"N3vrM01tIKUiPEBeyKAmFAA\\\" Height=\\\"60\\\" \\\/><Element ID=\\\"N60c_AsrHl0izh_2dZcTxQDtQ\\\" VerticalAlignment=\\\"Stretch\\\" \\\/><\\\/LayoutGroup><AvailableItems \\\/><\\\/LayoutControl>\\u000d\\u000a EntityScreenMaps:\\u000d\\u000a - UserRoleId: 1\\u000d\\u000a Widgets:\\u000d\\u000a - UniqueId: N69567St60ESuONi_L0RtsQ\\u000d\\u000a XLocation: 3\\u000d\\u000a YLocation: 1\\u000d\\u000a Height: 48\\u000d\\u000a Width: 475\\u000d\\u000a Properties: \\\"{\\\\\\\"Alignment\\\\\\\":\\\\\\\"Center\\\\\\\",\\\\\\\"Alignments\\\\\\\":[\\\\\\\"Left\\\\\\\",\\\\\\\"Right\\\\\\\",\\\\\\\"Center\\\\\\\"],\\\\\\\"BackgroundColor\\\\\\\":\\\\\\\"#FF548DD4\\\\\\\",\\\\\\\"BorderColor\\\\\\\":\\\\\\\"#FF366092\\\\\\\",\\\\\\\"BorderThickness\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"FontName\\\\\\\":\\\\\\\"Segoe UI\\\\\\\",\\\\\\\"FontSize\\\\\\\":40,\\\\\\\"FontWeight\\\\\\\":\\\\\\\"Thin\\\\\\\",\\\\\\\"FontWeights\\\\\\\":[\\\\\\\"Normal\\\\\\\",\\\\\\\"Thin\\\\\\\",\\\\\\\"Bold\\\\\\\"],\\\\\\\"ForegroundColor\\\\\\\":\\\\\\\"#FFFFFFFF\\\\\\\",\\\\\\\"Text\\\\\\\":\\\\\\\"Bekleyen Siparişler\\\\\\\",\\\\\\\"VerticalAlignment\\\\\\\":\\\\\\\"Top\\\\\\\",\\\\\\\"VerticalAlignments\\\\\\\":[\\\\\\\"Top\\\\\\\",\\\\\\\"Center\\\\\\\",\\\\\\\"Bottom\\\\\\\"]}\\\"\\u000d\\u000a CreatorName: LabelWidgetCreator\\u000d\\u000a AutoRefresh: true\\u000d\\u000a Margin: 4,0,4,4\\u000d\\u000a - UniqueId: NCtr1a9Uh_EKmvxCTxF0h5A\\u000d\\u000a XLocation: 486\\u000d\\u000a YLocation: 1\\u000d\\u000a Height: 47\\u000d\\u000a Width: 477\\u000d\\u000a Properties: \\\"{\\\\\\\"Alignment\\\\\\\":\\\\\\\"Center\\\\\\\",\\\\\\\"Alignments\\\\\\\":[\\\\\\\"Left\\\\\\\",\\\\\\\"Right\\\\\\\",\\\\\\\"Center\\\\\\\"],\\\\\\\"BackgroundColor\\\\\\\":\\\\\\\"#FF9BBB59\\\\\\\",\\\\\\\"BorderColor\\\\\\\":\\\\\\\"#FF76923C\\\\\\\",\\\\\\\"BorderThickness\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"FontName\\\\\\\":\\\\\\\"Segoe UI\\\\\\\",\\\\\\\"FontSize\\\\\\\":40,\\\\\\\"FontWeight\\\\\\\":\\\\\\\"Thin\\\\\\\",\\\\\\\"FontWeights\\\\\\\":[\\\\\\\"Normal\\\\\\\",\\\\\\\"Thin\\\\\\\",\\\\\\\"Bold\\\\\\\"],\\\\\\\"ForegroundColor\\\\\\\":\\\\\\\"#FFFFFFFF\\\\\\\",\\\\\\\"Text\\\\\\\":\\\\\\\"Yola Çıkan Siparişler\\\\\\\",\\\\\\\"VerticalAlignment\\\\\\\":\\\\\\\"Top\\\\\\\",\\\\\\\"VerticalAlignments\\\\\\\":[\\\\\\\"Top\\\\\\\",\\\\\\\"Center\\\\\\\",\\\\\\\"Bottom\\\\\\\"]}\\\"\\u000d\\u000a CreatorName: LabelWidgetCreator\\u000d\\u000a AutoRefresh: true\\u000d\\u000a Margin: 4,0,4,4\\u000d\\u000a - UniqueId: NtyMvsdLG80iashKzpqhzrg\\u000d\\u000a XLocation: 3\\u000d\\u000a YLocation: 48\\u000d\\u000a Height: 269\\u000d\\u000a Width: 475\\u000d\\u000a Properties: \\\"{\\\\\\\"Background\\\\\\\":\\\\\\\"#FF1F497D\\\\\\\",\\\\\\\"Border\\\\\\\":\\\\\\\"#00FFFFFF\\\\\\\",\\\\\\\"ColumnCount\\\\\\\":1,\\\\\\\"CommandAreaHeight\\\\\\\":70,\\\\\\\"CommandAreaRows\\\\\\\":2,\\\\\\\"CommandButtons\\\\\\\":\\\\\\\"{REPORT ENTITY DETAILS:\\\\\\\\u000d\\\\\\\\u000aE.Name.asc\\\\\\\\u000d\\\\\\\\u000a:(ET=Paketçiler)\\\\\\\\u000d\\\\\\\\u000a:{0}=DLV_Deliverer Command\\\\\\\\\\\\\\\\:TicketId=$1,Paketçiler={0}}\\\\\\\",\\\\\\\"CommandName\\\\\\\":null,\\\\\\\"CommandValue\\\\\\\":null,\\\\\\\"Expression\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"Filter\\\\\\\":null,\\\\\\\"FontName\\\\\\\":\\\\\\\"Consolas\\\\\\\",\\\\\\\"FontSize\\\\\\\":12,\\\\\\\"Foreground\\\\\\\":\\\\\\\"#FFDBEEF3\\\\\\\",\\\\\\\"Format\\\\\\\":\\\\\\\"<L00><block 10 transparent left *>\\\\\\\\u000d\\\\\\\\u000a<L00><size 20>{ENTITY NAME:Müşteriler}<\\\\\\\\\\\/size><br\\\\\\\\\\\/>\\\\\\\\u000d\\\\\\\\u000a<L00><size 16>{ENTITY DATA:Müşteriler:IsimSoyisim}<\\\\\\\\\\\/size><br\\\\\\\\\\\/>\\\\\\\\u000d\\\\\\\\u000a<L00>[='{ENTITY DATA:Müşteriler:Adres}'.replace('<!rn>','<br\\\\\\\\\\\/>')]<br\\\\\\\\\\\/>\\\\\\\\u000d\\\\\\\\u000a<L00><size 15><timer {TICKET DATE:HH:mm} {TICKET TAG:Delivery Minutes} 1>\\\\\\\\u000d\\\\\\\\u000a<L00>-30:<color LightGreen><size 15><m:>:<s:{0:00}> min.<\\\\\\\\\\\/size><\\\\\\\\\\\/color>\\\\\\\\u000d\\\\\\\\u000a<L00><br\\\\\\\\\\\/>0-5:<color LightPink><size 15><m:{0:00}>:<s:{0:00}><\\\\\\\\\\\/size><\\\\\\\\\\\/color>\\\\\\\\u000d\\\\\\\\u000a<L00><br\\\\\\\\\\\/>5:<color LightPink><size 15><m:> Minutes Due!!<\\\\\\\\\\\/size><\\\\\\\\\\\/color>\\\\\\\\u000d\\\\\\\\u000a<L00><\\\\\\\\\\\/timer><\\\\\\\\\\\/size><\\\\\\\\\\\/block>\\\\\\\\u000d\\\\\\\\u000a\\\\\\\\u000d\\\\\\\\u000a<L00><block 20><size 40>{TICKET TOTAL}.-TL<\\\\\\\\\\\/size><\\\\\\\\\\\/block>\\\\\\\",\\\\\\\"HideBorderVisual\\\\\\\":true,\\\\\\\"ItemBorderThickness\\\\\\\":\\\\\\\"0,0,0,1\\\\\\\",\\\\\\\"LoopCommands\\\\\\\":true,\\\\\\\"MaxWidth\\\\\\\":1000,\\\\\\\"MergeLines\\\\\\\":false,\\\\\\\"MinHeight\\\\\\\":50,\\\\\\\"MinWidth\\\\\\\":20,\\\\\\\"MultiSelection\\\\\\\":true,\\\\\\\"OrderBy\\\\\\\":\\\\\\\"Last Order\\\\\\\",\\\\\\\"OrderFilter\\\\\\\":null,\\\\\\\"OrderState\\\\\\\":null,\\\\\\\"SelectedBackground\\\\\\\":\\\\\\\"#FF95B3D7\\\\\\\",\\\\\\\"SelectedForeground\\\\\\\":\\\\\\\"#FF0F243E\\\\\\\",\\\\\\\"ShowWorkperiodTickets\\\\\\\":true,\\\\\\\"SortDescending\\\\\\\":false,\\\\\\\"State\\\\\\\":\\\\\\\"Bekliyor\\\\\\\",\\\\\\\"Width\\\\\\\":100}\\\"\\u000d\\u000a CreatorName: TicketListerCreator\\u000d\\u000a AutoRefresh: true\\u000d\\u000a Margin: 4;0;4;0\\u000d\\u000a - UniqueId: NptQJrmXQPEW9JN8Qbyj0IA\\u000d\\u000a XLocation: 486\\u000d\\u000a YLocation: 48\\u000d\\u000a Height: 229\\u000d\\u000a Width: 478\\u000d\\u000a Properties: \\\"{\\\\\\\"Background\\\\\\\":\\\\\\\"#FF76923C\\\\\\\",\\\\\\\"Border\\\\\\\":\\\\\\\"#00FFFFFF\\\\\\\",\\\\\\\"ColumnCount\\\\\\\":1,\\\\\\\"CommandAreaHeight\\\\\\\":70,\\\\\\\"CommandAreaRows\\\\\\\":2,\\\\\\\"CommandButtons\\\\\\\":\\\\\\\"<bold>₺ <\\\\\\\\\\\/bold>Nakit=Pay Ticket by Nakit\\\\\\\\u000d\\\\\\\\u000a<sym> <\\\\\\\\\\\/sym>Kredi Kartı=Pay Ticket by Kredi Kartı\\\\\\\\u000d\\\\\\\\u000aAdisyonu Göster=Display Ticket\\\\\\\\u000d\\\\\\\\u000aHaritada Göster=Display Map:\\\\\\\\\\\\\\\"TicketId=$1\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MapURL=https:\\\\\\\\\\\/\\\\\\\\\\\/maps.google.com\\\\\\\\\\\/maps?saddr=Maltepe Mh. Eski Çırpıcıyolu Sk. No:1, Merter Meridyen İş Merkezi Kat: 5 No:519, 34010 Zeytinburnu\\\\\\\\\\\/İstanbul&daddr={ENTITY DATA:Müşteri:Adres}&hl=tr\\\\\\\\\\\\\\\"\\\\\\\",\\\\\\\"CommandName\\\\\\\":null,\\\\\\\"CommandValue\\\\\\\":null,\\\\\\\"Expression\\\\\\\":null,\\\\\\\"Filter\\\\\\\":null,\\\\\\\"FontName\\\\\\\":\\\\\\\"Consolas\\\\\\\",\\\\\\\"FontSize\\\\\\\":12,\\\\\\\"Foreground\\\\\\\":\\\\\\\"#FFEBF1DD\\\\\\\",\\\\\\\"Format\\\\\\\":\\\\\\\"<L00><block 10 transparent left *>\\\\\\\\u000d\\\\\\\\u000a<L00><size 20>{ENTITY NAME:Paketçiler}<\\\\\\\\\\\/size><br\\\\\\\\\\\/>\\\\\\\\u000d\\\\\\\\u000a<L00>[='{ENTITY NAME:Müşteri}'.replace('<!rn>','<br\\\\\\\\\\\/>')]\\\\\\\\u000d\\\\\\\\u000a<L00><\\\\\\\\\\\/block>\\\\\\\\u000d\\\\\\\\u000a\\\\\\\\u000d\\\\\\\\u000a<L00><block 20><size 40>${TICKET TOTAL}<\\\\\\\\\\\/size><\\\\\\\\\\\/block>\\\\\\\",\\\\\\\"HideBorderVisual\\\\\\\":true,\\\\\\\"ItemBorderThickness\\\\\\\":\\\\\\\"0,0,0,1\\\\\\\",\\\\\\\"LoopCommands\\\\\\\":true,\\\\\\\"MaxWidth\\\\\\\":1000,\\\\\\\"MergeLines\\\\\\\":false,\\\\\\\"MinHeight\\\\\\\":30,\\\\\\\"MinWidth\\\\\\\":20,\\\\\\\"MultiSelection\\\\\\\":true,\\\\\\\"OrderBy\\\\\\\":null,\\\\\\\"OrderFilter\\\\\\\":null,\\\\\\\"OrderState\\\\\\\":null,\\\\\\\"SelectedBackground\\\\\\\":\\\\\\\"#FFC3D69B\\\\\\\",\\\\\\\"SelectedForeground\\\\\\\":\\\\\\\"#FF4F6128\\\\\\\",\\\\\\\"ShowWorkperiodTickets\\\\\\\":true,\\\\\\\"SortDescending\\\\\\\":false,\\\\\\\"State\\\\\\\":\\\\\\\"Yolda\\\\\\\",\\\\\\\"Width\\\\\\\":40}\\\"\\u000d\\u000a CreatorName: TicketListerCreator\\u000d\\u000a AutoRefresh: true\\u000d\\u000a Margin: 4;0;4;0\\u000d\\u000a - UniqueId: NnrLHu9nXOEiD5ydKMH30XA\\u000d\\u000a XLocation: 3\\u000d\\u000a YLocation: 1\\u000d\\u000a Height: 48\\u000d\\u000a Width: 475\\u000d\\u000a Properties: '{\\\"Alignment\\\":\\\"Center\\\",\\\"Alignments\\\":[\\\"Left\\\",\\\"Right\\\",\\\"Center\\\"],\\\"BackgroundColor\\\":\\\"#FFE36C09\\\",\\\"BorderColor\\\":\\\"#FFB22222\\\",\\\"BorderThickness\\\":\\\"1\\\",\\\"FontName\\\":\\\"Segoe UI\\\",\\\"FontSize\\\":40,\\\"FontWeight\\\":\\\"Thin\\\",\\\"FontWeights\\\":[\\\"Normal\\\",\\\"Thin\\\",\\\"Bold\\\"],\\\"ForegroundColor\\\":\\\"#FFFFFFFF\\\",\\\"Text\\\":\\\"Yemek Sepeti\\\",\\\"VerticalAlignment\\\":\\\"Top\\\",\\\"VerticalAlignments\\\":[\\\"Top\\\",\\\"Center\\\",\\\"Bottom\\\"]}'\\u000d\\u000a CreatorName: LabelWidgetCreator\\u000d\\u000a AutoRefresh: true\\u000d\\u000a Margin: 0,0,4,4\\u000d\\u000a - UniqueId: N60c_AsrHl0izh-ZcTxQDtQ\\u000d\\u000a Height: 100\\u000d\\u000a Width: 100\\u000d\\u000a Properties: '{\\\"AutomationCommandName\\\":null,\\\"CanCreateEntity\\\":false,\\\"CanDisplayAccount\\\":false,\\\"CanEditEntity\\\":false,\\\"CommandAreaHeight\\\":70,\\\"CommandAreaRows\\\":2,\\\"CommandButtons\\\":\\\"Müşteri Seç=Select\\\\u000d\\\\u000aYeni Müşteri Ekle=Create\\\",\\\"CommandValue\\\":null,\\\"EntityTypeName\\\":null,\\\"IsKeyboardVisible\\\":false,\\\"SearchLabel\\\":null,\\\"StateFilterName\\\":null}'\\u000d\\u000a CreatorName: ResourceSearch\\u000d\\u000a AutoRefresh: true\\u000d\\u000a Margin: 4,0,0,0\\u000d\\u000a - UniqueId: N3vrM01tIKUiPEBeyKAmFAA\\u000d\\u000a XLocation: 486\\u000d\\u000a YLocation: 1\\u000d\\u000a Height: 47\\u000d\\u000a Width: 477\\u000d\\u000a Properties: \\\"{\\\\\\\"Alignment\\\\\\\":\\\\\\\"Center\\\\\\\",\\\\\\\"Alignments\\\\\\\":[\\\\\\\"Left\\\\\\\",\\\\\\\"Right\\\\\\\",\\\\\\\"Center\\\\\\\"],\\\\\\\"BackgroundColor\\\\\\\":\\\\\\\"#FFC0504D\\\\\\\",\\\\\\\"BorderColor\\\\\\\":\\\\\\\"#FF632423\\\\\\\",\\\\\\\"BorderThickness\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"FontName\\\\\\\":\\\\\\\"Segoe UI\\\\\\\",\\\\\\\"FontSize\\\\\\\":40,\\\\\\\"FontWeight\\\\\\\":\\\\\\\"Thin\\\\\\\",\\\\\\\"FontWeights\\\\\\\":[\\\\\\\"Normal\\\\\\\",\\\\\\\"Thin\\\\\\\",\\\\\\\"Bold\\\\\\\"],\\\\\\\"ForegroundColor\\\\\\\":\\\\\\\"#FFF2F2F2\\\\\\\",\\\\\\\"Text\\\\\\\":\\\\\\\"Müşteriler\\\\\\\",\\\\\\\"VerticalAlignment\\\\\\\":\\\\\\\"Top\\\\\\\",\\\\\\\"VerticalAlignments\\\\\\\":[\\\\\\\"Top\\\\\\\",\\\\\\\"Center\\\\\\\",\\\\\\\"Bottom\\\\\\\"]}\\\"\\u000d\\u000a CreatorName: LabelWidgetCreator\\u000d\\u000a AutoRefresh: true\\u000d\\u000a Margin: 4,0,0,6\\u000d\\u000a - UniqueId: N82rFNmIAe0GAfyV5teUh3A\\u000d\\u000a Height: 100\\u000d\\u000a Width: 100\\u000d\\u000a Properties: '{\\\"AllowScripting\\\":false,\\\"IsToolbarVisible\\\":false,\\\"Url\\\":\\\"http:\\\\\\\/\\\\\\\/localhost\\\",\\\"Zoom\\\":130}'\\u000d\\u000a CreatorName: HtmlViewerCreator\\u000d\\u000a Margin: 0;0;0;0\\u000d\\u000a\",\"ActionType\":0,\"Condition\":null,\"Description\":\"Create Entity Screen\"},{\"Action\":\"Scripts:\\u000d\\u000a- Name: Metrics\\u000d\\u000a HandlerName: metrics\\u000d\\u000a Code: >-\\u000d\\u000a function get(metricName){\\u000d\\u000a var result = gql.Exec('{getCustomReport(name:\\\"Metrics\\\"){name,header,tables{name, rows{cells}}}}');\\u000d\\u000a var data = JSON.parse(result).data;\\u000d\\u000a var tables = data.getCustomReport.tables;\\u000d\\u000a for(i=0; i < tables.length; i++){\\u000d\\u000a if(tables[i].name === metricName){\\u000d\\u000a return tables[i].rows[0].cells[0];\\u000d\\u000a }\\u000d\\u000a }\\u000d\\u000a return \\\"Metric Not Found\\\";\\u000d\\u000a }\\u000d\\u000a\\u000d\\u000a\\u000d\\u000a function getDeliveryMetric(){\\u000d\\u000a var deliveryCount = get('Delivery Ticket Count');\\u000d\\u000a return 'Bugün '+ deliveryCount +' adet sipariş aldınız.';\\u000d\\u000a }\\u000d\\u000aCustomReports:\\u000d\\u000a- Name: Metrics\\u000d\\u000a Template: \\\"[Delivery Ticket Count] \\\\r\\\\n{REPORT TICKET COUNT:'(TicketType=Delivery Ticket)'}\\\"\\u000d\\u000a\",\"ActionType\":0,\"Condition\":\"Data.Get('canCreateMetrics')\",\"Description\":\"Add Metric Reports and Scripts\"},{\"Action\":\"Accounts:\\u000d\\u000a- Name: Paket Servis\\u000d\\u000a AccountTypeName: Servis Hesapları\\u000d\\u000a- Name: Tip\\u000d\\u000a AccountTypeName: Servis Hesapları\\u000d\\u000aAccountTypes:\\u000d\\u000a- Name: Servis Hesapları\\u000d\\u000aAccountTransactionTypes:\\u000d\\u000a- Name: Paket Servis Hareketi\\u000d\\u000a SourceAccountTypeName: Servis Hesapları\\u000d\\u000a TargetAccountTypeName: Alacak Hesapları\\u000d\\u000a DefaultSourceAccountName: Paket Servis\\u000d\\u000a DefaultTargetAccountName: Alacaklar\\u000d\\u000a- Name: Tip Hareketi\\u000d\\u000a SourceAccountTypeName: Servis Hesapları\\u000d\\u000a TargetAccountTypeName: Alacak Hesapları\\u000d\\u000a DefaultSourceAccountName: Tip\\u000d\\u000a DefaultTargetAccountName: Alacaklar\\u000d\\u000aCalculationTypes:\\u000d\\u000a- Name: Paket Servis\\u000d\\u000a CalculationMethod: 2\\u000d\\u000a IncludeTax: true\\u000d\\u000a AccountTransactionTypeName: Paket Servis Hareketi\\u000d\\u000a- Name: Tip\\u000d\\u000a CalculationMethod: 2\\u000d\\u000a IncludeTax: true\\u000d\\u000a AccountTransactionTypeName: Tip Hareketi\\u000d\\u000a\",\"ActionType\":0,\"Condition\":null,\"Description\":\"Setup Calculations & Accounts\"},{\"Action\":\"OrderTagGroups:\\u000d\\u000a- Name: Varsayılan\\u000d\\u000a ColumnCount: 5\\u000d\\u000a ButtonHeight: 65\\u000d\\u000a FontSize: 14\\u000d\\u000a Prefixes: '[]'\\u000d\\u000a OrderTags: []\\u000d\\u000a\",\"ActionType\":0,\"Condition\":null,\"Description\":\"Setup Default Order Tag\"},{\"Action\":\"Scripts:\\u000d\\u000a- Name: Yemek Sepeti Functions\\u000d\\u000a HandlerName: ys\\u000d\\u000a Code: >-\\u000d\\u000a function post(res,siparisNo){\\u000d\\u000a\\u000d\\u000a var url = 'http:\\\/\\\/localhost\\\/SambaCheck\\\/' + res + '?prm1=' + siparisNo;\\u000d\\u000a\\u000d\\u000a \\u0009web.PostData(url,'');\\u000d\\u000a\\u000d\\u000a }\\u000d\\u000a\",\"ActionType\":0,\"Condition\":null,\"Description\":\"Geri Dönüşler İçin Script Yapar\"}]"}],"AutomationCommands":null,"CalculationSelectors":null,"CalculationTypes":null,"ChangePaymentTypes":null,"CustomReports":null,"Departments":null,"EntityScreens":null,"EntityTypes":null,"Numerators":null,"OrderTagGroups":null,"PaymentTypes":null,"PrintJobs":null,"PrinterTemplates":null,"Printers":null,"ProgramSettingValues":null,"Rules":null,"Scripts":null,"States":null,"TaskTypes":null,"TicketTagGroups":null,"TicketTypes":null,"Triggers":null}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.