getThirdSetMyTab function

dynamic getThirdSetMyTab()

Implementation

getThirdSetMyTab() {
  return [
    {
      "action": "setMyTab",
      "data": [
        {
          "label": "Home",
          "tabid": "hometab",
          "type": "card",
          "canClose": "false",
          "canRefresh": "false",
          "body": [
            {
              "label": "",
              "type": "process",
              "actionid": "system",
              "icon": null,
              "width": -1,
              "height": -1,
              "detail": [
                {
                  "label": "Consumer",
                  "id": "e27ed498-704b-4f08-a7a3-09fc49233955",
                  "icon": 60981,
                  "type": "label",
                  "actionid": "null",
                  "param": "null",
                  "showrule": "null",
                  "activerule": "null",
                  "msg": "",
                  "instantrule": "null",
                  "x": 0,
                  "y": 0,
                  "seq": 10
                },
                {
                  "label": "Payment code",
                  "id": "f7bd3211-c7dc-42c6-8702-52c6f26a710a",
                  "icon": 60981,
                  "type": "label",
                  "actionid": "null",
                  "param": "null",
                  "showrule": "null",
                  "activerule": "null",
                  "msg": "",
                  "instantrule": "null",
                  "x": 1,
                  "y": 0,
                  "seq": 11,
                  "source": "e27ed498-704b-4f08-a7a3-09fc49233955"
                },
                {
                  "label": "Receipt",
                  "id": "d73ac03d-5214-48bb-b7cc-479f52300d49",
                  "icon": 60981,
                  "type": "label",
                  "actionid": "null",
                  "param": "null",
                  "showrule": "null",
                  "activerule": "null",
                  "msg": "",
                  "instantrule": "null",
                  "x": 2,
                  "y": 0,
                  "seq": 12,
                  "source": "f7bd3211-c7dc-42c6-8702-52c6f26a710a"
                },
                {
                  "label": "Merchant",
                  "id": "d9e79482-b06c-459b-b647-f51e60c487cd",
                  "icon": 62335,
                  "type": "label",
                  "actionid": "divider",
                  "param": "null",
                  "showrule": "null",
                  "activerule": "null",
                  "msg": "",
                  "instantrule": "null",
                  "x": 0,
                  "y": 2,
                  "seq": 13,
                  "source": "e27ed498-704b-4f08-a7a3-09fc49233955"
                },
                {
                  "label": "Scan code",
                  "id": "aad58996-5165-4120-ac2d-4cea1ec96994",
                  "icon": 62170,
                  "type": "tableformnew",
                  "actionid": "Zzytransaction",
                  "param": {
                    "where":
                        "parentid='@cID' and transtype='giftcard' and targettype='customer' and action='consume' and targetid='@uID'",
                  },
                  "showrule": "null",
                  "activerule": "haveRight(employee)",
                  "msg": "",
                  "instantrule": appParam['$gScan$gInstantrule'],
                  "x": 0,
                  "y": 3,
                  "seq": 14,
                  "source": "f7bd3211-c7dc-42c6-8702-52c6f26a710a"
                },
                {
                  "label": "Refund",
                  "id": "c16932ed-5c0f-406c-bafe-4676040c8790",
                  "icon": 61919,
                  "type": "tableform",
                  "actionid": "Zzyorderdetail",
                  "param": "null",
                  "showrule": "null",
                  "activerule": "haveRight(employee)",
                  "msg": "",
                  "instantrule": "null",
                  "x": 0,
                  "y": 3,
                  "seq": 15,
                  "source": "d73ac03d-5214-48bb-b7cc-479f52300d49"
                },
                {
                  "label": "Present",
                  "id": "f838863b-1468-4968-a8c5-4df40b327909",
                  "icon": 0,
                  "type": "line",
                  "actionid": "null",
                  "param": "null",
                  "showrule": "null",
                  "activerule": "null",
                  "msg": "",
                  "instantrule": "null",
                  "x": -1,
                  "y": -1,
                  "seq": 16,
                  "source": "f7bd3211-c7dc-42c6-8702-52c6f26a710a",
                  "target": "aad58996-5165-4120-ac2d-4cea1ec96994",
                  "alignsource": "9863e39d-5e2a-4200-9adf-bfd8f1ca03d8",
                  "aligntarget": "36c31432-08ca-46ff-8d39-a597696d0a07"
                },
                {
                  "label": "Present",
                  "id": "b0886efb-ba59-4be7-bd4c-97c8ed287184",
                  "icon": 0,
                  "type": "line",
                  "actionid": "null",
                  "param": "null",
                  "showrule": "null",
                  "activerule": "null",
                  "msg": "",
                  "instantrule": "null",
                  "x": -1,
                  "y": -1,
                  "seq": 17,
                  "source": "d73ac03d-5214-48bb-b7cc-479f52300d49",
                  "target": "c16932ed-5c0f-406c-bafe-4676040c8790",
                  "alignsource": "9863e39d-5e2a-4200-9adf-bfd8f1ca03d8",
                  "aligntarget": "36c31432-08ca-46ff-8d39-a597696d0a07"
                }
              ]
            },
            /*,{
              "item": {
                "type": "form",
                "value": "Zzytransaction",
                "fontSize": 34.0,
                "where":
                    "parentid='@cID' and transtype='giftcard' and targettype='customer' and action='consume' and targetid='@uID'"
              }
            },*/
            /*{
              "label": "Configuration",
              "type": "process",
              "actionid": "system",
              "icon": null,
              "detail": [
                {
                  "label": "Company",
                  "type": "table",
                  "actionid": "Zzycompany",
                  "icon": 61195
                },
                {
                  "label": "Payment",
                  "type": "table",
                  "actionid": "Zzycompanypayment",
                  "icon": 62169
                },
                {
                  "label": "Role",
                  "type": "table",
                  "actionid": "Zzyrole",
                  "icon": 62251
                },
                {
                  "label": "Role Specific",
                  "type": "table",
                  "actionid": "Zzyrolespecific",
                  "icon": 62251
                },
                {
                  "label": "User",
                  "type": "table",
                  "actionid": "Zzyuser",
                  "icon": 62075
                }
              ]
            },*/
            {
              "label": "",
              "type": "process",
              "actionid": "system",
              "icon": null,
              "detail": [
                /*{
                  "label": "Product",
                  "type": "table",
                  "actionid": "Zzyproduct",
                  "icon": 61239
                },*/
                {
                  "label": "Transaction",
                  "type": "table",
                  "actionid": "Zzytransaction",
                  "icon": 61195
                },
                {
                  "label": "Tip setup",
                  "type": "table",
                  "actionid": "Zzytip",
                  "icon": 0xf336
                }
              ]
            }
          ]
        }
      ]
    },
  ];
}