Skip to content

Instantly share code, notes, and snippets.

@cszhu
Created May 4, 2023 17:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save cszhu/81f1bdbf78b5a7b649af67b14910cd87 to your computer and use it in GitHub Desktop.
A retool app that uses the Square APIs to build a dashboard
{"uuid":"47624e46-e54c-11ed-9730-378269d90629","page":{"id":149270024,"data":{"appState":"[\"~#iR\",[\"^ \",\"n\",\"appTemplate\",\"v\",[\"^ \",\"isFetching\",false,\"plugins\",[\"~#iOM\",[\"listPayments\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"listPayments\",\"type\",\"datasource\",\"subtype\",\"RESTQuery\",\"namespace\",null,\"resourceName\",\"739c1dfb-081a-4c70-8890-2654e09ee701\",\"resourceDisplayName\",\"Christina Zhu - Square API Connection\",\"template\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"workflowParams\",null,\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",true,\"paginationEnabled\",false,\"query\",\"payments\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"~#iL\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"cookies\",\"\",\"metadata\",null,\"queryRunTime\",null,\"changesetObject\",\"\",\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",\"\",\"watchedParams\",[\"^:\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"paginationDataField\",\"\",\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^:\",[]],\"queryTimeout\",\"10001\",\"workflowId\",null,\"requireConfirmation\",false,\"type\",\"GET\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^:\",[]],\"bodyType\",\"none\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"style\",null,\"position2\",null,\"mobilePosition2\",null,\"mobileAppPosition\",null,\"tabIndex\",null,\"container\",\"\",\"createdAt\",\"~m1682635129596\",\"updatedAt\",\"~m1682636719223\",\"folder\",\"\",\"screen\",null]]],\"$main\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"$main\",\"^4\",\"frame\",\"^5\",\"Frame\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"type\",\"main\",\"sticky\",false,\"isHiddenOnDesktop\",false,\"isHiddenOnMobile\",false,\"_disclosedFields\",[]]],\"^;\",[\"^3\",[]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682637442387\",\"^B\",\"~m1682985904839\",\"^C\",\"\",\"^D\",null]]],\"text1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text1\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"## Square Ticket Selling Dashboard\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"rowGroup\",\"body\",\"subcontainer\",\"\",\"row\",0.19999999999999996,\"col\",1,\"height\",0.6,\"width\",5,\"tabNum\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682637596246\",\"^B\",\"~m1682985903317\",\"^C\",\"\",\"^D\",null]]],\"dashboardContainer\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"dashboardContainer\",\"^4\",\"widget\",\"^5\",\"ContainerWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_disabledByIndex\",[\"^:\",[\"\",\"\"]],\"heightType\",\"auto\",\"currentViewKey\",\"{{ self.viewKeys[0] }}\",\"iconByIndex\",[],\"clickable\",false,\"_iconByIndex\",[\"^:\",[\"\",\"\"]],\"hidden\",false,\"showHeader\",true,\"hoistFetching\",false,\"views\",[],\"showInEditor\",false,\"tooltipText\",\"\",\"hiddenByIndex\",[],\"_hiddenByIndex\",[\"^:\",[\"\",\"\"]],\"_disclosedFields\",[],\"currentViewIndex\",null,\"_hasMigratedNestedItems\",true,\"transition\",\"none\",\"itemMode\",\"static\",\"_tooltipByIndex\",[\"^:\",[\"\",\"\"]],\"tooltipByIndex\",[],\"showFooter\",false,\"_viewKeys\",[\"^:\",[\"Buy Tickets\",\"View Orders\"]],\"events\",[\"^3\",[]],\"_ids\",[\"^:\",[\"154b9\",\"7563e\"]],\"viewKeys\",[],\"iconPositionByIndex\",[],\"_iconPositionByIndex\",[\"^:\",[\"\",\"\"]],\"hovered\",false,\"loading\",false,\"overflowType\",\"scroll\",\"disabled\",false,\"_labels\",[\"^:\",[\"\",\"\"]],\"disabledByIndex\",[],\"maintainSpaceWhenHidden\",false,\"showBody\",true,\"labels\",[]]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",1.1999999999999997,\"col\",0,\"^G\",0.2,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682979983527\",\"^B\",\"~m1682987847768\",\"^C\",\"\",\"^D\",null]]],\"tabs1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"tabs1\",\"^4\",\"widget\",\"^5\",\"TabsWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_disabledByIndex\",[\"^:\",[\"\",\"\",\"\"]],\"_values\",[\"^:\",[\"Tab 1\",\"Tab 2\",\"Tab 3\"]],\"iconByIndex\",[],\"values\",[],\"alignment\",\"left\",\"_iconByIndex\",[\"^:\",[\"\",\"\",\"\"]],\"hidden\",false,\"data\",[],\"targetContainerId\",\"dashboardContainer\",\"selectedItem\",null,\"showInEditor\",false,\"navigateContainer\",true,\"value\",\"{{ self.values[0] }}\",\"hiddenByIndex\",[],\"_hiddenByIndex\",[\"^:\",[\"\",\"\",\"\"]],\"_disclosedFields\",[],\"_hasMigratedNestedItems\",true,\"itemMode\",\"static\",\"selectedIndex\",null,\"_tooltipByIndex\",[\"^:\",[\"\",\"\",\"\"]],\"tooltipByIndex\",[],\"selectedLabel\",\"\",\"events\",[\"^3\",[]],\"_ids\",[\"^:\",[\"d3e7a\",\"52c86\",\"bec40\"]],\"iconPositionByIndex\",[],\"_iconPositionByIndex\",[\"^:\",[\"\",\"\",\"\"]],\"disabled\",false,\"linePosition\",\"bottom\",\"_labels\",[\"^:\",[\"\",\"\",\"\"]],\"disabledByIndex\",[],\"maintainSpaceWhenHidden\",false,\"labels\",[]]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"dashboardContainer\",\"^E\",\"header\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",0.8,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682979983668\",\"^B\",\"~m1683222997793\",\"^C\",\"\",\"^D\",null]]],\"listView1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"listView1\",\"^4\",\"widget\",\"^5\",\"ListViewWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"layoutType\",\"grid\",\"showBorder\",true,\"data\",\"\",\"showDropShadow\",true,\"formDataKey\",\"{{ self.id }}\",\"itemWidth\",\"\",\"_disclosedFields\",[],\"dynamicHeightsEnabled\",true,\"numColumns\",\"3\",\"itemHeight\",\"3\",\"overflowType\",\"scroll\",\"instances\",\"3\",\"direction\",\"vertical\"]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"dashboardContainer\",\"^E\",\"body\",\"^F\",\"154b9\",\"row\",0,\"col\",0,\"^G\",5,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682980231215\",\"^B\",\"~m1682987659980\",\"^C\",\"\",\"^D\",null]]],\"buyTicketForm\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"buyTicketForm\",\"^4\",\"widget\",\"^5\",\"FormWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"disableSubmit\",false,\"heightType\",\"auto\",\"resetAfterSubmit\",true,\"submitting\",false,\"hidden\",false,\"data\",[\"^ \"],\"showHeader\",true,\"hoistFetching\",false,\"initialData\",null,\"showInEditor\",false,\"tooltipText\",\"\",\"_disclosedFields\",[],\"invalid\",false,\"showFooter\",true,\"events\",[\"^:\",[[\"^3\",[\"event\",\"submit\",\"type\",\"script\",\"method\",\"run\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[\"src\",\"createOrders.trigger({\\n additionalScope: {\\n idx: i,\\n numOfTix: buyTicketForm[i].data.ticketsToBuy\\n }\\n});\\n\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"overflowType\",\"scroll\",\"disabled\",false,\"requireValidation\",true,\"maintainSpaceWhenHidden\",false,\"showBody\",true]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"listView1\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",5,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682980263552\",\"^B\",\"~m1682987663431\",\"^C\",\"\",\"^D\",null]]],\"eventTitle\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"eventTitle\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"#### {{listOfEvents.value.events[i].event_title}}\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"buyTicketForm\",\"^E\",\"header\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",0.6,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682980263685\",\"^B\",\"~m1682982726530\",\"^C\",\"\",\"^D\",null]]],\"listOfEvents\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"listOfEvents\",\"^4\",\"state\",\"^5\",\"State\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_persistedValueGetter\",null,\"_persistedValueSetter\",null,\"persistValue\",false,\"persistedValueKey\",\"\",\"value\",\"{\\n \\\"events\\\": [\\n {\\n \\\"event_title\\\": \\\"Music Festival\\\",\\n \\\"event_description\\\": \\\"Enjoy a day of live music performances from top artists.\\\",\\n \\\"event_img\\\": \\\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSm5l69C3JRRsQAccWBmfZzNDXjCfI3T3Q-4Q&usqp=CAU\\\",\\n \\\"event_price\\\": 50.00\\n },\\n {\\n \\\"event_title\\\": \\\"Art Exhibition\\\",\\n \\\"event_description\\\": \\\"Explore the latest artworks from emerging and established artists.\\\",\\n \\\"event_img\\\": \\\"https://thumbs.dreamstime.com/b/visit-gallery-woman-looking-modern-painting-art-wall-exhibition-event-vector-museum-abstract-exposition-illustration-138935485.jpg\\\",\\n \\\"event_price\\\": 20.00,\\n },\\n {\\n \\\"event_title\\\": \\\"Comedy Night\\\",\\n \\\"event_description\\\": \\\"Laugh out loud with some of the funniest comedians in the business.\\\",\\n \\\"event_img\\\": \\\"https://static.vecteezy.com/system/resources/thumbnails/002/241/490/small/comedy-night-neon-signs-style-text-free-vector.jpg\\\",\\n \\\"event_price\\\": 25.00,\\n }\\n ]\\n}\\n\"]],\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682980370466\",\"^B\",\"~m1682984713786\",\"^C\",\"\",\"^D\",null]]],\"eventImage\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"eventImage\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"srcWidth\",null,\"clickable\",false,\"flipVertical\",false,\"src\",\"{{listOfEvents.value.events[i].event_img}}\",\"hidden\",false,\"srcHeight\",null,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"cover\",\"flipHorizontal\",false,\"aspectRatio\",null,\"storageBlobId\",\"\",\"_disclosedFields\",[],\"altText\",\"\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"src\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"buyTicketForm\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",3,\"^H\",6,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682980440694\",\"^B\",\"~m1682980635840\",\"^C\",\"\",\"^D\",null]]],\"eventDescription\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"eventDescription\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"{{listOfEvents.value.events[i].event_description}}\\n\\n**Price**: ${{listOfEvents.value.events[i].event_price}}\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"buyTicketForm\",\"^E\",\"body\",\"^F\",\"\",\"row\",0.2,\"col\",6,\"^G\",0.6,\"^H\",6,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682980623339\",\"^B\",\"~m1682984739779\",\"^C\",\"\",\"^D\",null]]],\"ticketsToBuy\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"ticketsToBuy\",\"^4\",\"widget\",\"^5\",\"NumberInputWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"readOnly\",false,\"iconAfter\",\"\",\"max\",null,\"preventScroll\",false,\"inputValue\",0,\"hidden\",false,\"customValidation\",\"\",\"showSeparators\",true,\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textAfter\",\"\",\"showInEditor\",false,\"allowNull\",false,\"showClear\",false,\"tooltipText\",\"\",\"currency\",\"USD\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",0,\"labelCaption\",\"\",\"min\",null,\"labelWidth\",\"33\",\"placeholder\",\"Enter value\",\"_disclosedFields\",[],\"showStepper\",true,\"label\",\"\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"format\",\"decimal\",\"iconBefore\",\"\",\"textAlign\",\"left\",\"inputTooltip\",\"\",\"events\",[\"^3\",[]],\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"decimalPlaces\",null,\"labelWrap\",false,\"padDecimal\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"buyTicketForm\",\"^E\",\"footer\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",1,\"^H\",7,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682980723233\",\"^B\",\"~m1682984665578\",\"^C\",\"\",\"^D\",null]]],\"purchaseButton\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"purchaseButton\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"stretch\",\"clickable\",false,\"iconAfter\",\"\",\"submitTargetId\",\"buyTicketForm\",\"hidden\",false,\"text\",\"Purchase\",\"showInEditor\",false,\"tooltipText\",\"\",\"_disclosedFields\",[],\"styleVariant\",\"solid\",\"submit\",true,\"iconBefore\",\"\",\"events\",[\"^:\",[]],\"loading\",false,\"loaderPosition\",\"auto\",\"disabled\",false,\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"buyTicketForm\",\"^E\",\"footer\",\"^F\",\"\",\"row\",0,\"col\",7,\"^G\",1,\"^H\",5,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682981769743\",\"^B\",\"~m1682987666382\",\"^C\",\"\",\"^D\",null]]],\"createOrders\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"createOrders\",\"^4\",\"datasource\",\"^5\",\"RESTQuery\",\"^6\",null,\"^7\",\"739c1dfb-081a-4c70-8890-2654e09ee701\",\"^8\",\"Christina Zhu - Square API Connection\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"[{\\\"key\\\":\\\"idempotency_key\\\",\\\"value\\\":\\\"{{Math.random().toString(36).substr(2, 9)}}\\\"},{\\\"key\\\":\\\"order\\\",\\\"value\\\":\\\"{\\\\\\\"reference_id\\\\\\\": \\\\\\\"{{Math.floor(Math.random() * 900000) + 100000}}\\\\\\\", \\\\\\\"line_items\\\\\\\": [{ \\\\\\\"name\\\\\\\": {{listOfEvents.value.events[idx].event_title}}, \\\\\\\"quantity\\\\\\\": \\\\\\\"{{numOfTix}}\\\\\\\", \\\\\\\"base_price_money\\\\\\\": { \\\\\\\"amount\\\\\\\": {{listOfEvents.value.events[idx].event_price}}, \\\\\\\"currency\\\\\\\": \\\\\\\"USD\\\\\\\"}}],\\\\\\\"taxes\\\\\\\": [{\\\\\\\"name\\\\\\\": \\\\\\\"Sales Tax\\\\\\\",\\\\\\\"percentage\\\\\\\": \\\\\\\"10.0\\\\\\\"}],\\\\\\\"shipping_address\\\\\\\": {\\\\\\\"address_line_1\\\\\\\": \\\\\\\"123 Main St\\\\\\\", \\\\\\\"locality\\\\\\\": \\\\\\\"San Francisco\\\\\\\",\\\\\\\"administrative_district_level_1\\\\\\\": \\\\\\\"CA\\\\\\\",\\\\\\\"postal_code\\\\\\\": \\\\\\\"94102\\\\\\\",\\\\\\\"country\\\\\\\": \\\\\\\"US\\\\\\\"},\\\\\\\"billing_address\\\\\\\": {\\\\\\\"address_line_1\\\\\\\": \\\\\\\"456 Second St\\\\\\\",\\\\\\\"locality\\\\\\\": \\\\\\\"San Francisco\\\\\\\",\\\\\\\"administrative_district_level_1\\\\\\\": \\\\\\\"CA\\\\\\\",\\\\\\\"postal_code\\\\\\\": \\\\\\\"94103\\\\\\\",\\\\\\\"country\\\\\\\": \\\\\\\"US\\\\\\\"} }\\\"}]\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"workflowParams\",null,\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",true,\"paginationEnabled\",false,\"query\",\"locations/LOCATION_ID/orders\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^:\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"cookies\",\"\",\"metadata\",null,\"queryRunTime\",null,\"changesetObject\",\"\",\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",\"\",\"watchedParams\",[\"^:\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"paginationDataField\",\"\",\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^:\",[]],\"queryTimeout\",\"10000\",\"workflowId\",null,\"requireConfirmation\",false,\"type\",\"POST\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^:\",[]],\"bodyType\",\"json\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682981823551\",\"^B\",\"~m1683222955709\",\"^C\",\"\",\"^D\",null]]],\"searchOrders\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"searchOrders\",\"^4\",\"datasource\",\"^5\",\"RESTQuery\",\"^6\",null,\"^7\",\"739c1dfb-081a-4c70-8890-2654e09ee701\",\"^8\",\"Christina Zhu - Square API Connection\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"[{\\\"key\\\":\\\"return_entries\\\",\\\"value\\\":\\\"true\\\"},{\\\"key\\\":\\\"limit\\\",\\\"value\\\":\\\"20\\\"},{\\\"key\\\":\\\"location_ids\\\",\\\"value\\\":\\\"[\\\\\\\"L4XV473XZS4SB\\\\\\\"]\\\"}]\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"workflowParams\",null,\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",true,\"paginationEnabled\",false,\"query\",\"orders/search\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^:\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"cookies\",\"\",\"metadata\",null,\"queryRunTime\",null,\"changesetObject\",\"\",\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",null,\"watchedParams\",[\"^:\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"paginationDataField\",\"\",\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^:\",[]],\"queryTimeout\",\"10000\",\"workflowId\",null,\"requireConfirmation\",false,\"type\",\"POST\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^:\",[]],\"bodyType\",\"json\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682984749713\",\"^B\",\"~m1682984929841\",\"^C\",\"\",\"^D\",null]]],\"ordersTable\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"ordersTable\",\"^4\",\"widget\",\"^5\",\"TableWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"selectedRowKey\",null,\"_nextAfterCursor\",\"\",\"_columnBackgroundColor\",[\"^3\",[\"40f34\",\"\",\"437f1\",\"\",\"75e4d\",\"\",\"9586c\",\"\"]],\"_defaultSort\",null,\"_clearChangesetOnSave\",true,\"disableEdits\",false,\"_rowHeight\",\"small\",\"_columnIds\",[\"^:\",[\"40f34\",\"437f1\",\"75e4d\",\"9586c\"]],\"_isSaving\",false,\"_actionIds\",[\"^:\",[]],\"_clearChangeset\",false,\"_limitOffsetRowCount\",null,\"selectedSourceRow\",null,\"disableSave\",false,\"_columnEditableOptions\",[\"^3\",[\"40f34\",[\"^3\",[]],\"437f1\",[\"^3\",[\"showStepper\",true]],\"75e4d\",[\"^3\",[]],\"9586c\",[\"^3\",[]]]],\"_nextBeforeCursor\",\"\",\"_persistRowSelection\",false,\"changesetArray\",[],\"_columnOptionList\",[\"^3\",[\"40f34\",[\"^3\",[]],\"437f1\",[\"^3\",[]],\"75e4d\",[\"^3\",[]],\"9586c\",[\"^3\",[]]]],\"_columnValueOverride\",[\"^3\",[\"40f34\",\"\",\"437f1\",\"\",\"75e4d\",\"\",\"9586c\",\"Click for details\"]],\"_showBorder\",true,\"_templatePageSize\",20,\"_showHeader\",true,\"_currentPage\",0,\"_columnKey\",[\"^3\",[\"40f34\",\"order_id\",\"437f1\",\"version\",\"75e4d\",\"location_id\",\"9586c\",\"\"]],\"hidden\",false,\"data\",\"{{ searchOrders.data.order_entries }}\",\"_cellSelection\",\"none\",\"_serverPaginated\",false,\"searchMode\",\"fuzzy\",\"_columnFormat\",[\"^3\",[\"40f34\",\"string\",\"437f1\",\"decimal\",\"75e4d\",\"string\",\"9586c\",\"tag\"]],\"_cursorCache\",[\"^ \"],\"_calculatedPageSize\",null,\"_primaryKeyColumnId\",\"\",\"selectedDataIndex\",null,\"_columnAlignment\",[\"^3\",[\"40f34\",\"left\",\"437f1\",\"right\",\"75e4d\",\"left\",\"9586c\",\"left\"]],\"_actionIcon\",[\"^3\",[]],\"_columnTooltip\",[\"^3\",[\"40f34\",\"\",\"437f1\",\"\",\"75e4d\",\"\",\"9586c\",\"\"]],\"_columnIcon\",[\"^3\",[\"40f34\",\"\",\"437f1\",\"\",\"75e4d\",\"\",\"9586c\",\"\"]],\"_pageSize\",null,\"showInEditor\",false,\"selectedSourceRows\",[],\"_columnSortDisabled\",[\"^3\",[\"40f34\",false,\"437f1\",false,\"75e4d\",false,\"9586c\",false]],\"filterStack\",null,\"changesetObject\",null,\"_actionDisabled\",[\"^3\",[]],\"_columnReferenceId\",[\"^3\",[\"40f34\",\"\",\"437f1\",\"\",\"75e4d\",\"\",\"9586c\",\"viewDetails\"]],\"_rowSelection\",\"single\",\"_columnCaption\",[\"^3\",[\"40f34\",\"\",\"437f1\",\"\",\"75e4d\",\"\",\"9586c\",\"\"]],\"_dynamicRowHeights\",false,\"_columnFormatOptions\",[\"^3\",[\"40f34\",[\"^3\",[]],\"437f1\",[\"^3\",[\"showSeparators\",true]],\"75e4d\",[\"^3\",[]],\"9586c\",[\"^3\",[\"automaticColors\",true]]]],\"_afterCursor\",\"\",\"selectedRowKeys\",[],\"_disclosedFields\",[],\"_beforeCursor\",\"\",\"searchTerm\",\"\",\"selectedRows\",[],\"_disabledVirtualization\",false,\"_showColumnBorders\",false,\"_columnSize\",[\"^3\",[\"40f34\",298,\"437f1\",100,\"75e4d\",177,\"9586c\",100]],\"_serverPaginationType\",\"limitOffsetBased\",\"_showFooter\",true,\"_virtualizeStartIndex\",0,\"events\",[\"^:\",[[\"^3\",[\"event\",\"clickCell\",\"type\",\"widget\",\"method\",\"open\",\"pluginId\",\"modal1\",\"targetId\",\"9586c\",\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"_columnEditable\",[\"^3\",[\"40f34\",\"\",\"437f1\",\"\",\"75e4d\",\"\",\"9586c\",\"\"]],\"pagination\",null,\"selectedDataIndexes\",[],\"sortArray\",[],\"_selectedCell\",null,\"overflowType\",\"scroll\",\"selectedCell\",null,\"_defaultSelectedRow\",[\"^3\",[\"mode\",\"index\",\"indexType\",\"display\",\"index\",0]],\"_hasNextPage\",false,\"_columnPosition\",[\"^3\",[\"40f34\",\"center\",\"437f1\",\"center\",\"75e4d\",\"center\",\"9586c\",\"center\"]],\"_enableSaveActions\",true,\"_columnPlaceholder\",[\"^3\",[\"40f34\",\"Enter value\",\"437f1\",\"Enter value\",\"75e4d\",\"Enter value\",\"9586c\",\"Select option\"]],\"_actionLabel\",[\"^3\",[]],\"_virtualizeEndIndex\",0,\"selectedRow\",null,\"_actionHidden\",[\"^3\",[]],\"maintainSpaceWhenHidden\",false,\"_columnHidden\",[\"^3\",[\"40f34\",\"\",\"437f1\",\"\",\"75e4d\",\"\",\"9586c\",\"\"]],\"_columnLabel\",[\"^3\",[\"40f34\",\"Order ID\",\"437f1\",\"Version\",\"75e4d\",\"Location ID\",\"9586c\",\"View Details\"]]]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"dashboardContainer\",\"^E\",\"body\",\"^F\",\"7563e\",\"row\",0.6,\"col\",0,\"^G\",8,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682985027515\",\"^B\",\"~m1682987849263\",\"^C\",\"\",\"^D\",null]]],\"retrieveOrder\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"retrieveOrder\",\"^4\",\"datasource\",\"^5\",\"RESTQuery\",\"^6\",null,\"^7\",\"739c1dfb-081a-4c70-8890-2654e09ee701\",\"^8\",\"Christina Zhu - Square API Connection\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"offlineUserQueryInputs\",\"\",\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"workflowParams\",null,\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",true,\"paginationEnabled\",false,\"query\",\"orders/{{ordersTable.selectedRow.order_id}}\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^:\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"cookies\",\"\",\"metadata\",null,\"queryRunTime\",null,\"changesetObject\",\"\",\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",null,\"watchedParams\",[\"^:\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"paginationDataField\",\"\",\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^:\",[]],\"queryTimeout\",\"10000\",\"workflowId\",null,\"requireConfirmation\",false,\"type\",\"GET\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^:\",[]],\"bodyType\",\"none\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682985116291\",\"^B\",\"~m1682985153911\",\"^C\",\"\",\"^D\",null]]],\"modal1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"modal1\",\"^4\",\"widget\",\"^5\",\"ModalWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"opened\",false,\"modalOverflowType\",\"scroll\",\"hidden\",\"true\",\"onModalClose\",\"\",\"modalHeightType\",\"fixed\",\"tooltipText\",\"\",\"_disclosedFields\",[],\"modalHeight\",\"\",\"onModalOpen\",\"\",\"modalWidth\",\"\",\"closeOnOutsideClick\",false,\"loading\",\"\",\"disabled\",\"\",\"buttonText\",\"Open Modal\"]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"dashboardContainer\",\"^E\",\"body\",\"^F\",\"7563e\",\"row\",8.6,\"col\",7,\"^G\",1,\"^H\",3,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682985194884\",\"^B\",\"~m1682985924168\",\"^C\",\"\",\"^D\",null]]],\"keyValue1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"keyValue1\",\"^4\",\"widget\",\"^5\",\"KeyValueMapWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"rowHeaderNames\",[\"^3\",[\"base_price_money\",\"Base Price\",\"total_money\",\"Total Money\",\"total_discount_money\",\"Discounts\",\"total_tax_money\",\"Taxes\"]],\"rowFormats\",[\"^3\",[\"total_tax_money\",\"usd_dollars\",\"total_discount_money\",\"usd_dollars\",\"total_money\",\"usd_dollars\",\"base_price_money\",\"usd_dollars\",\"applied_taxes\",\"object\"]],\"valueTitle\",\"Value\",\"data\",\"{{retrieveOrder.data.order.line_items[0]}}\",\"prevRowMappers\",[\"^3\",[\"total_tax_money\",\"{{self.amount}}\",\"total_discount_money\",\"{{self.amount}}\",\"total_money\",\"{{self.amount}}\",\"base_price_money\",\"{{self.amount}}\"]],\"rowMappersRenderAsHTML\",[\"^3\",[]],\"rowVisibility\",[\"^3\",[\"a\",true,\"total_tip_money\",true,\"b\",true,\"c\",true,\"variation_total_price_money\",false,\"total_money\",true,\"location_id\",true,\"item_type\",true,\"created_at\",true,\"quantity\",true,\"name\",true,\"order\",true,\"reference_id\",true,\"uid\",true,\"net_amount_due_money\",true,\"state\",true,\"total_tax_money\",true,\"gross_sales_money\",false,\"line_items\",true,\"updated_at\",true,\"applied_taxes\",false,\"version\",true,\"taxes\",true,\"net_amounts\",true,\"total_service_charge_money\",false,\"source\",true,\"id\",true,\"base_price_money\",true,\"total_discount_money\",true]],\"_disclosedFields\",[],\"prevRowFormats\",[\"^3\",[\"total_tax_money\",\"usd_dollars\",\"total_discount_money\",\"usd_dollars\",\"total_money\",\"usd_dollars\",\"base_price_money\",\"usd_dollars\",\"applied_taxes\",\"object\"]],\"rowMappers\",[\"^3\",[\"total_tax_money\",\"{{self.amount}}\",\"total_discount_money\",\"{{self.amount}}\",\"total_money\",\"{{self.amount}}\",\"base_price_money\",\"{{self.amount}}\"]],\"rows\",[\"^:\",[\"a\",\"b\",\"c\",\"order\",\"id\",\"location_id\",\"line_items\",\"taxes\",\"created_at\",\"updated_at\",\"state\",\"version\",\"reference_id\",\"name\",\"uid\",\"quantity\",\"base_price_money\",\"total_tax_money\",\"total_discount_money\",\"total_tip_money\",\"total_money\",\"total_service_charge_money\",\"net_amounts\",\"source\",\"net_amount_due_money\",\"gross_sales_money\",\"variation_total_price_money\",\"applied_taxes\",\"item_type\"]],\"keyTitle\",\"Key\"]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"modal1\",\"^E\",\"body\",\"^F\",\"\",\"row\",1.2,\"col\",0,\"^G\",9.8,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682985219661\",\"^B\",\"~m1682987849870\",\"^C\",\"\",\"^D\",null]]],\"text3\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text3\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"## Order #{{ordersTable.selectedRow.order_id}}\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"modal1\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",0.6,\"^H\",8,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682985403188\",\"^B\",\"~m1682985425540\",\"^C\",\"\",\"^D\",null]]],\"text4\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text4\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"#### Order #{{ordersTable.selectedRow.order_id}}\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"modal1\",\"^E\",\"body\",\"^F\",\"\",\"row\",0.6,\"col\",0,\"^G\",0.6,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682985575792\",\"^B\",\"~m1682985603321\",\"^C\",\"\",\"^D\",null]]],\"paymentsTable\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"paymentsTable\",\"^4\",\"widget\",\"^5\",\"TableWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"selectedRowKey\",null,\"_nextAfterCursor\",\"\",\"_columnBackgroundColor\",[\"^3\",[\"e9423\",\"\",\"e29b7\",\"\",\"4940c\",\"\",\"302a0\",\"\",\"13dce\",\"\",\"e5479\",\"\",\"9e894\",\"\",\"8a840\",\"\",\"8661d\",\"\",\"15ad4\",\"\",\"9c911\",\"\",\"f3705\",\"\",\"de1aa\",\"\",\"c99f4\",\"\",\"c3dab\",\"\",\"d157d\",\"\",\"c673d\",\"\",\"2d6d9\",\"\",\"cf918\",\"\"]],\"_defaultSort\",null,\"_clearChangesetOnSave\",true,\"disableEdits\",false,\"_rowHeight\",\"small\",\"_columnIds\",[\"^:\",[\"4940c\",\"8a840\",\"8661d\",\"f3705\",\"d157d\",\"cf918\",\"e5479\",\"13dce\",\"de1aa\",\"2d6d9\",\"302a0\",\"c3dab\",\"9c911\",\"e9423\",\"c673d\",\"e29b7\",\"9e894\",\"15ad4\",\"c99f4\"]],\"_isSaving\",false,\"_actionIds\",[\"^:\",[]],\"_clearChangeset\",false,\"_limitOffsetRowCount\",null,\"selectedSourceRow\",null,\"disableSave\",false,\"_columnEditableOptions\",[\"^3\",[\"e9423\",[\"^3\",[]],\"e29b7\",[\"^3\",[]],\"4940c\",[\"^3\",[]],\"302a0\",[\"^3\",[]],\"13dce\",[\"^3\",[]],\"e5479\",[\"^3\",[]],\"9e894\",[\"^3\",[]],\"8a840\",[\"^3\",[]],\"8661d\",[\"^3\",[]],\"15ad4\",[\"^3\",[]],\"9c911\",[\"^3\",[]],\"f3705\",[\"^3\",[\"showStepper\",true]],\"de1aa\",[\"^3\",[]],\"c99f4\",[\"^3\",[]],\"c3dab\",[\"^3\",[]],\"d157d\",[\"^3\",[]],\"c673d\",[\"^3\",[]],\"2d6d9\",[\"^3\",[]],\"cf918\",[\"^3\",[]]]],\"_nextBeforeCursor\",\"\",\"_persistRowSelection\",false,\"changesetArray\",[],\"_columnOptionList\",[\"^3\",[\"e9423\",[\"^3\",[]],\"e29b7\",[\"^3\",[]],\"4940c\",[\"^3\",[]],\"302a0\",[\"^3\",[]],\"13dce\",[\"^3\",[]],\"e5479\",[\"^3\",[]],\"9e894\",[\"^3\",[]],\"8a840\",[\"^3\",[]],\"8661d\",[\"^3\",[]],\"15ad4\",[\"^3\",[]],\"9c911\",[\"^3\",[]],\"f3705\",[\"^3\",[]],\"de1aa\",[\"^3\",[]],\"c99f4\",[\"^3\",[]],\"c3dab\",[\"^3\",[]],\"d157d\",[\"^3\",[]],\"c673d\",[\"^3\",[]],\"2d6d9\",[\"^3\",[]],\"cf918\",[\"^3\",[]]]],\"_columnValueOverride\",[\"^3\",[\"e9423\",\"\",\"e29b7\",\"{{ _.startCase(item) }}\",\"4940c\",\"\",\"302a0\",\"\",\"13dce\",\"\",\"e5479\",\"{{ _.startCase(item) }}\",\"9e894\",\"\",\"8a840\",\"\",\"8661d\",\"\",\"15ad4\",\"\",\"9c911\",\"\",\"f3705\",\"{{ item.amount }}\",\"de1aa\",\"\",\"c99f4\",\"\",\"c3dab\",\"\",\"d157d\",\"{{ _.startCase(item) }}\",\"c673d\",\"\",\"2d6d9\",\"\",\"cf918\",\"\"]],\"_showBorder\",true,\"_templatePageSize\",20,\"_showHeader\",true,\"_currentPage\",0,\"_columnKey\",[\"^3\",[\"e9423\",\"receipt_number\",\"e29b7\",\"delay_action\",\"4940c\",\"id\",\"302a0\",\"processing_fee\",\"13dce\",\"card_details\",\"e5479\",\"source_type\",\"9e894\",\"delayed_until\",\"8a840\",\"created_at\",\"8661d\",\"updated_at\",\"15ad4\",\"application_details\",\"9c911\",\"approved_money\",\"f3705\",\"amount_money\",\"de1aa\",\"location_id\",\"c99f4\",\"version_token\",\"c3dab\",\"total_money\",\"d157d\",\"status\",\"c673d\",\"receipt_url\",\"2d6d9\",\"order_id\",\"cf918\",\"delay_duration\"]],\"hidden\",false,\"data\",\"{{ listPayments.data.payments }}\",\"_cellSelection\",\"none\",\"_serverPaginated\",false,\"searchMode\",\"fuzzy\",\"_columnFormat\",[\"^3\",[\"e9423\",\"string\",\"e29b7\",\"tag\",\"4940c\",\"string\",\"302a0\",\"tags\",\"13dce\",\"string\",\"e5479\",\"tag\",\"9e894\",\"datetime\",\"8a840\",\"datetime\",\"8661d\",\"datetime\",\"15ad4\",\"string\",\"9c911\",\"string\",\"f3705\",\"currency\",\"de1aa\",\"string\",\"c99f4\",\"string\",\"c3dab\",\"string\",\"d157d\",\"tag\",\"c673d\",\"link\",\"2d6d9\",\"string\",\"cf918\",\"string\"]],\"_cursorCache\",[\"^ \"],\"_calculatedPageSize\",null,\"_primaryKeyColumnId\",\"4940c\",\"selectedDataIndex\",null,\"_columnAlignment\",[\"^3\",[\"e9423\",\"left\",\"e29b7\",\"left\",\"4940c\",\"left\",\"302a0\",\"left\",\"13dce\",\"left\",\"e5479\",\"left\",\"9e894\",\"left\",\"8a840\",\"left\",\"8661d\",\"left\",\"15ad4\",\"left\",\"9c911\",\"left\",\"f3705\",\"right\",\"de1aa\",\"left\",\"c99f4\",\"left\",\"c3dab\",\"left\",\"d157d\",\"left\",\"c673d\",\"left\",\"2d6d9\",\"left\",\"cf918\",\"left\"]],\"_actionIcon\",[\"^3\",[]],\"_columnTooltip\",[\"^3\",[\"e9423\",\"\",\"e29b7\",\"\",\"4940c\",\"\",\"302a0\",\"\",\"13dce\",\"\",\"e5479\",\"\",\"9e894\",\"\",\"8a840\",\"\",\"8661d\",\"\",\"15ad4\",\"\",\"9c911\",\"\",\"f3705\",\"\",\"de1aa\",\"\",\"c99f4\",\"\",\"c3dab\",\"\",\"d157d\",\"\",\"c673d\",\"\",\"2d6d9\",\"\",\"cf918\",\"\"]],\"_columnIcon\",[\"^3\",[\"e9423\",\"\",\"e29b7\",\"\",\"4940c\",\"\",\"302a0\",\"\",\"13dce\",\"\",\"e5479\",\"\",\"9e894\",\"\",\"8a840\",\"\",\"8661d\",\"\",\"15ad4\",\"\",\"9c911\",\"\",\"f3705\",\"\",\"de1aa\",\"\",\"c99f4\",\"\",\"c3dab\",\"\",\"d157d\",\"\",\"c673d\",\"\",\"2d6d9\",\"\",\"cf918\",\"\"]],\"_pageSize\",null,\"showInEditor\",false,\"selectedSourceRows\",[],\"_columnSortDisabled\",[\"^3\",[\"e9423\",false,\"e29b7\",false,\"4940c\",false,\"302a0\",false,\"13dce\",false,\"e5479\",false,\"9e894\",false,\"8a840\",false,\"8661d\",false,\"15ad4\",false,\"9c911\",false,\"f3705\",false,\"de1aa\",false,\"c99f4\",false,\"c3dab\",false,\"d157d\",false,\"c673d\",false,\"2d6d9\",false,\"cf918\",false]],\"filterStack\",null,\"changesetObject\",null,\"_actionDisabled\",[\"^3\",[]],\"_columnReferenceId\",[\"^3\",[\"e9423\",\"\",\"e29b7\",\"\",\"4940c\",\"\",\"302a0\",\"\",\"13dce\",\"\",\"e5479\",\"\",\"9e894\",\"\",\"8a840\",\"\",\"8661d\",\"\",\"15ad4\",\"\",\"9c911\",\"\",\"f3705\",\"\",\"de1aa\",\"\",\"c99f4\",\"\",\"c3dab\",\"\",\"d157d\",\"\",\"c673d\",\"\",\"2d6d9\",\"\",\"cf918\",\"\"]],\"_rowSelection\",\"single\",\"_columnCaption\",[\"^3\",[\"e9423\",\"\",\"e29b7\",\"\",\"4940c\",\"\",\"302a0\",\"\",\"13dce\",\"\",\"e5479\",\"\",\"9e894\",\"\",\"8a840\",\"\",\"8661d\",\"\",\"15ad4\",\"\",\"9c911\",\"\",\"f3705\",\"\",\"de1aa\",\"\",\"c99f4\",\"\",\"c3dab\",\"\",\"d157d\",\"\",\"c673d\",\"\",\"2d6d9\",\"\",\"cf918\",\"\"]],\"_dynamicRowHeights\",false,\"_columnFormatOptions\",[\"^3\",[\"e9423\",[\"^3\",[]],\"e29b7\",[\"^3\",[\"automaticColors\",true]],\"4940c\",[\"^3\",[]],\"302a0\",[\"^3\",[\"automaticColors\",true]],\"13dce\",[\"^3\",[]],\"e5479\",[\"^3\",[\"automaticColors\",true]],\"9e894\",[\"^3\",[]],\"8a840\",[\"^3\",[]],\"8661d\",[\"^3\",[]],\"15ad4\",[\"^3\",[]],\"9c911\",[\"^3\",[]],\"f3705\",[\"^3\",[\"currency\",\"USD\",\"showSeparators\",true]],\"de1aa\",[\"^3\",[]],\"c99f4\",[\"^3\",[]],\"c3dab\",[\"^3\",[]],\"d157d\",[\"^3\",[\"automaticColors\",true]],\"c673d\",[\"^3\",[\"showUnderline\",\"hover\"]],\"2d6d9\",[\"^3\",[]],\"cf918\",[\"^3\",[]]]],\"_afterCursor\",\"\",\"selectedRowKeys\",[],\"_disclosedFields\",[],\"_beforeCursor\",\"\",\"searchTerm\",\"\",\"selectedRows\",[],\"_disabledVirtualization\",false,\"_showColumnBorders\",false,\"_columnSize\",[\"^3\",[\"e9423\",100,\"e29b7\",100,\"4940c\",100,\"302a0\",100,\"13dce\",218,\"e5479\",100,\"9e894\",100,\"8a840\",187,\"8661d\",174,\"15ad4\",100,\"9c911\",100,\"f3705\",194,\"de1aa\",100,\"c99f4\",100,\"c3dab\",100,\"d157d\",100,\"c673d\",100,\"2d6d9\",283,\"cf918\",100]],\"_serverPaginationType\",\"limitOffsetBased\",\"_showFooter\",true,\"_virtualizeStartIndex\",0,\"events\",[\"^:\",[[\"^3\",[\"event\",\"clickCell\",\"type\",\"util\",\"method\",\"openUrl\",\"pluginId\",\"\",\"targetId\",\"c673d\",\"params\",[\"^3\",[\"url\",\"{{ item }}\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"_columnEditable\",[\"^3\",[\"e9423\",\"\",\"e29b7\",\"\",\"4940c\",\"\",\"302a0\",\"\",\"13dce\",\"\",\"e5479\",\"\",\"9e894\",\"\",\"8a840\",\"\",\"8661d\",\"\",\"15ad4\",\"\",\"9c911\",\"\",\"f3705\",\"\",\"de1aa\",\"\",\"c99f4\",\"\",\"c3dab\",\"\",\"d157d\",\"\",\"c673d\",\"\",\"2d6d9\",\"\",\"cf918\",\"\"]],\"pagination\",null,\"selectedDataIndexes\",[],\"sortArray\",[],\"_selectedCell\",null,\"overflowType\",\"scroll\",\"selectedCell\",null,\"_defaultSelectedRow\",[\"^3\",[\"mode\",\"index\",\"indexType\",\"display\",\"index\",0]],\"_hasNextPage\",false,\"_columnPosition\",[\"^3\",[\"e9423\",\"center\",\"e29b7\",\"center\",\"4940c\",\"center\",\"302a0\",\"center\",\"13dce\",\"center\",\"e5479\",\"center\",\"9e894\",\"center\",\"8a840\",\"center\",\"8661d\",\"center\",\"15ad4\",\"center\",\"9c911\",\"center\",\"f3705\",\"center\",\"de1aa\",\"center\",\"c99f4\",\"center\",\"c3dab\",\"center\",\"d157d\",\"center\",\"c673d\",\"center\",\"2d6d9\",\"center\",\"cf918\",\"center\"]],\"_enableSaveActions\",true,\"_columnPlaceholder\",[\"^3\",[\"e9423\",\"Enter value\",\"e29b7\",\"Select option\",\"4940c\",\"Enter value\",\"302a0\",\"Select options\",\"13dce\",\"Enter value\",\"e5479\",\"Select option\",\"9e894\",\"Enter value\",\"8a840\",\"Enter value\",\"8661d\",\"Enter value\",\"15ad4\",\"Enter value\",\"9c911\",\"Enter value\",\"f3705\",\"Enter value\",\"de1aa\",\"Enter value\",\"c99f4\",\"Enter value\",\"c3dab\",\"Enter value\",\"d157d\",\"Select option\",\"c673d\",\"\",\"2d6d9\",\"Enter value\",\"cf918\",\"Enter value\"]],\"_actionLabel\",[\"^3\",[]],\"_virtualizeEndIndex\",0,\"selectedRow\",null,\"_actionHidden\",[\"^3\",[]],\"maintainSpaceWhenHidden\",false,\"_columnHidden\",[\"^3\",[\"e9423\",\"\",\"e29b7\",\"\",\"4940c\",\"\",\"302a0\",\"\",\"13dce\",\"\",\"e5479\",\"\",\"9e894\",\"\",\"8a840\",\"\",\"8661d\",\"\",\"15ad4\",\"\",\"9c911\",\"\",\"f3705\",\"\",\"de1aa\",\"\",\"c99f4\",\"\",\"c3dab\",\"\",\"d157d\",\"\",\"c673d\",\"\",\"2d6d9\",\"\",\"cf918\",\"\"]],\"_columnLabel\",[\"^3\",[\"e9423\",\"Receipt number\",\"e29b7\",\"Delay action\",\"4940c\",\"ID\",\"302a0\",\"Processing fee\",\"13dce\",\"Card details\",\"e5479\",\"Source type\",\"9e894\",\"Delayed until\",\"8a840\",\"Created at\",\"8661d\",\"Updated at\",\"15ad4\",\"Application details\",\"9c911\",\"Approved money\",\"f3705\",\"Amount money\",\"de1aa\",\"Location ID\",\"c99f4\",\"Version token\",\"c3dab\",\"Total money\",\"d157d\",\"Status\",\"c673d\",\"Receipt URL\",\"2d6d9\",\"Order ID\",\"cf918\",\"Delay duration\"]]]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"dashboardContainer\",\"^E\",\"body\",\"^F\",\"7563e\",\"row\",9.6,\"col\",0,\"^G\",9.4,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682985754001\",\"^B\",\"~m1682985874396\",\"^C\",\"\",\"^D\",null]]],\"text5\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text5\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"### Orders\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"dashboardContainer\",\"^E\",\"body\",\"^F\",\"7563e\",\"row\",0,\"col\",0,\"^G\",0.6,\"^H\",3,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682985778118\",\"^B\",\"~m1682985786532\",\"^C\",\"\",\"^D\",null]]],\"text6\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text6\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"### Payments\",\"_disclosedFields\",[],\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"dashboardContainer\",\"^E\",\"body\",\"^F\",\"7563e\",\"row\",8.6,\"col\",0,\"^G\",0.6,\"^H\",3,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682985786482\",\"^B\",\"~m1682985798169\",\"^C\",\"\",\"^D\",null]]],\"icon1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"icon1\",\"^4\",\"widget\",\"^5\",\"IconWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"center\",\"clickable\",false,\"hidden\",false,\"showInEditor\",false,\"tooltipText\",\"\",\"_disclosedFields\",[],\"altText\",\"\",\"icon\",\"bold/entertainment-ticket\",\"events\",[\"^3\",[]],\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",1.2,\"^H\",1,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1682985887602\",\"^B\",\"~m1682985901471\",\"^C\",\"\",\"^D\",null]]]]],\"^A\",null,\"version\",\"2.119.0\",\"appThemeId\",null,\"appMaxWidth\",\"1560px\",\"preloadedAppJavaScript\",null,\"preloadedAppJSLinks\",[],\"testEntities\",[],\"tests\",[],\"appStyles\",\"\",\"responsiveLayoutDisabled\",false,\"loadingIndicatorsDisabled\",false,\"urlFragmentDefinitions\",[\"^:\",[]],\"pageLoadValueOverrides\",[\"^:\",[]],\"customDocumentTitle\",\"\",\"customDocumentTitleEnabled\",false,\"customShortcuts\",[],\"isGlobalWidget\",false,\"isMobileApp\",false,\"multiScreenMobileApp\",false,\"mobileAppSettings\",[\"^ \",\"mobileOfflineModeEnabled\",false,\"mobileOfflineModeDelaySync\",false,\"mobileOfflineModeBannerMode\",\"default\",\"displaySetting\",[\"^ \",\"landscapeMode\",false,\"tabletMode\",false]],\"folders\",[\"^:\",[]],\"queryStatusVisibility\",false,\"markdownLinkBehavior\",\"auto\",\"inAppRetoolPillAppearance\",\"NO_OVERRIDE\",\"rootScreen\",null,\"instrumentationEnabled\",false,\"experimentalFeatures\",[\"^ \",\"sourceControlTemplateDehydration\",false],\"experimentalPerfFeatures\",[\"^ \",\"serverDepGraphEnabled\",false,\"useRuntimeV2\",true,\"runtimeV2OptOut\",false],\"experimentalStabilityFeatures\",[\"^ \",\"lockModelForUpdates\",false],\"experimentalDataTabEnabled\",true]]]"},"changesRecord":[{"type":"PLUGIN_UPDATE_ID","payload":{"newId":"dashboardContainer","pluginId":"tabbedContainer1"}},{"type":"WIDGET_TEMPLATE_UPDATE","payload":{"plugin":{"id":"tabs1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TabsWidget2","tabIndex":null,"template":{"_ids":["d3e7a","52c86","bec40"],"data":[],"value":"{{ self.values[0] }}","events":{},"hidden":false,"labels":[],"values":[],"_labels":["","",""],"_values":["Tab 1","Tab 2","Tab 3"],"disabled":false,"itemMode":"static","alignment":"left","iconByIndex":[],"_iconByIndex":["","",""],"linePosition":"bottom","selectedItem":null,"showInEditor":false,"hiddenByIndex":[],"selectedIndex":null,"selectedLabel":"","_hiddenByIndex":["","",""],"tooltipByIndex":[],"_tooltipByIndex":["","",""],"disabledByIndex":[],"_disabledByIndex":["","",""],"_disclosedFields":[],"navigateContainer":true,"targetContainerId":"tabbedContainer1","iconPositionByIndex":[],"_iconPositionByIndex":["","",""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-05-01T22:26:23.668Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.8,"tabNum":0,"rowGroup":"header","container":"dashboardContainer","subcontainer":""},"updatedAt":"2023-05-02T00:36:23.016Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"update":{"targetContainerId":"dashboardContainer"},"widgetId":"tabs1","shouldRecalculateTemplate":true},"isUserTriggered":true}],"gitSha":null,"checksum":null,"createdAt":"2023-05-04T17:56:38.022Z","updatedAt":"2023-05-04T17:56:38.022Z","pageId":2042343,"userId":463938,"branchId":null},"modules":{}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment