object f_mob: Tf_mob
  Left = -4
  Top = -4
  Width = 1032
  Height = 746
  Caption = 'Mobile Autu Order'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  WindowState = wsMaximized
  OnCloseQuery = FormCloseQuery
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object RzPanel1: TRzPanel
    Left = 0
    Top = 656
    Width = 1024
    Height = 63
    Align = alBottom
    TabOrder = 0
    object RzBitBtn3: TRzBitBtn
      Left = 787
      Top = 2
      Width = 235
      Height = 59
      Align = alRight
      Caption = 'Exit'
      Color = 15791348
      HighlightColor = 16026986
      HotTrack = True
      HotTrackColor = 3983359
      TabOrder = 0
      OnClick = RzBitBtn3Click
      Glyph.Data = {
        36060000424D3606000000000000360400002800000020000000100000000100
        0800000000000002000000000000000000000001000000000000000000003300
        00006600000099000000CC000000FF0000000033000033330000663300009933
        0000CC330000FF33000000660000336600006666000099660000CC660000FF66
        000000990000339900006699000099990000CC990000FF99000000CC000033CC
        000066CC000099CC0000CCCC0000FFCC000000FF000033FF000066FF000099FF
        0000CCFF0000FFFF000000003300330033006600330099003300CC003300FF00
        330000333300333333006633330099333300CC333300FF333300006633003366
        33006666330099663300CC663300FF6633000099330033993300669933009999
        3300CC993300FF99330000CC330033CC330066CC330099CC3300CCCC3300FFCC
        330000FF330033FF330066FF330099FF3300CCFF3300FFFF3300000066003300
        66006600660099006600CC006600FF0066000033660033336600663366009933
        6600CC336600FF33660000666600336666006666660099666600CC666600FF66
        660000996600339966006699660099996600CC996600FF99660000CC660033CC
        660066CC660099CC6600CCCC6600FFCC660000FF660033FF660066FF660099FF
        6600CCFF6600FFFF660000009900330099006600990099009900CC009900FF00
        990000339900333399006633990099339900CC339900FF339900006699003366
        99006666990099669900CC669900FF6699000099990033999900669999009999
        9900CC999900FF99990000CC990033CC990066CC990099CC9900CCCC9900FFCC
        990000FF990033FF990066FF990099FF9900CCFF9900FFFF99000000CC003300
        CC006600CC009900CC00CC00CC00FF00CC000033CC003333CC006633CC009933
        CC00CC33CC00FF33CC000066CC003366CC006666CC009966CC00CC66CC00FF66
        CC000099CC003399CC006699CC009999CC00CC99CC00FF99CC0000CCCC0033CC
        CC0066CCCC0099CCCC00CCCCCC00FFCCCC0000FFCC0033FFCC0066FFCC0099FF
        CC00CCFFCC00FFFFCC000000FF003300FF006600FF009900FF00CC00FF00FF00
        FF000033FF003333FF006633FF009933FF00CC33FF00FF33FF000066FF003366
        FF006666FF009966FF00CC66FF00FF66FF000099FF003399FF006699FF009999
        FF00CC99FF00FF99FF0000CCFF0033CCFF0066CCFF0099CCFF00CCCCFF00FFCC
        FF0000FFFF0033FFFF0066FFFF0099FFFF00CCFFFF00FFFFFF00000080000080
        000000808000800000008000800080800000C0C0C00080808000191919004C4C
        4C00B2B2B200E5E5E500C8AC2800E0CC6600F2EABF00B59B2400D8E9EC009933
        6600D075A300ECC6D900646F710099A8AC00E2EFF10000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000E8E8E8E8E8E8
        EEE8E8E8E8E8E8E8E8E8E8E8E8E8E8E8EEE8E8E8E8E8E8E8E8E8E8E8E8EEE3AC
        E3EEE8E8E8E8E8E8E8E8E8E8E8EEE8ACE3EEE8E8E8E8E8E8E8E8E8EEE3E28257
        57E2ACE3EEE8E8E8E8E8E8EEE8E2818181E2ACE8EEE8E8E8E8E8E382578282D7
        578181E2E3E8E8E8E8E8E881818181D7818181E2E8E8E8E8E8E857828989ADD7
        57797979EEE8E8E8E8E88181DEDEACD781818181EEE8E8E8E8E857898989ADD7
        57AAAAA2D7ADE8E8E8E881DEDEDEACD781DEDE81D7ACE8E8E8E857898989ADD7
        57AACEA3AD10E8E8E8E881DEDEDEACD781DEAC81AC81E8E8E8E85789825EADD7
        57ABCFE21110E8E8E8E881DE8181ACD781ACACE28181E8E8E8E8578957D7ADD7
        57ABDE101010101010E881DE56D7ACD781ACDE818181818181E857898257ADD7
        57E810101010101010E881DE8156ACD781E381818181818181E857898989ADD7
        57E882101010101010E881DEDEDEACD781E381818181818181E857898989ADD7
        57ACEE821110E8E8E8E881DEDEDEACD781ACEE818181E8E8E8E857898989ADD7
        57ABE8AB8910E8E8E8E881DEDEDEACD781ACE3ACDE81E8E8E8E857828989ADD7
        57ACE8A3E889E8E8E8E88181DEDEACD781ACE381E8DEE8E8E8E8E8DE5E8288D7
        57A2A2A2E8E8E8E8E8E8E8DE8181DED781818181E8E8E8E8E8E8E8E8E8AC8257
        57E8E8E8E8E8E8E8E8E8E8E8E8AC818181E8E8E8E8E8E8E8E8E8}
      NumGlyphs = 2
    end
  end
  object RzPanel2: TRzPanel
    Left = 0
    Top = 0
    Width = 1024
    Height = 41
    Align = alTop
    TabOrder = 1
    object Label1: TLabel
      Left = 2
      Top = 13
      Width = 1020
      Height = 26
      Align = alBottom
      Alignment = taCenter
      AutoSize = False
      Caption = 'Auto Mobile Order'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clRed
      Font.Height = -16
      Font.Name = 'MS Sans Serif'
      Font.Style = [fsBold]
      ParentFont = False
      OnClick = Label1Click
    end
  end
  object cxGrid3: TcxGrid
    Left = 0
    Top = 41
    Width = 1024
    Height = 615
    Align = alClient
    TabOrder = 2
    object cxGridDBCardView2: TcxGridDBCardView
      NavigatorButtons.ConfirmDelete = False
      FilterBox.CustomizeDialog = False
      DataController.DataSource = DMOB
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      LayoutDirection = ldVertical
      OptionsData.CancelOnExit = False
      OptionsData.Deleting = False
      OptionsData.DeletingConfirmation = False
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsSelection.CellSelect = False
      OptionsView.CaptionSeparator = #0
      OptionsView.CardAutoWidth = True
      OptionsView.CardBorderWidth = 2
      OptionsView.CardIndent = 3
      OptionsView.CardWidth = 100
      OptionsView.CategorySeparatorWidth = 10
      OptionsView.CellAutoHeight = True
      OptionsView.RowCaptionAutoHeight = True
      Styles.Content = cxStyle7
      Styles.OnGetContentStyle = cxGridDBCardView2StylesGetContentStyle
      object cxGridDBCardViewRow1: TcxGridDBCardViewRow
        Caption = 'PRN'
        DataBinding.FieldName = 'DOPRN'
        Visible = False
        Options.Editing = False
        Options.Filtering = False
        Options.Expanding = False
        Position.BeginsLayer = True
      end
      object cxGridDBCardViewRow2: TcxGridDBCardViewRow
        DataBinding.FieldName = 'IACTIVE'
        Visible = False
        Position.BeginsLayer = False
      end
      object cxGridDBCardViewRow3: TcxGridDBCardViewRow
        Caption = 'Table:'
        DataBinding.FieldName = 'TABLENO'
        Options.Editing = False
        Options.Filtering = False
        Options.Expanding = False
        Position.BeginsLayer = False
      end
      object cxGridDBCardViewRow4: TcxGridDBCardViewRow
        Caption = 'Net:'
        DataBinding.FieldName = 'TOTAL'
        Options.Editing = False
        Options.Filtering = False
        Options.Expanding = False
        Position.BeginsLayer = True
      end
      object cxGridDBCardViewRow5: TcxGridDBCardViewRow
        DataBinding.FieldName = 'mytime'
        Options.Editing = False
        Options.Filtering = False
        Options.Expanding = False
        Position.BeginsLayer = True
        IsCaptionAssigned = True
      end
      object cxGridDBCardViewRow6: TcxGridDBCardViewRow
        DataBinding.FieldName = 'CREATETIME'
        Options.Editing = False
        Options.Filtering = False
        Options.Expanding = False
        Position.BeginsLayer = True
        IsCaptionAssigned = True
      end
      object cxGridDBCardViewRow8: TcxGridDBCardViewRow
        Caption = 'Chef : '
        DataBinding.FieldName = 'CHEF'
        Position.BeginsLayer = True
      end
    end
    object cxGridLevel2: TcxGridLevel
      GridView = cxGridDBCardView2
    end
  end
  object DMOB: TDataSource
    DataSet = Query2
    Left = 354
    Top = 347
  end
  object Query2: TQuery
    DatabaseName = 'pos'
    SQL.Strings = (
      'select * from currfac'
      'where (iactive='#39'MOB'#39' )  '
      'order by tableno')
    Left = 272
    Top = 328
    object Query2ID: TIntegerField
      FieldName = 'ID'
      Origin = 'POS.CURRFAC.ID'
    end
    object Query2AUTONO: TIntegerField
      FieldName = 'AUTONO'
      Origin = 'POS.CURRFAC.AUTONO'
    end
    object Query2FNO: TStringField
      FieldName = 'FNO'
      Origin = 'POS.CURRFAC.FNO'
    end
    object Query2VAT: TFloatField
      FieldName = 'VAT'
      Origin = 'POS.CURRFAC.VAT'
    end
    object Query2SUBTOTAL: TFloatField
      FieldName = 'SUBTOTAL'
      Origin = 'POS.CURRFAC.SUBTOTAL'
    end
    object Query2TOTAL: TFloatField
      FieldName = 'TOTAL'
      Origin = 'POS.CURRFAC.TOTAL'
    end
    object Query2CASHIN: TFloatField
      FieldName = 'CASHIN'
      Origin = 'POS.CURRFAC.CASHIN'
    end
    object Query2CASHOUT: TFloatField
      FieldName = 'CASHOUT'
      Origin = 'POS.CURRFAC.CASHOUT'
    end
    object Query2TABLENO: TStringField
      FieldName = 'TABLENO'
      Origin = 'POS.CURRFAC.TABLENO'
    end
    object Query2IACTIVE: TStringField
      FieldName = 'IACTIVE'
      Origin = 'POS.CURRFAC.IACTIVE'
      Size = 5
    end
    object Query2NAME: TStringField
      FieldName = 'NAME'
      Origin = 'POS.CURRFAC.NAME'
      Size = 50
    end
    object Query2COVER: TIntegerField
      FieldName = 'COVER'
      Origin = 'POS.CURRFAC.COVER'
    end
    object Query2ISTATE: TIntegerField
      FieldName = 'ISTATE'
      Origin = 'POS.CURRFAC.ISTATE'
    end
    object Query2LASTTIME: TDateTimeField
      FieldName = 'LASTTIME'
      Origin = 'POS.CURRFAC.LASTTIME'
    end
    object Query2CREATETIME: TDateTimeField
      FieldName = 'CREATETIME'
      Origin = 'POS.CURRFAC.CREATETIME'
    end
    object Query2DISCOUNT: TFloatField
      FieldName = 'DISCOUNT'
      Origin = 'POS.CURRFAC.DISCOUNT'
    end
    object Query2PRN: TStringField
      FieldName = 'PRN'
      Origin = 'POS.CURRFAC.PRN'
      Size = 5
    end
    object Query2CHEF: TStringField
      FieldName = 'CHEF'
      Origin = 'POS.CURRFAC.CHEF'
      Size = 30
    end
    object Query2SID: TStringField
      FieldName = 'SID'
      Origin = 'POS.CURRFAC.SID'
    end
    object Query2CONTACT: TIntegerField
      FieldName = 'CONTACT'
      Origin = 'POS.CURRFAC.CONTACT'
    end
    object Query2ZALEID: TIntegerField
      FieldName = 'ZALEID'
      Origin = 'POS.CURRFAC.ZALEID'
    end
    object Query2SDISC: TFloatField
      FieldName = 'SDISC'
      Origin = 'POS.CURRFAC.SDISC'
    end
    object Query2PAID: TStringField
      FieldName = 'PAID'
      Origin = 'POS.CURRFAC.PAID'
      Size = 5
    end
    object Query2DOPRN: TStringField
      FieldName = 'DOPRN'
      Origin = 'POS.CURRFAC.DOPRN'
      Size = 5
    end
  end
  object BUThreadTimer1: TBUThreadTimer
    Delay = 20000
    OnTimer = BUThreadTimer1Timer
    Left = 781
    Top = 139
  end
  object Query1: TQuery
    DatabaseName = 'pos'
    SQL.Strings = (
      'select * from currfac'
      
        'where tableno=:mytable and (iactive='#39'True'#39'  or iactive='#39'BOOK'#39'  o' +
        'r iactive='#39'MOB'#39'  )'
      '')
    Left = 200
    Top = 168
    ParamData = <
      item
        DataType = ftString
        Name = 'mytable'
        ParamType = ptUnknown
      end>
    object Query1ID: TIntegerField
      FieldName = 'ID'
      Origin = 'POS.CURRFAC.ID'
    end
    object Query1AUTONO: TIntegerField
      FieldName = 'AUTONO'
      Origin = 'POS.CURRFAC.AUTONO'
    end
    object Query1FNO: TStringField
      FieldName = 'FNO'
      Origin = 'POS.CURRFAC.FNO'
    end
    object Query1VAT: TFloatField
      FieldName = 'VAT'
      Origin = 'POS.CURRFAC.VAT'
    end
    object Query1SUBTOTAL: TFloatField
      FieldName = 'SUBTOTAL'
      Origin = 'POS.CURRFAC.SUBTOTAL'
    end
    object Query1TOTAL: TFloatField
      FieldName = 'TOTAL'
      Origin = 'POS.CURRFAC.TOTAL'
    end
    object Query1CASHIN: TFloatField
      FieldName = 'CASHIN'
      Origin = 'POS.CURRFAC.CASHIN'
    end
    object Query1CASHOUT: TFloatField
      FieldName = 'CASHOUT'
      Origin = 'POS.CURRFAC.CASHOUT'
    end
    object Query1TABLENO: TStringField
      FieldName = 'TABLENO'
      Origin = 'POS.CURRFAC.TABLENO'
    end
    object Query1IACTIVE: TStringField
      FieldName = 'IACTIVE'
      Origin = 'POS.CURRFAC.IACTIVE'
      Size = 5
    end
    object Query1NAME: TStringField
      FieldName = 'NAME'
      Origin = 'POS.CURRFAC.NAME'
      Size = 50
    end
    object Query1COVER: TIntegerField
      FieldName = 'COVER'
      Origin = 'POS.CURRFAC.COVER'
    end
    object Query1ISTATE: TIntegerField
      FieldName = 'ISTATE'
      Origin = 'POS.CURRFAC.ISTATE'
    end
    object Query1LASTTIME: TDateTimeField
      FieldName = 'LASTTIME'
      Origin = 'POS.CURRFAC.LASTTIME'
    end
    object Query1CREATETIME: TDateTimeField
      FieldName = 'CREATETIME'
      Origin = 'POS.CURRFAC.CREATETIME'
    end
    object Query1DISCOUNT: TFloatField
      FieldName = 'DISCOUNT'
      Origin = 'POS.CURRFAC.DISCOUNT'
    end
    object Query1PRN: TStringField
      FieldName = 'PRN'
      Origin = 'POS.CURRFAC.PRN'
      Size = 5
    end
    object Query1CHEF: TStringField
      FieldName = 'CHEF'
      Origin = 'POS.CURRFAC.CHEF'
      Size = 30
    end
    object Query1ZALEID: TIntegerField
      FieldName = 'ZALEID'
      Origin = 'POS.CURRFAC.ZALEID'
    end
    object Query1DOPRN: TStringField
      FieldName = 'DOPRN'
      Origin = 'POS.CURRFAC.DOPRN'
      Size = 5
    end
  end
  object cxStyleRepository1: TcxStyleRepository
    Left = 64
    Top = 72
    object cxStyle1: TcxStyle
      AssignedValues = [svColor, svFont]
      Color = 16766899
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = [fsBold]
    end
    object cxStyle2: TcxStyle
      AssignedValues = [svColor]
      Color = 16770764
    end
    object cxStyle3: TcxStyle
      AssignedValues = [svColor]
      Color = 16774120
    end
    object cxStyle4: TcxStyle
      AssignedValues = [svColor]
      Color = 16777185
    end
    object cxStyle5: TcxStyle
      AssignedValues = [svColor]
      Color = 10790143
    end
    object cxStyle6: TcxStyle
      AssignedValues = [svColor]
      Color = 14286847
    end
    object cxStyle7: TcxStyle
      AssignedValues = [svColor, svTextColor]
      Color = 13828036
      TextColor = clBlack
    end
  end
end
