mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-27 08:27:23 +00:00
7952 lines
No EOL
299 KiB
JSON
7952 lines
No EOL
299 KiB
JSON
{
|
|
"tooljet_database": [
|
|
{
|
|
"id": "22134693-8957-4964-b1ac-1858d9984865",
|
|
"table_name": "invoice_tracking_invoice_items",
|
|
"schema": {
|
|
"columns": [
|
|
{
|
|
"column_name": "id",
|
|
"data_type": "integer",
|
|
"column_default": "nextval(\"22134693-8957-4964-b1ac-1858d9984865_id_seq\"",
|
|
"character_maximum_length": null,
|
|
"numeric_precision": 32,
|
|
"constraints_type": {
|
|
"is_not_null": true,
|
|
"is_primary_key": true,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "PRIMARY KEY",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "order_id",
|
|
"data_type": "integer",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": 32,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "item_name",
|
|
"data_type": "character varying",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "rate",
|
|
"data_type": "double precision",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": 53,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "quantity",
|
|
"data_type": "integer",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": 32,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "total_amount",
|
|
"data_type": "double precision",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": 53,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "is_active",
|
|
"data_type": "boolean",
|
|
"column_default": "true",
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "created_at",
|
|
"data_type": "character varying",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "updated_at",
|
|
"data_type": "character varying",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
}
|
|
],
|
|
"foreign_keys": []
|
|
}
|
|
},
|
|
{
|
|
"id": "21da8d89-bdc5-4cff-b3e3-9c377ddaa3da",
|
|
"table_name": "invoice_tracking_orders",
|
|
"schema": {
|
|
"columns": [
|
|
{
|
|
"column_name": "id",
|
|
"data_type": "integer",
|
|
"column_default": "nextval(\"21da8d89-bdc5-4cff-b3e3-9c377ddaa3da_id_seq\"",
|
|
"character_maximum_length": null,
|
|
"numeric_precision": 32,
|
|
"constraints_type": {
|
|
"is_not_null": true,
|
|
"is_primary_key": true,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "PRIMARY KEY",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "customer_name",
|
|
"data_type": "character varying",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "billing_date",
|
|
"data_type": "character varying",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "bill_paid",
|
|
"data_type": "boolean",
|
|
"column_default": "false",
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": true,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "payment_date",
|
|
"data_type": "character varying",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "is_active",
|
|
"data_type": "boolean",
|
|
"column_default": "true",
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": true,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "created_at",
|
|
"data_type": "character varying",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "updated_at",
|
|
"data_type": "character varying",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "customer_address",
|
|
"data_type": "character varying",
|
|
"column_default": null,
|
|
"character_maximum_length": null,
|
|
"numeric_precision": null,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "tax_percentage",
|
|
"data_type": "double precision",
|
|
"column_default": "0",
|
|
"character_maximum_length": null,
|
|
"numeric_precision": 53,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
},
|
|
{
|
|
"column_name": "discount",
|
|
"data_type": "double precision",
|
|
"column_default": "0",
|
|
"character_maximum_length": null,
|
|
"numeric_precision": 53,
|
|
"constraints_type": {
|
|
"is_not_null": false,
|
|
"is_primary_key": false,
|
|
"is_unique": false
|
|
},
|
|
"keytype": "",
|
|
"configurations": {}
|
|
}
|
|
],
|
|
"foreign_keys": []
|
|
}
|
|
}
|
|
],
|
|
"app": [
|
|
{
|
|
"definition": {
|
|
"appV2": {
|
|
"type": "front-end",
|
|
"id": "b0e245fe-b9ef-4852-9540-e74c47727cea",
|
|
"name": "Invoice tracking",
|
|
"slug": "b0e245fe-b9ef-4852-9540-e74c47727cea",
|
|
"isPublic": false,
|
|
"isMaintenanceOn": false,
|
|
"icon": "shield",
|
|
"organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"currentVersionId": null,
|
|
"userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc",
|
|
"workflowApiToken": null,
|
|
"workflowEnabled": false,
|
|
"createdAt": "2024-05-27T20:57:59.536Z",
|
|
"creationMode": "DEFAULT",
|
|
"updatedAt": "2024-05-27T20:58:00.798Z",
|
|
"editingVersion": {
|
|
"id": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"name": "v1",
|
|
"definition": null,
|
|
"globalSettings": {
|
|
"hideHeader": true,
|
|
"appInMaintenance": false,
|
|
"canvasMaxWidth": 100,
|
|
"canvasMaxWidthType": "%",
|
|
"canvasMaxHeight": 2400,
|
|
"canvasBackgroundColor": "#edeff5",
|
|
"backgroundFxQuery": "",
|
|
"appMode": "auto"
|
|
},
|
|
"pageSettings": {
|
|
"properties": {
|
|
"disableMenu": {
|
|
"value": "{{true}}",
|
|
"fxActive": false
|
|
}
|
|
}
|
|
},
|
|
"showViewerNavigation": false,
|
|
"homePageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"appId": "b0e245fe-b9ef-4852-9540-e74c47727cea",
|
|
"currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4",
|
|
"promotedFrom": null,
|
|
"createdAt": "2024-05-27T20:57:59.555Z",
|
|
"updatedAt": "2024-09-02T12:25:53.246Z"
|
|
},
|
|
"components": [
|
|
{
|
|
"id": "393fe5c6-5c08-4f8f-be0f-ff32889cc3bc",
|
|
"name": "textarea1",
|
|
"type": "TextArea",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"value": {
|
|
"value": ""
|
|
},
|
|
"placeholder": {
|
|
"value": "Enter customer address"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "5e3aad79-fca5-4d79-8188-d424cf95721b",
|
|
"type": "mobile",
|
|
"top": 310,
|
|
"left": 12,
|
|
"width": 13.953488372093023,
|
|
"height": 100,
|
|
"componentId": "393fe5c6-5c08-4f8f-be0f-ff32889cc3bc",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "4a685084-3827-4c32-a8b4-c58cffc1566d",
|
|
"type": "desktop",
|
|
"top": 90,
|
|
"left": 12,
|
|
"width": 29,
|
|
"height": 100,
|
|
"componentId": "393fe5c6-5c08-4f8f-be0f-ff32889cc3bc",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "e7e5d02e-89d0-4382-8959-6458950d77ce",
|
|
"name": "datepicker1",
|
|
"type": "Datepicker",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"format": {
|
|
"value": "DD MMM YYYY"
|
|
},
|
|
"defaultValue": {
|
|
"value": "{{moment().format(\"DD MMM YYYY\")}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-06-03T21:30:47.150Z",
|
|
"layouts": [
|
|
{
|
|
"id": "0a50449a-a582-461c-b84b-b21a4a1f645e",
|
|
"type": "desktop",
|
|
"top": 220,
|
|
"left": 12,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "e7e5d02e-89d0-4382-8959-6458950d77ce",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "6cf68213-7e11-4b75-baf9-8bd4e8df9384",
|
|
"type": "mobile",
|
|
"top": 110,
|
|
"left": 14,
|
|
"width": 11.627906976744185,
|
|
"height": 30,
|
|
"componentId": "e7e5d02e-89d0-4382-8959-6458950d77ce",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ca1b4386-6cce-468e-b828-811a18c85c66",
|
|
"name": "button4",
|
|
"type": "Button",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "e5baeeab-7151-41f1-a1c2-4a3815eaad76",
|
|
"properties": {
|
|
"text": {
|
|
"value": "+ Create order"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#ffffff00"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "59083653-dca8-4346-9242-9df817999cc3",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 35,
|
|
"width": 7,
|
|
"height": 40,
|
|
"componentId": "ca1b4386-6cce-468e-b828-811a18c85c66",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "3b436d7f-6d20-417c-ad98-0afb220ea7a6",
|
|
"type": "mobile",
|
|
"top": 40,
|
|
"left": 33,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "ca1b4386-6cce-468e-b828-811a18c85c66",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ba535bba-e0eb-4bd1-b844-b319da1b8724",
|
|
"name": "datepicker2",
|
|
"type": "Datepicker",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"format": {
|
|
"value": "DD MMM YYYY"
|
|
},
|
|
"defaultValue": {
|
|
"value": "{{components.dropdown1.value ? components.datepicker1.value : \"\"}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"disabledState": {
|
|
"value": "{{!components.dropdown1.value}}",
|
|
"fxActive": true
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "a9ca7f1e-51ce-46db-aa41-d05c714e7f17",
|
|
"type": "desktop",
|
|
"top": 360,
|
|
"left": 12,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "ba535bba-e0eb-4bd1-b844-b319da1b8724",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "49fd93fa-c4ac-41c9-9331-b6a90a996c90",
|
|
"type": "mobile",
|
|
"top": 110,
|
|
"left": 14,
|
|
"width": 11.627906976744185,
|
|
"height": 30,
|
|
"componentId": "ba535bba-e0eb-4bd1-b844-b319da1b8724",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "0a49b8ed-e6bf-4449-bbc8-2154df156539",
|
|
"name": "button4",
|
|
"type": "Button",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "31541f9f-f9cf-45f4-ba00-9480bd4c2204",
|
|
"properties": {
|
|
"text": {
|
|
"value": "+ Add item"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#ffffff00"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "1c98b112-ac25-4d42-b681-fc6f61dbef05",
|
|
"type": "mobile",
|
|
"top": 40,
|
|
"left": 33,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "0a49b8ed-e6bf-4449-bbc8-2154df156539",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "f059cbf0-5558-43d0-8f30-633d8c283750",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 29,
|
|
"width": 5,
|
|
"height": 40,
|
|
"componentId": "0a49b8ed-e6bf-4449-bbc8-2154df156539",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"name": "modal2",
|
|
"type": "Modal",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": null,
|
|
"properties": {
|
|
"title": {
|
|
"value": "{{`Edit order #${components.table1.selectedRow.id}`}}"
|
|
},
|
|
"useDefaultButton": {
|
|
"value": "{{false}}"
|
|
},
|
|
"modalHeight": {
|
|
"value": "700px"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "415ca1ea-b1e1-4fd1-928d-07762ab88219",
|
|
"type": "desktop",
|
|
"top": 844,
|
|
"left": 7,
|
|
"width": 5,
|
|
"height": 30,
|
|
"componentId": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "eaca5bcd-1b97-452e-a426-7bc6150b0c53",
|
|
"type": "mobile",
|
|
"top": 794,
|
|
"left": 1,
|
|
"width": 10,
|
|
"height": 34,
|
|
"componentId": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "5cd6d9ce-bdb3-4c5e-94ab-db0ce14ba5fb",
|
|
"name": "text10",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Tax percentage</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "4f358854-79ac-4123-b49d-b8716e5a1dd5",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "5cd6d9ce-bdb3-4c5e-94ab-db0ce14ba5fb",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "80e77aa8-1c53-4640-971e-d12da162318d",
|
|
"type": "desktop",
|
|
"top": 430,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "5cd6d9ce-bdb3-4c5e-94ab-db0ce14ba5fb",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f1e667c4-1488-42c2-9d8b-b3125a34c7f7",
|
|
"name": "numberinput1",
|
|
"type": "NumberInput",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"value": {
|
|
"value": "5"
|
|
},
|
|
"label": {
|
|
"value": ""
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
},
|
|
"icon": {
|
|
"value": "IconPercentage"
|
|
},
|
|
"iconVisibility": {
|
|
"value": true
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {
|
|
"minValue": {
|
|
"value": "0.00"
|
|
}
|
|
},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "810cc809-ac72-4b18-b001-069ff8b41e76",
|
|
"type": "mobile",
|
|
"top": 130,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "f1e667c4-1488-42c2-9d8b-b3125a34c7f7",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "deac4a13-dc52-4695-8aaf-1035f0d67076",
|
|
"type": "desktop",
|
|
"top": 430,
|
|
"left": 12,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "f1e667c4-1488-42c2-9d8b-b3125a34c7f7",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4e5f2005-9a59-4c64-852f-2a2a3c4eb01a",
|
|
"name": "text11",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Discount</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "76a8cb80-b8bd-4fa1-be26-09a4d4b97538",
|
|
"type": "desktop",
|
|
"top": 500,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "4e5f2005-9a59-4c64-852f-2a2a3c4eb01a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "bb7721bd-b4aa-44f1-8ddf-6967ac82050b",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "4e5f2005-9a59-4c64-852f-2a2a3c4eb01a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "7f1fa85d-aedd-4477-946e-9aeb19c696a3",
|
|
"name": "numberinput2",
|
|
"type": "NumberInput",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"value": {
|
|
"value": "10"
|
|
},
|
|
"label": {
|
|
"value": ""
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
},
|
|
"icon": {
|
|
"value": "IconCurrencyDollar"
|
|
},
|
|
"iconVisibility": {
|
|
"value": true
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {
|
|
"minValue": {
|
|
"value": "0.00"
|
|
}
|
|
},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "5c8ec05d-25b7-42d8-a3e3-aa3a7f7d939a",
|
|
"type": "mobile",
|
|
"top": 130,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "7f1fa85d-aedd-4477-946e-9aeb19c696a3",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "488d158b-f315-4ee5-a24f-ce5acc7c0882",
|
|
"type": "desktop",
|
|
"top": 500,
|
|
"left": 12,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "7f1fa85d-aedd-4477-946e-9aeb19c696a3",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "8c3631f3-d72b-41d9-9f81-4cf4fff5266d",
|
|
"name": "text16",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Bill paid</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "a453c63d-f9f3-4106-a9e9-a2cbe474797c",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "8c3631f3-d72b-41d9-9f81-4cf4fff5266d",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "0f415ba2-25d9-40d3-ac49-56ee395717de",
|
|
"type": "desktop",
|
|
"top": 290,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "8c3631f3-d72b-41d9-9f81-4cf4fff5266d",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "b3066e78-8c3e-44a5-8e1f-4a8c87e6f3e0",
|
|
"name": "numberinput3",
|
|
"type": "NumberInput",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"value": {
|
|
"value": "{{components.table1.selectedRow.discount}}"
|
|
},
|
|
"label": {
|
|
"value": ""
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
},
|
|
"icon": {
|
|
"value": "IconCurrencyDollar"
|
|
},
|
|
"iconVisibility": {
|
|
"value": true
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {
|
|
"minValue": {
|
|
"value": "0.00"
|
|
}
|
|
},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "d7583a7c-0e0c-47f2-90e0-a269f93d05aa",
|
|
"type": "mobile",
|
|
"top": 130,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "b3066e78-8c3e-44a5-8e1f-4a8c87e6f3e0",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "b911aef6-965b-4a5b-8da7-3adab398e84c",
|
|
"type": "desktop",
|
|
"top": 500,
|
|
"left": 12,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "b3066e78-8c3e-44a5-8e1f-4a8c87e6f3e0",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "811feb0c-896b-4ed9-b49f-2a88e779e49a",
|
|
"name": "text12",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Discount</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "f74de22e-1042-4b25-861c-98a9c7b4346f",
|
|
"type": "desktop",
|
|
"top": 500,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "811feb0c-896b-4ed9-b49f-2a88e779e49a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "1b5d7d73-157a-4b2e-8e36-d8893b02557c",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "811feb0c-896b-4ed9-b49f-2a88e779e49a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "dfedd3f2-505e-4235-9f8c-b693e28aa255",
|
|
"name": "numberinput4",
|
|
"type": "NumberInput",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"value": {
|
|
"value": "{{components.table1.selectedRow.tax_percentage}}"
|
|
},
|
|
"label": {
|
|
"value": ""
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
},
|
|
"icon": {
|
|
"value": "IconPercentage"
|
|
},
|
|
"iconVisibility": {
|
|
"value": true
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {
|
|
"minValue": {
|
|
"value": "0.00"
|
|
}
|
|
},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "e7dcad49-ae48-4bb7-998d-17b4d2c1cf19",
|
|
"type": "mobile",
|
|
"top": 130,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "dfedd3f2-505e-4235-9f8c-b693e28aa255",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "baa4871e-75df-46a1-ad58-8b713b16acbb",
|
|
"type": "desktop",
|
|
"top": 430,
|
|
"left": 12,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "dfedd3f2-505e-4235-9f8c-b693e28aa255",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "b6a4b81e-f6eb-4e87-8677-b0d64039b863",
|
|
"name": "text13",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Tax percentage</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "1ef094f3-11c2-4ae4-959e-bf12a0170feb",
|
|
"type": "desktop",
|
|
"top": 430,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "b6a4b81e-f6eb-4e87-8677-b0d64039b863",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "1cee6261-705d-4ae8-a9f5-5302e5f1dfb0",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "b6a4b81e-f6eb-4e87-8677-b0d64039b863",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "e35128de-8b38-4975-9c66-bae9d0b30fc6",
|
|
"name": "text14",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Payment date</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "f13b2c86-7004-4b02-bdd6-038d32834b83",
|
|
"type": "desktop",
|
|
"top": 360,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "e35128de-8b38-4975-9c66-bae9d0b30fc6",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "f65719db-1eef-40f6-9429-05b790eba584",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "e35128de-8b38-4975-9c66-bae9d0b30fc6",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1e0a5efe-738a-4c47-8aa1-1f237a19176e",
|
|
"name": "text7",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Total amount</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "e7c5d5a9-4e0a-4385-a3b4-f40d26dc7c73",
|
|
"type": "desktop",
|
|
"top": 230,
|
|
"left": 2,
|
|
"width": 9.000000000000002,
|
|
"height": 40,
|
|
"componentId": "1e0a5efe-738a-4c47-8aa1-1f237a19176e",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "a960814a-109b-486d-9835-901eb1a46572",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "1e0a5efe-738a-4c47-8aa1-1f237a19176e",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "d25e354e-6745-42f9-99fb-e52d2b834127",
|
|
"name": "numberinput3",
|
|
"type": "NumberInput",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"properties": {
|
|
"value": {
|
|
"value": "{{(components.numberinput1.value * components.numberinput2.value).toFixed(2)}}"
|
|
},
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"disabledState": {
|
|
"value": "{{true}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
},
|
|
"icon": {
|
|
"value": "IconCurrencyDollar"
|
|
},
|
|
"iconVisibility": {
|
|
"value": true
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {
|
|
"minValue": {
|
|
"value": "0.01"
|
|
}
|
|
},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "96d57b5e-506d-4725-a512-e51ca047b5e2",
|
|
"type": "desktop",
|
|
"top": 230,
|
|
"left": 11,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "d25e354e-6745-42f9-99fb-e52d2b834127",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "120ff376-2e58-4741-9c69-85a233a2ca9a",
|
|
"type": "mobile",
|
|
"top": 130,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "d25e354e-6745-42f9-99fb-e52d2b834127",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6d916cbb-039c-41fb-bd75-392929da961e",
|
|
"name": "numberinput1",
|
|
"type": "NumberInput",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"properties": {
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"value": {
|
|
"value": "99"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
},
|
|
"icon": {
|
|
"value": "IconCurrencyDollar"
|
|
},
|
|
"iconVisibility": {
|
|
"value": true
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {
|
|
"minValue": {
|
|
"value": "0.01"
|
|
}
|
|
},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "99ec063a-cfb3-4a3f-9c8b-d960f33c38fe",
|
|
"type": "mobile",
|
|
"top": 130,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "6d916cbb-039c-41fb-bd75-392929da961e",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "37c81232-1d88-4edf-95d7-90028e9a761a",
|
|
"type": "desktop",
|
|
"top": 90,
|
|
"left": 11,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "6d916cbb-039c-41fb-bd75-392929da961e",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "422db4da-541d-445b-bd63-cdb07b477178",
|
|
"name": "numberinput2",
|
|
"type": "NumberInput",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"properties": {
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"decimalPlaces": {
|
|
"value": "{{0}}"
|
|
},
|
|
"value": {
|
|
"value": "10"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
},
|
|
"icon": {
|
|
"value": "IconHome2"
|
|
},
|
|
"iconVisibility": {
|
|
"value": false
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {
|
|
"minValue": {
|
|
"value": "1"
|
|
}
|
|
},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "10555815-15f7-42da-be8c-fee104904889",
|
|
"type": "desktop",
|
|
"top": 160,
|
|
"left": 11,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "422db4da-541d-445b-bd63-cdb07b477178",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "ad37be70-d7e6-42e1-913c-c59e7fd0c480",
|
|
"type": "mobile",
|
|
"top": 130,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "422db4da-541d-445b-bd63-cdb07b477178",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4466a96a-e3cc-45a3-b201-c32eed3ca360",
|
|
"name": "text6",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Quantity</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "5237247c-73a6-46db-80b4-b40b2cef071d",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "4466a96a-e3cc-45a3-b201-c32eed3ca360",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "e374511c-69fc-4521-a8a9-22d9ff4500af",
|
|
"type": "desktop",
|
|
"top": 160,
|
|
"left": 2,
|
|
"width": 9.000000000000002,
|
|
"height": 40,
|
|
"componentId": "4466a96a-e3cc-45a3-b201-c32eed3ca360",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "92b9e0a4-fdbe-4fbf-b1c3-e67ee9893492",
|
|
"name": "icon1",
|
|
"type": "Icon",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "1510e918-b596-4024-b470-d9938c1fafe5",
|
|
"properties": {
|
|
"icon": {
|
|
"value": "IconChevronLeft"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "5fc0f6ab-4cff-4da0-a8ae-ef0e175f927e",
|
|
"type": "desktop",
|
|
"top": 10,
|
|
"left": 1,
|
|
"width": 2,
|
|
"height": 40,
|
|
"componentId": "92b9e0a4-fdbe-4fbf-b1c3-e67ee9893492",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "bf2fd81c-bc84-4eab-8d14-7abdc23f2eee",
|
|
"type": "mobile",
|
|
"top": 10,
|
|
"left": 0,
|
|
"width": 11.627906976744185,
|
|
"height": 48,
|
|
"componentId": "92b9e0a4-fdbe-4fbf-b1c3-e67ee9893492",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "a25f0ffb-9cff-42ce-b20b-49aaef7fa884",
|
|
"name": "button5",
|
|
"type": "Button",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "31541f9f-f9cf-45f4-ba00-9480bd4c2204",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Generate invoice"
|
|
},
|
|
"loadingState": {
|
|
"fxActive": true,
|
|
"value": "{{queries.getOrderDetails.isLoading || queries.printInvoice.isLoading}}"
|
|
},
|
|
"disabledState": {
|
|
"fxActive": true,
|
|
"value": "{{queries.getOrderItems.data.length < 1}}"
|
|
},
|
|
"tooltip": {
|
|
"value": "{{queries.getOrderItems.data.length < 1 ? \"No items in the order! Please add an item to proceed.\" : \"\"}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#ffffff00"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"textColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"loaderColor": {
|
|
"value": "#3e63ddff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "692d59cb-770c-427a-9681-530f3cc8fddf",
|
|
"type": "mobile",
|
|
"top": 40,
|
|
"left": 33,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "a25f0ffb-9cff-42ce-b20b-49aaef7fa884",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "9549823a-e2be-4548-89cb-7388bcd2e67b",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 35,
|
|
"width": 7,
|
|
"height": 40,
|
|
"componentId": "a25f0ffb-9cff-42ce-b20b-49aaef7fa884",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "0c7533d6-1633-476e-a79a-94b53a461874",
|
|
"name": "button7",
|
|
"type": "Button",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Close"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#ffffff00"
|
|
},
|
|
"textColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"loaderColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#3e63ddff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "4466ed2c-92a3-42e4-9b64-d01f29b3901a",
|
|
"type": "desktop",
|
|
"top": 340,
|
|
"left": 26,
|
|
"width": 7,
|
|
"height": 40,
|
|
"componentId": "0c7533d6-1633-476e-a79a-94b53a461874",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "39852f70-def8-4df8-affe-6c1193b83d4f",
|
|
"type": "mobile",
|
|
"top": 320,
|
|
"left": 32,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "0c7533d6-1633-476e-a79a-94b53a461874",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"name": "modal2",
|
|
"type": "Modal",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": null,
|
|
"properties": {
|
|
"title": {
|
|
"value": "{{`Edit item #${components.table1.selectedRow.id}`}}"
|
|
},
|
|
"useDefaultButton": {
|
|
"value": "{{false}}"
|
|
},
|
|
"modalHeight": {
|
|
"value": "420px"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "818f1e46-a724-4c25-8c8d-8a6590c2f362",
|
|
"type": "desktop",
|
|
"top": 844,
|
|
"left": 7,
|
|
"width": 5,
|
|
"height": 30,
|
|
"componentId": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "7225b24b-018c-4f07-9d9a-49a5bfeb4030",
|
|
"type": "mobile",
|
|
"top": 794,
|
|
"left": 1,
|
|
"width": 10,
|
|
"height": 34,
|
|
"componentId": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "14100a9d-dbbc-46ce-a1e5-dcc410ce370f",
|
|
"name": "text2",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "1510e918-b596-4024-b470-d9938c1fafe5",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Invoice tracking</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textColor": {
|
|
"value": "#000",
|
|
"fxActive": false
|
|
},
|
|
"textSize": {
|
|
"value": "{{20}}"
|
|
},
|
|
"textAlign": {
|
|
"value": "right"
|
|
},
|
|
"boxShadow": {
|
|
"value": "0px 0px 0px 0px #00000040"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "e78ddde5-1d34-43dd-9428-717331164acb",
|
|
"type": "desktop",
|
|
"top": 10,
|
|
"left": 29,
|
|
"width": 12.999999999999998,
|
|
"height": 40,
|
|
"componentId": "14100a9d-dbbc-46ce-a1e5-dcc410ce370f",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "7ffff2bf-fcf0-40fa-acfa-a7dbe6517dbb",
|
|
"name": "text1",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "1510e918-b596-4024-b470-d9938c1fafe5",
|
|
"properties": {
|
|
"text": {
|
|
"value": "B R A N D"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textColor": {
|
|
"value": "#000",
|
|
"fxActive": false
|
|
},
|
|
"textSize": {
|
|
"value": "{{24}}"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"letterSpacing": {
|
|
"value": "{{0}}"
|
|
},
|
|
"boxShadow": {
|
|
"value": "0px 0px 0px 0px #00000040"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "1e5ea6eb-8db4-44aa-8a9a-3d92f56514b1",
|
|
"type": "desktop",
|
|
"top": 10,
|
|
"left": 4,
|
|
"width": 6,
|
|
"height": 40,
|
|
"componentId": "7ffff2bf-fcf0-40fa-acfa-a7dbe6517dbb",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"name": "modal1",
|
|
"type": "Modal",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": null,
|
|
"properties": {
|
|
"useDefaultButton": {
|
|
"value": "{{false}}"
|
|
},
|
|
"title": {
|
|
"value": "Add item"
|
|
},
|
|
"size": {
|
|
"value": "lg"
|
|
},
|
|
"modalHeight": {
|
|
"value": "420px"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "65ae3b63-0c1d-4d0f-b958-5a4cc3c4525c",
|
|
"type": "desktop",
|
|
"top": 844,
|
|
"left": 1,
|
|
"width": 5,
|
|
"height": 30,
|
|
"componentId": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "09cc7f9e-704a-4716-8f6d-864aeb0b7c0c",
|
|
"type": "mobile",
|
|
"top": 760,
|
|
"left": 1,
|
|
"width": 10,
|
|
"height": 34,
|
|
"componentId": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "9a5d0379-3b3c-434f-a636-36c9781af898",
|
|
"name": "text4",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Item name</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "2330f8fe-025a-4d67-9db8-cdfc5b843d1a",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 2,
|
|
"width": 9.000000000000002,
|
|
"height": 40,
|
|
"componentId": "9a5d0379-3b3c-434f-a636-36c9781af898",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "a103b01b-9801-444f-9a75-837da312ed04",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "9a5d0379-3b3c-434f-a636-36c9781af898",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "730a3938-de30-4084-84bf-a5c5054c3631",
|
|
"name": "textinput1",
|
|
"type": "TextInput",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"properties": {
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"placeholder": {
|
|
"value": "Enter item name"
|
|
},
|
|
"disabledState": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "4d78a8f9-32b5-42ac-99b8-80ff122f28fe",
|
|
"type": "mobile",
|
|
"top": 100,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "730a3938-de30-4084-84bf-a5c5054c3631",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "70b5151c-dbae-4313-ac98-aaf5b25825f3",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 11,
|
|
"width": 30,
|
|
"height": 40,
|
|
"componentId": "730a3938-de30-4084-84bf-a5c5054c3631",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "b1b8bfb7-c5c2-46bf-b70e-069685e56ad2",
|
|
"name": "button2",
|
|
"type": "Button",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Add"
|
|
},
|
|
"loadingState": {
|
|
"fxActive": true,
|
|
"value": "{{queries.addOrderItem.isLoading}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#ffffff00"
|
|
},
|
|
"backgroundColor": {
|
|
"value": "#3e63ddff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "0817349f-c258-4d4c-a4ca-faf25fff26e0",
|
|
"type": "desktop",
|
|
"top": 340,
|
|
"left": 34,
|
|
"width": 7,
|
|
"height": 40,
|
|
"componentId": "b1b8bfb7-c5c2-46bf-b70e-069685e56ad2",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "a91141d9-86ad-47df-bbbe-47e5c8a161b2",
|
|
"type": "mobile",
|
|
"top": 320,
|
|
"left": 32,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "b1b8bfb7-c5c2-46bf-b70e-069685e56ad2",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6826ee3c-717a-411d-b139-392476ed8504",
|
|
"name": "button3",
|
|
"type": "Button",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Close"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#ffffff00"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"textColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"loaderColor": {
|
|
"value": "#3e63ddff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "1c83f82a-0e8f-42db-b1e6-4127e04ec1f3",
|
|
"type": "mobile",
|
|
"top": 320,
|
|
"left": 32,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "6826ee3c-717a-411d-b139-392476ed8504",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "5b241e0f-58c5-428b-9c50-88ba09790a3d",
|
|
"type": "desktop",
|
|
"top": 340,
|
|
"left": 26,
|
|
"width": 7,
|
|
"height": 40,
|
|
"componentId": "6826ee3c-717a-411d-b139-392476ed8504",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "e6ed3607-91de-407d-ac27-63248acc5090",
|
|
"name": "divider1",
|
|
"type": "Divider",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"properties": {},
|
|
"general": {},
|
|
"styles": {
|
|
"dividerColor": {
|
|
"value": "#bbbbbbff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "35aebf22-2367-4703-a76b-cee60d873a16",
|
|
"type": "desktop",
|
|
"top": 302,
|
|
"left": 2,
|
|
"width": 39.00000000000001,
|
|
"height": -27,
|
|
"componentId": "e6ed3607-91de-407d-ac27-63248acc5090",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "2dd63545-5763-41c9-8548-8aa3445aa8d7",
|
|
"type": "mobile",
|
|
"top": 300,
|
|
"left": -1,
|
|
"width": 23.25581395348837,
|
|
"height": 10,
|
|
"componentId": "e6ed3607-91de-407d-ac27-63248acc5090",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "31541f9f-f9cf-45f4-ba00-9480bd4c2204",
|
|
"name": "container2",
|
|
"type": "Container",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": null,
|
|
"properties": {},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "10"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "f2960522-d086-4eac-90db-9681b191ebbc",
|
|
"type": "desktop",
|
|
"top": 100,
|
|
"left": 1,
|
|
"width": 41,
|
|
"height": 700,
|
|
"componentId": "31541f9f-f9cf-45f4-ba00-9480bd4c2204",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "32158eeb-c8e7-48f5-8d40-c7626bcd04e4",
|
|
"type": "mobile",
|
|
"top": 520,
|
|
"left": 1,
|
|
"width": 5,
|
|
"height": 200,
|
|
"componentId": "31541f9f-f9cf-45f4-ba00-9480bd4c2204",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6f87cce7-07ab-45a4-899c-4f41096c4d79",
|
|
"name": "table1",
|
|
"type": "Table",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "31541f9f-f9cf-45f4-ba00-9480bd4c2204",
|
|
"properties": {
|
|
"loadingState": {
|
|
"value": "{{queries.getOrderItems.isLoading}}",
|
|
"fxActive": true
|
|
},
|
|
"data": {
|
|
"value": "{{queries.getOrderItems.data}}"
|
|
},
|
|
"columnData": {
|
|
"value": "{{[]}}"
|
|
},
|
|
"columns": {
|
|
"value": [
|
|
{
|
|
"id": "92712d6d-7595-44c9-89c3-bc37fe5b5d2d",
|
|
"name": "id",
|
|
"key": "id",
|
|
"columnType": "number",
|
|
"autogenerated": true
|
|
},
|
|
{
|
|
"id": "1adf15fc-395d-41ee-9e30-9abc58de7b6a",
|
|
"name": "item name",
|
|
"key": "item_name",
|
|
"columnType": "string",
|
|
"autogenerated": true
|
|
},
|
|
{
|
|
"id": "3f31290d-ebf5-4091-8632-2b2f4bcb6baa",
|
|
"name": "rate",
|
|
"key": "rate",
|
|
"columnType": "number",
|
|
"autogenerated": true,
|
|
"transformation": "{{cellValue}}"
|
|
},
|
|
{
|
|
"id": "8052e52d-1b42-4271-9860-c3f7dd179d31",
|
|
"name": "quantity",
|
|
"key": "quantity",
|
|
"columnType": "number",
|
|
"autogenerated": true
|
|
},
|
|
{
|
|
"id": "3ec7fbb9-a7fe-4096-8dc0-a00b5f000f51",
|
|
"name": "total amount",
|
|
"key": "total_amount",
|
|
"columnType": "number",
|
|
"autogenerated": true
|
|
}
|
|
]
|
|
},
|
|
"showBulkUpdateActions": {
|
|
"value": "{{false}}"
|
|
},
|
|
"columnSizes": {
|
|
"value": {
|
|
"f23b7d134b2e490ea41e3bb8eeb8c8e37472af243bf6b70d5af294482097e3a2": 82,
|
|
"d74be5d0-40c0-4750-a325-4cd5f868fd21": 188,
|
|
"579ca426-b688-4bf9-96ec-ba0003a1f667": 270,
|
|
"212cf4ce-e59c-4cba-a884-d4f8f2b4cd80": 116,
|
|
"92712d6d-7595-44c9-89c3-bc37fe5b5d2d": 43
|
|
}
|
|
},
|
|
"actions": {
|
|
"value": [
|
|
{
|
|
"name": "Action0",
|
|
"buttonText": "Edit",
|
|
"events": [],
|
|
"position": "right",
|
|
"backgroundColor": "#3e63dd1a",
|
|
"textColor": "#3e63ddff"
|
|
},
|
|
{
|
|
"name": "Action1",
|
|
"buttonText": "Delete",
|
|
"events": [],
|
|
"position": "right",
|
|
"backgroundColor": "#dd00001a",
|
|
"textColor": "#dd0000ff"
|
|
}
|
|
]
|
|
},
|
|
"showAddNewRowButton": {
|
|
"value": "{{false}}"
|
|
},
|
|
"allowSelection": {
|
|
"value": "{{false}}"
|
|
},
|
|
"columnDeletionHistory": {
|
|
"value": [
|
|
"is_active",
|
|
"created_at",
|
|
"updated_at",
|
|
"customer_name",
|
|
"billing_date",
|
|
"bill_paid",
|
|
"payment_date",
|
|
"invoice_id",
|
|
"order_id"
|
|
]
|
|
},
|
|
"title": {
|
|
"value": "Table"
|
|
},
|
|
"visible": {
|
|
"value": "{{true}}"
|
|
},
|
|
"useDynamicColumn": {
|
|
"value": "{{false}}"
|
|
},
|
|
"rowsPerPage": {
|
|
"value": "{{10}}"
|
|
},
|
|
"serverSidePagination": {
|
|
"value": "{{false}}"
|
|
},
|
|
"enableNextButton": {
|
|
"value": "{{true}}"
|
|
},
|
|
"enablePrevButton": {
|
|
"value": "{{true}}"
|
|
},
|
|
"totalRecords": {
|
|
"value": "{{10}}"
|
|
},
|
|
"enablePagination": {
|
|
"value": "{{true}}"
|
|
},
|
|
"serverSideSort": {
|
|
"value": "{{false}}"
|
|
},
|
|
"serverSideFilter": {
|
|
"value": "{{false}}"
|
|
},
|
|
"displaySearchBox": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showDownloadButton": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showFilterButton": {
|
|
"value": "{{true}}"
|
|
},
|
|
"autogenerateColumns": {
|
|
"value": true,
|
|
"generateNestedColumns": true
|
|
},
|
|
"isAllColumnsEditable": {
|
|
"value": "{{false}}"
|
|
},
|
|
"showBulkSelector": {
|
|
"value": "{{false}}"
|
|
},
|
|
"highlightSelectedRow": {
|
|
"value": "{{false}}"
|
|
},
|
|
"enabledSort": {
|
|
"value": "{{true}}"
|
|
},
|
|
"hideColumnSelectorButton": {
|
|
"value": "{{false}}"
|
|
},
|
|
"defaultSelectedRow": {
|
|
"value": "{{{\"id\":1}}}"
|
|
},
|
|
"visibility": {
|
|
"value": "{{true}}"
|
|
},
|
|
"disabledState": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"actionButtonRadius": {
|
|
"value": "5"
|
|
},
|
|
"borderRadius": {
|
|
"value": "10"
|
|
},
|
|
"textColor": {
|
|
"value": "#000"
|
|
},
|
|
"columnHeaderWrap": {
|
|
"value": "fixed"
|
|
},
|
|
"cellSize": {
|
|
"value": "regular"
|
|
},
|
|
"tableType": {
|
|
"value": "table-classic"
|
|
},
|
|
"maxRowHeight": {
|
|
"value": "auto"
|
|
},
|
|
"maxRowHeightValue": {
|
|
"value": "{{0}}"
|
|
},
|
|
"contentWrap": {
|
|
"value": "{{true}}"
|
|
},
|
|
"boxShadow": {
|
|
"value": "0px 0px 0px 0px #00000090"
|
|
},
|
|
"padding": {
|
|
"value": "default"
|
|
}
|
|
},
|
|
"generalStyles": {
|
|
"boxShadow": {
|
|
"value": "0px 0px 0px 0px #00000040"
|
|
}
|
|
},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-12-03T01:05:16.679Z",
|
|
"layouts": [
|
|
{
|
|
"id": "5b480440-4c91-49bd-a3ff-03af36591c37",
|
|
"type": "mobile",
|
|
"top": 0,
|
|
"left": 0,
|
|
"width": 35,
|
|
"height": 456,
|
|
"componentId": "6f87cce7-07ab-45a4-899c-4f41096c4d79",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "cc71550a-f9e8-439f-8bb9-e34d1018346c",
|
|
"type": "desktop",
|
|
"top": 80,
|
|
"left": 1,
|
|
"width": 41,
|
|
"height": 580,
|
|
"componentId": "6f87cce7-07ab-45a4-899c-4f41096c4d79",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3eb5c10b-9fee-4ee7-94e2-198bde17e526",
|
|
"name": "text8",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "31541f9f-f9cf-45f4-ba00-9480bd4c2204",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Items in order #{{globals.urlparams.invoice_id}}</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textColor": {
|
|
"value": "#000",
|
|
"fxActive": false
|
|
},
|
|
"textSize": {
|
|
"value": "{{20}}"
|
|
},
|
|
"boxShadow": {
|
|
"value": "0px 0px 0px 0px #00000040"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "411034b6-7fb6-4c05-afb3-29de11f7a29a",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 1,
|
|
"width": 12.999999999999998,
|
|
"height": 40,
|
|
"componentId": "3eb5c10b-9fee-4ee7-94e2-198bde17e526",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "767d4ba9-4caf-4067-bb65-3afb9301e8ce",
|
|
"name": "text5",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Rate</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "7e82e299-45f8-46e3-a056-58d4ee19580f",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "767d4ba9-4caf-4067-bb65-3afb9301e8ce",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "dbe3cee3-f44b-4f0e-b1f0-eef7b2d54e4b",
|
|
"type": "desktop",
|
|
"top": 90,
|
|
"left": 2,
|
|
"width": 9.000000000000002,
|
|
"height": 40,
|
|
"componentId": "767d4ba9-4caf-4067-bb65-3afb9301e8ce",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4dbe6cbd-735f-44a4-bd90-12e12f30684f",
|
|
"name": "numberinput4",
|
|
"type": "NumberInput",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"properties": {
|
|
"value": {
|
|
"value": "{{components.table1.selectedRow.rate}}"
|
|
},
|
|
"label": {
|
|
"value": ""
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
},
|
|
"icon": {
|
|
"value": "IconCurrencyDollar"
|
|
},
|
|
"iconVisibility": {
|
|
"value": true
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {
|
|
"minValue": {
|
|
"value": "0.01"
|
|
}
|
|
},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "2527082c-6b9f-4668-8e84-4b8f31b6ac64",
|
|
"type": "desktop",
|
|
"top": 90,
|
|
"left": 11,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "4dbe6cbd-735f-44a4-bd90-12e12f30684f",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "c9c6d627-b2aa-4429-9e26-10463c8085d9",
|
|
"type": "mobile",
|
|
"top": 130,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "4dbe6cbd-735f-44a4-bd90-12e12f30684f",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "012e13a6-1980-42d4-976f-8089f466142b",
|
|
"name": "button6",
|
|
"type": "Button",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Save"
|
|
},
|
|
"loadingState": {
|
|
"value": "{{queries.updateOrderItem.isLoading}}",
|
|
"fxActive": true
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#ffffff00"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "b042c596-4c86-40b3-8218-ee2a9c4b14f6",
|
|
"type": "mobile",
|
|
"top": 320,
|
|
"left": 32,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "012e13a6-1980-42d4-976f-8089f466142b",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "10e924f9-8127-4cbb-892f-e9793c33ec27",
|
|
"type": "desktop",
|
|
"top": 340,
|
|
"left": 34,
|
|
"width": 7,
|
|
"height": 40,
|
|
"componentId": "012e13a6-1980-42d4-976f-8089f466142b",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "b36e3732-325a-4088-a148-dc433fc341c8",
|
|
"name": "textinput2",
|
|
"type": "TextInput",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"properties": {
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"placeholder": {
|
|
"value": "Enter item name"
|
|
},
|
|
"value": {
|
|
"value": "{{components.table1.selectedRow.item_name}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "bee0a5fd-1b32-4256-a434-a1a56f97cbdf",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 11,
|
|
"width": 30,
|
|
"height": 40,
|
|
"componentId": "b36e3732-325a-4088-a148-dc433fc341c8",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "779a77c2-21f6-412c-96e9-099816100a58",
|
|
"type": "mobile",
|
|
"top": 100,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "b36e3732-325a-4088-a148-dc433fc341c8",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "a4667a35-c986-4cda-8efb-1c7c3241089d",
|
|
"name": "numberinput5",
|
|
"type": "NumberInput",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"properties": {
|
|
"value": {
|
|
"value": "{{(components.numberinput4.value * components.numberinput6.value).toFixed(2)}}"
|
|
},
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"disabledState": {
|
|
"value": "{{true}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
},
|
|
"icon": {
|
|
"value": "IconCurrencyDollar"
|
|
},
|
|
"iconVisibility": {
|
|
"value": true
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {
|
|
"minValue": {
|
|
"value": "0.01"
|
|
}
|
|
},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "3be0ded4-51af-404f-86df-e129d817f91d",
|
|
"type": "mobile",
|
|
"top": 130,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "a4667a35-c986-4cda-8efb-1c7c3241089d",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "4ba6df1a-29da-4f83-8e80-ca564244cc17",
|
|
"type": "desktop",
|
|
"top": 230,
|
|
"left": 11,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "a4667a35-c986-4cda-8efb-1c7c3241089d",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "89fd629c-a7c7-4316-a89d-899feaeb5a8d",
|
|
"name": "numberinput6",
|
|
"type": "NumberInput",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"properties": {
|
|
"value": {
|
|
"value": "{{components.table1.selectedRow.quantity}}"
|
|
},
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"decimalPlaces": {
|
|
"value": "{{0}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {
|
|
"minValue": {
|
|
"value": "1"
|
|
}
|
|
},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "f04e44bf-1e49-4c04-8a48-0968480aa2d6",
|
|
"type": "mobile",
|
|
"top": 130,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "89fd629c-a7c7-4316-a89d-899feaeb5a8d",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "6d27171f-c09d-44b9-bda9-59798c4eccaa",
|
|
"type": "desktop",
|
|
"top": 160,
|
|
"left": 11,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "89fd629c-a7c7-4316-a89d-899feaeb5a8d",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1f4acf7d-ce7a-4de0-8ff9-257a371d931f",
|
|
"name": "text9",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Total amount</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "6d07c54a-d9fb-45f6-8cf2-81e9684c7ea5",
|
|
"type": "desktop",
|
|
"top": 230,
|
|
"left": 2,
|
|
"width": 9.000000000000002,
|
|
"height": 40,
|
|
"componentId": "1f4acf7d-ce7a-4de0-8ff9-257a371d931f",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "59dd7f57-bdd6-4b1b-856c-7e97c232ecb0",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "1f4acf7d-ce7a-4de0-8ff9-257a371d931f",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "c906257a-b396-4761-beba-f19128b06741",
|
|
"name": "text10",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Quantity</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "5abe7f3a-6604-4353-ac99-968dabf63d80",
|
|
"type": "desktop",
|
|
"top": 160,
|
|
"left": 2,
|
|
"width": 9.000000000000002,
|
|
"height": 40,
|
|
"componentId": "c906257a-b396-4761-beba-f19128b06741",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "bf06f784-b9ac-4cb2-ba8e-3470123e3cea",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "c906257a-b396-4761-beba-f19128b06741",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "dd936214-e3b3-4e8e-a0f3-204b8c1746c3",
|
|
"name": "text11",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Rate</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "98dc37d3-1a77-461a-b8ec-469dd30bffc0",
|
|
"type": "desktop",
|
|
"top": 90,
|
|
"left": 2,
|
|
"width": 9.000000000000002,
|
|
"height": 40,
|
|
"componentId": "dd936214-e3b3-4e8e-a0f3-204b8c1746c3",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "311d0d61-0154-4935-8f0c-53ddf6449b2e",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "dd936214-e3b3-4e8e-a0f3-204b8c1746c3",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "e32c4342-a8ec-4b33-a064-656eacb8f03a",
|
|
"name": "text12",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Item name</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "3b5f4df4-1c59-4680-b342-418311efff7a",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 2,
|
|
"width": 9.000000000000002,
|
|
"height": 40,
|
|
"componentId": "e32c4342-a8ec-4b33-a064-656eacb8f03a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "187ee63e-57b9-46b6-b2e3-6b94cd1bdc1e",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "e32c4342-a8ec-4b33-a064-656eacb8f03a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "af63c5e2-f16e-4a27-a348-02e2bc260de0",
|
|
"name": "divider2",
|
|
"type": "Divider",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"properties": {},
|
|
"general": {},
|
|
"styles": {
|
|
"dividerColor": {
|
|
"value": "#bbbbbbff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "538cd34e-40cd-444e-9b78-c3944110d2c6",
|
|
"type": "desktop",
|
|
"top": 302,
|
|
"left": 2,
|
|
"width": 39.00000000000001,
|
|
"height": -27,
|
|
"componentId": "af63c5e2-f16e-4a27-a348-02e2bc260de0",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "39f9d015-f0a2-488a-91ba-da3d0df98441",
|
|
"type": "mobile",
|
|
"top": 300,
|
|
"left": -1,
|
|
"width": 23.25581395348837,
|
|
"height": 10,
|
|
"componentId": "af63c5e2-f16e-4a27-a348-02e2bc260de0",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1510e918-b596-4024-b470-d9938c1fafe5",
|
|
"name": "container1",
|
|
"type": "Container",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": null,
|
|
"properties": {},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#ffffffff"
|
|
},
|
|
"borderRadius": {
|
|
"value": "10"
|
|
},
|
|
"borderColor": {
|
|
"value": "#ffffff00",
|
|
"fxActive": false
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "d541db86-e517-46b1-86ca-b293be5194af",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 1,
|
|
"width": 41,
|
|
"height": 70,
|
|
"componentId": "1510e918-b596-4024-b470-d9938c1fafe5",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ed648720-7db3-4b2d-a100-52ebfa32285b",
|
|
"name": "button8",
|
|
"type": "Button",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "42d28422-62b9-4314-a079-933a27786f54",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Confirm"
|
|
},
|
|
"loadingState": {
|
|
"value": "{{queries.deleteOrderItem.isLoading}}",
|
|
"fxActive": true
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#ffffff00"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "5247a6be-e47f-400f-8804-d870741e52bd",
|
|
"type": "mobile",
|
|
"top": 40,
|
|
"left": 33,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "ed648720-7db3-4b2d-a100-52ebfa32285b",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "e039bc6c-26de-42bf-be9a-be5fd1ed62b7",
|
|
"type": "desktop",
|
|
"top": 120,
|
|
"left": 22,
|
|
"width": 16,
|
|
"height": 40,
|
|
"componentId": "ed648720-7db3-4b2d-a100-52ebfa32285b",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "42d28422-62b9-4314-a079-933a27786f54",
|
|
"name": "modal3",
|
|
"type": "Modal",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": null,
|
|
"properties": {
|
|
"title": {
|
|
"value": "Confirmation"
|
|
},
|
|
"useDefaultButton": {
|
|
"value": "{{false}}"
|
|
},
|
|
"size": {
|
|
"value": "sm"
|
|
},
|
|
"modalHeight": {
|
|
"value": "200px"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "a01c1e7b-70a5-41f6-adb5-4df00ee69b4f",
|
|
"type": "mobile",
|
|
"top": 860,
|
|
"left": 17,
|
|
"width": 10,
|
|
"height": 34,
|
|
"componentId": "42d28422-62b9-4314-a079-933a27786f54",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "100dbaf8-4306-412b-b5dd-6f3b21ef9a72",
|
|
"type": "desktop",
|
|
"top": 844,
|
|
"left": 13,
|
|
"width": 6,
|
|
"height": 30,
|
|
"componentId": "42d28422-62b9-4314-a079-933a27786f54",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "dd63d31e-07ea-4e5a-a969-b4f5a3028790",
|
|
"name": "text13",
|
|
"type": "Text",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "42d28422-62b9-4314-a079-933a27786f54",
|
|
"properties": {
|
|
"text": {
|
|
"value": "{{`Are you sure you want to delete order item #${components.table1.selectedRow.id}?`}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "18"
|
|
},
|
|
"textAlign": {
|
|
"value": "center"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"verticalAlignment": {
|
|
"value": "top"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "2a9cbde9-0645-4c50-9245-2ebfcf4b1dae",
|
|
"type": "mobile",
|
|
"top": 60,
|
|
"left": 7,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "dd63d31e-07ea-4e5a-a969-b4f5a3028790",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "56bc10bc-409f-4033-bc5a-790d958a65c4",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 4,
|
|
"width": 35,
|
|
"height": 80,
|
|
"componentId": "dd63d31e-07ea-4e5a-a969-b4f5a3028790",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "566a9424-70a9-4152-8b8a-6d78c91b359f",
|
|
"name": "button9",
|
|
"type": "Button",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"parent": "42d28422-62b9-4314-a079-933a27786f54",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Cancel"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#ffffff00"
|
|
},
|
|
"textColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"loaderColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#3e63ddff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "d0acce46-3430-4e39-b647-a635c5bd9b35",
|
|
"type": "mobile",
|
|
"top": 40,
|
|
"left": 33,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "566a9424-70a9-4152-8b8a-6d78c91b359f",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "1367940f-f685-41bd-9efb-2304bdbdcbae",
|
|
"type": "desktop",
|
|
"top": 120,
|
|
"left": 5,
|
|
"width": 16,
|
|
"height": 40,
|
|
"componentId": "566a9424-70a9-4152-8b8a-6d78c91b359f",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4c83731a-ab79-47d1-a677-e9f24b1eefaa",
|
|
"name": "text4",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Customer name</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "e6e5d0e6-c569-495e-8eb6-add684559854",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "4c83731a-ab79-47d1-a677-e9f24b1eefaa",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "552f7e4a-e8b8-4763-9749-160cdfda0577",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "4c83731a-ab79-47d1-a677-e9f24b1eefaa",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "97d89ff1-8ecc-4b97-9ebe-66fa21996646",
|
|
"name": "textinput1",
|
|
"type": "TextInput",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"placeholder": {
|
|
"value": "Enter customer name"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "48e6be61-60b7-47a9-ab65-2ddd0dcdaa7c",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 12,
|
|
"width": 29,
|
|
"height": 40,
|
|
"componentId": "97d89ff1-8ecc-4b97-9ebe-66fa21996646",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "8f2f7b5f-e732-44f1-829c-bc99c79df7e9",
|
|
"type": "mobile",
|
|
"top": 100,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "97d89ff1-8ecc-4b97-9ebe-66fa21996646",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "8249a198-6b6a-439f-a0cb-4920de05f194",
|
|
"name": "text5",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Billing date</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "f58a730d-b61e-4069-a8c7-fa385ce1e927",
|
|
"type": "desktop",
|
|
"top": 220,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "8249a198-6b6a-439f-a0cb-4920de05f194",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "5ef22eb0-669f-4421-becb-bafa482f370e",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "8249a198-6b6a-439f-a0cb-4920de05f194",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "168d0102-15b5-4955-b521-eb7f6e93cf94",
|
|
"name": "text6",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Bill paid</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "acdf8d31-1e39-4b1b-962e-8440c5f83836",
|
|
"type": "desktop",
|
|
"top": 290,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "168d0102-15b5-4955-b521-eb7f6e93cf94",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "b8d10059-6cdb-4fdc-a232-79dd95db22a9",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "168d0102-15b5-4955-b521-eb7f6e93cf94",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "769c4bee-b845-45c5-ad00-d819f86d2a33",
|
|
"name": "dropdown1",
|
|
"type": "DropDown",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"value": {
|
|
"value": "{{true}}"
|
|
},
|
|
"values": {
|
|
"value": "{{[true, false]}}"
|
|
},
|
|
"display_values": {
|
|
"value": "{{[\"Yes\", \"No\"]}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "e2daebed-063a-4a20-8b05-493197d407d2",
|
|
"type": "desktop",
|
|
"top": 290,
|
|
"left": 12,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "769c4bee-b845-45c5-ad00-d819f86d2a33",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "edba35c4-4c80-49f3-8002-337ee7bd24ba",
|
|
"type": "mobile",
|
|
"top": 170,
|
|
"left": 9,
|
|
"width": 18.6046511627907,
|
|
"height": 30,
|
|
"componentId": "769c4bee-b845-45c5-ad00-d819f86d2a33",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f4ffc0dc-aad3-4024-b8b8-906656006818",
|
|
"name": "text7",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Payment date</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "5ae88322-32b7-4567-b0a6-20480b564861",
|
|
"type": "desktop",
|
|
"top": 360,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "f4ffc0dc-aad3-4024-b8b8-906656006818",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "7a21a74e-d911-4cfa-bf24-8c3ed34dea81",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "f4ffc0dc-aad3-4024-b8b8-906656006818",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6124d632-5d36-4c48-b884-f16ca5324280",
|
|
"name": "button2",
|
|
"type": "Button",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Create"
|
|
},
|
|
"loadingState": {
|
|
"fxActive": true,
|
|
"value": "{{queries.addOrder.isLoading}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#ffffff00"
|
|
},
|
|
"backgroundColor": {
|
|
"value": "#3e63ddff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "b2e950f2-4d5e-4699-a418-889a45a7774a",
|
|
"type": "mobile",
|
|
"top": 320,
|
|
"left": 32,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "6124d632-5d36-4c48-b884-f16ca5324280",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "50072c82-2808-4493-8c41-96ffd73c0792",
|
|
"type": "desktop",
|
|
"top": 620,
|
|
"left": 34,
|
|
"width": 7,
|
|
"height": 40,
|
|
"componentId": "6124d632-5d36-4c48-b884-f16ca5324280",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "7f18a0df-bb4a-48a7-af60-e04474580f7a",
|
|
"name": "button3",
|
|
"type": "Button",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Close"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#ffffff00"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"textColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"loaderColor": {
|
|
"value": "#3e63ddff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "1b4d2232-28b6-46d8-aae0-4c6c34dd9465",
|
|
"type": "desktop",
|
|
"top": 620,
|
|
"left": 26,
|
|
"width": 7,
|
|
"height": 40,
|
|
"componentId": "7f18a0df-bb4a-48a7-af60-e04474580f7a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "a880fab7-2032-486e-84dd-2f5638613f69",
|
|
"type": "mobile",
|
|
"top": 320,
|
|
"left": 32,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "7f18a0df-bb4a-48a7-af60-e04474580f7a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ff3da6bd-5789-47c8-b48d-331a4f07e2b8",
|
|
"name": "divider1",
|
|
"type": "Divider",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {},
|
|
"general": {},
|
|
"styles": {
|
|
"dividerColor": {
|
|
"value": "#bbbbbbff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "e2828754-420d-4653-90e0-dd6ceafbefb3",
|
|
"type": "desktop",
|
|
"top": 582,
|
|
"left": 2,
|
|
"width": 39.00000000000001,
|
|
"height": -27,
|
|
"componentId": "ff3da6bd-5789-47c8-b48d-331a4f07e2b8",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "2f9c7317-2ddd-480f-882c-40fda42a1dae",
|
|
"type": "mobile",
|
|
"top": 300,
|
|
"left": -1,
|
|
"width": 23.25581395348837,
|
|
"height": 10,
|
|
"componentId": "ff3da6bd-5789-47c8-b48d-331a4f07e2b8",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "e5baeeab-7151-41f1-a1c2-4a3815eaad76",
|
|
"name": "container2",
|
|
"type": "Container",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": null,
|
|
"properties": {},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "10"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "ba86fcba-3eac-42c8-a873-8ba67b3b3b23",
|
|
"type": "mobile",
|
|
"top": 520,
|
|
"left": 1,
|
|
"width": 5,
|
|
"height": 200,
|
|
"componentId": "e5baeeab-7151-41f1-a1c2-4a3815eaad76",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "5c67770e-ff29-49be-94d9-615d2a13801a",
|
|
"type": "desktop",
|
|
"top": 100,
|
|
"left": 1,
|
|
"width": 41,
|
|
"height": 700,
|
|
"componentId": "e5baeeab-7151-41f1-a1c2-4a3815eaad76",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "dc91acd7-3c83-4518-8989-f995e9237a6a",
|
|
"name": "table1",
|
|
"type": "Table",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "e5baeeab-7151-41f1-a1c2-4a3815eaad76",
|
|
"properties": {
|
|
"loadingState": {
|
|
"value": "{{queries.getOrders.isLoading}}",
|
|
"fxActive": true
|
|
},
|
|
"data": {
|
|
"value": "{{queries.getOrders.data}}"
|
|
},
|
|
"columnData": {
|
|
"value": "{{[]}}"
|
|
},
|
|
"columns": {
|
|
"value": [
|
|
{
|
|
"id": "92712d6d-7595-44c9-89c3-bc37fe5b5d2d",
|
|
"name": "id",
|
|
"key": "id",
|
|
"columnType": "number",
|
|
"autogenerated": true
|
|
},
|
|
{
|
|
"id": "579ca426-b688-4bf9-96ec-ba0003a1f667",
|
|
"name": "customer name",
|
|
"key": "customer_name"
|
|
},
|
|
{
|
|
"id": "d74be5d0-40c0-4750-a325-4cd5f868fd21",
|
|
"name": "billing date",
|
|
"key": "billing_date",
|
|
"columnType": "datepicker",
|
|
"isTimeChecked": "{{false}}",
|
|
"dateFormat": "DD MMM YYYY",
|
|
"parseDateFormat": "YYYY-MM-DDTHH:mm:ssZ",
|
|
"isDateSelectionEnabled": "{{true}}",
|
|
"parseInUnixTimestamp": "{{false}}",
|
|
"unixTimestamp": "milliseconds"
|
|
},
|
|
{
|
|
"id": "212cf4ce-e59c-4cba-a884-d4f8f2b4cd80",
|
|
"name": "bill paid",
|
|
"key": "bill_paid",
|
|
"columnType": "boolean"
|
|
},
|
|
{
|
|
"id": "fcd8b77b-f55b-4c0d-8216-f7409d98960a",
|
|
"name": "payment date",
|
|
"key": "payment_date",
|
|
"columnType": "datepicker",
|
|
"isTimeChecked": "{{false}}",
|
|
"dateFormat": "DD MMM YYYY",
|
|
"parseDateFormat": "YYYY-MM-DDTHH:mm:ssZ",
|
|
"parseInUnixTimestamp": "{{false}}",
|
|
"unixTimestamp": "milliseconds",
|
|
"isDateSelectionEnabled": "{{true}}"
|
|
},
|
|
{
|
|
"id": "ad9c2b13-4beb-4b2a-9a6b-dae4939b98ad",
|
|
"name": "tax (%)",
|
|
"key": "tax_percentage",
|
|
"columnType": "number",
|
|
"autogenerated": true,
|
|
"transformation": "{{cellValue}}"
|
|
},
|
|
{
|
|
"id": "ef3a3687-fd08-497c-a64a-8382c0f7acb1",
|
|
"name": "discount ($)",
|
|
"key": "discount",
|
|
"columnType": "number",
|
|
"autogenerated": true,
|
|
"transformation": "{{cellValue}}"
|
|
},
|
|
{
|
|
"id": "836fd859-236d-4429-8b6f-3ee66f18403b",
|
|
"name": "customer address",
|
|
"key": "customer_address",
|
|
"columnType": "string",
|
|
"autogenerated": true
|
|
}
|
|
]
|
|
},
|
|
"showBulkUpdateActions": {
|
|
"value": "{{false}}"
|
|
},
|
|
"columnSizes": {
|
|
"value": {
|
|
"f23b7d134b2e490ea41e3bb8eeb8c8e37472af243bf6b70d5af294482097e3a2": 82,
|
|
"d74be5d0-40c0-4750-a325-4cd5f868fd21": 139,
|
|
"579ca426-b688-4bf9-96ec-ba0003a1f667": 176,
|
|
"212cf4ce-e59c-4cba-a884-d4f8f2b4cd80": 101,
|
|
"92712d6d-7595-44c9-89c3-bc37fe5b5d2d": 47,
|
|
"ad9c2b13-4beb-4b2a-9a6b-dae4939b98ad": 89,
|
|
"fcd8b77b-f55b-4c0d-8216-f7409d98960a": 133,
|
|
"bf1a6cd6-ce67-4533-93da-374e984e40fa": 128,
|
|
"836fd859-236d-4429-8b6f-3ee66f18403b": 201,
|
|
"ef3a3687-fd08-497c-a64a-8382c0f7acb1": 126
|
|
}
|
|
},
|
|
"actions": {
|
|
"value": [
|
|
{
|
|
"name": "Action0",
|
|
"buttonText": "View invoice items",
|
|
"events": [],
|
|
"position": "right"
|
|
},
|
|
{
|
|
"name": "Action1",
|
|
"buttonText": "Edit ",
|
|
"events": [],
|
|
"position": "right",
|
|
"backgroundColor": "#3e63dd1a",
|
|
"textColor": "#3e63ddff"
|
|
},
|
|
{
|
|
"name": "Action2",
|
|
"buttonText": "Delete",
|
|
"events": [],
|
|
"position": "right",
|
|
"backgroundColor": "#dd00001a",
|
|
"textColor": "#dd0000ff"
|
|
}
|
|
]
|
|
},
|
|
"showAddNewRowButton": {
|
|
"value": "{{false}}"
|
|
},
|
|
"allowSelection": {
|
|
"value": "{{false}}"
|
|
},
|
|
"columnDeletionHistory": {
|
|
"value": [
|
|
"is_active",
|
|
"created_at",
|
|
"updated_at"
|
|
]
|
|
},
|
|
"title": {
|
|
"value": "Table"
|
|
},
|
|
"visible": {
|
|
"value": "{{true}}"
|
|
},
|
|
"useDynamicColumn": {
|
|
"value": "{{false}}"
|
|
},
|
|
"rowsPerPage": {
|
|
"value": "{{10}}"
|
|
},
|
|
"serverSidePagination": {
|
|
"value": "{{false}}"
|
|
},
|
|
"enableNextButton": {
|
|
"value": "{{true}}"
|
|
},
|
|
"enablePrevButton": {
|
|
"value": "{{true}}"
|
|
},
|
|
"totalRecords": {
|
|
"value": "{{10}}"
|
|
},
|
|
"enablePagination": {
|
|
"value": "{{true}}"
|
|
},
|
|
"serverSideSort": {
|
|
"value": "{{false}}"
|
|
},
|
|
"serverSideFilter": {
|
|
"value": "{{false}}"
|
|
},
|
|
"displaySearchBox": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showDownloadButton": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showFilterButton": {
|
|
"value": "{{true}}"
|
|
},
|
|
"autogenerateColumns": {
|
|
"value": true,
|
|
"generateNestedColumns": true
|
|
},
|
|
"isAllColumnsEditable": {
|
|
"value": "{{false}}"
|
|
},
|
|
"showBulkSelector": {
|
|
"value": "{{false}}"
|
|
},
|
|
"highlightSelectedRow": {
|
|
"value": "{{false}}"
|
|
},
|
|
"enabledSort": {
|
|
"value": "{{true}}"
|
|
},
|
|
"hideColumnSelectorButton": {
|
|
"value": "{{false}}"
|
|
},
|
|
"defaultSelectedRow": {
|
|
"value": "{{{\"id\":1}}}"
|
|
},
|
|
"visibility": {
|
|
"value": "{{true}}"
|
|
},
|
|
"disabledState": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"actionButtonRadius": {
|
|
"value": "5"
|
|
},
|
|
"borderRadius": {
|
|
"value": "10"
|
|
},
|
|
"maxRowHeight": {
|
|
"value": "auto"
|
|
},
|
|
"maxRowHeightValue": {
|
|
"value": 45
|
|
},
|
|
"textColor": {
|
|
"value": "#000"
|
|
},
|
|
"columnHeaderWrap": {
|
|
"value": "fixed"
|
|
},
|
|
"cellSize": {
|
|
"value": "regular"
|
|
},
|
|
"tableType": {
|
|
"value": "table-classic"
|
|
},
|
|
"contentWrap": {
|
|
"value": "{{true}}"
|
|
},
|
|
"boxShadow": {
|
|
"value": "0px 0px 0px 0px #00000090"
|
|
},
|
|
"padding": {
|
|
"value": "default"
|
|
}
|
|
},
|
|
"generalStyles": {
|
|
"boxShadow": {
|
|
"value": "0px 0px 0px 0px #00000040"
|
|
}
|
|
},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-12-03T01:05:31.696Z",
|
|
"layouts": [
|
|
{
|
|
"id": "92854faa-e7c7-4fd9-9aff-6f8ff1283002",
|
|
"type": "mobile",
|
|
"top": 0,
|
|
"left": 0,
|
|
"width": 35,
|
|
"height": 456,
|
|
"componentId": "dc91acd7-3c83-4518-8989-f995e9237a6a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "dc13f995-317a-49b2-9227-08d8e0df6833",
|
|
"type": "desktop",
|
|
"top": 80,
|
|
"left": 1,
|
|
"width": 41,
|
|
"height": 580,
|
|
"componentId": "dc91acd7-3c83-4518-8989-f995e9237a6a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "5a0ddf34-f4ab-40f1-8a4c-c3b0f8123fcb",
|
|
"name": "text8",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "e5baeeab-7151-41f1-a1c2-4a3815eaad76",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Orders</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textColor": {
|
|
"value": "#000",
|
|
"fxActive": false
|
|
},
|
|
"textSize": {
|
|
"value": "{{20}}"
|
|
},
|
|
"boxShadow": {
|
|
"value": "0px 0px 0px 0px #00000040"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "9f4e3c12-33cb-485f-b26a-6423c8f40f1f",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 1,
|
|
"width": 12.999999999999998,
|
|
"height": 40,
|
|
"componentId": "5a0ddf34-f4ab-40f1-8a4c-c3b0f8123fcb",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "0c9623e7-873c-4388-9a7f-cf15c40f3188",
|
|
"name": "text9",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Customer address</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "7e34ac5e-1f87-4213-8b54-3f2f4b84d63a",
|
|
"type": "desktop",
|
|
"top": 90,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "0c9623e7-873c-4388-9a7f-cf15c40f3188",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "c9db3640-6207-4d49-b4a1-6c3e0351a722",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "0c9623e7-873c-4388-9a7f-cf15c40f3188",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "b3e53f4e-ba1b-415e-bd14-17552fcd8115",
|
|
"name": "datepicker3",
|
|
"type": "Datepicker",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"defaultValue": {
|
|
"value": "{{components.dropdown2.value\n ? components.table1.selectedRow.payment_date\n ? moment(components.table1.selectedRow.payment_date).format(\"DD MMM YYYY\")\n : components.datepicker4.value\n : \"\"}}"
|
|
},
|
|
"format": {
|
|
"value": "DD MMM YYYY"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"disabledState": {
|
|
"value": "{{!components.dropdown2.value}}",
|
|
"fxActive": true
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "5790f6f1-4e45-48c6-ba25-73ead352feb4",
|
|
"type": "mobile",
|
|
"top": 110,
|
|
"left": 14,
|
|
"width": 11.627906976744185,
|
|
"height": 30,
|
|
"componentId": "b3e53f4e-ba1b-415e-bd14-17552fcd8115",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "226f21da-b412-4b92-b953-fcf93369c764",
|
|
"type": "desktop",
|
|
"top": 360,
|
|
"left": 12,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "b3e53f4e-ba1b-415e-bd14-17552fcd8115",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "89ff6387-c420-4e15-a317-8932ee719f80",
|
|
"name": "button5",
|
|
"type": "Button",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Close"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#ffffff00"
|
|
},
|
|
"textColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"loaderColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#3e63ddff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "8c5d3ff9-4d62-49dd-9e64-41b61107a4da",
|
|
"type": "mobile",
|
|
"top": 320,
|
|
"left": 32,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "89ff6387-c420-4e15-a317-8932ee719f80",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "2a362d56-6d53-4a51-bf63-1863aa89c326",
|
|
"type": "desktop",
|
|
"top": 620,
|
|
"left": 26,
|
|
"width": 7,
|
|
"height": 40,
|
|
"componentId": "89ff6387-c420-4e15-a317-8932ee719f80",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "045883bb-fcde-4e67-bca7-ac3f3a9498c8",
|
|
"name": "divider2",
|
|
"type": "Divider",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {},
|
|
"general": {},
|
|
"styles": {
|
|
"dividerColor": {
|
|
"value": "#bbbbbbff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "cda580b5-a2df-4cac-b292-669f1726b032",
|
|
"type": "desktop",
|
|
"top": 582,
|
|
"left": 2,
|
|
"width": 39.00000000000001,
|
|
"height": -27,
|
|
"componentId": "045883bb-fcde-4e67-bca7-ac3f3a9498c8",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "b465e39c-7ac4-4a00-a7a1-c587bef3c8b3",
|
|
"type": "mobile",
|
|
"top": 300,
|
|
"left": -1,
|
|
"width": 23.25581395348837,
|
|
"height": 10,
|
|
"componentId": "045883bb-fcde-4e67-bca7-ac3f3a9498c8",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "151f8b2d-c447-4b31-bbfc-a7dba42083e5",
|
|
"name": "button6",
|
|
"type": "Button",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Save"
|
|
},
|
|
"loadingState": {
|
|
"value": "{{queries.updateOrder.isLoading}}",
|
|
"fxActive": true
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#ffffff00"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "de3cf6ca-3038-4a53-b303-5722890dd84f",
|
|
"type": "desktop",
|
|
"top": 620,
|
|
"left": 34,
|
|
"width": 7,
|
|
"height": 40,
|
|
"componentId": "151f8b2d-c447-4b31-bbfc-a7dba42083e5",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "b09c76f8-84ac-4f47-8bb4-b9912c3e7606",
|
|
"type": "mobile",
|
|
"top": 320,
|
|
"left": 32,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "151f8b2d-c447-4b31-bbfc-a7dba42083e5",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "289d52d4-421f-4369-b543-a9538ed30ffd",
|
|
"name": "text15",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Billing date</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "f2c77bb0-4731-441c-b009-18e3e93cc09c",
|
|
"type": "desktop",
|
|
"top": 220,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "289d52d4-421f-4369-b543-a9538ed30ffd",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "ff4473d6-0a7c-47ca-81b6-db8436eec250",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "289d52d4-421f-4369-b543-a9538ed30ffd",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "d2c7b4a5-22c1-404d-a2db-7991b465eb41",
|
|
"name": "datepicker4",
|
|
"type": "Datepicker",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"defaultValue": {
|
|
"value": "{{moment(components.table1.selectedRow.billing_date).format(\"DD MMM YYYY\")}}"
|
|
},
|
|
"format": {
|
|
"value": "DD MMM YYYY"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "cc3274c0-7892-457f-a12b-ec69e21a1996",
|
|
"type": "mobile",
|
|
"top": 110,
|
|
"left": 14,
|
|
"width": 11.627906976744185,
|
|
"height": 30,
|
|
"componentId": "d2c7b4a5-22c1-404d-a2db-7991b465eb41",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "dc9f5f47-b8cb-43e8-ad92-7af98d9fdc67",
|
|
"type": "desktop",
|
|
"top": 220,
|
|
"left": 12,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "d2c7b4a5-22c1-404d-a2db-7991b465eb41",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "21eca8f1-a882-4353-b6bc-24c367b7344a",
|
|
"name": "dropdown2",
|
|
"type": "DropDown",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"value": {
|
|
"value": "{{components.table1.selectedRow.bill_paid}}"
|
|
},
|
|
"values": {
|
|
"value": "{{[true, false]}}"
|
|
},
|
|
"display_values": {
|
|
"value": "{{[\"Yes\", \"No\"]}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "e7fe2e1f-7486-4f6a-9483-183dab3ba976",
|
|
"type": "mobile",
|
|
"top": 170,
|
|
"left": 9,
|
|
"width": 18.6046511627907,
|
|
"height": 30,
|
|
"componentId": "21eca8f1-a882-4353-b6bc-24c367b7344a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "23efc506-4a4c-4a63-af5c-b9cd7045b829",
|
|
"type": "desktop",
|
|
"top": 290,
|
|
"left": 12,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "21eca8f1-a882-4353-b6bc-24c367b7344a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "8f9a24df-9a9e-4dcc-89c8-3793636a7d4a",
|
|
"name": "text17",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Customer address</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "f2068678-b5fe-4da5-9fb7-670f69bbf31e",
|
|
"type": "desktop",
|
|
"top": 90,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "8f9a24df-9a9e-4dcc-89c8-3793636a7d4a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "8e191947-f79e-4342-a42a-172572f74d61",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "8f9a24df-9a9e-4dcc-89c8-3793636a7d4a",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "c5773490-b81f-4f61-af31-da352baf4c68",
|
|
"name": "text18",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Customer name</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "16"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "87d00c1a-30c8-4c8b-b63b-16d5539488f3",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 2,
|
|
"width": 10,
|
|
"height": 40,
|
|
"componentId": "c5773490-b81f-4f61-af31-da352baf4c68",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "2f2095d8-62c4-4061-b407-a8c9a3ee1a82",
|
|
"type": "mobile",
|
|
"top": 70,
|
|
"left": 1,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "c5773490-b81f-4f61-af31-da352baf4c68",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "8d2c9750-b05b-4282-b580-2431d6fe40f4",
|
|
"name": "textinput2",
|
|
"type": "TextInput",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"label": {
|
|
"value": ""
|
|
},
|
|
"placeholder": {
|
|
"value": "Enter customer name"
|
|
},
|
|
"value": {
|
|
"value": "{{components.table1.selectedRow.customer_name}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "5"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "0ccbfb39-e298-4688-957c-cf57b70719ef",
|
|
"type": "mobile",
|
|
"top": 100,
|
|
"left": 14,
|
|
"width": 23.25581395348837,
|
|
"height": 40,
|
|
"componentId": "8d2c9750-b05b-4282-b580-2431d6fe40f4",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "f15b9d29-c734-4646-b88c-e5a50fcd2ee7",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 12,
|
|
"width": 29,
|
|
"height": 40,
|
|
"componentId": "8d2c9750-b05b-4282-b580-2431d6fe40f4",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "52ab2014-8b09-4098-9e3a-43931a8bb0aa",
|
|
"name": "container1",
|
|
"type": "Container",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": null,
|
|
"properties": {},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#ffffffff"
|
|
},
|
|
"borderRadius": {
|
|
"value": "10"
|
|
},
|
|
"borderColor": {
|
|
"value": "#ffffff00",
|
|
"fxActive": false
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "23acfe0d-5d83-4dd9-9a77-44a5def06381",
|
|
"type": "desktop",
|
|
"top": 20,
|
|
"left": 1,
|
|
"width": 41,
|
|
"height": 70,
|
|
"componentId": "52ab2014-8b09-4098-9e3a-43931a8bb0aa",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "7fafa62e-b70d-4a1a-9b92-22eb03e9416d",
|
|
"name": "textarea2",
|
|
"type": "TextArea",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"properties": {
|
|
"value": {
|
|
"value": "{{components.table1.selectedRow.customer_address}}"
|
|
},
|
|
"placeholder": {
|
|
"value": "Enter customer address"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "47b4d5fe-4213-4181-b140-de1d689a2424",
|
|
"type": "mobile",
|
|
"top": 310,
|
|
"left": 12,
|
|
"width": 13.953488372093023,
|
|
"height": 100,
|
|
"componentId": "7fafa62e-b70d-4a1a-9b92-22eb03e9416d",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "6b25f1f3-80a6-4091-b1df-358a1451e7b2",
|
|
"type": "desktop",
|
|
"top": 90,
|
|
"left": 12,
|
|
"width": 29,
|
|
"height": 100,
|
|
"componentId": "7fafa62e-b70d-4a1a-9b92-22eb03e9416d",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "20ac82c1-d038-4a2b-91f2-03f474bb5284",
|
|
"name": "modal3",
|
|
"type": "Modal",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": null,
|
|
"properties": {
|
|
"useDefaultButton": {
|
|
"value": "{{false}}"
|
|
},
|
|
"title": {
|
|
"value": "Confirmation"
|
|
},
|
|
"size": {
|
|
"value": "sm"
|
|
},
|
|
"modalHeight": {
|
|
"value": "200px"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "f631936f-2ef1-4934-945d-09dbfd7e26b2",
|
|
"type": "mobile",
|
|
"top": 860,
|
|
"left": 17,
|
|
"width": 10,
|
|
"height": 34,
|
|
"componentId": "20ac82c1-d038-4a2b-91f2-03f474bb5284",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "943c0959-419d-43e6-9635-50ced432cff4",
|
|
"type": "desktop",
|
|
"top": 844,
|
|
"left": 13,
|
|
"width": 6,
|
|
"height": 30,
|
|
"componentId": "20ac82c1-d038-4a2b-91f2-03f474bb5284",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2a13779c-e74f-4071-a18c-fd8db4dbfc80",
|
|
"name": "text19",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "20ac82c1-d038-4a2b-91f2-03f474bb5284",
|
|
"properties": {
|
|
"text": {
|
|
"value": "{{`Are you sure you want to delete order #${components.table1.selectedRow.id}?`}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textSize": {
|
|
"value": "18"
|
|
},
|
|
"verticalAlignment": {
|
|
"value": "top"
|
|
},
|
|
"textAlign": {
|
|
"value": "center"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "6e3a319c-e3a8-415a-927a-764c7671d377",
|
|
"type": "mobile",
|
|
"top": 60,
|
|
"left": 7,
|
|
"width": 13.953488372093023,
|
|
"height": 40,
|
|
"componentId": "2a13779c-e74f-4071-a18c-fd8db4dbfc80",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "0567b2e8-b786-482a-b2e0-be82f056c68f",
|
|
"type": "desktop",
|
|
"top": 30,
|
|
"left": 4,
|
|
"width": 35,
|
|
"height": 80,
|
|
"componentId": "2a13779c-e74f-4071-a18c-fd8db4dbfc80",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f9e24fcf-584e-415a-bba7-b0269a3783bd",
|
|
"name": "button7",
|
|
"type": "Button",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "20ac82c1-d038-4a2b-91f2-03f474bb5284",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Confirm"
|
|
},
|
|
"loadingState": {
|
|
"fxActive": true,
|
|
"value": "{{queries.deleteOrder.isLoading}}"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#ffffff00"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "631ca26d-0d8e-40bc-8b5f-6e5bf32ce23c",
|
|
"type": "desktop",
|
|
"top": 120,
|
|
"left": 22,
|
|
"width": 16,
|
|
"height": 40,
|
|
"componentId": "f9e24fcf-584e-415a-bba7-b0269a3783bd",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "74be13a4-af93-4af9-9b21-13f77b733a32",
|
|
"type": "mobile",
|
|
"top": 40,
|
|
"left": 33,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "f9e24fcf-584e-415a-bba7-b0269a3783bd",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "004482d4-b9f9-4059-badb-65198b217855",
|
|
"name": "button8",
|
|
"type": "Button",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "20ac82c1-d038-4a2b-91f2-03f474bb5284",
|
|
"properties": {
|
|
"text": {
|
|
"value": "Cancel"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"backgroundColor": {
|
|
"value": "#ffffff00"
|
|
},
|
|
"borderRadius": {
|
|
"value": "{{5}}"
|
|
},
|
|
"borderColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"textColor": {
|
|
"value": "#3e63ddff"
|
|
},
|
|
"loaderColor": {
|
|
"value": "#3e63ddff"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-11-10T20:25:24.262Z",
|
|
"layouts": [
|
|
{
|
|
"id": "1e856d51-3aa1-416c-8bcc-0ea986ee8686",
|
|
"type": "mobile",
|
|
"top": 40,
|
|
"left": 33,
|
|
"width": 6.976744186046512,
|
|
"height": 30,
|
|
"componentId": "004482d4-b9f9-4059-badb-65198b217855",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "8879fd1b-9f88-4d12-b8bf-c7e28f875108",
|
|
"type": "desktop",
|
|
"top": 120,
|
|
"left": 5,
|
|
"width": 16,
|
|
"height": 40,
|
|
"componentId": "004482d4-b9f9-4059-badb-65198b217855",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "06d0c313-5634-4fc1-8e92-e636b63ce107",
|
|
"name": "text2",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "52ab2014-8b09-4098-9e3a-43931a8bb0aa",
|
|
"properties": {
|
|
"text": {
|
|
"value": "<div style=\"font-weight: 600;\">Invoice tracking</div>"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textColor": {
|
|
"value": "#000",
|
|
"fxActive": false
|
|
},
|
|
"textSize": {
|
|
"value": "{{20}}"
|
|
},
|
|
"textAlign": {
|
|
"value": "right"
|
|
},
|
|
"boxShadow": {
|
|
"value": "0px 0px 0px 0px #00000040"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "4a1c5085-d9e7-4b57-ba14-f7248e2fd770",
|
|
"type": "desktop",
|
|
"top": 10,
|
|
"left": 29,
|
|
"width": 12.999999999999998,
|
|
"height": 40,
|
|
"componentId": "06d0c313-5634-4fc1-8e92-e636b63ce107",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "43b3bede-a227-483d-9847-bca1c207325b",
|
|
"name": "text1",
|
|
"type": "Text",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": "52ab2014-8b09-4098-9e3a-43931a8bb0aa",
|
|
"properties": {
|
|
"text": {
|
|
"value": "B R A N D"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {
|
|
"textColor": {
|
|
"value": "#000",
|
|
"fxActive": false
|
|
},
|
|
"textSize": {
|
|
"value": "{{24}}"
|
|
},
|
|
"fontWeight": {
|
|
"value": "bold"
|
|
},
|
|
"letterSpacing": {
|
|
"value": "{{0}}"
|
|
},
|
|
"boxShadow": {
|
|
"value": "0px 0px 0px 0px #00000040"
|
|
},
|
|
"isScrollRequired": {
|
|
"value": "disabled"
|
|
}
|
|
},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "bdaea58c-b4cd-409e-90b2-8b5710873687",
|
|
"type": "desktop",
|
|
"top": 10,
|
|
"left": 1,
|
|
"width": 6,
|
|
"height": 40,
|
|
"componentId": "43b3bede-a227-483d-9847-bca1c207325b",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"name": "modal1",
|
|
"type": "Modal",
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"parent": null,
|
|
"properties": {
|
|
"useDefaultButton": {
|
|
"value": "{{false}}"
|
|
},
|
|
"title": {
|
|
"value": "Create order"
|
|
},
|
|
"size": {
|
|
"value": "lg"
|
|
},
|
|
"modalHeight": {
|
|
"value": "700px"
|
|
}
|
|
},
|
|
"general": {},
|
|
"styles": {},
|
|
"generalStyles": {},
|
|
"displayPreferences": {
|
|
"showOnDesktop": {
|
|
"value": "{{true}}"
|
|
},
|
|
"showOnMobile": {
|
|
"value": "{{false}}"
|
|
}
|
|
},
|
|
"validation": {},
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z",
|
|
"layouts": [
|
|
{
|
|
"id": "4f7e856e-96ae-4391-951c-26d055321352",
|
|
"type": "desktop",
|
|
"top": 844,
|
|
"left": 1,
|
|
"width": 5,
|
|
"height": 30,
|
|
"componentId": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
},
|
|
{
|
|
"id": "2d9d9587-97b2-4ef5-ba35-7290f1e91e4b",
|
|
"type": "mobile",
|
|
"top": 760,
|
|
"left": 1,
|
|
"width": 10,
|
|
"height": 34,
|
|
"componentId": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"dimensionUnit": "count",
|
|
"updatedAt": "2024-06-17T17:24:59.500Z"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pages": [
|
|
{
|
|
"id": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"name": "Home",
|
|
"handle": "home",
|
|
"index": 1,
|
|
"disabled": false,
|
|
"hidden": false,
|
|
"icon": null,
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-12-03T01:04:08.010Z",
|
|
"autoComputeLayout": false,
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"pageGroupIndex": 1,
|
|
"pageGroupId": null,
|
|
"isPageGroup": false
|
|
},
|
|
{
|
|
"id": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"name": "Invoice items",
|
|
"handle": "invoice-items",
|
|
"index": 2,
|
|
"disabled": false,
|
|
"hidden": false,
|
|
"icon": null,
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-12-03T01:04:08.010Z",
|
|
"autoComputeLayout": false,
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"pageGroupIndex": 2,
|
|
"pageGroupId": null,
|
|
"isPageGroup": false
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"id": "39bff6cb-a8dc-43f2-a4d3-3702c0c070fc",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"ref": "Action0",
|
|
"pageId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "switch-page",
|
|
"alertType": "info",
|
|
"queryParams": [
|
|
[
|
|
"invoice_id",
|
|
"{{components.table1.selectedRow.id}}"
|
|
]
|
|
]
|
|
},
|
|
"sourceId": "dc91acd7-3c83-4518-8989-f995e9237a6a",
|
|
"target": "table_action",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.568Z"
|
|
},
|
|
{
|
|
"id": "647e5840-4179-4261-b994-7187ef99b337",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"ref": "Action1",
|
|
"modal": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "show-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "dc91acd7-3c83-4518-8989-f995e9237a6a",
|
|
"target": "table_action",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.576Z"
|
|
},
|
|
{
|
|
"id": "732087ec-7b7e-412b-ab19-2563e047b2ec",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"ref": "Action2",
|
|
"modal": "20ac82c1-d038-4a2b-91f2-03f474bb5284",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "show-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "dc91acd7-3c83-4518-8989-f995e9237a6a",
|
|
"target": "table_action",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.585Z"
|
|
},
|
|
{
|
|
"id": "7226f4eb-a6a0-457d-b80f-49d9bee2d424",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "89ff6387-c420-4e15-a317-8932ee719f80",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.595Z"
|
|
},
|
|
{
|
|
"id": "35b55144-6eb0-4476-946d-3dbf05ef23fe",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"queryId": "c1cac20a-cf04-4d27-a5f2-a6045b40c8ed",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "updateOrder",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "151f8b2d-c447-4b31-bbfc-a7dba42083e5",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.603Z"
|
|
},
|
|
{
|
|
"id": "b3d78216-c765-4783-b9c2-814b9b19ff77",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"queryId": "778ad7b2-ff6e-48ec-9636-5d3be5d93530",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "deleteOrder",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "f9e24fcf-584e-415a-bba7-b0269a3783bd",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.610Z"
|
|
},
|
|
{
|
|
"id": "96a525cf-4477-4e55-81fe-590047cb58a1",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "20ac82c1-d038-4a2b-91f2-03f474bb5284",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "004482d4-b9f9-4059-badb-65198b217855",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.623Z"
|
|
},
|
|
{
|
|
"id": "7e8db32f-da6b-4a19-b402-c0a0bf25066e",
|
|
"name": "onPageLoad",
|
|
"index": 0,
|
|
"event": {
|
|
"eventId": "onPageLoad",
|
|
"message": "Hello world!",
|
|
"queryId": "ac4f6fff-ec36-4315-8d56-77c91e7d42fe",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "getInvoices",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"target": "page",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.631Z"
|
|
},
|
|
{
|
|
"id": "00c9a3de-5563-4184-b2b1-d0eb0ea4e691",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"queryId": "c589586c-7ef7-4649-92eb-235d504255bf",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "addInvoiceItem",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "b1b8bfb7-c5c2-46bf-b70e-069685e56ad2",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.638Z"
|
|
},
|
|
{
|
|
"id": "2a121d23-6811-4bd6-ba73-fdcf026adb87",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "6826ee3c-717a-411d-b139-392476ed8504",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.645Z"
|
|
},
|
|
{
|
|
"id": "47c1dcb2-a926-4cf5-80de-3312424addda",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "show-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "0a49b8ed-e6bf-4449-bbc8-2154df156539",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.653Z"
|
|
},
|
|
{
|
|
"id": "bc2f9662-2d31-4cc7-8e3b-231ad245ab30",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"ref": "Action0",
|
|
"modal": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "show-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "6f87cce7-07ab-45a4-899c-4f41096c4d79",
|
|
"target": "table_action",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.660Z"
|
|
},
|
|
{
|
|
"id": "fa79c30d-4724-4d33-ab03-de5897b84b7b",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"ref": "Action1",
|
|
"modal": "42d28422-62b9-4314-a079-933a27786f54",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "show-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "6f87cce7-07ab-45a4-899c-4f41096c4d79",
|
|
"target": "table_action",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.667Z"
|
|
},
|
|
{
|
|
"id": "bb60cd24-c4a6-40a2-94fb-873917a55f40",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"pageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "switch-page",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "92b9e0a4-fdbe-4fbf-b1c3-e67ee9893492",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.675Z"
|
|
},
|
|
{
|
|
"id": "c56dc6c3-3d2f-44a7-a065-8f875a077ea9",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"queryId": "79de4224-4e33-4b5d-9b1f-8dad5ebdff66",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "getOrderDetails",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "a25f0ffb-9cff-42ce-b20b-49aaef7fa884",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.683Z"
|
|
},
|
|
{
|
|
"id": "4f90d3bc-eb98-4935-aadc-60a45750bdea",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "0c7533d6-1633-476e-a79a-94b53a461874",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.690Z"
|
|
},
|
|
{
|
|
"id": "c93b3b9a-7b2a-4096-9b92-9fc9f1fe2526",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"queryId": "c4fbbe8e-5774-46e5-b59f-2883363369b7",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "updateOrderItem",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "012e13a6-1980-42d4-976f-8089f466142b",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.697Z"
|
|
},
|
|
{
|
|
"id": "e1ecf6c3-b551-421e-9a59-b382d626ca76",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"queryId": "0e890727-c90f-407f-9dfe-115bd9a9511e",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "deleteOrderItem",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "ed648720-7db3-4b2d-a100-52ebfa32285b",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.705Z"
|
|
},
|
|
{
|
|
"id": "3197ceb6-2e36-4ed8-b354-2a24a9bd35cc",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"queryId": "50862d6d-87c2-4d28-9661-96ccc85175e3",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "addInvoice",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "6124d632-5d36-4c48-b884-f16ca5324280",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.461Z"
|
|
},
|
|
{
|
|
"id": "7d94c46f-3e78-4b6a-bc15-cd476139476e",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "7f18a0df-bb4a-48a7-af60-e04474580f7a",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.468Z"
|
|
},
|
|
{
|
|
"id": "b757ddc3-2ea8-4ac4-9218-cfd64303d9e6",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "show-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "ca1b4386-6cce-468e-b828-811a18c85c66",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.476Z"
|
|
},
|
|
{
|
|
"id": "7bf62bcf-c540-40e4-b6cc-6c6905cbb003",
|
|
"name": "onDataQueryFailure",
|
|
"index": 3,
|
|
"event": {
|
|
"eventId": "onDataQueryFailure",
|
|
"message": "Failed to update order details! Please check and try again.",
|
|
"actionId": "show-alert",
|
|
"alertType": "warning"
|
|
},
|
|
"sourceId": "c1cac20a-cf04-4d27-a5f2-a6045b40c8ed",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "f992046b-ab7f-4292-9d6e-407c59f7516a",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 1,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Order item details updated successfully.",
|
|
"actionId": "show-alert",
|
|
"alertType": "success"
|
|
},
|
|
"sourceId": "c4fbbe8e-5774-46e5-b59f-2883363369b7",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "b8090987-0ad1-4a10-9fbf-7f4c160dea42",
|
|
"name": "onDataQueryFailure",
|
|
"index": 3,
|
|
"event": {
|
|
"eventId": "onDataQueryFailure",
|
|
"message": "Failed to update order item details! Please check and try again.",
|
|
"actionId": "show-alert",
|
|
"alertType": "warning"
|
|
},
|
|
"sourceId": "c4fbbe8e-5774-46e5-b59f-2883363369b7",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "6c5d233e-3c0e-44ff-99d8-d11c639e22ea",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 1,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Order deleted successfully.",
|
|
"actionId": "show-alert",
|
|
"alertType": "success"
|
|
},
|
|
"sourceId": "778ad7b2-ff6e-48ec-9636-5d3be5d93530",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "5aabbf72-6ca8-48a5-b4a5-9e9fab84b49b",
|
|
"name": "onDataQueryFailure",
|
|
"index": 3,
|
|
"event": {
|
|
"eventId": "onDataQueryFailure",
|
|
"message": "Failed to delete order! Please check and try again.",
|
|
"actionId": "show-alert",
|
|
"alertType": "warning"
|
|
},
|
|
"sourceId": "778ad7b2-ff6e-48ec-9636-5d3be5d93530",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "b0291917-8fad-4481-94ae-1a50ebb5b943",
|
|
"name": "onDataQueryFailure",
|
|
"index": 3,
|
|
"event": {
|
|
"eventId": "onDataQueryFailure",
|
|
"message": "Failed to delete order item! Please check and try again.",
|
|
"actionId": "show-alert",
|
|
"alertType": "warning"
|
|
},
|
|
"sourceId": "0e890727-c90f-407f-9dfe-115bd9a9511e",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "cebbdc87-8001-483f-b1f9-8e54e570d664",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 1,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Order item deleted successfully.",
|
|
"actionId": "show-alert",
|
|
"alertType": "success"
|
|
},
|
|
"sourceId": "0e890727-c90f-407f-9dfe-115bd9a9511e",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "db8157ba-7b8b-460b-87b2-9709a941f80f",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 2,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"queryId": "ac4f6fff-ec36-4315-8d56-77c91e7d42fe",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "getOrders",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "c1cac20a-cf04-4d27-a5f2-a6045b40c8ed",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.484Z"
|
|
},
|
|
{
|
|
"id": "1bd96128-267f-41f3-ade1-e32fa7ed84dc",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "a355b945-483d-4a2c-97e5-8dd22fb260fa",
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "c4fbbe8e-5774-46e5-b59f-2883363369b7",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.494Z"
|
|
},
|
|
{
|
|
"id": "eaee2f6f-b268-4ee1-a57f-d6868c905f12",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 2,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"queryId": "f949526c-a5e0-4080-a158-b59f0b97f833",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "getOrderItems",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "c4fbbe8e-5774-46e5-b59f-2883363369b7",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.504Z"
|
|
},
|
|
{
|
|
"id": "7511a215-a527-4f48-b49d-d47f31ee3f48",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "20ac82c1-d038-4a2b-91f2-03f474bb5284",
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "778ad7b2-ff6e-48ec-9636-5d3be5d93530",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.516Z"
|
|
},
|
|
{
|
|
"id": "34a6ce67-c2fc-46c3-ada5-4f8e2eba634b",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 2,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"queryId": "ac4f6fff-ec36-4315-8d56-77c91e7d42fe",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "getOrders",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "778ad7b2-ff6e-48ec-9636-5d3be5d93530",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.526Z"
|
|
},
|
|
{
|
|
"id": "9d549c3f-511b-4ff1-8863-74ef594f03fe",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 2,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"queryId": "f949526c-a5e0-4080-a158-b59f0b97f833",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "getOrderItems",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "0e890727-c90f-407f-9dfe-115bd9a9511e",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.536Z"
|
|
},
|
|
{
|
|
"id": "9e68ee08-d054-4664-887a-7a2de987d25b",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "42d28422-62b9-4314-a079-933a27786f54",
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "0e890727-c90f-407f-9dfe-115bd9a9511e",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.548Z"
|
|
},
|
|
{
|
|
"id": "6382b061-5066-4592-b969-3319ef971d09",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 0,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"queryId": "73d39b3c-f6d1-4d10-adaa-f95595fff1a2",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "printInvoice",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "f819c017-8835-43df-8ed2-1c507fda036d",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.559Z"
|
|
},
|
|
{
|
|
"id": "e9660058-9382-40f4-82ea-19767201e603",
|
|
"name": "onClick",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "42d28422-62b9-4314-a079-933a27786f54",
|
|
"eventId": "onClick",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "566a9424-70a9-4152-8b8a-6d78c91b359f",
|
|
"target": "component",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.453Z"
|
|
},
|
|
{
|
|
"id": "e848791f-9643-4d2f-9fdc-5845421c998f",
|
|
"name": "onPageLoad",
|
|
"index": 0,
|
|
"event": {
|
|
"eventId": "onPageLoad",
|
|
"message": "Hello world!",
|
|
"queryId": "f949526c-a5e0-4080-a158-b59f0b97f833",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "getInvoiceItems",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "78cb1f3c-cbee-42f3-a75e-b8609b9f6e1f",
|
|
"target": "page",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.712Z"
|
|
},
|
|
{
|
|
"id": "3d3eec0f-f452-4ee0-ab91-4a338706d2d7",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "51a286e0-6ae5-407f-adfa-b71e86ab3bf5",
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "c589586c-7ef7-4649-92eb-235d504255bf",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.720Z"
|
|
},
|
|
{
|
|
"id": "6a0734e1-a238-4c43-9715-b4a81dc36799",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 2,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"queryId": "f949526c-a5e0-4080-a158-b59f0b97f833",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "getInvoiceItems",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "c589586c-7ef7-4649-92eb-235d504255bf",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.731Z"
|
|
},
|
|
{
|
|
"id": "ce164282-56aa-4c90-8042-84950cd31576",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "906349bb-a721-48ba-8ee5-4cc73425763d",
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "50862d6d-87c2-4d28-9661-96ccc85175e3",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.742Z"
|
|
},
|
|
{
|
|
"id": "68881308-3d3c-4283-8b7a-84ccedffa72a",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 2,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"queryId": "ac4f6fff-ec36-4315-8d56-77c91e7d42fe",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "getInvoices",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "50862d6d-87c2-4d28-9661-96ccc85175e3",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.752Z"
|
|
},
|
|
{
|
|
"id": "96cb2b94-d5b9-4466-bb78-214e4c7efd0d",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 0,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"queryId": "f819c017-8835-43df-8ed2-1c507fda036d",
|
|
"actionId": "run-query",
|
|
"alertType": "info",
|
|
"queryName": "logoSvgCode",
|
|
"parameters": {}
|
|
},
|
|
"sourceId": "79de4224-4e33-4b5d-9b1f-8dad5ebdff66",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.762Z"
|
|
},
|
|
{
|
|
"id": "c72778a9-d96d-4895-af6a-25facecaa94a",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 0,
|
|
"event": {
|
|
"modal": "31dd6fb2-1e7f-460d-94bc-511b36eac3e7",
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Hello world!",
|
|
"actionId": "close-modal",
|
|
"alertType": "info"
|
|
},
|
|
"sourceId": "c1cac20a-cf04-4d27-a5f2-a6045b40c8ed",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:58:00.770Z"
|
|
},
|
|
{
|
|
"id": "6691094d-c259-484a-84f3-f047288419a7",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 1,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Item added successfully.",
|
|
"actionId": "show-alert",
|
|
"alertType": "success"
|
|
},
|
|
"sourceId": "c589586c-7ef7-4649-92eb-235d504255bf",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "1da52960-735a-4ea0-9aed-7e7b912e3bfc",
|
|
"name": "onDataQueryFailure",
|
|
"index": 3,
|
|
"event": {
|
|
"eventId": "onDataQueryFailure",
|
|
"message": "Failed to add item! Please check and try again.",
|
|
"actionId": "show-alert",
|
|
"alertType": "warning"
|
|
},
|
|
"sourceId": "c589586c-7ef7-4649-92eb-235d504255bf",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "b2fb4a7f-013c-491a-b051-91e4618f6c21",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 1,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Invoice created successfully.",
|
|
"actionId": "show-alert",
|
|
"alertType": "success"
|
|
},
|
|
"sourceId": "50862d6d-87c2-4d28-9661-96ccc85175e3",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "af126087-93c6-464f-9946-a5ac73cef891",
|
|
"name": "onDataQueryFailure",
|
|
"index": 3,
|
|
"event": {
|
|
"eventId": "onDataQueryFailure",
|
|
"message": "Failed to create invoice! Please check and try again.",
|
|
"actionId": "show-alert",
|
|
"alertType": "warning"
|
|
},
|
|
"sourceId": "50862d6d-87c2-4d28-9661-96ccc85175e3",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "7f49d970-1b33-422c-84d1-b36dc9475518",
|
|
"name": "onDataQuerySuccess",
|
|
"index": 1,
|
|
"event": {
|
|
"eventId": "onDataQuerySuccess",
|
|
"message": "Order details updated successfully.",
|
|
"actionId": "show-alert",
|
|
"alertType": "success"
|
|
},
|
|
"sourceId": "c1cac20a-cf04-4d27-a5f2-a6045b40c8ed",
|
|
"target": "data_query",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
}
|
|
],
|
|
"dataQueries": [
|
|
{
|
|
"id": "73d39b3c-f6d1-4d10-adaa-f95595fff1a2",
|
|
"name": "printInvoice",
|
|
"options": {
|
|
"code": "function generateInvoice(invoiceDetails, items) {\n const {\n orderId,\n orderDate,\n companyName,\n companyAddress,\n companyLogo,\n customerName,\n customerAddress,\n taxPercentage,\n discount,\n issueDate,\n billPaid,\n dueDate,\n paymentDate,\n notes,\n } = invoiceDetails;\n\n let subTotal = 0;\n const itemRows = items.map((item) => {\n const amount = item.rate * item.quantity;\n subTotal += amount;\n return `\n <tr>\n <td>${item.description}</td>\n <td class=\"text-right\">$${item.rate.toLocaleString(\"en-US\", {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}</td>\n <td class=\"text-right\">${item.quantity}</td>\n <td class=\"text-right\">$${amount.toLocaleString(\"en-US\", {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}</td>\n </tr>\n `;\n });\n\n const taxAmount = subTotal * (taxPercentage / 100);\n const totalAmount = subTotal + taxAmount - discount;\n\n const invoiceHtml = `\n <div class=\"invoice-container\">\n <div class=\"invoice-header\">\n <div class=\"invoice-title\">\n <h2 class=\"invoice-header-h2\">INVOICE</h2>\n <div class=\"invoice-order-data\">\n <p><strong>#${orderId}</strong></p>\n </div>\n </div>\n <div class=\"invoice-title\">\n ${companyLogo ? companyLogo : \"\"}\n </div>\n </div>\n <div class=\"seller-and-client-details\">\n <div class=\"seller-details\">\n <p><strong>${companyName}</strong></p>\n <p>${companyAddress}</p>\n </div>\n <div class=\"client-details\">\n <p><strong>${customerName}</strong></p>\n <p>${customerAddress}</p>\n </div>\n </div>\n <table>\n <thead>\n <tr>\n <th>Deliverable</th>\n <th class=\"text-right\">Rate</th>\n <th class=\"text-right\">Qty</th>\n <th class=\"text-right\">Amount</th>\n </tr>\n </thead>\n <tbody>\n ${itemRows.join(\"\")}\n </tbody>\n <tfoot class=\"no-border\">\n <tr>\n <td colspan=\"3\" class=\"text-right\"><strong>Subtotal</strong></td>\n <td class=\"text-right\">$${subTotal.toLocaleString(\"en-US\", {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}</td>\n </tr>\n <tr>\n <td colspan=\"3\" class=\"text-right\"><strong>Tax (${taxPercentage}%)</strong></td>\n <td class=\"text-right\">$${taxAmount.toLocaleString(\"en-US\", {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}</td>\n </tr>\n <tr>\n <td colspan=\"3\" class=\"text-right\"><strong>Discount</strong></td>\n <td class=\"text-right\">$${discount.toLocaleString(\"en-US\", {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}</td>\n </tr>\n <tr>\n <td colspan=\"3\" class=\"text-right\"><strong>Total amount</strong></td>\n <td class=\"text-right\">$${totalAmount.toLocaleString(\"en-US\", {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}</td>\n </tr>\n </tfoot>\n </table>\n </div>\n <div class=\"invoice-footer-container\">\n <div class=\"footer-notes\">\n <p><strong>Notes:</strong> ${notes}</p>\n </div>\n <div class=\"invoice-footer\">\n <div class=\"invoice-details\">\n <h2>Invoice Details</h2>\n <p>Date Issued: ${issueDate}</p>\n <p>${\n billPaid ? `Payment date: ${paymentDate}` : `Due Date: ${dueDate}`\n }</p>\n </div>\n <div class=\"total-amount\">\n <h2>Total amount</h2>\n <p><h1>$${totalAmount.toLocaleString(\"en-US\", {\n minimumFractionDigits: 2,\n maximumFractionDigits: 2,\n })}</h1></p>\n </div>\n </div>\n </div>\n `;\n\n const winPrint = window.open(\"\", \"\", \"width=595,height=842\");\n\n const styles = document.querySelectorAll(\"link, style\");\n let stylesHtml = \"\";\n for (let i = 0; i < styles.length; i++) {\n stylesHtml += styles[i].outerHTML;\n }\n stylesHtml += `\n <style>\n @page {\n size: portrait;\n margin: 0;\n }\n\n body {\n margin: 0;\n font-family: Arial, sans-serif;\n }\n\n .invoice-container {\n width: 100%;\n padding: 50px;\n }\n\n .seller-and-client-details,\n .totals {\n margin-bottom: 20px;\n }\n\n .invoice-header {\n margin-bottom: 20px;\n display: flex;\n justify-content: space-between;\n }\n\n .invoice-order-data {\n margin: 10px 0;\n color: #007bff;\n text-align: left;\n }\n\n .invoice-title {\n text-align: right;\n }\n\n .seller-and-client-details {\n display: flex;\n justify-content: space-between;\n }\n\n table {\n width: 100%;\n border-collapse: separate;\n border-spacing: 0;\n margin-bottom: 20px;\n border-radius: 10px;\n overflow: hidden;\n }\n\n th,\n td {\n padding: 10px 15px;\n border-width: 0 1px 1px 0;\n border-style: solid;\n border-color: #ddd;\n }\n\n th {\n background-color: #f5f5f5;\n }\n\n tr th {\n border-top-width: 1px;\n }\n\n tr th:first-of-type,\n tr td:first-of-type {\n border-left-width: 1px;\n }\n\n tr:first-child th:first-child {\n border-top-left-radius: 10px;\n }\n\n tr:first-child th:last-child {\n border-top-right-radius: 10px;\n }\n\n tr:last-child td:first-child {\n border-bottom-left-radius: 10px;\n }\n\n tr:last-child td:last-child {\n border-bottom-right-radius: 10px;\n }\n\n .text-right {\n text-align: right;\n }\n\n .totals {\n text-align: right;\n margin-right: 10px;\n }\n\n .totals p {\n padding: 5px;\n font-size: 16px;\n }\n\n .footer-notes {\n padding: 20px 50px;\n }\n\n .invoice-footer-container {\n width: 100%;\n padding: 0;\n margin: 0;\n position: fixed;\n bottom: 0;\n }\n\n .invoice-footer {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n background-color: #007bff;\n color: #fff;\n padding: 50px;\n width: 100%;\n }\n\n .total-amount {\n text-align: right;\n }\n\n h1 {\n font-size: 40px;\n }\n\n .invoice-header-h2 {\n margin: 0;\n padding: 0;\n line-height: 1;\n }\n\n h2 {\n font-size: 20px;\n }\n\n p {\n margin: 0;\n padding: 0;\n }\n\n .invoice-details p {\n line-height: 1.5;\n }\n\n .no-border td {\n border: none;\n padding-top: 8px;\n padding-bottom: 8px;\n }\n\n tfoot::before {\n content: \"\";\n display: block;\n height: 16px;\n }\n </style>\n `;\n\n winPrint.document.write(`\n <html>\n <head>\n ${stylesHtml}\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n </head>\n <body>\n ${invoiceHtml}\n </body>\n </html>\n `);\n\n winPrint.document.title = `Invoice #${orderId}`;\n winPrint.document.close();\n winPrint.focus();\n winPrint.print();\n winPrint.close();\n}\n\nconst invoiceDetails = {\n orderId: queries.getOrderDetails.data.id,\n orderDate: moment(queries.getOrderDetails.data.billing_date).format(\n \"Do MMM YYYY\"\n ),\n companyName: \"ToolJet\",\n companyAddress: \"San Francisco, CA\",\n companyLogo: queries.logoSvgCode.data,\n customerName: queries.getOrderDetails.data.customer_name,\n customerAddress: queries.getOrderDetails.data.customer_address,\n taxPercentage: queries.getOrderDetails.data.tax_percentage,\n discount: queries.getOrderDetails.data.discount,\n issueDate: moment(queries.getOrderDetails.data.billing_date).format(\n \"Do MMM YYYY\"\n ),\n billPaid: queries.getOrderDetails.data.bill_paid,\n dueDate: moment(queries.getOrderDetails.data.billing_date)\n .add(15, \"days\")\n .format(\"Do MMM YYYY\"),\n paymentDate: queries.getOrderDetails.data.payment_date\n ? moment(queries.getOrderDetails.data.payment_date).format(\"Do MMM YYYY\")\n : \"\",\n notes: queries.getOrderDetails.data.bill_paid\n ? \"Thank you for your business.\"\n : \"Pay within 15 days. Thank you for your business.\",\n};\n\nconst items = queries.getOrderItems.data.map(\n ({ item_name, rate, quantity, ...row }) => ({\n description: item_name,\n rate,\n quantity,\n })\n);\n\ngenerateInvoice(invoiceDetails, items);",
|
|
"parameters": []
|
|
},
|
|
"dataSourceId": "b883b085-6dd5-400d-b9e7-5ee99756a92a",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "f819c017-8835-43df-8ed2-1c507fda036d",
|
|
"name": "logoSvgCode",
|
|
"options": {
|
|
"code": "return `<svg width=\"130\" height=\"32\" viewBox=\"0 0 65 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M14.7295 0H2.97065C1.75298 0 0.765869 0.976833 0.765869 2.18182V13.8182C0.765869 15.0232 1.75298 16 2.97065 16H14.7295C15.9472 16 16.9343 15.0232 16.9343 13.8182V2.18182C16.9343 0.976833 15.9472 0 14.7295 0Z\" fill=\"#3E63DD\"/>\n<path d=\"M8.43485 12.6666C8.43485 12.0178 8.43058 11.3922 8.43832 10.7672C8.44004 10.6284 8.39928 10.5341 8.29944 10.437C7.63187 9.78678 6.97056 9.13032 6.30898 8.47389C6.25707 8.42236 6.20543 8.40109 6.13143 8.40139C5.50512 8.40422 4.87854 8.40309 4.25227 8.40309C4.21382 8.40309 4.17509 8.40309 4.13722 8.40309C4.13608 8.38809 4.13263 8.37986 4.13522 8.37476C4.38395 7.89843 4.58478 7.39603 4.90754 6.95964C5.18036 6.59094 5.52378 6.31847 5.99716 6.25221C6.15208 6.23041 6.31131 6.23607 6.46851 6.23467C6.74766 6.23211 7.02681 6.23128 7.30596 6.23581C7.38256 6.23694 7.42844 6.21004 7.4752 6.15198C8.30261 5.12002 9.31478 4.31886 10.5386 3.78815C11.2238 3.49079 11.9372 3.31691 12.6923 3.33447C12.9781 3.34126 13.2644 3.3356 13.5496 3.3356C13.5565 3.35004 13.5651 3.3591 13.5648 3.36817C13.5622 3.78843 13.5745 4.20983 13.5519 4.62896C13.5134 5.34545 13.279 6.01151 12.9574 6.6484C12.4189 7.7155 11.6644 8.61009 10.7182 9.34811C10.6566 9.39625 10.6282 9.44381 10.6293 9.52398C10.6345 9.84541 10.6227 10.1674 10.6333 10.4885C10.6514 11.0374 10.4282 11.4724 9.99899 11.802C9.79446 11.9592 9.56752 12.0914 9.33971 12.2155C9.04968 12.3732 8.74843 12.5114 8.43428 12.6663L8.43485 12.6666ZM11.3649 6.22814C11.3623 5.82771 11.0373 5.50911 10.6322 5.50998C10.2285 5.51081 9.90003 5.83394 9.89945 6.23071C9.89888 6.62944 10.2377 6.96164 10.6402 6.9568C11.0436 6.952 11.3675 6.62634 11.3649 6.22788V6.22814Z\" fill=\"#FDFDFE\"/>\n<path d=\"M6.80215 11.1594C6.23603 11.9034 5.40212 12.1714 4.47437 12.311C4.65366 11.4229 4.87751 10.5778 5.6447 10.0129C6.02756 10.3921 6.41561 10.7766 6.80215 11.1594Z\" fill=\"#FDFDFE\"/>\n<path d=\"M24.4943 12.5426V5.21975H21.7417V3.85449H28.7893V5.21975H26.0367V12.5426H24.4943Z\" fill=\"#11181C\"/>\n<path d=\"M32.2377 12.6294C31.5891 12.6294 31.0117 12.4846 30.5055 12.195C29.9993 11.8972 29.5998 11.4917 29.3072 10.9787C29.0145 10.4657 28.8682 9.88235 28.8682 9.22867C28.8682 8.56671 29.0145 7.98337 29.3072 7.47865C29.5998 6.96562 29.9993 6.56432 30.5055 6.27471C31.0117 5.98514 31.5891 5.84033 32.2377 5.84033C32.8943 5.84033 33.4756 5.98514 33.9818 6.27471C34.496 6.56432 34.8954 6.9615 35.1802 7.46622C35.4729 7.97097 35.6192 8.55847 35.6192 9.22867C35.6192 9.88235 35.4729 10.4657 35.1802 10.9787C34.8954 11.4917 34.496 11.8972 33.9818 12.195C33.4756 12.4846 32.8943 12.6294 32.2377 12.6294ZM32.2377 11.3014C32.6016 11.3014 32.9259 11.2187 33.2106 11.0532C33.4954 10.8877 33.7169 10.6477 33.8751 10.3333C34.0412 10.0189 34.1242 9.65068 34.1242 9.22867C34.1242 8.79841 34.0412 8.43019 33.8751 8.12406C33.7169 7.80962 33.4954 7.56967 33.2106 7.40419C32.9259 7.23868 32.6055 7.15594 32.2496 7.15594C31.8857 7.15594 31.5615 7.23868 31.2767 7.40419C30.9998 7.56967 30.7784 7.80962 30.6123 8.12406C30.4462 8.43019 30.3631 8.79841 30.3631 9.22867C30.3631 9.65068 30.4462 10.0189 30.6123 10.3333C30.7784 10.6477 30.9998 10.8877 31.2767 11.0532C31.5615 11.2187 31.8818 11.3014 32.2377 11.3014Z\" fill=\"#11181C\"/>\n<path d=\"M39.8497 12.6294C39.2011 12.6294 38.6239 12.4846 38.1177 12.195C37.6111 11.8972 37.2119 11.4917 36.9192 10.9787C36.6265 10.4657 36.4802 9.88235 36.4802 9.22867C36.4802 8.56671 36.6265 7.98337 36.9192 7.47865C37.2119 6.96562 37.6111 6.56432 38.1177 6.27471C38.6239 5.98514 39.2011 5.84033 39.8497 5.84033C40.5062 5.84033 41.0875 5.98514 41.594 6.27471C42.1081 6.56432 42.5074 6.9615 42.7922 7.46622C43.0849 7.97097 43.2311 8.55847 43.2311 9.22867C43.2311 9.88235 43.0849 10.4657 42.7922 10.9787C42.5074 11.4917 42.1081 11.8972 41.594 12.195C41.0875 12.4846 40.5062 12.6294 39.8497 12.6294ZM39.8497 11.3014C40.2138 11.3014 40.5379 11.2187 40.8228 11.0532C41.1073 10.8877 41.329 10.6477 41.4871 10.3333C41.6531 10.0189 41.7361 9.65068 41.7361 9.22867C41.7361 8.79841 41.6531 8.43019 41.4871 8.12406C41.329 7.80962 41.1073 7.56967 40.8228 7.40419C40.5379 7.23868 40.2176 7.15594 39.8617 7.15594C39.4979 7.15594 39.1734 7.23868 38.8889 7.40419C38.6119 7.56967 38.3906 7.80962 38.2242 8.12406C38.0582 8.43019 37.9752 8.79841 37.9752 9.22867C37.9752 9.65068 38.0582 10.0189 38.2242 10.3333C38.3906 10.6477 38.6119 10.8877 38.8889 11.0532C39.1734 11.2187 39.4938 11.3014 39.8497 11.3014Z\" fill=\"#11181C\"/>\n<path d=\"M44.5605 12.5426L44.1831 3.33325H45.6661V12.5426H44.5605Z\" fill=\"#11181C\"/>\n<path d=\"M48.9594 12.6667C48.4293 12.6667 47.9389 12.5591 47.488 12.344C47.0453 12.1289 46.6812 11.8186 46.3967 11.4131L47.2745 10.3085C47.5041 10.6395 47.753 10.8877 48.0222 11.0532C48.2989 11.2187 48.5994 11.3014 48.9239 11.3014C49.786 11.3014 50.217 10.7677 50.217 9.70034V5.20735H47.2626V3.85449H51.7595V9.61347C51.7595 10.6395 51.5184 11.4049 51.0357 11.9096C50.561 12.4144 49.869 12.6667 48.9594 12.6667Z\" fill=\"#11181C\"/>\n<path d=\"M56.6697 12.6294C55.9658 12.6294 55.3486 12.4846 54.8188 12.195C54.2966 11.8972 53.8894 11.4917 53.5967 10.9787C53.3119 10.4657 53.1694 9.88235 53.1694 9.22867C53.1694 8.56671 53.3078 7.98337 53.5848 7.47865C53.8696 6.96562 54.2569 6.56432 54.7474 6.27471C55.2457 5.98514 55.8114 5.84033 56.4443 5.84033C57.0611 5.84033 57.6107 5.98098 58.0933 6.26231C58.5759 6.54364 58.9554 6.94082 59.2324 7.45382C59.5091 7.96685 59.6477 8.57087 59.6477 9.2659C59.6477 9.33212 59.6436 9.40658 59.6358 9.48932C59.6358 9.57207 59.6317 9.65068 59.6238 9.72515H54.344V8.695H58.841L58.2593 9.01768C58.2675 8.63705 58.1924 8.30194 58.0339 8.01236C57.8757 7.72275 57.6582 7.49521 57.3815 7.32969C57.1127 7.16421 56.8002 7.08147 56.4443 7.08147C56.0802 7.08147 55.7598 7.16421 55.4831 7.32969C55.2143 7.49521 55.0005 7.72688 54.8424 8.02476C54.6921 8.31437 54.6169 8.65773 54.6169 9.05491V9.30313C54.6169 9.70032 54.704 10.052 54.8779 10.3581C55.0521 10.6643 55.2973 10.9001 55.6136 11.0656C55.9299 11.2311 56.294 11.3138 56.7052 11.3138C57.0611 11.3138 57.3815 11.2559 57.6664 11.14C57.9509 11.0242 58.204 10.8422 58.4256 10.5939L59.2204 11.5496C58.9356 11.8972 58.5759 12.1661 58.1408 12.3564C57.7138 12.5384 57.2234 12.6294 56.6697 12.6294Z\" fill=\"#11181C\"/>\n<path d=\"M63.3679 12.6294C62.6718 12.6294 62.1342 12.4432 61.7544 12.0709C61.3746 11.6903 61.185 11.1317 61.185 10.3953V4.4502H62.668V10.3581C62.668 10.6725 62.7432 10.9166 62.8935 11.0904C63.0516 11.2641 63.2692 11.351 63.5458 11.351C63.8782 11.351 64.1548 11.26 64.3765 11.078L64.7918 12.1826C64.6176 12.3315 64.4042 12.4432 64.1511 12.5177C63.898 12.5922 63.637 12.6294 63.3679 12.6294ZM60.1409 7.20556V5.96439H64.3646V7.20556H60.1409Z\" fill=\"#11181C\"/>\n</svg>\n`;",
|
|
"parameters": []
|
|
},
|
|
"dataSourceId": "b883b085-6dd5-400d-b9e7-5ee99756a92a",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "c589586c-7ef7-4649-92eb-235d504255bf",
|
|
"name": "addOrderItem",
|
|
"options": {
|
|
"operation": "create_row",
|
|
"transformationLanguage": "javascript",
|
|
"enableTransformation": false,
|
|
"organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"table_id": "22134693-8957-4964-b1ac-1858d9984865",
|
|
"join_table": {
|
|
"joins": [
|
|
{
|
|
"id": 1716323498914,
|
|
"conditions": {
|
|
"operator": "AND",
|
|
"conditionsList": [
|
|
{
|
|
"operator": "=",
|
|
"leftField": {
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"joinType": "INNER"
|
|
}
|
|
],
|
|
"from": {
|
|
"name": "1babafc5-df00-4102-886b-6f165740e610",
|
|
"type": "Table"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "invoice_id",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "item_name",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "rate",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "quantity",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "total_amount",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
}
|
|
]
|
|
},
|
|
"list_rows": {},
|
|
"create_row": {
|
|
"0": {
|
|
"column": "order_id",
|
|
"value": "{{globals.urlparams.invoice_id}}"
|
|
},
|
|
"1": {
|
|
"column": "item_name",
|
|
"value": "{{components.textinput1.value}}"
|
|
},
|
|
"2": {
|
|
"column": "rate",
|
|
"value": "{{components.numberinput1.value}}"
|
|
},
|
|
"3": {
|
|
"column": "quantity",
|
|
"value": "{{components.numberinput2.value}}"
|
|
},
|
|
"4": {
|
|
"column": "total_amount",
|
|
"value": "{{(components.numberinput1.value * components.numberinput2.value).toFixed(2)}}"
|
|
},
|
|
"6": {
|
|
"column": "created_at",
|
|
"value": "{{moment().toISOString()}}"
|
|
},
|
|
"7": {
|
|
"column": "updated_at",
|
|
"value": "{{moment().toISOString()}}"
|
|
}
|
|
}
|
|
},
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "50862d6d-87c2-4d28-9661-96ccc85175e3",
|
|
"name": "addOrder",
|
|
"options": {
|
|
"operation": "create_row",
|
|
"transformationLanguage": "javascript",
|
|
"enableTransformation": false,
|
|
"organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"table_id": "21da8d89-bdc5-4cff-b3e3-9c377ddaa3da",
|
|
"join_table": {
|
|
"joins": [
|
|
{
|
|
"id": 1716324012594,
|
|
"conditions": {
|
|
"operator": "AND",
|
|
"conditionsList": [
|
|
{
|
|
"operator": "=",
|
|
"leftField": {
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"joinType": "INNER"
|
|
}
|
|
],
|
|
"from": {
|
|
"name": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799",
|
|
"type": "Table"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "customer_name",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "billing_date",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "bill_paid",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "payment_date",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
}
|
|
]
|
|
},
|
|
"list_rows": {},
|
|
"create_row": {
|
|
"0": {
|
|
"column": "customer_name",
|
|
"value": "{{components.textinput1.value}}"
|
|
},
|
|
"1": {
|
|
"column": "billing_date",
|
|
"value": "{{moment(components.datepicker1.value, \"DD MMM YYYY\").format()}}"
|
|
},
|
|
"2": {
|
|
"column": "bill_paid",
|
|
"value": "{{components.dropdown1.value}}"
|
|
},
|
|
"3": {
|
|
"column": "payment_date",
|
|
"value": "{{components.datepicker2.value ? moment(components.datepicker2.value, \"DD MMM YYYY\").format() : \"\"}}"
|
|
},
|
|
"4": {
|
|
"column": "created_at",
|
|
"value": "{{moment().toISOString()}}"
|
|
},
|
|
"5": {
|
|
"column": "updated_at",
|
|
"value": "{{moment().toISOString()}}"
|
|
},
|
|
"6": {
|
|
"column": "customer_address",
|
|
"value": "{{components.textarea1.value}}"
|
|
},
|
|
"7": {
|
|
"column": "tax_percentage",
|
|
"value": "{{components.numberinput1.value}}"
|
|
},
|
|
"bacd7cd9-5c7d-4305-ae09-f24be5fdd410": {
|
|
"column": "discount",
|
|
"value": "{{components.numberinput2.value}}"
|
|
}
|
|
}
|
|
},
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "c1cac20a-cf04-4d27-a5f2-a6045b40c8ed",
|
|
"name": "updateOrder",
|
|
"options": {
|
|
"operation": "update_rows",
|
|
"transformationLanguage": "javascript",
|
|
"enableTransformation": false,
|
|
"organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"table_id": "21da8d89-bdc5-4cff-b3e3-9c377ddaa3da",
|
|
"join_table": {
|
|
"joins": [
|
|
{
|
|
"id": 1716500189962,
|
|
"conditions": {
|
|
"operator": "AND",
|
|
"conditionsList": [
|
|
{
|
|
"operator": "=",
|
|
"leftField": {
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"joinType": "INNER"
|
|
}
|
|
],
|
|
"from": {
|
|
"name": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799",
|
|
"type": "Table"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "customer_name",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "billing_date",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "bill_paid",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "payment_date",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "customer_address",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "tax_percentage",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "discount",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
}
|
|
]
|
|
},
|
|
"list_rows": {},
|
|
"update_rows": {
|
|
"columns": {
|
|
"0": {
|
|
"column": "customer_name",
|
|
"value": "{{components.textinput2.value}}"
|
|
},
|
|
"1": {
|
|
"column": "customer_address",
|
|
"value": "{{components.textarea2.value}}"
|
|
},
|
|
"2": {
|
|
"column": "billing_date",
|
|
"value": "{{moment(components.datepicker4.value, \"DD MMM YYYY\").format()}}"
|
|
},
|
|
"3": {
|
|
"column": "bill_paid",
|
|
"value": "{{components.dropdown2.value}}"
|
|
},
|
|
"4": {
|
|
"column": "payment_date",
|
|
"value": "{{components.datepicker3.value ? moment(components.datepicker3.value, \"DD MMM YYYY\").format() : \"\"}}"
|
|
},
|
|
"5": {
|
|
"column": "tax_percentage",
|
|
"value": "{{components.numberinput4.value}}"
|
|
},
|
|
"6": {
|
|
"column": "discount",
|
|
"value": "{{components.numberinput3.value}}"
|
|
},
|
|
"2aa31fbb-4d88-4464-b78f-cf25638e3f1f": {
|
|
"column": "updated_at",
|
|
"value": "{{moment().toISOString()}}"
|
|
}
|
|
},
|
|
"where_filters": {
|
|
"efd43a74-842f-4642-9477-fb0885a86840": {
|
|
"column": "id",
|
|
"operator": "eq",
|
|
"value": "{{components.table1.selectedRow.id}}",
|
|
"id": "efd43a74-842f-4642-9477-fb0885a86840"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-06-17T17:25:40.591Z"
|
|
},
|
|
{
|
|
"id": "c4fbbe8e-5774-46e5-b59f-2883363369b7",
|
|
"name": "updateOrderItem",
|
|
"options": {
|
|
"operation": "update_rows",
|
|
"transformationLanguage": "javascript",
|
|
"enableTransformation": false,
|
|
"organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"table_id": "22134693-8957-4964-b1ac-1858d9984865",
|
|
"join_table": {
|
|
"joins": [
|
|
{
|
|
"id": 1716501165247,
|
|
"conditions": {
|
|
"operator": "AND",
|
|
"conditionsList": [
|
|
{
|
|
"operator": "=",
|
|
"leftField": {
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"joinType": "INNER"
|
|
}
|
|
],
|
|
"from": {
|
|
"name": "1babafc5-df00-4102-886b-6f165740e610",
|
|
"type": "Table"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "order_id",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "item_name",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "rate",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "quantity",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "total_amount",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
}
|
|
]
|
|
},
|
|
"list_rows": {},
|
|
"update_rows": {
|
|
"columns": {
|
|
"0": {
|
|
"column": "item_name",
|
|
"value": "{{components.textinput2.value}}"
|
|
},
|
|
"1": {
|
|
"column": "rate",
|
|
"value": "{{components.numberinput4.value}}"
|
|
},
|
|
"2": {
|
|
"column": "quantity",
|
|
"value": "{{components.numberinput6.value}}"
|
|
},
|
|
"3": {
|
|
"column": "total_amount",
|
|
"value": "{{components.numberinput5.value}}"
|
|
},
|
|
"da59e781-098a-4bb7-9dfc-e271583f48d2": {
|
|
"column": "updated_at",
|
|
"value": "{{moment().toISOString()}}"
|
|
}
|
|
},
|
|
"where_filters": {
|
|
"1ed8adbc-c9a3-4ea1-ae44-b5927d5a50fa": {
|
|
"column": "id",
|
|
"operator": "eq",
|
|
"value": "{{components.table1.selectedRow.id}}",
|
|
"id": "1ed8adbc-c9a3-4ea1-ae44-b5927d5a50fa"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "778ad7b2-ff6e-48ec-9636-5d3be5d93530",
|
|
"name": "deleteOrder",
|
|
"options": {
|
|
"operation": "update_rows",
|
|
"transformationLanguage": "javascript",
|
|
"enableTransformation": false,
|
|
"organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"table_id": "21da8d89-bdc5-4cff-b3e3-9c377ddaa3da",
|
|
"join_table": {
|
|
"joins": [
|
|
{
|
|
"id": 1716502739701,
|
|
"conditions": {
|
|
"operator": "AND",
|
|
"conditionsList": [
|
|
{
|
|
"operator": "=",
|
|
"leftField": {
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"joinType": "INNER"
|
|
}
|
|
],
|
|
"from": {
|
|
"name": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799",
|
|
"type": "Table"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "customer_name",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "billing_date",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "bill_paid",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "payment_date",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "customer_address",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "tax_percentage",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "discount",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
}
|
|
]
|
|
},
|
|
"list_rows": {},
|
|
"update_rows": {
|
|
"columns": {
|
|
"0": {
|
|
"column": "is_active",
|
|
"value": "{{false}}"
|
|
},
|
|
"60577f8a-21be-42ab-9825-bcfe0b43b67d": {
|
|
"column": "updated_at",
|
|
"value": "{{moment().toISOString()}}"
|
|
}
|
|
},
|
|
"where_filters": {
|
|
"b6c3ab3e-83c0-45f4-84de-5a23b3de2b6e": {
|
|
"column": "id",
|
|
"operator": "eq",
|
|
"value": "{{components.table1.selectedRow.id}}",
|
|
"id": "b6c3ab3e-83c0-45f4-84de-5a23b3de2b6e"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "0e890727-c90f-407f-9dfe-115bd9a9511e",
|
|
"name": "deleteOrderItem",
|
|
"options": {
|
|
"operation": "update_rows",
|
|
"transformationLanguage": "javascript",
|
|
"enableTransformation": false,
|
|
"organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"table_id": "22134693-8957-4964-b1ac-1858d9984865",
|
|
"join_table": {
|
|
"joins": [
|
|
{
|
|
"id": 1716503443541,
|
|
"conditions": {
|
|
"operator": "AND",
|
|
"conditionsList": [
|
|
{
|
|
"operator": "=",
|
|
"leftField": {
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"joinType": "INNER"
|
|
}
|
|
],
|
|
"from": {
|
|
"name": "1babafc5-df00-4102-886b-6f165740e610",
|
|
"type": "Table"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "order_id",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "item_name",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "rate",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "quantity",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "total_amount",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
}
|
|
]
|
|
},
|
|
"list_rows": {},
|
|
"update_rows": {
|
|
"columns": {
|
|
"0": {
|
|
"column": "is_active",
|
|
"value": "{{false}}"
|
|
},
|
|
"61ac4edd-8902-4dd5-98e5-22f4a0619243": {
|
|
"column": "updated_at",
|
|
"value": "{{moment().toISOString()}}"
|
|
}
|
|
},
|
|
"where_filters": {
|
|
"b6c3ab3e-83c0-45f4-84de-5a23b3de2b6e": {
|
|
"column": "id",
|
|
"operator": "eq",
|
|
"value": "{{components.table1.selectedRow.id}}",
|
|
"id": "b6c3ab3e-83c0-45f4-84de-5a23b3de2b6e"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-05-27T20:57:59.564Z"
|
|
},
|
|
{
|
|
"id": "ac4f6fff-ec36-4315-8d56-77c91e7d42fe",
|
|
"name": "getOrders",
|
|
"options": {
|
|
"operation": "list_rows",
|
|
"transformationLanguage": "javascript",
|
|
"enableTransformation": false,
|
|
"organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"table_id": "21da8d89-bdc5-4cff-b3e3-9c377ddaa3da",
|
|
"join_table": {
|
|
"joins": [
|
|
{
|
|
"id": 1716119393391,
|
|
"conditions": {
|
|
"operator": "AND",
|
|
"conditionsList": [
|
|
{
|
|
"operator": "=",
|
|
"leftField": {
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"joinType": "INNER"
|
|
}
|
|
],
|
|
"from": {
|
|
"name": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799",
|
|
"type": "Table"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "customer_name",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "billing_date",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "bill_paid",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "payment_date",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
}
|
|
]
|
|
},
|
|
"list_rows": {
|
|
"where_filters": {
|
|
"7ca0a935-c01d-4d62-9c08-695784901d30": {
|
|
"column": "is_active",
|
|
"operator": "eq",
|
|
"value": "true",
|
|
"id": "7ca0a935-c01d-4d62-9c08-695784901d30"
|
|
}
|
|
}
|
|
},
|
|
"runOnPageLoad": false
|
|
},
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-12-03T01:05:31.241Z"
|
|
},
|
|
{
|
|
"id": "f949526c-a5e0-4080-a158-b59f0b97f833",
|
|
"name": "getOrderItems",
|
|
"options": {
|
|
"operation": "list_rows",
|
|
"transformationLanguage": "javascript",
|
|
"enableTransformation": false,
|
|
"organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"table_id": "22134693-8957-4964-b1ac-1858d9984865",
|
|
"join_table": {
|
|
"joins": [
|
|
{
|
|
"id": 1716323408171,
|
|
"conditions": {
|
|
"operator": "AND",
|
|
"conditionsList": [
|
|
{
|
|
"operator": "=",
|
|
"leftField": {
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"joinType": "INNER"
|
|
}
|
|
],
|
|
"from": {
|
|
"name": "1babafc5-df00-4102-886b-6f165740e610",
|
|
"type": "Table"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "invoice_id",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "item_name",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "rate",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "quantity",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "total_amount",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"table": "1babafc5-df00-4102-886b-6f165740e610"
|
|
}
|
|
]
|
|
},
|
|
"list_rows": {
|
|
"where_filters": {
|
|
"63ab1597-4508-42a1-bb6e-3d4d0b53b3a0": {
|
|
"column": "order_id",
|
|
"operator": "eq",
|
|
"value": "{{globals.urlparams.invoice_id}}",
|
|
"id": "63ab1597-4508-42a1-bb6e-3d4d0b53b3a0"
|
|
},
|
|
"64a3df27-674f-4e34-889a-c409d99aad7c": {
|
|
"column": "is_active",
|
|
"operator": "eq",
|
|
"value": "{{true}}",
|
|
"id": "64a3df27-674f-4e34-889a-c409d99aad7c"
|
|
}
|
|
},
|
|
"order_filters": {}
|
|
}
|
|
},
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-12-03T01:05:16.238Z"
|
|
},
|
|
{
|
|
"id": "79de4224-4e33-4b5d-9b1f-8dad5ebdff66",
|
|
"name": "getOrderDetails",
|
|
"options": {
|
|
"operation": "list_rows",
|
|
"transformationLanguage": "javascript",
|
|
"enableTransformation": true,
|
|
"organization_id": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"table_id": "21da8d89-bdc5-4cff-b3e3-9c377ddaa3da",
|
|
"join_table": {
|
|
"joins": [
|
|
{
|
|
"id": 1716468498430,
|
|
"conditions": {
|
|
"operator": "AND",
|
|
"conditionsList": [
|
|
{
|
|
"operator": "=",
|
|
"leftField": {
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"joinType": "INNER"
|
|
}
|
|
],
|
|
"from": {
|
|
"name": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799",
|
|
"type": "Table"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "customer_name",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "billing_date",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "bill_paid",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "payment_date",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "customer_address",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "tax_percentage",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
},
|
|
{
|
|
"name": "discount",
|
|
"table": "36b0a2d5-3d50-4a67-84cc-c2edd3a7d799"
|
|
}
|
|
]
|
|
},
|
|
"list_rows": {
|
|
"where_filters": {
|
|
"2ba9e2d2-83a5-493e-ad72-fadce0426eb5": {
|
|
"column": "id",
|
|
"operator": "eq",
|
|
"value": "{{globals.urlparams.invoice_id}}",
|
|
"id": "2ba9e2d2-83a5-493e-ad72-fadce0426eb5"
|
|
}
|
|
}
|
|
},
|
|
"transformation": "return data[0];"
|
|
},
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"createdAt": "2024-05-27T20:57:59.564Z",
|
|
"updatedAt": "2024-12-03T01:05:25.929Z"
|
|
}
|
|
],
|
|
"dataSources": [
|
|
{
|
|
"id": "45159a08-ccb7-4cbc-95ee-e62a403bd54c",
|
|
"name": "restapidefault",
|
|
"kind": "restapi",
|
|
"type": "static",
|
|
"pluginId": null,
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"organizationId": null,
|
|
"scope": "local",
|
|
"createdAt": "2024-05-27T20:57:59.573Z",
|
|
"updatedAt": "2024-05-27T20:57:59.573Z"
|
|
},
|
|
{
|
|
"id": "b883b085-6dd5-400d-b9e7-5ee99756a92a",
|
|
"name": "runjsdefault",
|
|
"kind": "runjs",
|
|
"type": "static",
|
|
"pluginId": null,
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"organizationId": null,
|
|
"scope": "local",
|
|
"createdAt": "2024-05-27T20:57:59.587Z",
|
|
"updatedAt": "2024-05-27T20:57:59.587Z"
|
|
},
|
|
{
|
|
"id": "49578110-0079-4d53-8d16-c12c82d32aba",
|
|
"name": "runpydefault",
|
|
"kind": "runpy",
|
|
"type": "static",
|
|
"pluginId": null,
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"organizationId": null,
|
|
"scope": "local",
|
|
"createdAt": "2024-05-27T20:57:59.599Z",
|
|
"updatedAt": "2024-05-27T20:57:59.599Z"
|
|
},
|
|
{
|
|
"id": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"name": "tooljetdbdefault",
|
|
"kind": "tooljetdb",
|
|
"type": "static",
|
|
"pluginId": null,
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"organizationId": null,
|
|
"scope": "local",
|
|
"createdAt": "2024-05-27T20:57:59.610Z",
|
|
"updatedAt": "2024-05-27T20:57:59.610Z"
|
|
},
|
|
{
|
|
"id": "fd0811f2-0aed-4486-bb91-0c9223bd6597",
|
|
"name": "workflowsdefault",
|
|
"kind": "workflows",
|
|
"type": "static",
|
|
"pluginId": null,
|
|
"appVersionId": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"organizationId": null,
|
|
"scope": "local",
|
|
"createdAt": "2024-05-27T20:57:59.623Z",
|
|
"updatedAt": "2024-05-27T20:57:59.623Z"
|
|
}
|
|
],
|
|
"appVersions": [
|
|
{
|
|
"id": "30d5be8f-bcfb-4576-9bf5-961309784e5b",
|
|
"name": "v1",
|
|
"definition": null,
|
|
"globalSettings": {
|
|
"hideHeader": true,
|
|
"appInMaintenance": false,
|
|
"canvasMaxWidth": 100,
|
|
"canvasMaxWidthType": "%",
|
|
"canvasMaxHeight": 2400,
|
|
"canvasBackgroundColor": "#edeff5",
|
|
"backgroundFxQuery": "",
|
|
"appMode": "auto"
|
|
},
|
|
"pageSettings": {
|
|
"properties": {
|
|
"disableMenu": {
|
|
"value": "{{true}}",
|
|
"fxActive": false
|
|
}
|
|
}
|
|
},
|
|
"showViewerNavigation": false,
|
|
"homePageId": "0f8e5ade-3ecc-4229-86b0-0cba2297b6dd",
|
|
"appId": "b0e245fe-b9ef-4852-9540-e74c47727cea",
|
|
"currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4",
|
|
"promotedFrom": null,
|
|
"createdAt": "2024-05-27T20:57:59.555Z",
|
|
"updatedAt": "2024-09-02T12:25:53.246Z"
|
|
}
|
|
],
|
|
"appEnvironments": [
|
|
{
|
|
"id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4",
|
|
"organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"name": "development",
|
|
"isDefault": false,
|
|
"priority": 1,
|
|
"enabled": true,
|
|
"createdAt": "2023-04-26T19:44:06.852Z",
|
|
"updatedAt": "2023-04-26T19:44:06.852Z"
|
|
},
|
|
{
|
|
"id": "1071e258-9bd6-496c-a11c-9fe8670eedcc",
|
|
"organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"name": "staging",
|
|
"isDefault": false,
|
|
"priority": 2,
|
|
"enabled": true,
|
|
"createdAt": "2023-04-26T19:44:06.852Z",
|
|
"updatedAt": "2023-04-26T19:44:06.852Z"
|
|
},
|
|
{
|
|
"id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d",
|
|
"organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84",
|
|
"name": "production",
|
|
"isDefault": true,
|
|
"priority": 3,
|
|
"enabled": true,
|
|
"createdAt": "2023-04-26T19:44:06.852Z",
|
|
"updatedAt": "2023-04-26T19:44:06.852Z"
|
|
}
|
|
],
|
|
"dataSourceOptions": [
|
|
{
|
|
"id": "9f532bab-f4fc-4be8-9fff-ada5f09ee3b0",
|
|
"dataSourceId": "45159a08-ccb7-4cbc-95ee-e62a403bd54c",
|
|
"environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.583Z",
|
|
"updatedAt": "2024-05-27T20:57:59.583Z"
|
|
},
|
|
{
|
|
"id": "dcfad874-b556-4980-9162-61c20a0a005f",
|
|
"dataSourceId": "45159a08-ccb7-4cbc-95ee-e62a403bd54c",
|
|
"environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.583Z",
|
|
"updatedAt": "2024-05-27T20:57:59.583Z"
|
|
},
|
|
{
|
|
"id": "64a542ba-81be-47b3-a691-87bb237a8b86",
|
|
"dataSourceId": "45159a08-ccb7-4cbc-95ee-e62a403bd54c",
|
|
"environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.583Z",
|
|
"updatedAt": "2024-05-27T20:57:59.583Z"
|
|
},
|
|
{
|
|
"id": "da225d44-70f1-45cf-8164-59191ae49525",
|
|
"dataSourceId": "b883b085-6dd5-400d-b9e7-5ee99756a92a",
|
|
"environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.596Z",
|
|
"updatedAt": "2024-05-27T20:57:59.596Z"
|
|
},
|
|
{
|
|
"id": "7aaac4be-e446-4706-bb9e-88537773d335",
|
|
"dataSourceId": "b883b085-6dd5-400d-b9e7-5ee99756a92a",
|
|
"environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.596Z",
|
|
"updatedAt": "2024-05-27T20:57:59.596Z"
|
|
},
|
|
{
|
|
"id": "92cc6be7-64bc-4687-bf30-f6dc874f6ca2",
|
|
"dataSourceId": "b883b085-6dd5-400d-b9e7-5ee99756a92a",
|
|
"environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.596Z",
|
|
"updatedAt": "2024-05-27T20:57:59.596Z"
|
|
},
|
|
{
|
|
"id": "820c18fb-2c56-4565-9a4d-a88bac0a581c",
|
|
"dataSourceId": "49578110-0079-4d53-8d16-c12c82d32aba",
|
|
"environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.608Z",
|
|
"updatedAt": "2024-05-27T20:57:59.608Z"
|
|
},
|
|
{
|
|
"id": "cec11e43-3fda-4aeb-8ec7-2b026ea32bab",
|
|
"dataSourceId": "49578110-0079-4d53-8d16-c12c82d32aba",
|
|
"environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.608Z",
|
|
"updatedAt": "2024-05-27T20:57:59.608Z"
|
|
},
|
|
{
|
|
"id": "b44b882c-b78a-4af6-85d2-654ef43750cd",
|
|
"dataSourceId": "49578110-0079-4d53-8d16-c12c82d32aba",
|
|
"environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.608Z",
|
|
"updatedAt": "2024-05-27T20:57:59.608Z"
|
|
},
|
|
{
|
|
"id": "f5acd455-c37a-42cd-b7d9-3ccc4612997a",
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.618Z",
|
|
"updatedAt": "2024-05-27T20:57:59.618Z"
|
|
},
|
|
{
|
|
"id": "d7bbcdab-8ace-41fa-8ade-45af10d909f3",
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.619Z",
|
|
"updatedAt": "2024-05-27T20:57:59.619Z"
|
|
},
|
|
{
|
|
"id": "d6049704-4e63-4c36-902f-53b4d7fba905",
|
|
"dataSourceId": "af8d1691-4e5e-45a0-a09a-9eee6bd360dc",
|
|
"environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.619Z",
|
|
"updatedAt": "2024-05-27T20:57:59.619Z"
|
|
},
|
|
{
|
|
"id": "95d7de07-e2da-482c-bdac-52d9f24d95c6",
|
|
"dataSourceId": "fd0811f2-0aed-4486-bb91-0c9223bd6597",
|
|
"environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.632Z",
|
|
"updatedAt": "2024-05-27T20:57:59.632Z"
|
|
},
|
|
{
|
|
"id": "ed3a4f7a-f9f9-42a3-b659-c2b99326686e",
|
|
"dataSourceId": "fd0811f2-0aed-4486-bb91-0c9223bd6597",
|
|
"environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.632Z",
|
|
"updatedAt": "2024-05-27T20:57:59.632Z"
|
|
},
|
|
{
|
|
"id": "978a2ad1-b2b3-4486-8916-20d6b457bd63",
|
|
"dataSourceId": "fd0811f2-0aed-4486-bb91-0c9223bd6597",
|
|
"environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4",
|
|
"options": null,
|
|
"createdAt": "2024-05-27T20:57:59.632Z",
|
|
"updatedAt": "2024-05-27T20:57:59.632Z"
|
|
}
|
|
],
|
|
"schemaDetails": {
|
|
"multiPages": true,
|
|
"multiEnv": true,
|
|
"globalDataSources": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tooljet_version": "3.0.15-cloud-lts"
|
|
} |