Improved navigation and filtering implementation
This commit is contained in:
@@ -1,90 +0,0 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
55
pages/Sales - Units Shipped/widgets/Tabs1/PowerDateFrom.json
Normal file
55
pages/Sales - Units Shipped/widgets/Tabs1/PowerDateFrom.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 8,
|
||||
"boxShadow": "none",
|
||||
"closeOnSelection": true,
|
||||
"dateFormat": "YYYY-MM-DD HH:mm",
|
||||
"datePickerType": "DATE_PICKER",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "FIXED",
|
||||
"dynamicTriggerPathList": [],
|
||||
"firstDayOfWeek": 0,
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isRequired": false,
|
||||
"isVisible": true,
|
||||
"key": "1n4gn1ssf4",
|
||||
"label": "Start Date",
|
||||
"labelAlignment": "left",
|
||||
"labelPosition": "Top",
|
||||
"labelTextSize": "0.875rem",
|
||||
"labelWidth": 5,
|
||||
"leftColumn": 1,
|
||||
"maxDate": "2121-12-31T18:29:00.000Z",
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDate": "1920-12-31T18:30:00.000Z",
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 8,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 21,
|
||||
"mobileTopRow": 1,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 10.263671875,
|
||||
"parentId": "5ghij529ih",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 21,
|
||||
"shortcuts": false,
|
||||
"timePrecision": "minute",
|
||||
"topRow": 1,
|
||||
"type": "DATE_PICKER_WIDGET2",
|
||||
"version": 2,
|
||||
"widgetId": "uflt0124wq",
|
||||
"widgetName": "PowerDateFrom"
|
||||
}
|
||||
55
pages/Sales - Units Shipped/widgets/Tabs1/PowerDateTo.json
Normal file
55
pages/Sales - Units Shipped/widgets/Tabs1/PowerDateTo.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 8,
|
||||
"boxShadow": "none",
|
||||
"closeOnSelection": true,
|
||||
"dateFormat": "YYYY-MM-DD HH:mm",
|
||||
"datePickerType": "DATE_PICKER",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "FIXED",
|
||||
"dynamicTriggerPathList": [],
|
||||
"firstDayOfWeek": 0,
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isRequired": false,
|
||||
"isVisible": true,
|
||||
"key": "1n4gn1ssf4",
|
||||
"label": "End Date",
|
||||
"labelAlignment": "left",
|
||||
"labelPosition": "Top",
|
||||
"labelTextSize": "0.875rem",
|
||||
"labelWidth": 5,
|
||||
"leftColumn": 23,
|
||||
"maxDate": "2121-12-31T18:29:00.000Z",
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDate": "1920-12-31T18:30:00.000Z",
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 8,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 21,
|
||||
"mobileTopRow": 1,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 10.263671875,
|
||||
"parentId": "5ghij529ih",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 43,
|
||||
"shortcuts": false,
|
||||
"timePrecision": "minute",
|
||||
"topRow": 1,
|
||||
"type": "DATE_PICKER_WIDGET2",
|
||||
"version": 2,
|
||||
"widgetId": "w69wh9oixl",
|
||||
"widgetName": "PowerDateTo"
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 8,
|
||||
"boxShadow": "none",
|
||||
"closeOnSelection": true,
|
||||
"dateFormat": "YYYY-MM-DD HH:mm",
|
||||
"datePickerType": "DATE_PICKER",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "FIXED",
|
||||
"dynamicTriggerPathList": [],
|
||||
"firstDayOfWeek": 0,
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isRequired": false,
|
||||
"isVisible": true,
|
||||
"key": "1n4gn1ssf4",
|
||||
"label": "Start Date",
|
||||
"labelAlignment": "left",
|
||||
"labelPosition": "Top",
|
||||
"labelTextSize": "0.875rem",
|
||||
"labelWidth": 5,
|
||||
"leftColumn": 1,
|
||||
"maxDate": "2121-12-31T18:29:00.000Z",
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDate": "1920-12-31T18:30:00.000Z",
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 8,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 21,
|
||||
"mobileTopRow": 1,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 10.263671875,
|
||||
"parentId": "o7m1w5vrow",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 21,
|
||||
"shortcuts": false,
|
||||
"timePrecision": "minute",
|
||||
"topRow": 1,
|
||||
"type": "DATE_PICKER_WIDGET2",
|
||||
"version": 2,
|
||||
"widgetId": "35qo2qtt26",
|
||||
"widgetName": "SeriesDateFrom"
|
||||
}
|
||||
55
pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateTo.json
Normal file
55
pages/Sales - Units Shipped/widgets/Tabs1/SeriesDateTo.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 8,
|
||||
"boxShadow": "none",
|
||||
"closeOnSelection": true,
|
||||
"dateFormat": "YYYY-MM-DD HH:mm",
|
||||
"datePickerType": "DATE_PICKER",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "FIXED",
|
||||
"dynamicTriggerPathList": [],
|
||||
"firstDayOfWeek": 0,
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isRequired": false,
|
||||
"isVisible": true,
|
||||
"key": "1n4gn1ssf4",
|
||||
"label": "End Date",
|
||||
"labelAlignment": "left",
|
||||
"labelPosition": "Top",
|
||||
"labelTextSize": "0.875rem",
|
||||
"labelWidth": 5,
|
||||
"leftColumn": 23,
|
||||
"maxDate": "2121-12-31T18:29:00.000Z",
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDate": "1920-12-31T18:30:00.000Z",
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 8,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 21,
|
||||
"mobileTopRow": 1,
|
||||
"needsErrorInfo": false,
|
||||
"parentColumnSpace": 10.263671875,
|
||||
"parentId": "o7m1w5vrow",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 43,
|
||||
"shortcuts": false,
|
||||
"timePrecision": "minute",
|
||||
"topRow": 1,
|
||||
"type": "DATE_PICKER_WIDGET2",
|
||||
"version": 2,
|
||||
"widgetId": "33mzf7ghwq",
|
||||
"widgetName": "SeriesDateTo"
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
"borderColor": "#E0DEDE",
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"borderWidth": "1",
|
||||
"bottomRow": 102,
|
||||
"bottomRow": 110,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"cachedTableData": {},
|
||||
"canFreezeColumn": true,
|
||||
@@ -173,7 +173,7 @@
|
||||
"searchKey": "",
|
||||
"tableData": "{{units_shipped_by_series.data}}",
|
||||
"textSize": "0.875rem",
|
||||
"topRow": 2,
|
||||
"topRow": 10,
|
||||
"totalRecordsCount": 0,
|
||||
"type": "TABLE_WIDGET_V2",
|
||||
"version": 2,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"borderColor": "#E0DEDE",
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"borderWidth": "1",
|
||||
"bottomRow": 167,
|
||||
"bottomRow": 175,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"cachedTableData": {},
|
||||
"canFreezeColumn": true,
|
||||
@@ -33,11 +33,11 @@
|
||||
},
|
||||
"columnOrder": [
|
||||
"Product",
|
||||
"Qty_Ordered",
|
||||
"Power_Output",
|
||||
"Input",
|
||||
"Qty_Ordered"
|
||||
"Input"
|
||||
],
|
||||
"columnUpdatedAt": 1768911810804,
|
||||
"columnUpdatedAt": 1769094100515,
|
||||
"columnWidthMap": {},
|
||||
"customIsLoading": false,
|
||||
"customIsLoadingValue": "",
|
||||
@@ -249,7 +249,7 @@
|
||||
"searchKey": "",
|
||||
"tableData": "{{units_shipped_by_power_input.data}}",
|
||||
"textSize": "0.875rem",
|
||||
"topRow": 2,
|
||||
"topRow": 10,
|
||||
"totalRecordsCount": 0,
|
||||
"type": "TABLE_WIDGET_V2",
|
||||
"version": 2,
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
"borderColor": "#E0DEDE",
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"borderWidth": 1,
|
||||
"bottomRow": 123,
|
||||
"bottomRow": 190,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"children": [
|
||||
{
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 1040,
|
||||
"bottomRow": 1770,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"canExtend": true,
|
||||
"detachFromLayout": true,
|
||||
@@ -56,7 +56,7 @@
|
||||
},
|
||||
{
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 1670,
|
||||
"bottomRow": 1770,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"canExtend": true,
|
||||
"detachFromLayout": true,
|
||||
@@ -129,8 +129,8 @@
|
||||
"mobileRightColumn": 26,
|
||||
"mobileTopRow": 61,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 188,
|
||||
"originalTopRow": 15,
|
||||
"originalBottomRow": 125,
|
||||
"originalTopRow": 9,
|
||||
"parentColumnSpace": 25.109375,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
@@ -157,7 +157,7 @@
|
||||
"widgetId": "5ghij529ih"
|
||||
}
|
||||
},
|
||||
"topRow": 15,
|
||||
"topRow": 9,
|
||||
"type": "TABS_WIDGET",
|
||||
"version": 3,
|
||||
"widgetId": "cgiukoz6f7",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 320,
|
||||
"bottomRow": 394,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "truncateButtonColor"
|
||||
@@ -30,8 +30,8 @@
|
||||
"mobileRightColumn": 17,
|
||||
"mobileTopRow": 35,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 385,
|
||||
"originalTopRow": 338,
|
||||
"originalBottomRow": 329,
|
||||
"originalTopRow": 281,
|
||||
"overflow": "NONE",
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "0",
|
||||
@@ -43,7 +43,7 @@
|
||||
"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,
|
||||
"topRow": 346,
|
||||
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"type": "TEXT_WIDGET",
|
||||
"version": 1,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 271,
|
||||
"bottomRow": 344,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "truncateButtonColor"
|
||||
@@ -30,8 +30,8 @@
|
||||
"mobileRightColumn": 20,
|
||||
"mobileTopRow": 0,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 336,
|
||||
"originalTopRow": 332,
|
||||
"originalBottomRow": 279,
|
||||
"originalTopRow": 275,
|
||||
"overflow": "NONE",
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "0",
|
||||
@@ -43,7 +43,7 @@
|
||||
"text": "Units Ordered - By Series",
|
||||
"textAlign": "LEFT",
|
||||
"textColor": "#231F20",
|
||||
"topRow": 267,
|
||||
"topRow": 340,
|
||||
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"type": "TEXT_WIDGET",
|
||||
"version": 1,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 217,
|
||||
"bottomRow": 290,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "truncateButtonColor"
|
||||
@@ -30,8 +30,8 @@
|
||||
"mobileRightColumn": 20,
|
||||
"mobileTopRow": 0,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 282,
|
||||
"originalTopRow": 278,
|
||||
"originalBottomRow": 225,
|
||||
"originalTopRow": 221,
|
||||
"overflow": "NONE",
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "0",
|
||||
@@ -43,7 +43,7 @@
|
||||
"text": "Units Ordered - By Series",
|
||||
"textAlign": "LEFT",
|
||||
"textColor": "#231F20",
|
||||
"topRow": 213,
|
||||
"topRow": 286,
|
||||
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"type": "TEXT_WIDGET",
|
||||
"version": 1,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 284,
|
||||
"bottomRow": 360,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "truncateButtonColor"
|
||||
@@ -30,8 +30,8 @@
|
||||
"mobileRightColumn": 55,
|
||||
"mobileTopRow": 107,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 349,
|
||||
"originalTopRow": 282,
|
||||
"originalBottomRow": 295,
|
||||
"originalTopRow": 225,
|
||||
"overflow": "NONE",
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "0",
|
||||
@@ -43,7 +43,7 @@
|
||||
"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,
|
||||
"topRow": 290,
|
||||
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"type": "TEXT_WIDGET",
|
||||
"version": 1,
|
||||
|
||||
Reference in New Issue
Block a user