Base layout and base statistics pages

This commit is contained in:
2026-01-20 13:38:25 +00:00
parent ab003c148d
commit fd3b3b8e67
43 changed files with 2733 additions and 310 deletions

View File

@@ -0,0 +1,52 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 7,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
},
{
"key": "fontFamily"
},
{
"key": "borderRadius"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"fontSize": "1.875rem",
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "pii8e5rbru",
"leftColumn": 1,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 5,
"mobileLeftColumn": 1,
"mobileRightColumn": 17,
"mobileTopRow": 1,
"needsErrorInfo": false,
"originalBottomRow": 7,
"originalTopRow": 2,
"overflow": "NONE",
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 17,
"shouldTruncate": false,
"text": "Sales / Units Shipped",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 2,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "250t24g0mo",
"widgetName": "Heading"
}

View File

@@ -0,0 +1,90 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 13,
"boxShadow": "none",
"buttonVariant": "PRIMARY",
"childStylesheet": {
"button": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
}
},
"dynamicBindingPathList": [
{
"key": "borderRadius"
}
],
"dynamicTriggerPathList": [
{
"key": "groupButtons.groupButton1.onClick"
},
{
"key": "groupButtons.groupButton3.onClick"
}
],
"groupButtons": {
"groupButton1": {
"buttonColor": "#231f20",
"buttonType": "SIMPLE",
"disabledWhenInvalid": false,
"iconAlign": "right",
"id": "groupButton1",
"index": 0,
"isDisabled": false,
"isVisible": true,
"label": "Capacity Planning",
"menuItems": {},
"onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW');}}",
"placement": "CENTER",
"widgetId": ""
},
"groupButton3": {
"buttonColor": "#e0dede",
"buttonType": "SIMPLE",
"disabledWhenInvalid": false,
"id": "groupButton3",
"index": 1,
"isDisabled": false,
"isVisible": true,
"label": "Units Shipped",
"menuItems": {
"menuItemr01yri5nag": {
"id": "menuItemr01yri5nag",
"index": 0,
"isDisabled": false,
"isVisible": true,
"label": "Menu Item",
"widgetId": "z3w4r50nta"
}
},
"onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}",
"placement": "CENTER",
"widgetId": ""
}
},
"isCanvas": false,
"isLoading": false,
"isVisible": true,
"key": "f10t84z5gq",
"leftColumn": 1,
"minWidth": 450,
"mobileBottomRow": 12,
"mobileLeftColumn": 1,
"mobileRightColumn": 25,
"mobileTopRow": 8,
"needsErrorInfo": false,
"orientation": "horizontal",
"originalBottomRow": 13,
"originalTopRow": 9,
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 25,
"topRow": 9,
"type": "BUTTON_GROUP_WIDGET",
"version": 1,
"widgetId": "b9izyy0tmr",
"widgetName": "Navigation"
}

View File

@@ -0,0 +1,183 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"animateLoading": true,
"borderColor": "#E0DEDE",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": "1",
"bottomRow": 102,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"cachedTableData": {},
"canFreezeColumn": true,
"childStylesheet": {
"button": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"editActions": {
"discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"saveButtonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"iconButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"menuButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
}
},
"columnOrder": [
"Product",
"Qty_Ordered"
],
"columnUpdatedAt": 1768911391236,
"columnWidthMap": {},
"customIsLoading": false,
"customIsLoadingValue": "",
"defaultPageSize": 0,
"defaultSelectedRowIndex": 0,
"defaultSelectedRowIndices": [
0
],
"delimiter": ",",
"dynamicBindingPathList": [
{
"key": "accentColor"
},
{
"key": "borderRadius"
},
{
"key": "boxShadow"
},
{
"key": "tableData"
},
{
"key": "primaryColumns.Product.computedValue"
},
{
"key": "primaryColumns.Qty_Ordered.computedValue"
}
],
"dynamicPropertyPathList": [
{
"key": "tableData"
}
],
"dynamicTriggerPathList": [],
"enableClientSideSearch": true,
"endOfData": false,
"flexVerticalAlignment": "start",
"horizontalAlignment": "LEFT",
"inlineEditingSaveOption": "ROW_LEVEL",
"isLoading": false,
"isSortable": true,
"isVisible": true,
"isVisibleDownload": true,
"isVisibleFilters": false,
"isVisiblePagination": true,
"isVisibleSearch": true,
"key": "9mn8k38jb0",
"label": "Data",
"leftColumn": 1,
"minWidth": 450,
"mobileBottomRow": 33,
"mobileLeftColumn": 1,
"mobileRightColumn": 35,
"mobileTopRow": 5,
"needsErrorInfo": false,
"originalBottomRow": 41,
"originalTopRow": 5,
"parentColumnSpace": 11.265625,
"parentId": "o7m1w5vrow",
"parentRowSpace": 10,
"primaryColumns": {
"Product": {
"alias": "Product",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Product\"])) : Product })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Product",
"index": 0,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Product",
"notation": "standard",
"originalId": "Product",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Qty_Ordered": {
"alias": "Qty Ordered",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "number",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Qty Ordered\"])) : Qty Ordered })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Qty_Ordered",
"index": 1,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Qty Ordered",
"notation": "standard",
"originalId": "Qty Ordered",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
}
},
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 63,
"searchKey": "",
"tableData": "{{units_shipped_by_series.data}}",
"textSize": "0.875rem",
"topRow": 2,
"totalRecordsCount": 0,
"type": "TABLE_WIDGET_V2",
"version": 2,
"verticalAlignment": "CENTER",
"widgetId": "09qniwp9nt",
"widgetName": "Table1"
}

View File

@@ -0,0 +1,259 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"animateLoading": true,
"borderColor": "#E0DEDE",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": "1",
"bottomRow": 167,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"cachedTableData": {},
"canFreezeColumn": true,
"childStylesheet": {
"button": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"editActions": {
"discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"saveButtonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"iconButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"menuButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
}
},
"columnOrder": [
"Product",
"Power_Output",
"Input",
"Qty_Ordered"
],
"columnUpdatedAt": 1768911810804,
"columnWidthMap": {},
"customIsLoading": false,
"customIsLoadingValue": "",
"defaultPageSize": 0,
"defaultSelectedRowIndex": 0,
"defaultSelectedRowIndices": [
0
],
"delimiter": ",",
"dynamicBindingPathList": [
{
"key": "accentColor"
},
{
"key": "borderRadius"
},
{
"key": "boxShadow"
},
{
"key": "primaryColumns.Product.computedValue"
},
{
"key": "primaryColumns.Qty_Ordered.computedValue"
},
{
"key": "tableData"
},
{
"key": "primaryColumns.Power_Output.computedValue"
},
{
"key": "primaryColumns.Input.computedValue"
}
],
"dynamicPropertyPathList": [
{
"key": "tableData"
}
],
"dynamicTriggerPathList": [],
"enableClientSideSearch": true,
"endOfData": false,
"flexVerticalAlignment": "start",
"horizontalAlignment": "LEFT",
"inlineEditingSaveOption": "ROW_LEVEL",
"isLoading": false,
"isSortable": true,
"isVisible": true,
"isVisibleDownload": true,
"isVisibleFilters": false,
"isVisiblePagination": true,
"isVisibleSearch": true,
"key": "9mn8k38jb0",
"label": "Data",
"leftColumn": 1,
"minWidth": 450,
"mobileBottomRow": 33,
"mobileLeftColumn": 1,
"mobileRightColumn": 35,
"mobileTopRow": 5,
"needsErrorInfo": false,
"originalBottomRow": 42,
"originalTopRow": 6,
"parentColumnSpace": 11.265625,
"parentId": "5ghij529ih",
"parentRowSpace": 10,
"primaryColumns": {
"Input": {
"alias": "Input",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Input\"])) : Input })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Input",
"index": 2,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Input",
"notation": "standard",
"originalId": "Input",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Power_Output": {
"alias": "Power Output",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Power Output\"])) : Power Output })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Power_Output",
"index": 1,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Power Output",
"notation": "standard",
"originalId": "Power Output",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Product": {
"alias": "Product",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Product\"])) : Product })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Product",
"index": 0,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Product",
"notation": "standard",
"originalId": "Product",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Qty_Ordered": {
"alias": "Qty Ordered",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "number",
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Qty Ordered\"])) : Qty Ordered })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Qty_Ordered",
"index": 1,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Qty Shipped",
"notation": "standard",
"originalId": "Qty Ordered",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
}
},
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 63,
"searchKey": "",
"tableData": "{{units_shipped_by_power_input.data}}",
"textSize": "0.875rem",
"topRow": 2,
"totalRecordsCount": 0,
"type": "TABLE_WIDGET_V2",
"version": 2,
"verticalAlignment": "CENTER",
"widgetId": "sxi5n9a1yp",
"widgetName": "Table1Copy"
}

View File

@@ -0,0 +1,165 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"animateLoading": true,
"backgroundColor": "#FFFFFF",
"borderColor": "#E0DEDE",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": 1,
"bottomRow": 123,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"children": [
{
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 1040,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"canExtend": true,
"detachFromLayout": true,
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "boxShadow"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"flexLayers": [],
"isDisabled": false,
"isLoading": false,
"isVisible": true,
"key": "fye1v5uu19",
"leftColumn": 0,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minHeight": 150,
"minWidth": 450,
"mobileBottomRow": 150,
"mobileLeftColumn": 0,
"mobileRightColumn": 602.625,
"mobileTopRow": 0,
"needsErrorInfo": false,
"parentColumnSpace": 1,
"parentId": "cgiukoz6f7",
"parentRowSpace": 1,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 602.625,
"shouldScrollContents": false,
"tabId": "tab1",
"tabName": "Series",
"topRow": 0,
"type": "CANVAS_WIDGET",
"version": 1,
"widgetId": "o7m1w5vrow",
"widgetName": "Canvas1"
},
{
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 1670,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"canExtend": true,
"detachFromLayout": true,
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "boxShadow"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"flexLayers": [],
"isDisabled": false,
"isLoading": false,
"isVisible": true,
"key": "fye1v5uu19",
"leftColumn": 0,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minHeight": 150,
"minWidth": 450,
"mobileBottomRow": 150,
"mobileLeftColumn": 0,
"mobileRightColumn": 602.625,
"mobileTopRow": 0,
"needsErrorInfo": false,
"parentColumnSpace": 1,
"parentId": "cgiukoz6f7",
"parentRowSpace": 1,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 602.625,
"shouldScrollContents": false,
"tabId": "tab2",
"tabName": "Power Level, Input Voltage",
"topRow": 0,
"type": "CANVAS_WIDGET",
"version": 1,
"widgetId": "5ghij529ih",
"widgetName": "Canvas2"
}
],
"defaultTab": "By Series",
"dynamicBindingPathList": [
{
"key": "accentColor"
},
{
"key": "borderRadius"
},
{
"key": "boxShadow"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"flexVerticalAlignment": "stretch",
"isCanvas": true,
"isLoading": false,
"isVisible": true,
"key": "r7d08pu9q8",
"leftColumn": 1,
"maxDynamicHeight": 9000,
"minDynamicHeight": 15,
"minWidth": 450,
"mobileBottomRow": 76,
"mobileLeftColumn": 2,
"mobileRightColumn": 26,
"mobileTopRow": 61,
"needsErrorInfo": false,
"originalBottomRow": 188,
"originalTopRow": 15,
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 61,
"shouldScrollContents": true,
"shouldShowTabs": true,
"tabsObj": {
"tab1": {
"id": "tab1",
"index": 0,
"isVisible": true,
"label": "Series",
"positioning": "vertical",
"widgetId": "o7m1w5vrow"
},
"tab2": {
"id": "tab2",
"index": 1,
"isVisible": true,
"label": "Power Level, Input Voltage",
"positioning": "vertical",
"widgetId": "5ghij529ih"
}
},
"topRow": 15,
"type": "TABS_WIDGET",
"version": 3,
"widgetId": "cgiukoz6f7",
"widgetName": "Tabs1"
}

View File

@@ -0,0 +1,52 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 320,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
},
{
"key": "fontFamily"
},
{
"key": "borderRadius"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"fontSize": "0.875rem",
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "aibuaup6p0",
"leftColumn": 3,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 39,
"mobileLeftColumn": 1,
"mobileRightColumn": 17,
"mobileTopRow": 35,
"needsErrorInfo": false,
"originalBottomRow": 385,
"originalTopRow": 338,
"overflow": "NONE",
"parentColumnSpace": 11.265625,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 37,
"shouldTruncate": false,
"text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 273,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "2srkyaefvd",
"widgetName": "Text1"
}

View File

@@ -0,0 +1,52 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 271,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
},
{
"key": "fontFamily"
},
{
"key": "borderRadius"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"fontSize": "1rem",
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "aibuaup6p0",
"leftColumn": 3,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 4,
"mobileLeftColumn": 4,
"mobileRightColumn": 20,
"mobileTopRow": 0,
"needsErrorInfo": false,
"originalBottomRow": 336,
"originalTopRow": 332,
"overflow": "NONE",
"parentColumnSpace": 11.265625,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 31,
"shouldTruncate": false,
"text": "Units Ordered - By Series",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 267,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "bz71a9t109",
"widgetName": "Text2Copy1"
}

View File

@@ -0,0 +1,52 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 217,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
},
{
"key": "fontFamily"
},
{
"key": "borderRadius"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"fontSize": "1rem",
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "aibuaup6p0",
"leftColumn": 39,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 4,
"mobileLeftColumn": 4,
"mobileRightColumn": 20,
"mobileTopRow": 0,
"needsErrorInfo": false,
"originalBottomRow": 282,
"originalTopRow": 278,
"overflow": "NONE",
"parentColumnSpace": 11.265625,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 64,
"shouldTruncate": false,
"text": "Units Ordered - By Series",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 213,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "mri175k85g",
"widgetName": "Text2CopyCopy"
}

View File

@@ -0,0 +1,52 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 284,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
},
{
"key": "fontFamily"
},
{
"key": "borderRadius"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"fontSize": "0.875rem",
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "aibuaup6p0",
"leftColumn": 39,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 111,
"mobileLeftColumn": 39,
"mobileRightColumn": 55,
"mobileTopRow": 107,
"needsErrorInfo": false,
"originalBottomRow": 349,
"originalTopRow": 282,
"overflow": "NONE",
"parentColumnSpace": 11.265625,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 63,
"shouldTruncate": false,
"text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 217,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "d78hnl6fvy",
"widgetName": "Text3"
}