inherited frViewPedidoProveedor: TfrViewPedidoProveedor
  Width = 965
  Height = 560
  OnCreate = CustomViewCreate
  OnDestroy = CustomViewDestroy
  OnShow = CustomViewShow
  ExplicitWidth = 965
  ExplicitHeight = 560
  object dxLayoutControl1: TdxLayoutControl
    Left = 0
    Top = 0
    Width = 965
    Height = 560
    Align = alClient
    ParentBackground = True
    TabOrder = 0
    TabStop = False
    AutoContentSizes = [acsWidth, acsHeight]
    DesignSize = (
      965
      560)
    object edtFechaPedido: TcxDBDateEdit
      Left = 121
      Top = 55
      Anchors = [akLeft, akTop, akRight]
      DataBinding.DataField = 'FECHA_PEDIDO'
      DataBinding.DataSource = DADataSource
      Properties.ImmediatePost = True
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.Color = clInfoBk
      Style.HotTrack = False
      Style.LookAndFeel.NativeStyle = True
      Style.LookAndFeel.SkinName = ''
      Style.Shadow = False
      Style.ButtonStyle = bts3D
      Style.ButtonTransparency = ebtNone
      Style.PopupBorderStyle = epbsFrame3D
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.SkinName = ''
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.SkinName = ''
      StyleHot.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.SkinName = ''
      TabOrder = 1
      Width = 333
    end
    object edtFechaConfirmacion: TcxDBDateEdit
      Left = 589
      Top = 292
      Anchors = [akLeft, akTop, akRight]
      DataBinding.DataField = 'FECHA_CONFIRMACION'
      DataBinding.DataSource = DADataSource
      Properties.ImmediatePost = True
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.HotTrack = False
      Style.LookAndFeel.NativeStyle = True
      Style.LookAndFeel.SkinName = ''
      Style.Shadow = False
      Style.ButtonStyle = bts3D
      Style.ButtonTransparency = ebtNone
      Style.PopupBorderStyle = epbsFrame3D
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.SkinName = ''
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.SkinName = ''
      StyleHot.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.SkinName = ''
      TabOrder = 10
      Width = 344
    end
    object edtFechaEntrega: TcxDBDateEdit
      Left = 589
      Top = 319
      Anchors = [akLeft, akTop, akRight]
      DataBinding.DataField = 'FECHA_ENTREGA'
      DataBinding.DataSource = DADataSource
      Properties.ImmediatePost = True
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.HotTrack = False
      Style.LookAndFeel.NativeStyle = True
      Style.LookAndFeel.SkinName = ''
      Style.ButtonStyle = bts3D
      Style.PopupBorderStyle = epbsFrame3D
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.SkinName = ''
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.SkinName = ''
      StyleHot.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.SkinName = ''
      TabOrder = 11
      Width = 344
    end
    object memObservaciones: TcxDBMemo
      Left = 474
      Top = 376
      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
      Style.LookAndFeel.SkinName = ''
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.SkinName = ''
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.SkinName = ''
      StyleHot.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.SkinName = ''
      TabOrder = 12
      Height = 200
      Width = 459
    end
    object eReferencia: TcxDBTextEdit
      Left = 121
      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.NativeStyle = True
      Style.LookAndFeel.SkinName = ''
      StyleDisabled.Color = clMenuBar
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.SkinName = ''
      StyleDisabled.TextColor = clWindowText
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.SkinName = ''
      StyleHot.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.SkinName = ''
      TabOrder = 0
      Width = 333
    end
    inline frViewDireccionEntregaPedidoProv1: TfrViewDireccionEntregaPedidoProv
      Left = 22
      Top = 301
      Width = 432
      Height = 248
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      TabOrder = 7
      ReadOnly = False
      ExplicitLeft = 22
      ExplicitTop = 301
      ExplicitWidth = 432
      ExplicitHeight = 248
      inherited dxLayoutControl1: TdxLayoutControl
        Width = 432
        Height = 248
        ExplicitWidth = 432
        ExplicitHeight = 248
        DesignSize = (
          432
          248)
        inherited Bevel1: TBevel
          Top = 175
          Width = 566
          ExplicitTop = 175
          ExplicitWidth = 566
        end
        inherited lblObra: TLabel
          Left = 239
          ExplicitLeft = 239
        end
        inherited rdxDestino3: TRadioButton
          Width = 566
          ExplicitWidth = 566
        end
        inherited cbListaAlmacenes: TcxDBLookupComboBox
          Style.LookAndFeel.SkinName = ''
          StyleDisabled.LookAndFeel.SkinName = ''
          StyleFocused.LookAndFeel.SkinName = ''
          StyleHot.LookAndFeel.SkinName = ''
          ExplicitWidth = 551
          Width = 551
        end
        inherited bModificar: TBitBtn
          Left = 284
          Top = 139
          ExplicitLeft = 284
          ExplicitTop = 139
        end
        inherited txtDireccion: TStaticText
          Width = 882
          Height = 68
          ExplicitWidth = 882
          ExplicitHeight = 68
        end
        inherited rdxDestino2: TRadioButton
          Width = 223
          ExplicitWidth = 223
        end
        inherited edtEntregarA: TcxDBButtonEdit
          Top = 206
          Style.LookAndFeel.SkinName = ''
          StyleDisabled.LookAndFeel.SkinName = ''
          StyleFocused.LookAndFeel.SkinName = ''
          StyleHot.LookAndFeel.SkinName = ''
          ExplicitTop = 206
          ExplicitWidth = 334
          Width = 334
        end
      end
      inherited ActionList1: TActionList
        Left = 72
      end
      inherited dsPedido: TDADataSource
        Left = 0
        Top = 0
      end
      inherited dsObras: TDADataSource
        Left = 272
      end
    end
    object cbFormaPago: TcxDBLookupComboBox
      Left = 121
      Top = 82
      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.ListOptions.SyncMode = True
      Properties.ListSource = dsFormaPago
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.HotTrack = False
      Style.LookAndFeel.Kind = lfStandard
      Style.LookAndFeel.NativeStyle = True
      Style.LookAndFeel.SkinName = ''
      Style.ButtonStyle = bts3D
      Style.PopupBorderStyle = epbsFrame3D
      StyleDisabled.LookAndFeel.Kind = lfStandard
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.SkinName = ''
      StyleFocused.LookAndFeel.Kind = lfStandard
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.SkinName = ''
      StyleHot.LookAndFeel.Kind = lfStandard
      StyleHot.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.SkinName = ''
      TabOrder = 2
      Width = 195
    end
    object bFormasPago: TButton
      Left = 312
      Top = 82
      Width = 132
      Height = 21
      Caption = 'Ver las formas de pago...'
      TabOrder = 3
      OnClick = bFormasPagoClick
    end
    object edtFechaEnvio: TcxDBDateEdit
      Left = 589
      Top = 265
      Anchors = [akLeft, akTop, akRight]
      DataBinding.DataField = 'FECHA_ENVIO'
      DataBinding.DataSource = DADataSource
      Properties.ImmediatePost = True
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.HotTrack = False
      Style.LookAndFeel.NativeStyle = True
      Style.LookAndFeel.SkinName = ''
      Style.Shadow = False
      Style.ButtonStyle = bts3D
      Style.ButtonTransparency = ebtNone
      Style.PopupBorderStyle = epbsFrame3D
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.SkinName = ''
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.SkinName = ''
      StyleHot.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.SkinName = ''
      TabOrder = 9
      Width = 344
    end
    object eReferenciaPedidoCli: TcxTextEdit
      Left = 121
      Top = 109
      Anchors = [akLeft, akTop, akRight]
      Enabled = False
      Properties.ReadOnly = False
      Properties.ValidateOnEnter = True
      Style.BorderColor = clWindowFrame
      Style.BorderStyle = ebs3D
      Style.Color = clWindow
      Style.HotTrack = False
      Style.LookAndFeel.Kind = lfStandard
      Style.LookAndFeel.NativeStyle = True
      Style.LookAndFeel.SkinName = ''
      StyleDisabled.LookAndFeel.Kind = lfStandard
      StyleDisabled.LookAndFeel.NativeStyle = True
      StyleDisabled.LookAndFeel.SkinName = ''
      StyleDisabled.TextColor = clWindowText
      StyleFocused.LookAndFeel.Kind = lfStandard
      StyleFocused.LookAndFeel.NativeStyle = True
      StyleFocused.LookAndFeel.SkinName = ''
      StyleHot.LookAndFeel.Kind = lfStandard
      StyleHot.LookAndFeel.NativeStyle = True
      StyleHot.LookAndFeel.SkinName = ''
      TabOrder = 4
      Width = 195
    end
    object bVerPedidoCliente: TButton
      Left = 312
      Top = 109
      Width = 132
      Height = 23
      Action = actVerPedidoCli
      TabOrder = 5
    end
    inline frViewObraReserva1: TfrViewObraReserva
      Left = 22
      Top = 168
      Width = 422
      Height = 97
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      TabOrder = 6
      ReadOnly = False
      ExplicitLeft = 22
      ExplicitTop = 168
      ExplicitWidth = 422
      ExplicitHeight = 97
      inherited dxLayoutControl1: TdxLayoutControl
        Width = 422
        Height = 97
        ExplicitWidth = 432
        ExplicitHeight = 72
        DesignSize = (
          422
          97)
        inherited cbObraReserva: TcxComboBox
          Style.LookAndFeel.SkinName = ''
          StyleDisabled.LookAndFeel.SkinName = ''
          StyleFocused.LookAndFeel.SkinName = ''
          StyleHot.LookAndFeel.SkinName = ''
        end
      end
      inherited PngImageList: TPngImageList
        Left = 224
        Top = 24
      end
      inherited ActionList1: TActionList
        Left = 256
        Top = 24
      end
    end
    inline frViewDatosYSeleccionProveedorPedido1: TfrViewDatosYSeleccionProveedorPedido
      Left = 474
      Top = 28
      Width = 480
      Height = 201
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      TabOrder = 8
      ReadOnly = False
      ExplicitLeft = 474
      ExplicitTop = 28
      ExplicitWidth = 480
      ExplicitHeight = 201
      inherited dxLayoutControl1: TdxLayoutControl
        Width = 480
        Height = 201
        ExplicitWidth = 480
        ExplicitHeight = 201
        inherited edtlNombre: TcxDBTextEdit
          Style.LookAndFeel.SkinName = ''
          StyleDisabled.LookAndFeel.SkinName = ''
          StyleFocused.LookAndFeel.SkinName = ''
          StyleHot.LookAndFeel.SkinName = ''
          ExplicitWidth = 224
          Width = 224
        end
        inherited edtCODIGO_ASIGNADO: TcxDBTextEdit
          Left = 356
          Style.LookAndFeel.SkinName = ''
          StyleDisabled.LookAndFeel.SkinName = ''
          StyleFocused.LookAndFeel.SkinName = ''
          StyleHot.LookAndFeel.SkinName = ''
          ExplicitLeft = 356
        end
        inherited edtPersonaContacto: TcxDBTextEdit
          Style.LookAndFeel.SkinName = ''
          StyleDisabled.LookAndFeel.SkinName = ''
          StyleFocused.LookAndFeel.SkinName = ''
          StyleHot.LookAndFeel.SkinName = ''
          ExplicitWidth = 283
          Width = 283
        end
        inherited edtDireccion: TcxMemo
          Style.LookAndFeel.SkinName = ''
          StyleDisabled.LookAndFeel.SkinName = ''
          StyleFocused.LookAndFeel.SkinName = ''
          StyleHot.LookAndFeel.SkinName = ''
          ExplicitWidth = 121
          Width = 121
        end
        inherited Button4: TButton
          Left = 436
          ExplicitLeft = 436
        end
        inherited Button5: TButton
          Left = 436
          ExplicitLeft = 436
        end
        inherited Button3: TBitBtn
          Left = 261
          ExplicitLeft = 261
        end
      end
    end
    object dxLayoutControl1Group_Root: 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 dxLayoutControl1Item2: TdxLayoutItem
            Caption = 'Fecha del pedido:'
            Control = edtFechaPedido
            ControlOptions.ShowBorder = False
          end
          object dxLayoutControl1Group4: TdxLayoutGroup
            ShowCaption = False
            Hidden = True
            ShowBorder = False
            object dxLayoutControl1Group9: TdxLayoutGroup
              ShowCaption = False
              Visible = False
              Hidden = True
              LayoutDirection = ldHorizontal
              ShowBorder = False
              object dxLayoutControl1Item9: TdxLayoutItem
                AutoAligns = [aaVertical]
                AlignHorz = ahClient
                Caption = 'Forma de pago'
                Control = cbFormaPago
                ControlOptions.ShowBorder = False
              end
              object dxLayoutControl1Item10: TdxLayoutItem
                AutoAligns = [aaVertical]
                AlignHorz = ahRight
                ShowCaption = False
                Control = bFormasPago
                ControlOptions.ShowBorder = False
              end
            end
            object dxLayoutControl1Group10: TdxLayoutGroup
              ShowCaption = False
              Visible = False
              Hidden = True
              LayoutDirection = ldHorizontal
              ShowBorder = False
              object dxLayoutControl1Item11: TdxLayoutItem
                AutoAligns = [aaVertical]
                AlignHorz = ahClient
                Caption = 'Ref. pedido cliente:'
                Control = eReferenciaPedidoCli
                ControlOptions.ShowBorder = False
              end
              object dxLayoutControl1Item12: TdxLayoutItem
                AutoAligns = [aaVertical]
                AlignHorz = ahRight
                ShowCaption = False
                Control = bVerPedidoCliente
                ControlOptions.ShowBorder = False
              end
            end
          end
        end
        object dxLayoutControl1Group11: TdxLayoutGroup
          AutoAligns = [aaHorizontal]
          Caption = 'Obra relacionada'
          object dxLayoutControl1Item13: TdxLayoutItem
            Caption = 'Reservar para obra:'
            ShowCaption = False
            Control = frViewObraReserva1
            ControlOptions.AutoColor = True
            ControlOptions.ShowBorder = False
          end
        end
        object dxLayoutControl1Group8: TdxLayoutGroup
          AutoAligns = []
          AlignHorz = ahClient
          AlignVert = avClient
          Caption = 'Datos de la entrega'
          object dxLayoutControl1Item8: TdxLayoutItem
            AutoAligns = [aaHorizontal]
            AlignVert = avClient
            Control = frViewDireccionEntregaPedidoProv1
            ControlOptions.AutoColor = True
            ControlOptions.ShowBorder = False
          end
        end
      end
      object dxLayoutControl1Group3: TdxLayoutGroup
        AutoAligns = [aaVertical]
        AlignHorz = ahClient
        ShowCaption = False
        Hidden = True
        ShowBorder = False
        object dxLayoutControl1Group2: TdxLayoutGroup
          AutoAligns = [aaVertical]
          AlignHorz = ahClient
          Caption = 'Datos del proveedor'
          object dxLayoutControl1Item1: TdxLayoutItem
            Caption = 'New Item'
            ShowCaption = False
            Control = frViewDatosYSeleccionProveedorPedido1
            ControlOptions.AutoColor = True
            ControlOptions.ShowBorder = False
          end
        end
        object dxLayoutControl1Group5: TdxLayoutGroup
          AutoAligns = [aaHorizontal]
          Caption = 'Situaci'#243'n del pedido'
          object dxLayoutControl1Item7: TdxLayoutItem
            Caption = 'Enviado al prov. el d'#237'a:'
            Control = edtFechaEnvio
            ControlOptions.ShowBorder = False
          end
          object dxLayoutControl1Item4: TdxLayoutItem
            Caption = 'Confirmado el d'#237'a:'
            Control = edtFechaConfirmacion
            ControlOptions.ShowBorder = False
          end
          object dxLayoutControl1Item5: TdxLayoutItem
            Caption = 'Entrega prevista:'
            Control = edtFechaEntrega
            ControlOptions.ShowBorder = False
          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
  end
  object DADataSource: TDADataSource
    Left = 24
    Top = 8
  end
  object dsFormaPago: TDADataSource
    Left = 56
    Top = 8
  end
  object ActionList1: TActionList
    Left = 88
    Top = 8
    object actVerPedidoCli: TAction
      Caption = 'Ver pedido de cliente...'
      OnExecute = actVerPedidoCliExecute
      OnUpdate = actVerPedidoCliUpdate
    end
  end
end
