object f_control: Tf_control
  Left = 0
  Top = 0
  Width = 1280
  Height = 738
  Caption = 'Control'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  WindowState = wsMaximized
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  object RzPageControl1: TRzPageControl
    Left = 0
    Top = 41
    Width = 1272
    Height = 670
    ActivePage = tablist
    Align = alClient
    TabIndex = 0
    TabOrder = 0
    OnClick = RzPageControl1Click
    FixedDimension = 19
    object tablist: TRzTabSheet
      Color = 13750737
      Caption = 'Current Invoices'
      object RzPanel2: TRzPanel
        Left = 0
        Top = 0
        Width = 1268
        Height = 41
        Align = alTop
        TabOrder = 0
        object Label3: TLabel
          Left = 2
          Top = 2
          Width = 66
          Height = 37
          Align = alLeft
          Caption = 'Search By No'
        end
        object Label4: TLabel
          Left = 186
          Top = 5
          Width = 88
          Height = 13
          Caption = 'Search By Amount'
        end
        object Label5: TLabel
          Left = 808
          Top = 2
          Width = 71
          Height = 37
          Align = alRight
          Caption = ' Current Zed :  '
        end
        object RzMenuButton2: TRzMenuButton
          Left = 1129
          Top = 2
          Width = 137
          Height = 37
          ShowDownPattern = False
          Align = alRight
          Caption = 'Printer'
          TabOrder = 0
          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
            E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E809090909
            09090909090909E8E8E8E8E88181818181818181818181E8E8E8E85E89898989
            89898989895E5E09E8E8E8E2ACACACACACACACACACE2E281E8E85E5E5E5E5E5E
            5E5E5E5E5E5E095E09E8E2E2E2E2E2E2E2E2E2E2E2E281E281E85ED789898989
            8989898989895E0909E8E2E8ACACACACACACACACACACE28181E85ED789898989
            181289B490895E5E09E8E2E8ACACACACE281ACE281ACE2E281E85ED7D7D7D7D7
            D7D7D7D7D7D75E5E5E09E2E8E8E8E8E8E8E8E8E8E8E8E2E2E2815ED789898989
            8989898989895E5E5E09E2E8ACACACACACACACACACACE2E2E281E85E5E5E5E5E
            5E5E5E5E5E89895E5E09E8E2E2E2E2E2E2E2E2E2E2ACACE2E281E8E85ED7D7D7
            D7D7D7D7D75E89895E09E8E8E2E8E8E8E8E8E8E8E8E2ACACE281E8E8E85ED7E3
            E3E3E3E3D75E5E5E09E8E8E8E8E2E8ACACACACACE8E2E2E281E8E8E8E85ED7D7
            D7D7D7D7D7D75EE8E8E8E8E8E8E2E8E8E8E8E8E8E8E8E2E8E8E8E8E8E8E85ED7
            E3E3E3E3E3D75EE8E8E8E8E8E8E8E2E8ACACACACACE8E2E8E8E8E8E8E8E85ED7
            D7D7D7D7D7D7D75EE8E8E8E8E8E8E2E8E8E8E8E8E8E8E8E2E8E8E8E8E8E8E85E
            5E5E5E5E5E5E5E5EE8E8E8E8E8E8E8E2E2E2E2E2E2E2E2E2E8E8E8E8E8E8E8E8
            E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8}
          NumGlyphs = 2
          DropDownMenu = invmenu
        end
        object Edit1: TEdit
          Left = 79
          Top = 8
          Width = 101
          Height = 21
          TabOrder = 1
          OnChange = Edit1Change
        end
        object Edit2: TEdit
          Left = 279
          Top = 8
          Width = 115
          Height = 21
          TabOrder = 2
          OnChange = Edit2Change
        end
        object RzDBEdit1: TRzDBEdit
          Left = 879
          Top = 2
          Width = 121
          Height = 37
          DataSource = DataSource2
          DataField = 'SUM'
          Align = alRight
          Alignment = taRightJustify
          TabOrder = 3
        end
        object RzBitBtn1: TRzBitBtn
          Left = 400
          Top = 8
          Width = 231
          Height = 27
          Caption = 'Force Close All Temp. Invoice'
          Color = 15791348
          HighlightColor = 16026986
          HotTrack = True
          HotTrackColor = 3983359
          TabOrder = 4
          OnClick = RzBitBtn1Click
        end
        object RzBitBtn2: TRzBitBtn
          Left = 1000
          Top = 2
          Width = 129
          Height = 37
          Align = alRight
          Caption = 'BI'
          Color = 15791348
          HighlightColor = 16026986
          HotTrack = True
          HotTrackColor = 3983359
          TabOrder = 5
          OnClick = RzBitBtn2Click
          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
            E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E80B0B0B0B0B
            0B0B0B0B0B0B0B0B0BE8E88181818181818181818181818181E8E80BD7D7D7D7
            D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80BD7E2E2D7
            D7E2E2D7D7E2E2D70BE8E881E8E2E2E8E8E2E2E8E8E2E2E881E8E80BD7C1C1D7
            D70909D7D7E4E4D70BE8E881E88181E8E88181E8E88181E881E8E80BD7C1C1D7
            D70909D7D7E4E4D70BE8E881E88181E8E88181E8E88181E881E8E80BD7D7D7D7
            D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80BD7D7D7D7
            D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80BD7E2E2D7
            D7E2E2D7D7E2E2D70BE8E881E8E2E2E8E8E2E2E8E8E2E2E881E8E80BD75151D7
            D77373D7D71212D70BE8E881E88181E8E88181E8E88181E881E8E80BD75151D7
            D77373D7D71212D70BE8E881E88181E8E88181E8E88181E881E8E80BD7D7D7D7
            D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80B0B0B0B0B
            0B0B0B0B0B0B0B0B0BE8E88181818181818181818181818181E8E80B0B0B0B0B
            0B0B0B0B0B0B0B0B0BE8E88181818181818181818181818181E8E8890B0B0B0B
            0B0B0B0B0B0B0B0B89E8E8AC818181818181818181818181ACE8E8E8E8E8E8E8
            E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8}
          NumGlyphs = 2
        end
      end
      object DBCtrlGrid1: TDBCtrlGrid
        Left = 0
        Top = 41
        Width = 1268
        Height = 198
        Align = alTop
        ColCount = 6
        Color = 14739181
        DataSource = dcurrfac
        PanelHeight = 66
        PanelWidth = 208
        ParentColor = False
        PopupMenu = PopupMenu1
        TabOrder = 1
        RowCount = 3
        SelectedColor = 16773087
        OnPaintPanel = DBCtrlGrid1PaintPanel
        object DBText1: TDBText
          Left = 78
          Top = 4
          Width = 65
          Height = 17
          Alignment = taRightJustify
          DataField = 'AUTONO'
          DataSource = dcurrfac
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clRed
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object DBText2: TDBText
          Left = 0
          Top = 16
          Width = 161
          Height = 17
          Alignment = taCenter
          DataField = 'TOTAL'
          DataSource = dcurrfac
        end
        object Label1: TLabel
          Left = 24
          Top = 4
          Width = 17
          Height = 13
          Caption = 'No:'
        end
        object DBText3: TDBText
          Left = 57
          Top = 48
          Width = 72
          Height = 17
          Alignment = taCenter
          DataField = 'TABLENO'
          DataSource = dcurrfac
        end
        object Label2: TLabel
          Left = 8
          Top = 49
          Width = 53
          Height = 13
          Caption = 'Table No : '
        end
        object DBText6: TDBText
          Left = -1
          Top = 33
          Width = 161
          Height = 17
          Alignment = taCenter
          DataField = 'NAME'
          DataSource = dcurrfac
        end
        object DBText7: TDBText
          Left = 137
          Top = 44
          Width = 63
          Height = 17
          Alignment = taCenter
          DataField = 'USER_'
          DataSource = dcurrfac
        end
      end
      object cxGrid2: TcxGrid
        Left = 0
        Top = 239
        Width = 1268
        Height = 408
        Align = alClient
        TabOrder = 2
        object cxGridDBTableView1: TcxGridDBTableView
          NavigatorButtons.ConfirmDelete = False
          NavigatorButtons.Insert.Visible = False
          NavigatorButtons.Delete.Visible = False
          NavigatorButtons.Edit.Visible = False
          NavigatorButtons.Post.Visible = False
          NavigatorButtons.Cancel.Visible = False
          FilterBox.Visible = fvAlways
          DataController.DataModeController.GridModeBufferCount = 20
          DataController.DataModeController.SmartRefresh = True
          DataController.DataSource = DataSource1
          DataController.Filter.Active = True
          DataController.Filter.AutoDataSetFilter = True
          DataController.Filter.IgnoreOrigin = False
          DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoGroupsAlwaysExpanded]
          DataController.Summary.DefaultGroupSummaryItems = <
            item
              Kind = skSum
              FieldName = 'SDEBIT'
            end
            item
              Kind = skSum
              FieldName = 'SCREDIT'
            end>
          DataController.Summary.FooterSummaryItems = <
            item
              Format = '0.0'
              Kind = skCount
              Column = cxGridDBTableView1BARCODE
            end
            item
              Format = '0.0'
              Kind = skSum
              FieldName = 'TOTAL'
              Column = cxGridDBTableView1TOTAL
            end>
          DataController.Summary.SummaryGroups = <>
          Filtering.MRUItemsListCount = 0
          Filtering.ColumnMRUItemsListCount = 0
          Filtering.ColumnPopup.MaxDropDownItemCount = 10
          OptionsCustomize.ColumnSorting = False
          OptionsData.CancelOnExit = False
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Editing = False
          OptionsData.Inserting = False
          OptionsSelection.MultiSelect = True
          OptionsView.Navigator = True
          OptionsView.CellAutoHeight = True
          OptionsView.ColumnAutoWidth = True
          OptionsView.Footer = True
          OptionsView.GroupSummaryLayout = gslAlignWithColumns
          OptionsView.HeaderAutoHeight = True
          OptionsView.Indicator = True
          object cxGridDBTableView1BARCODE: TcxGridDBColumn
            DataBinding.FieldName = 'BARCODE'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 117
          end
          object cxGridDBTableView1DESCR: TcxGridDBColumn
            DataBinding.FieldName = 'DESCR'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 286
          end
          object cxGridDBTableView1QTY: TcxGridDBColumn
            DataBinding.FieldName = 'QTY'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 95
          end
          object cxGridDBTableView1PACK: TcxGridDBColumn
            DataBinding.FieldName = 'PACK'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 96
          end
          object cxGridDBTableView1PRICE: TcxGridDBColumn
            DataBinding.FieldName = 'PRICE'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 95
          end
          object cxGridDBTableView1DISCOUNT: TcxGridDBColumn
            DataBinding.FieldName = 'DISCOUNT'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 69
          end
          object cxGridDBTableView1VAT: TcxGridDBColumn
            DataBinding.FieldName = 'VAT'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 51
          end
          object cxGridDBTableView1SITE: TcxGridDBColumn
            DataBinding.FieldName = 'SITE'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 50
          end
          object cxGridDBTableView1TOTAL: TcxGridDBColumn
            DataBinding.FieldName = 'TOTAL'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 147
          end
          object cxGridDBTableView1Column1: TcxGridDBColumn
            Caption = 'Time'
            DataBinding.FieldName = 'FIDATE'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
          end
        end
        object cxGridLevel1: TcxGridLevel
          GridView = cxGridDBTableView1
        end
      end
    end
    object tabstate: TRzTabSheet
      Color = 13750737
      Caption = 'Closing Sales'
      object RzPanel3: TRzPanel
        Left = 0
        Top = 0
        Width = 1268
        Height = 41
        Align = alTop
        TabOrder = 0
        object Label6: TLabel
          Left = 2
          Top = 2
          Width = 66
          Height = 37
          Align = alLeft
          Caption = 'Search By No'
        end
        object RzMenuButton3: TRzMenuButton
          Left = 1129
          Top = 2
          Width = 137
          Height = 37
          ShowDownPattern = False
          Align = alRight
          Caption = 'Old Zed'
          TabOrder = 0
          OnClick = RzMenuButton3Click
          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
            E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E809090909
            09090909090909E8E8E8E8E88181818181818181818181E8E8E8E85E89898989
            89898989895E5E09E8E8E8E2ACACACACACACACACACE2E281E8E85E5E5E5E5E5E
            5E5E5E5E5E5E095E09E8E2E2E2E2E2E2E2E2E2E2E2E281E281E85ED789898989
            8989898989895E0909E8E2E8ACACACACACACACACACACE28181E85ED789898989
            181289B490895E5E09E8E2E8ACACACACE281ACE281ACE2E281E85ED7D7D7D7D7
            D7D7D7D7D7D75E5E5E09E2E8E8E8E8E8E8E8E8E8E8E8E2E2E2815ED789898989
            8989898989895E5E5E09E2E8ACACACACACACACACACACE2E2E281E85E5E5E5E5E
            5E5E5E5E5E89895E5E09E8E2E2E2E2E2E2E2E2E2E2ACACE2E281E8E85ED7D7D7
            D7D7D7D7D75E89895E09E8E8E2E8E8E8E8E8E8E8E8E2ACACE281E8E8E85ED7E3
            E3E3E3E3D75E5E5E09E8E8E8E8E2E8ACACACACACE8E2E2E281E8E8E8E85ED7D7
            D7D7D7D7D7D75EE8E8E8E8E8E8E2E8E8E8E8E8E8E8E8E2E8E8E8E8E8E8E85ED7
            E3E3E3E3E3D75EE8E8E8E8E8E8E8E2E8ACACACACACE8E2E8E8E8E8E8E8E85ED7
            D7D7D7D7D7D7D75EE8E8E8E8E8E8E2E8E8E8E8E8E8E8E8E2E8E8E8E8E8E8E85E
            5E5E5E5E5E5E5E5EE8E8E8E8E8E8E8E2E2E2E2E2E2E2E2E2E8E8E8E8E8E8E8E8
            E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8}
          NumGlyphs = 2
          ShowArrow = False
        end
        object Edit3: TEdit
          Left = 79
          Top = 8
          Width = 101
          Height = 21
          TabOrder = 1
          OnChange = Edit3Change
        end
        object DateEdit1: TDateEdit
          Left = 248
          Top = 8
          Width = 121
          Height = 21
          NumGlyphs = 2
          TabOrder = 2
          OnChange = DateEdit1Change
        end
        object RzMenuButton1: TRzMenuButton
          Left = 992
          Top = 2
          Width = 137
          Height = 37
          ShowDownPattern = False
          Align = alRight
          Caption = 'Invoice'
          TabOrder = 3
          OnClick = RzMenuButton1Click
          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
            E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E809090909
            09090909090909E8E8E8E8E88181818181818181818181E8E8E8E85E89898989
            89898989895E5E09E8E8E8E2ACACACACACACACACACE2E281E8E85E5E5E5E5E5E
            5E5E5E5E5E5E095E09E8E2E2E2E2E2E2E2E2E2E2E2E281E281E85ED789898989
            8989898989895E0909E8E2E8ACACACACACACACACACACE28181E85ED789898989
            181289B490895E5E09E8E2E8ACACACACE281ACE281ACE2E281E85ED7D7D7D7D7
            D7D7D7D7D7D75E5E5E09E2E8E8E8E8E8E8E8E8E8E8E8E2E2E2815ED789898989
            8989898989895E5E5E09E2E8ACACACACACACACACACACE2E2E281E85E5E5E5E5E
            5E5E5E5E5E89895E5E09E8E2E2E2E2E2E2E2E2E2E2ACACE2E281E8E85ED7D7D7
            D7D7D7D7D75E89895E09E8E8E2E8E8E8E8E8E8E8E8E2ACACE281E8E8E85ED7E3
            E3E3E3E3D75E5E5E09E8E8E8E8E2E8ACACACACACE8E2E2E281E8E8E8E85ED7D7
            D7D7D7D7D7D75EE8E8E8E8E8E8E2E8E8E8E8E8E8E8E8E2E8E8E8E8E8E8E85ED7
            E3E3E3E3E3D75EE8E8E8E8E8E8E8E2E8ACACACACACE8E2E8E8E8E8E8E8E85ED7
            D7D7D7D7D7D7D75EE8E8E8E8E8E8E2E8E8E8E8E8E8E8E8E2E8E8E8E8E8E8E85E
            5E5E5E5E5E5E5E5EE8E8E8E8E8E8E8E2E2E2E2E2E2E2E2E2E8E8E8E8E8E8E8E8
            E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8}
          NumGlyphs = 2
          ShowArrow = False
        end
        object RzBitBtn3: TRzBitBtn
          Left = 864
          Top = 2
          Width = 128
          Height = 37
          Align = alRight
          Caption = 'BI'
          Color = 15791348
          HighlightColor = 16026986
          HotTrack = True
          HotTrackColor = 3983359
          TabOrder = 4
          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
            E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E80B0B0B0B0B
            0B0B0B0B0B0B0B0B0BE8E88181818181818181818181818181E8E80BD7D7D7D7
            D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80BD7E2E2D7
            D7E2E2D7D7E2E2D70BE8E881E8E2E2E8E8E2E2E8E8E2E2E881E8E80BD7C1C1D7
            D70909D7D7E4E4D70BE8E881E88181E8E88181E8E88181E881E8E80BD7C1C1D7
            D70909D7D7E4E4D70BE8E881E88181E8E88181E8E88181E881E8E80BD7D7D7D7
            D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80BD7D7D7D7
            D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80BD7E2E2D7
            D7E2E2D7D7E2E2D70BE8E881E8E2E2E8E8E2E2E8E8E2E2E881E8E80BD75151D7
            D77373D7D71212D70BE8E881E88181E8E88181E8E88181E881E8E80BD75151D7
            D77373D7D71212D70BE8E881E88181E8E88181E8E88181E881E8E80BD7D7D7D7
            D7D7D7D7D7D7D7D70BE8E881E8E8E8E8E8E8E8E8E8E8E8E881E8E80B0B0B0B0B
            0B0B0B0B0B0B0B0B0BE8E88181818181818181818181818181E8E80B0B0B0B0B
            0B0B0B0B0B0B0B0B0BE8E88181818181818181818181818181E8E8890B0B0B0B
            0B0B0B0B0B0B0B0B89E8E8AC818181818181818181818181ACE8E8E8E8E8E8E8
            E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8}
          NumGlyphs = 2
        end
      end
      object DBCtrlGrid2: TDBCtrlGrid
        Left = 0
        Top = 41
        Width = 1268
        Height = 198
        Align = alTop
        ColCount = 6
        Color = 14739181
        DataSource = DQITEMS3
        PanelHeight = 66
        PanelWidth = 208
        ParentColor = False
        TabOrder = 1
        RowCount = 3
        object DBText4: TDBText
          Left = 78
          Top = 4
          Width = 65
          Height = 17
          Alignment = taRightJustify
          DataField = 'AUTONO'
          DataSource = DQITEMS3
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clRed
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object DBText5: TDBText
          Left = 0
          Top = 24
          Width = 161
          Height = 17
          Alignment = taCenter
          DataField = 'TOTAL'
          DataSource = DQITEMS3
        end
        object Label9: TLabel
          Left = 24
          Top = 4
          Width = 17
          Height = 13
          Caption = 'No:'
        end
      end
      object cxGrid1: TcxGrid
        Left = 0
        Top = 239
        Width = 1268
        Height = 408
        Align = alClient
        TabOrder = 2
        object cxGridDBTableView2: TcxGridDBTableView
          NavigatorButtons.ConfirmDelete = False
          NavigatorButtons.Insert.Visible = False
          NavigatorButtons.Delete.Visible = False
          NavigatorButtons.Edit.Visible = False
          NavigatorButtons.Post.Visible = False
          NavigatorButtons.Cancel.Visible = False
          FilterBox.Visible = fvAlways
          DataController.DataModeController.GridModeBufferCount = 20
          DataController.DataModeController.SmartRefresh = True
          DataController.DataSource = DataSource3
          DataController.Filter.Active = True
          DataController.Filter.AutoDataSetFilter = True
          DataController.Filter.IgnoreOrigin = False
          DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoGroupsAlwaysExpanded]
          DataController.Summary.DefaultGroupSummaryItems = <
            item
              Kind = skSum
              FieldName = 'SDEBIT'
            end
            item
              Kind = skSum
              FieldName = 'SCREDIT'
            end>
          DataController.Summary.FooterSummaryItems = <
            item
              Format = '0.0'
              Kind = skSum
              FieldName = 'SDEBIT'
            end
            item
              Format = '0.0'
              Kind = skSum
              FieldName = 'SCREDIT'
            end>
          DataController.Summary.SummaryGroups = <>
          Filtering.MRUItemsListCount = 0
          Filtering.ColumnMRUItemsListCount = 0
          Filtering.ColumnPopup.MaxDropDownItemCount = 10
          OptionsCustomize.ColumnSorting = False
          OptionsData.CancelOnExit = False
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Editing = False
          OptionsData.Inserting = False
          OptionsSelection.MultiSelect = True
          OptionsView.Navigator = True
          OptionsView.CellAutoHeight = True
          OptionsView.ColumnAutoWidth = True
          OptionsView.Footer = True
          OptionsView.GroupSummaryLayout = gslAlignWithColumns
          OptionsView.HeaderAutoHeight = True
          OptionsView.Indicator = True
          object cxGridDBColumn1: TcxGridDBColumn
            DataBinding.FieldName = 'BARCODE'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 117
          end
          object cxGridDBColumn2: TcxGridDBColumn
            DataBinding.FieldName = 'DESCR'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 286
          end
          object cxGridDBColumn3: TcxGridDBColumn
            DataBinding.FieldName = 'QTY'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 95
          end
          object cxGridDBColumn4: TcxGridDBColumn
            DataBinding.FieldName = 'PACK'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 96
          end
          object cxGridDBColumn5: TcxGridDBColumn
            DataBinding.FieldName = 'PRICE'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 95
          end
          object cxGridDBColumn6: TcxGridDBColumn
            DataBinding.FieldName = 'DISCOUNT'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 69
          end
          object cxGridDBColumn7: TcxGridDBColumn
            DataBinding.FieldName = 'VAT'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 51
          end
          object cxGridDBColumn8: TcxGridDBColumn
            DataBinding.FieldName = 'SITE'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 50
          end
          object cxGridDBColumn9: TcxGridDBColumn
            DataBinding.FieldName = 'TOTAL'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 147
          end
          object cxGridDBTableView2Column1: TcxGridDBColumn
            Caption = 'Time'
            DataBinding.FieldName = 'FIDATE'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
          end
        end
        object cxGridLevel2: TcxGridLevel
          GridView = cxGridDBTableView2
        end
      end
    end
    object Tabitem: TRzTabSheet
      Color = 13750737
      Caption = 'Audit'
      object cxGrid4: TcxGrid
        Left = 0
        Top = 0
        Width = 1276
        Height = 655
        Align = alClient
        TabOrder = 0
        object cxGridDBTableView4: TcxGridDBTableView
          NavigatorButtons.ConfirmDelete = False
          NavigatorButtons.Insert.Visible = False
          NavigatorButtons.Delete.Visible = False
          NavigatorButtons.Edit.Visible = False
          NavigatorButtons.Post.Visible = False
          NavigatorButtons.Cancel.Visible = False
          FilterBox.Visible = fvAlways
          DataController.DataModeController.GridModeBufferCount = 20
          DataController.DataModeController.SmartRefresh = True
          DataController.DataSource = dqaudit
          DataController.Filter.Active = True
          DataController.Filter.AutoDataSetFilter = True
          DataController.Filter.IgnoreOrigin = False
          DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoGroupsAlwaysExpanded]
          DataController.Summary.DefaultGroupSummaryItems = <
            item
              Kind = skSum
              FieldName = 'SDEBIT'
            end
            item
              Kind = skSum
              FieldName = 'SCREDIT'
            end>
          DataController.Summary.FooterSummaryItems = <
            item
              Format = '0.0'
              Kind = skSum
              FieldName = 'SDEBIT'
            end
            item
              Format = '0.0'
              Kind = skSum
              FieldName = 'SCREDIT'
            end>
          DataController.Summary.SummaryGroups = <>
          Filtering.MRUItemsListCount = 0
          Filtering.ColumnMRUItemsListCount = 0
          Filtering.ColumnPopup.MaxDropDownItemCount = 10
          OptionsCustomize.ColumnSorting = False
          OptionsData.CancelOnExit = False
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Editing = False
          OptionsData.Inserting = False
          OptionsSelection.MultiSelect = True
          OptionsView.Navigator = True
          OptionsView.CellAutoHeight = True
          OptionsView.ColumnAutoWidth = True
          OptionsView.Footer = True
          OptionsView.GroupSummaryLayout = gslAlignWithColumns
          OptionsView.HeaderAutoHeight = True
          OptionsView.Indicator = True
          object cxGridDBColumn10: TcxGridDBColumn
            Caption = 'Barcode'
            DataBinding.FieldName = 'BARCODE'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 117
          end
          object cxGridDBColumn11: TcxGridDBColumn
            Caption = 'Description'
            DataBinding.FieldName = 'DESCR'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 286
          end
          object cxGridDBColumn12: TcxGridDBColumn
            Caption = 'Qty'
            DataBinding.FieldName = 'QTY'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 95
          end
          object cxGridDBColumn13: TcxGridDBColumn
            Caption = 'Pack'
            DataBinding.FieldName = 'PACK'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 96
          end
          object cxGridDBColumn14: TcxGridDBColumn
            Caption = 'Price'
            DataBinding.FieldName = 'PRICE'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 95
          end
          object cxGridDBColumn15: TcxGridDBColumn
            Caption = 'Discount'
            DataBinding.FieldName = 'DISCOUNT'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 69
          end
          object cxGridDBColumn16: TcxGridDBColumn
            Caption = 'Vat'
            DataBinding.FieldName = 'VAT'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 51
          end
          object cxGridDBColumn17: TcxGridDBColumn
            Caption = 'Site'
            DataBinding.FieldName = 'SITE'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 50
          end
          object cxGridDBColumn18: TcxGridDBColumn
            Caption = 'Total'
            DataBinding.FieldName = 'TOTAL'
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 147
          end
          object cxGridDBTableView4Column1: TcxGridDBColumn
            Caption = 'User'
            DataBinding.FieldName = 'MID'
            PropertiesClassName = 'TcxLookupComboBoxProperties'
            Properties.KeyFieldNames = 'ID'
            Properties.ListColumns = <
              item
                FieldName = 'USER_'
              end>
            Properties.ListSource = posmodule.dsinvoice
            FooterAlignmentHorz = taCenter
            GroupSummaryAlignment = taCenter
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
          end
        end
        object cxGridLevel4: TcxGridLevel
          GridView = cxGridDBTableView4
        end
      end
    end
  end
  object RzPanel1: TRzPanel
    Left = 0
    Top = 0
    Width = 1272
    Height = 41
    Align = alTop
    TabOrder = 1
    object Rzexit: TRzBitBtn
      Left = 1140
      Top = 2
      Width = 130
      Height = 37
      Align = alRight
      Caption = 'Exit'
      Color = clWhite
      TabOrder = 0
      OnClick = RzexitClick
      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 currfac: TQuery
    AfterOpen = currfacAfterOpen
    BeforeClose = currfacBeforeClose
    DatabaseName = 'pos'
    SQL.Strings = (
      'Select * from CURRFAC '
      ''
      'order by id,autono')
    Left = 17
    Top = 181
    object currfacID: TIntegerField
      FieldName = 'ID'
      Origin = 'POS.CURRFAC.ID'
    end
    object currfacAUTONO: TIntegerField
      FieldName = 'AUTONO'
      Origin = 'POS.CURRFAC.AUTONO'
    end
    object currfacFNO: TStringField
      FieldName = 'FNO'
      Origin = 'POS.CURRFAC.FNO'
    end
    object currfacVAT: TFloatField
      FieldName = 'VAT'
      Origin = 'POS.CURRFAC.VAT'
    end
    object currfacSUBTOTAL: TFloatField
      FieldName = 'SUBTOTAL'
      Origin = 'POS.CURRFAC.SUBTOTAL'
    end
    object currfacTOTAL: TFloatField
      FieldName = 'TOTAL'
      Origin = 'POS.CURRFAC.TOTAL'
      DisplayFormat = '#,0.00;-#,0.00'
    end
    object currfacCASHIN: TFloatField
      FieldName = 'CASHIN'
      Origin = 'POS.CURRFAC.CASHIN'
    end
    object currfacCASHOUT: TFloatField
      FieldName = 'CASHOUT'
      Origin = 'POS.CURRFAC.CASHOUT'
    end
    object currfacTABLENO: TStringField
      FieldName = 'TABLENO'
      Origin = 'POS.CURRFAC.TABLENO'
    end
    object currfacIACTIVE: TStringField
      FieldName = 'IACTIVE'
      Origin = 'POS.CURRFAC.IACTIVE'
      Size = 5
    end
    object currfacNAME: TStringField
      FieldName = 'NAME'
      Origin = 'POS.CURRFAC.NAME'
      Size = 50
    end
    object currfacCOVER: TIntegerField
      FieldName = 'COVER'
      Origin = 'POS.CURRFAC.COVER'
    end
    object currfacISTATE: TIntegerField
      FieldName = 'ISTATE'
      Origin = 'POS.CURRFAC.ISTATE'
    end
    object currfacLASTTIME: TDateTimeField
      FieldName = 'LASTTIME'
      Origin = 'POS.CURRFAC.LASTTIME'
    end
    object currfacCREATETIME: TDateTimeField
      FieldName = 'CREATETIME'
      Origin = 'POS.CURRFAC.CREATETIME'
    end
    object currfacDISCOUNT: TFloatField
      FieldName = 'DISCOUNT'
      Origin = 'POS.CURRFAC.DISCOUNT'
    end
    object currfacPRN: TStringField
      FieldName = 'PRN'
      Origin = 'POS.CURRFAC.PRN'
      Size = 5
    end
    object currfacCHEF: TStringField
      FieldName = 'CHEF'
      Origin = 'POS.CURRFAC.CHEF'
      Size = 30
    end
    object currfacSID: TStringField
      FieldName = 'SID'
      Origin = 'POS.CURRFAC.SID'
    end
    object currfacCONTACT: TIntegerField
      FieldName = 'CONTACT'
      Origin = 'POS.CURRFAC.CONTACT'
    end
    object currfacZALEID: TIntegerField
      FieldName = 'ZALEID'
      Origin = 'POS.CURRFAC.ZALEID'
    end
    object currfacSDISC: TFloatField
      FieldName = 'SDISC'
      Origin = 'POS.CURRFAC.SDISC'
    end
    object currfacUSER_: TStringField
      FieldName = 'USER_'
      Origin = 'POS.CURRFAC.USER_'
      Size = 30
    end
  end
  object dcurrfac: TDataSource
    DataSet = currfac
    Left = 57
    Top = 181
  end
  object Table1: TTable
    DatabaseName = 'pos'
    IndexFieldNames = 'CURRFAC'
    MasterFields = 'ID'
    MasterSource = dcurrfac
    TableName = 'ITEMS'
    Left = 17
    Top = 221
    object Table1ID: TIntegerField
      FieldName = 'ID'
      Required = True
    end
    object Table1MID: TStringField
      FieldName = 'MID'
    end
    object Table1ITEM: TStringField
      FieldName = 'ITEM'
    end
    object Table1SITE: TStringField
      FieldName = 'SITE'
      Size = 3
    end
    object Table1STTYPE: TStringField
      FieldName = 'STTYPE'
    end
    object Table1QTY: TFloatField
      FieldName = 'QTY'
    end
    object Table1FRAC: TFloatField
      FieldName = 'FRAC'
    end
    object Table1PACK: TFloatField
      FieldName = 'PACK'
    end
    object Table1PRICE: TFloatField
      FieldName = 'PRICE'
    end
    object Table1DISCOUNT: TFloatField
      FieldName = 'DISCOUNT'
    end
    object Table1VAT: TFloatField
      FieldName = 'VAT'
    end
    object Table1COSTUS: TFloatField
      FieldName = 'COSTUS'
    end
    object Table1COSTLC: TFloatField
      FieldName = 'COSTLC'
    end
    object Table1CATREGORYID: TIntegerField
      FieldName = 'CATREGORYID'
    end
    object Table1VATAMOUNT: TFloatField
      FieldName = 'VATAMOUNT'
    end
    object Table1DEBITUS: TFloatField
      FieldName = 'DEBITUS'
    end
    object Table1CREDITUS: TFloatField
      FieldName = 'CREDITUS'
    end
    object Table1BARCODE: TStringField
      FieldName = 'BARCODE'
    end
    object Table1BONENO: TStringField
      FieldName = 'BONENO'
      Size = 10
    end
    object Table1DEBITQTY: TFloatField
      FieldName = 'DEBITQTY'
    end
    object Table1CREDITQTY: TFloatField
      FieldName = 'CREDITQTY'
    end
    object Table1YESNO: TStringField
      FieldName = 'YESNO'
      Size = 5
    end
    object Table1TOTAL: TFloatField
      FieldName = 'TOTAL'
    end
    object Table1FDATE: TDateTimeField
      FieldName = 'FDATE'
    end
    object Table1ALLQTY: TFloatField
      FieldName = 'ALLQTY'
    end
    object Table1JOB: TIntegerField
      FieldName = 'JOB'
    end
    object Table1SID: TStringField
      FieldName = 'SID'
    end
    object Table1SALESMAN: TIntegerField
      FieldName = 'SALESMAN'
    end
    object Table1CONTACT: TIntegerField
      FieldName = 'CONTACT'
    end
    object Table1TSITE: TStringField
      FieldName = 'TSITE'
      Size = 3
    end
    object Table1DEBITLC: TFloatField
      FieldName = 'DEBITLC'
    end
    object Table1CLC: TFloatField
      FieldName = 'CLC'
    end
    object Table1CREDITLC: TFloatField
      FieldName = 'CREDITLC'
    end
    object Table1STQTY: TFloatField
      FieldName = 'STQTY'
    end
    object Table1CURRFAC: TIntegerField
      FieldName = 'CURRFAC'
    end
    object Table1AUTOCURRFAC: TIntegerField
      FieldName = 'AUTOCURRFAC'
    end
    object Table1PRN: TStringField
      FieldName = 'PRN'
      Size = 5
    end
    object Table1DESCR: TStringField
      FieldName = 'DESCR'
      Size = 50
    end
    object Table1MYPRN: TStringField
      FieldName = 'MYPRN'
      Size = 10
    end
    object Table1EXTYESNO: TIntegerField
      FieldName = 'EXTYESNO'
    end
    object Table1FIDATE: TDateTimeField
      DisplayLabel = 'tIME'
      FieldName = 'FIDATE'
      DisplayFormat = 'hh:mm'
    end
  end
  object DataSource1: TDataSource
    DataSet = Table1
    Left = 57
    Top = 221
  end
  object invmenu: TAdvPopupMenu
    Version = '2.5.4.0'
    Left = 664
    Top = 104
    object MenuItem8: TMenuItem
      Caption = 'Print Current Invoice '
      OnClick = MenuItem8Click
    end
    object InvoicewithDetails1: TMenuItem
      Caption = 'Print Current Zed'
      OnClick = InvoicewithDetails1Click
    end
    object PrintA41: TMenuItem
      Caption = 'Print A4'
      OnClick = PrintA41Click
    end
    object N1: TMenuItem
      Caption = '-'
    end
    object DetailReport1: TMenuItem
      Caption = 'Detail Report'
      OnClick = DetailReport1Click
    end
    object ChefDetailReport1: TMenuItem
      Caption = 'Chef Detail Report'
      OnClick = ChefDetailReport1Click
    end
  end
  object Query1: TQuery
    DatabaseName = 'pos'
    SQL.Strings = (
      'Select Sum(total) from currfac')
    Left = 17
    Top = 253
    object Query1SUM: TFloatField
      FieldName = 'SUM'
      DisplayFormat = '#,0.00;-#,0.00'
    end
  end
  object DataSource2: TDataSource
    DataSet = Query1
    Left = 57
    Top = 253
  end
  object QITEMS3: TQuery
    AfterOpen = QITEMS3AfterOpen
    BeforeClose = QITEMS3BeforeClose
    DatabaseName = 'pos'
    SQL.Strings = (
      
        'SELECT fdate,CURRFAC,MAX(AUTOCURRFAC) AS AUTONO,SUM(TOTAL) AS TO' +
        'TAL FROM ITEMS3'
      'WHERE FDATE=:MYDATE'
      ''
      'GROUP BY fdate,CURRFAC')
    Left = 241
    Top = 213
    ParamData = <
      item
        DataType = ftDate
        Name = 'MYDATE'
        ParamType = ptUnknown
      end>
    object QITEMS3CURRFAC: TIntegerField
      FieldName = 'CURRFAC'
      Origin = 'POS.ITEMS3.CURRFAC'
    end
    object QITEMS3AUTONO: TIntegerField
      FieldName = 'AUTONO'
      Origin = 'POS.ITEMS3.AUTOCURRFAC'
    end
    object QITEMS3TOTAL: TFloatField
      FieldName = 'TOTAL'
      Origin = 'POS.ITEMS3.TOTAL'
    end
    object QITEMS3FDATE: TDateTimeField
      FieldName = 'FDATE'
    end
  end
  object DQITEMS3: TDataSource
    DataSet = QITEMS3
    Left = 273
    Top = 213
  end
  object Table2: TTable
    DatabaseName = 'pos'
    IndexFieldNames = 'FDATE;CURRFAC'
    MasterFields = 'FDATE;CURRFAC'
    MasterSource = DQITEMS3
    TableName = 'ITEMS3'
    Left = 281
    Top = 253
    object Table2ID: TIntegerField
      FieldName = 'ID'
      Required = True
    end
    object Table2MID: TStringField
      FieldName = 'MID'
    end
    object Table2ITEM: TStringField
      FieldName = 'ITEM'
    end
    object Table2SITE: TStringField
      FieldName = 'SITE'
      Size = 3
    end
    object Table2STTYPE: TStringField
      FieldName = 'STTYPE'
    end
    object Table2QTY: TFloatField
      FieldName = 'QTY'
    end
    object Table2FRAC: TFloatField
      FieldName = 'FRAC'
    end
    object Table2PACK: TFloatField
      FieldName = 'PACK'
    end
    object Table2PRICE: TFloatField
      FieldName = 'PRICE'
    end
    object Table2DISCOUNT: TFloatField
      FieldName = 'DISCOUNT'
    end
    object Table2VAT: TFloatField
      FieldName = 'VAT'
    end
    object Table2COSTUS: TFloatField
      FieldName = 'COSTUS'
    end
    object Table2COSTLC: TFloatField
      FieldName = 'COSTLC'
    end
    object Table2CATREGORYID: TIntegerField
      FieldName = 'CATREGORYID'
    end
    object Table2VATAMOUNT: TFloatField
      FieldName = 'VATAMOUNT'
    end
    object Table2DEBITUS: TFloatField
      FieldName = 'DEBITUS'
    end
    object Table2CREDITUS: TFloatField
      FieldName = 'CREDITUS'
    end
    object Table2BARCODE: TStringField
      FieldName = 'BARCODE'
    end
    object Table2BONENO: TStringField
      FieldName = 'BONENO'
      Size = 10
    end
    object Table2DEBITQTY: TFloatField
      FieldName = 'DEBITQTY'
    end
    object Table2CREDITQTY: TFloatField
      FieldName = 'CREDITQTY'
    end
    object Table2YESNO: TStringField
      FieldName = 'YESNO'
      Size = 5
    end
    object Table2TOTAL: TFloatField
      FieldName = 'TOTAL'
    end
    object Table2FDATE: TDateTimeField
      FieldName = 'FDATE'
    end
    object Table2ALLQTY: TFloatField
      FieldName = 'ALLQTY'
    end
    object Table2JOB: TIntegerField
      FieldName = 'JOB'
    end
    object Table2SID: TStringField
      FieldName = 'SID'
    end
    object Table2SALESMAN: TIntegerField
      FieldName = 'SALESMAN'
    end
    object Table2CONTACT: TIntegerField
      FieldName = 'CONTACT'
    end
    object Table2TSITE: TStringField
      FieldName = 'TSITE'
      Size = 3
    end
    object Table2DEBITLC: TFloatField
      FieldName = 'DEBITLC'
    end
    object Table2CLC: TFloatField
      FieldName = 'CLC'
    end
    object Table2CREDITLC: TFloatField
      FieldName = 'CREDITLC'
    end
    object Table2STQTY: TFloatField
      FieldName = 'STQTY'
    end
    object Table2CURRFAC: TIntegerField
      FieldName = 'CURRFAC'
    end
    object Table2AUTOCURRFAC: TIntegerField
      FieldName = 'AUTOCURRFAC'
    end
    object Table2PRN: TStringField
      FieldName = 'PRN'
      Size = 5
    end
    object Table2DESCR: TStringField
      FieldName = 'DESCR'
      Size = 50
    end
    object Table2MYPRN: TStringField
      FieldName = 'MYPRN'
      Size = 10
    end
    object Table2EXTYESNO: TIntegerField
      FieldName = 'EXTYESNO'
    end
    object Table2FIDATE: TDateTimeField
      FieldName = 'FIDATE'
      DisplayFormat = 'hh:mm'
    end
  end
  object DataSource3: TDataSource
    DataSet = Table2
    Left = 329
    Top = 261
  end
  object qaudit: TQuery
    DatabaseName = 'pos'
    SQL.Strings = (
      'Select * from items where qty<0 or discount<>0'
      ''
      'order by item,qty,discount')
    Left = 617
    Top = 349
  end
  object dqaudit: TDataSource
    DataSet = qaudit
    Left = 697
    Top = 349
  end
  object PopupMenu1: TPopupMenu
    Left = 433
    Top = 197
    object CloseInvoice1: TMenuItem
      Caption = 'Close Invoice'
      OnClick = CloseInvoice1Click
    end
    object OpenInvoice01: TMenuItem
      Caption = 'Open Invoice =0'
      OnClick = OpenInvoice01Click
    end
  end
  object exehash: TExecFile
    Associate = False
    CommandLine = 'hash.exe'
    Wait = True
    Left = 896
    Top = 432
  end
end
