appParam top-level property

Map appParam
getter/setter pair

Implementation

Map appParam = {
  gAmount: gAmount,
  '$gAmount$gPay': 'amount_paid',
  gArea: 'area',
  gAddress: 'address',
  '$gAddress$gValue': '',
  gsBackgroundColor: Colors.blueGrey.withOpacity(0.1),
  gBalance: '0',
  '$gBalance$gLabel': gBalance,
  '$gBalance$gUrl': 'api/store/info',
  gCity: 'city',
  gCode: 'ret_code',
  '$gCode$gLabel': 'code',
  gCnt: 65,
  '$gCnt$gQuery': 0,
  gComplete: 1,
  gData: gData,
  gId: 'txn_no',
  gLogin: 'api/store/login_password',
  '$gLogin$gLabel': gLogin,
  '$gLogin$gValue': '',
  gLogo: gLogo,
  gMsg: 'err_msg',
  gName: 'name',
  '$gName$gValue': '',
  gOrder: 'order',
  gOrderno: 'order_no',
  gPassword: gPassword,
  gPay: 'api/store/create_order',
  gPending: 10,
  gPin: gPin,
  gPostal: 'postal',
  gProvince: 'province',
  gQuery: 'api/store/get_transaction',
  '$gRefresh$gToken': '',
  '$gRefresh$gToken$gLabel': 'refresh_token',
  '$gRefresh$gToken$gValue': 'api/store/login_refresh',
  gStore: 'store',
  gStatus: 'status',
  '$gStatus$gComplete': 1,
  gTip: gTip,
  '$gTip$gId': '6ee62db7-',
  gToken: '',
  '$gToken$gLabel': 'access_token',
  gUrl: '15.222.133.242',
  gWait: 1,
  '${gCode}List': [1000, 12111, 12140, 12141, 12142],
  '12140$gAction': [
    {
      gAction: 'setValueOnColCommon',
      gData: [
        {gCol: 'pin', gValue: ''}
      ]
    },
    {
      gAction: 'setValueOnColCommon',
      gData: [
        {gCol: 'barcode', gValue: ''}
      ]
    },
    {
      gAction: gSetFocus,
      gData: [
        {gCol: 'barcode'}
      ]
    }
  ],
  '1000$gAction': [
    {
      gAction: 'setValueOnColCommon',
      gData: [
        {gCol: 'pin', gValue: ''}
      ]
    },
    {
      gAction: 'setValueOnColCommon',
      gData: [
        {gCol: 'barcode', gValue: ''}
      ]
    },
    {
      gAction: gSetFocus,
      gData: [
        {gCol: 'barcode'}
      ]
    }
  ],
  '12111$gAction': [
    {
      gAction: 'setValueOnColCommon',
      gData: [
        {gCol: 'pin', gValue: ''}
      ]
    },
    {
      gAction: 'setValueOnColCommon',
      gData: [
        {gCol: 'barcode', gValue: ''}
      ]
    },
    {
      gAction: gSetFocus,
      gData: [
        {gCol: 'barcode'}
      ]
    }
  ],
  '12141$gAction': [
    {
      gAction: 'setValueOnColCommon',
      gData: [
        {gCol: 'pin', gValue: ''}
      ]
    },
    {
      gAction: 'setValueOnColCommon',
      gData: [
        {gCol: 'barcode', gValue: ''}
      ]
    },
    {
      gAction: gSetFocus,
      gData: [
        {gCol: 'barcode'}
      ]
    }
  ],
  '12142$gAction': [
    {
      gAction: 'setValueOnColCommon',
      gData: [
        {gCol: 'pin', gValue: ''}
      ]
    },
    {
      gAction: 'setValueOnColCommon',
      gData: [
        {gCol: 'barcode', gValue: ''}
      ]
    },
    {
      gAction: gSetFocus,
      gData: [
        {gCol: 'barcode'}
      ]
    }
  ],

  '$gTip$gParam': {gDefaultValue: 20, gLabel: '%', gParent: gAmount},
  'removeTableList': [gZzyi10nlist, gZzydictionary, gZzydictionaryitem],
  '$gTip$gStatus': gSelect, // or amount
  '$gTip$gIsWholePage': true,
  gCompanyid: '17',
  gTargetid: "targetfakeid", //506e0a5b-07fc-4600-a66f-16f561c5e5e5
  '$gScan$gInstantrule': "haveRight(employee)",
  '1$gAction': [
    {
      gAction: gProcessTableSave,
      gData: [
        {
          gActionid: gTableAdd,
          gTableID: gZzytransaction,
          gBody: {
            gEntryid: "targetfakeid",
            gParentid: '17',
            gTargettype: gCustomer,
            gTranstype: gGiftcard,
            gAction: gConsume,
            gTargetid: "targetfakeid",
          }
        }
      ]
    },
    {
      gAction: gRequestListRemoveSeq,
      gData: [
        {gSeq: 0}
      ]
    },
  ],

  '$gQuery$gAction': [
    {
      gAction: gProcess,
      gData: [
        {
          gLabel: gNull,
          gType: gTable,
          gActionid: gZzytransaction,
          gColorIndex: 0,
          gFutureSeq: 0,
          gWhere:
              "$gParentid='17' and $gTranstype='$gGiftcard' and $gTargettype='$gCustomer' and $gAction='$gConsume' and $gTargetid='targetfakeid'",
          //'$gRobin$gCnt': 0,
          '$gRobin$gTotal': 60,
          '$gRobin$gSecond': 1
          //'$gRobin$gWhere':{gCol:gStatus, gValue: 1, gOperator:'!='}
        }
      ]
    },
    {
      gAction: gRequestListRemoveSeq,
      gData: [
        {gSeq: 0}
      ]
    }
  ]
};