inherited frViewPedidoCliente: TfrViewPedidoCliente
  Width = 740
  Height = 479
  OnCreate = CustomViewCreate
  OnDestroy = CustomViewDestroy
  ExplicitWidth = 740
  ExplicitHeight = 479
  object dxLayoutControl1: TdxLayoutControl
    Left = 0
    Top = 0
    Width = 740
    Height = 479
    Align = alClient
    ParentBackground = True
    TabOrder = 0
    AutoContentSizes = [acsWidth, acsHeight]
    DesignSize = (
      740
      479)
    object edtFechaPedido: TcxDBDateEdit
      Left = 116
      Top = 82
      Anchors = [akLeft, akTop, akRight]
      DataBinding.DataField = 'FECHA_PEDIDO'
      DataBinding.DataSource = DADataSource
      Properties.DateButtons = [btnToday]
      Properties.ImmediatePost = True
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.Color = clInfoBk
      Style.HotTrack = False
      Style.LookAndFeel.NativeStyle = True
      Style.Shadow = False
      Style.ButtonStyle = bts3D
      Style.ButtonTransparency = ebtNone
      Style.PopupBorderStyle = epbsFrame3D
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 2
      Width = 119
    end
    object memObservaciones: TcxDBMemo
      Left = 22
      Top = 389
      Anchors = [akLeft, akTop, akRight, akBottom]
      DataBinding.DataField = 'OBSERVACIONES'
      DataBinding.DataSource = DADataSource
      Properties.ScrollBars = ssVertical
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.HotTrack = False
      Style.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 14
      Height = 253
      Width = 186
    end
    object eReferencia: TcxDBTextEdit
      Left = 116
      Top = 28
      Anchors = [akLeft, akTop, akRight]
      DataBinding.DataField = 'REFERENCIA'
      DataBinding.DataSource = DADataSource
      Enabled = False
      Properties.ReadOnly = False
      Properties.ValidateOnEnter = True
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.Color = clInfoBk
      Style.HotTrack = False
      Style.LookAndFeel.Kind = lfStandard
      Style.LookAndFeel.NativeStyle = True
      StyleDisabled.Color = clMenuBar
      StyleDisabled.LookAndFeel.Kind = lfStandard
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleDisabled.TextColor = clWindowText
      StyleFocused.LookAndFeel.Kind = lfStandard
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.Kind = lfStandard
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 0
      Width = 143
    end
    inline frViewClientePedido: TfrViewDatosYSeleccionCliente
      Left = 388
      Top = 28
      Width = 350
      Height = 212
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      TabOrder = 13
      ReadOnly = False
      ExplicitLeft = 388
      ExplicitTop = 28
      inherited dxLayoutControl1: TdxLayoutControl
        inherited edtlNombre: TcxDBTextEdit
          ExplicitWidth = 224
          Width = 224
        end
        inherited edtNIFCIF: TcxDBTextEdit
          ExplicitWidth = 562
          Width = 562
        end
        inherited edtCalle: TcxDBTextEdit
          ExplicitWidth = 562
          Width = 562
        end
        inherited edtPoblacion: TcxDBTextEdit
          ExplicitWidth = 177
          Width = 177
        end
        inherited edtProvincia: TcxDBTextEdit
          ExplicitWidth = 327
          Width = 327
        end
        inherited edtCodigoPostal: TcxDBTextEdit
          Left = 238
          ExplicitLeft = 238
        end
        inherited Button1: TBitBtn
          OnClick = frViewClientePedidoButton1Click
        end
        inherited Button2: TBitBtn
          OnClick = frViewClientePedidoButton2Click
        end
        inherited Button3: TBitBtn
          Left = 128
          ExplicitLeft = 128
        end
      end
      inherited DADataSource: TDADataSource
        Top = 72
      end
      inherited ActionList1: TActionList
        Top = 72
      end
      inherited PngImageList: TPngImageList
        Top = 72
      end
    end
    object eCalle: TcxDBTextEdit
      Left = 116
      Top = 193
      DataBinding.DataField = 'CALLE'
      DataBinding.DataSource = DADataSource
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.HotTrack = False
      Style.LookAndFeel.Kind = lfStandard
      Style.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.Kind = lfStandard
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.Kind = lfStandard
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.Kind = lfStandard
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 6
      Width = 263
    end
    object ePoblacion: TcxDBTextEdit
      Left = 116
      Top = 220
      DataBinding.DataField = 'POBLACION'
      DataBinding.DataSource = DADataSource
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.HotTrack = False
      Style.LookAndFeel.Kind = lfStandard
      Style.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.Kind = lfStandard
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.Kind = lfStandard
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.Kind = lfStandard
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 7
      Width = 162
    end
    object eCodigoPostal: TcxDBTextEdit
      Left = 293
      Top = 220
      DataBinding.DataField = 'CODIGO_POSTAL'
      DataBinding.DataSource = DADataSource
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.HotTrack = False
      Style.LookAndFeel.Kind = lfStandard
      Style.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.Kind = lfStandard
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.Kind = lfStandard
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.Kind = lfStandard
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 8
      Width = 65
    end
    object eProvincia: TcxDBTextEdit
      Left = 116
      Top = 247
      DataBinding.DataField = 'PROVINCIA'
      DataBinding.DataSource = DADataSource
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.HotTrack = False
      Style.LookAndFeel.Kind = lfStandard
      Style.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.Kind = lfStandard
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.Kind = lfStandard
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.Kind = lfStandard
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 9
      Width = 263
    end
    object ePersonaContacto: TcxDBTextEdit
      Left = 116
      Top = 274
      DataBinding.DataField = 'PERSONA_CONTACTO'
      DataBinding.DataSource = DADataSource
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.Color = clWindow
      Style.HotTrack = False
      Style.LookAndFeel.Kind = lfStandard
      Style.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.Kind = lfStandard
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.Kind = lfStandard
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.Kind = lfStandard
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 10
      Width = 84
    end
    object eTlfTrabajo: TcxDBTextEdit
      Left = 116
      Top = 301
      DataBinding.DataField = 'TELEFONO'
      DataBinding.DataSource = DADataSource
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.HotTrack = False
      Style.LookAndFeel.Kind = lfStandard
      Style.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.Kind = lfStandard
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.Kind = lfStandard
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.Kind = lfStandard
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 11
      Width = 122
    end
    object bElegirDireccion: TBitBtn
      Left = 186
      Top = 328
      Width = 172
      Height = 25
      Action = actElegirDireccion
      Caption = 'Elegir una direcci'#243'n de env'#237'o...'
      TabOrder = 12
    end
    object cbFormaPago: TcxDBLookupComboBox
      Left = 116
      Top = 136
      DataBinding.DataField = 'ID_FORMA_PAGO'
      DataBinding.DataSource = DADataSource
      Properties.KeyFieldNames = 'ID'
      Properties.ListColumns = <
        item
          FieldName = 'REFERENCIA'
        end>
      Properties.ListOptions.GridLines = glNone
      Properties.ListOptions.ShowHeader = False
      Properties.ListSource = dsFormaPago
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.HotTrack = False
      Style.LookAndFeel.Kind = lfStandard
      Style.LookAndFeel.NativeStyle = True
      Style.ButtonStyle = bts3D
      Style.PopupBorderStyle = epbsFrame3D
      StyleDisabled.LookAndFeel.Kind = lfStandard
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.Kind = lfStandard
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.Kind = lfStandard
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 4
      Width = 101
    end
    object bFormasPago: TButton
      Left = 226
      Top = 136
      Width = 132
      Height = 21
      Caption = 'Ver las formas de pago...'
      TabOrder = 5
      OnClick = bFormasPagoClick
    end
    object edtFechaPrevistaEnvio: TcxDBDateEdit
      Left = 116
      Top = 109
      Anchors = [akLeft, akTop, akRight]
      DataBinding.DataField = 'FECHA_PREVISTA_ENVIO'
      DataBinding.DataSource = DADataSource
      Properties.ImmediatePost = True
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.Color = clWindow
      Style.HotTrack = False
      Style.LookAndFeel.NativeStyle = True
      Style.Shadow = False
      Style.ButtonStyle = bts3D
      Style.ButtonTransparency = ebtNone
      Style.PopupBorderStyle = epbsFrame3D
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 3
      Width = 216
    end
    object eRefCliente: TcxDBTextEdit
      Left = 116
      Top = 55
      Anchors = [akLeft, akTop, akRight]
      DataBinding.DataField = 'REFERENCIA_CLIENTE'
      DataBinding.DataSource = DADataSource
      Properties.ReadOnly = False
      Properties.ValidateOnEnter = True
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.Color = clInfoBk
      Style.HotTrack = False
      Style.LookAndFeel.Kind = lfStandard
      Style.LookAndFeel.NativeStyle = True
      StyleDisabled.Color = clMenuBar
      StyleDisabled.LookAndFeel.Kind = lfStandard
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleDisabled.TextColor = clWindowText
      StyleFocused.LookAndFeel.Kind = lfStandard
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.Kind = lfStandard
      StyleHot.LookAndFeel.NativeStyle = True
      TabOrder = 1
      Width = 216
    end
    object dxLayoutControl1Group_Root: TdxLayoutGroup
      ShowCaption = False
      Hidden = True
      ShowBorder = False
      object dxLayoutControl1Group10: TdxLayoutGroup
        ShowCaption = False
        Hidden = True
        LayoutDirection = ldHorizontal
        ShowBorder = False
        object dxLayoutControl1Group6: TdxLayoutGroup
          AutoAligns = [aaVertical]
          AlignHorz = ahClient
          ShowCaption = False
          Hidden = True
          ShowBorder = False
          object dxLayoutControl1Group1: TdxLayoutGroup
            AutoAligns = []
            AlignHorz = ahClient
            Caption = 'Datos del pedido'
            object dxLayoutControl1Item3: TdxLayoutItem
              Caption = 'Referencia:'
              Control = eReferencia
              ControlOptions.ShowBorder = False
            end
            object dxLayoutControl1Item15: TdxLayoutItem
              Caption = 'Ref. cliente:'
              Control = eRefCliente
              ControlOptions.ShowBorder = False
            end
            object dxLayoutControl1Item2: TdxLayoutItem
              Caption = 'Fecha del pedido:'
              Control = edtFechaPedido
              ControlOptions.ShowBorder = False
            end
            object dxLayoutControl1Item7: TdxLayoutItem
              Caption = 'Entrega prevista:'
              Control = edtFechaPrevistaEnvio
              ControlOptions.ShowBorder = False
            end
            object dxLayoutControl1Group5: TdxLayoutGroup
              ShowCaption = False
              Visible = False
              Hidden = True
              LayoutDirection = ldHorizontal
              ShowBorder = False
              object dxLayoutControl1Item4: TdxLayoutItem
                AutoAligns = [aaVertical]
                AlignHorz = ahClient
                Caption = 'Forma de pago'
                Control = cbFormaPago
                ControlOptions.ShowBorder = False
              end
              object dxLayoutControl1Item5: TdxLayoutItem
                AutoAligns = [aaVertical]
                AlignHorz = ahRight
                ShowCaption = False
                Control = bFormasPago
                ControlOptions.ShowBorder = False
              end
            end
          end
          object dxLayoutControl1Group8: TdxLayoutGroup
            AutoAligns = []
            AlignHorz = ahClient
            Caption = 'Direcci'#243'n de entrega'
            object dxLayoutControl1Item8: TdxLayoutItem
              Caption = 'Calle:'
              Control = eCalle
              ControlOptions.ShowBorder = False
            end
            object dxLayoutControl1Group4: TdxLayoutGroup
              ShowCaption = False
              Hidden = True
              ShowBorder = False
              object dxLayoutControl1Group9: TdxLayoutGroup
                ShowCaption = False
                Hidden = True
                LayoutDirection = ldHorizontal
                ShowBorder = False
                object dxLayoutControl1Item9: TdxLayoutItem
                  AutoAligns = [aaVertical]
                  AlignHorz = ahClient
                  Caption = 'Poblaci'#243'n:'
                  Control = ePoblacion
                  ControlOptions.ShowBorder = False
                end
                object dxLayoutControl1Item10: TdxLayoutItem
                  AutoAligns = [aaVertical]
                  AlignHorz = ahRight
                  Caption = 'C.P.:'
                  Control = eCodigoPostal
                  ControlOptions.ShowBorder = False
                end
              end
              object dxLayoutControl1Item11: TdxLayoutItem
                Caption = 'Provincia:'
                Control = eProvincia
                ControlOptions.ShowBorder = False
              end
              object dxLayoutControl1Item12: TdxLayoutItem
                Caption = 'Pers. de contacto:'
                Control = ePersonaContacto
                ControlOptions.ShowBorder = False
              end
              object dxLayoutControl1Item13: TdxLayoutItem
                Caption = 'Tel'#233'fono:'
                Control = eTlfTrabajo
                ControlOptions.ShowBorder = False
              end
              object dxLayoutControl1Item14: TdxLayoutItem
                AutoAligns = [aaVertical]
                AlignHorz = ahRight
                ShowCaption = False
                Control = bElegirDireccion
                ControlOptions.ShowBorder = False
              end
            end
          end
        end
        object dxLayoutControl1Group2: TdxLayoutGroup
          AutoAligns = [aaVertical]
          AlignHorz = ahClient
          Caption = 'Datos del cliente'
          object dxLayoutControl1Item1: TdxLayoutItem
            Control = frViewClientePedido
            ControlOptions.AutoColor = True
            ControlOptions.ShowBorder = False
          end
        end
      end
      object dxLayoutControl1Group7: TdxLayoutGroup
        AutoAligns = [aaHorizontal]
        AlignVert = avClient
        Caption = 'Observaciones'
        object dxLayoutControl1Item6: TdxLayoutItem
          AutoAligns = [aaHorizontal]
          AlignVert = avClient
          Control = memObservaciones
          ControlOptions.ShowBorder = False
        end
      end
    end
  end
  object DADataSource: TDADataSource
    Left = 8
    Top = 8
  end
  object ActionList1: TActionList
    Left = 8
    Top = 40
    object actElegirDireccion: TAction
      Caption = 'Elegir una direcci'#243'n de env'#237'o...'
      OnExecute = actElegirDireccionExecute
      OnUpdate = actElegirDireccionUpdate
    end
  end
  object dsFormaPago: TDADataSource
    Left = 40
    Top = 8
  end
end
