Ticket #91 -> En las obras, poner la dirección del cliente como dirección de la obra.
Ticket #92 -> Considerar la dirección fiscal de un cliente como dirección a elegir. git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@552 0c75b7a4-871f-7646-8a2f-f78d34cc349f
This commit is contained in:
parent
254e80d718
commit
7c35d651bc
Binary file not shown.
@ -172,6 +172,10 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
object pagContenido: TTabSheet
|
object pagContenido: TTabSheet
|
||||||
Caption = 'Contenido'
|
Caption = 'Contenido'
|
||||||
ImageIndex = 1
|
ImageIndex = 1
|
||||||
|
ExplicitLeft = 0
|
||||||
|
ExplicitTop = 0
|
||||||
|
ExplicitWidth = 0
|
||||||
|
ExplicitHeight = 0
|
||||||
inline frViewDetallesAlbaranCliente1: TfrViewDetallesAlbaranCliente
|
inline frViewDetallesAlbaranCliente1: TfrViewDetallesAlbaranCliente
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -192,104 +196,101 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
ExplicitHeight = 378
|
ExplicitHeight = 378
|
||||||
inherited ToolBar1: TToolBar
|
inherited ToolBar1: TToolBar
|
||||||
Width = 751
|
Width = 751
|
||||||
Height = 51
|
Height = 46
|
||||||
ExplicitWidth = 751
|
ExplicitWidth = 751
|
||||||
ExplicitHeight = 51
|
ExplicitHeight = 46
|
||||||
inherited ToolButton3: TToolButton
|
inherited ToolButton3: TToolButton
|
||||||
Wrap = False
|
Wrap = False
|
||||||
end
|
end
|
||||||
inherited ToolButton4: TToolButton
|
inherited ToolButton4: TToolButton
|
||||||
Left = 278
|
Left = 278
|
||||||
Top = 0
|
Top = 0
|
||||||
|
Wrap = True
|
||||||
ExplicitLeft = 278
|
ExplicitLeft = 278
|
||||||
ExplicitTop = 0
|
ExplicitTop = 0
|
||||||
end
|
end
|
||||||
inherited ToolButton14: TToolButton
|
inherited ToolButton14: TToolButton
|
||||||
Left = 334
|
Left = 0
|
||||||
Top = 0
|
|
||||||
Wrap = False
|
Wrap = False
|
||||||
ExplicitLeft = 334
|
ExplicitLeft = 0
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
end
|
||||||
inherited FontName: TJvFontComboBox
|
inherited FontName: TJvFontComboBox
|
||||||
Left = 399
|
Left = 65
|
||||||
Top = 0
|
Top = 22
|
||||||
ExplicitLeft = 399
|
ExplicitLeft = 65
|
||||||
ExplicitTop = 0
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited FontSize: TEdit
|
inherited FontSize: TEdit
|
||||||
Left = 544
|
Left = 210
|
||||||
Top = 0
|
Top = 22
|
||||||
ExplicitLeft = 544
|
ExplicitLeft = 210
|
||||||
ExplicitTop = 0
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton13: TToolButton [7]
|
inherited UpDown1: TUpDown
|
||||||
Left = 0
|
Left = 252
|
||||||
Top = 0
|
Top = 22
|
||||||
Wrap = True
|
ExplicitLeft = 252
|
||||||
ExplicitLeft = 0
|
ExplicitTop = 22
|
||||||
ExplicitTop = 0
|
|
||||||
ExplicitHeight = 27
|
|
||||||
end
|
end
|
||||||
inherited UpDown1: TUpDown [8]
|
inherited ToolButton13: TToolButton
|
||||||
Left = 0
|
Left = 269
|
||||||
Top = 27
|
Top = 22
|
||||||
ExplicitLeft = 0
|
ExplicitLeft = 269
|
||||||
ExplicitTop = 27
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton6: TToolButton
|
inherited ToolButton6: TToolButton
|
||||||
Left = 17
|
Left = 277
|
||||||
Top = 27
|
Top = 22
|
||||||
ExplicitLeft = 17
|
ExplicitLeft = 277
|
||||||
ExplicitTop = 27
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton7: TToolButton
|
inherited ToolButton7: TToolButton
|
||||||
Left = 83
|
Left = 343
|
||||||
Top = 27
|
Top = 22
|
||||||
ExplicitLeft = 83
|
ExplicitLeft = 343
|
||||||
ExplicitTop = 27
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton8: TToolButton
|
inherited ToolButton8: TToolButton
|
||||||
Left = 150
|
Left = 410
|
||||||
Top = 27
|
Top = 22
|
||||||
ExplicitLeft = 150
|
ExplicitLeft = 410
|
||||||
ExplicitTop = 27
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton12: TToolButton
|
inherited ToolButton12: TToolButton
|
||||||
Left = 233
|
Left = 493
|
||||||
Top = 27
|
Top = 22
|
||||||
ExplicitLeft = 233
|
ExplicitLeft = 493
|
||||||
ExplicitTop = 27
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton9: TToolButton
|
inherited ToolButton9: TToolButton
|
||||||
Left = 241
|
Left = 501
|
||||||
Top = 27
|
Top = 22
|
||||||
ExplicitLeft = 241
|
ExplicitLeft = 501
|
||||||
ExplicitTop = 27
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton10: TToolButton
|
inherited ToolButton10: TToolButton
|
||||||
Left = 386
|
Left = 646
|
||||||
Top = 27
|
Top = 22
|
||||||
ExplicitLeft = 386
|
ExplicitLeft = 646
|
||||||
ExplicitTop = 27
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton11: TToolButton
|
inherited ToolButton11: TToolButton
|
||||||
Left = 511
|
Left = 771
|
||||||
Top = 27
|
Top = 22
|
||||||
ExplicitLeft = 511
|
ExplicitLeft = 771
|
||||||
ExplicitTop = 27
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Top = 77
|
Top = 72
|
||||||
Width = 751
|
Width = 751
|
||||||
Height = 301
|
Height = 306
|
||||||
ExplicitTop = 77
|
ExplicitTop = 77
|
||||||
ExplicitWidth = 751
|
ExplicitWidth = 751
|
||||||
ExplicitHeight = 301
|
ExplicitHeight = 301
|
||||||
end
|
end
|
||||||
inherited TBXDock1: TTBXDock
|
inherited TBXDock1: TTBXDock
|
||||||
Top = 51
|
Top = 46
|
||||||
Width = 751
|
Width = 751
|
||||||
ExplicitTop = 51
|
ExplicitTop = 51
|
||||||
ExplicitWidth = 751
|
ExplicitWidth = 751
|
||||||
@ -311,6 +312,10 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
object pagInicidencias: TTabSheet
|
object pagInicidencias: TTabSheet
|
||||||
Caption = 'Incidencias'
|
Caption = 'Incidencias'
|
||||||
ImageIndex = 2
|
ImageIndex = 2
|
||||||
|
ExplicitLeft = 0
|
||||||
|
ExplicitTop = 0
|
||||||
|
ExplicitWidth = 0
|
||||||
|
ExplicitHeight = 0
|
||||||
inline frViewIncidenciasCli: TfrViewIncidencias
|
inline frViewIncidenciasCli: TfrViewIncidencias
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -412,7 +417,11 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
inherited ImporteDto: TcxDBCurrencyEdit
|
inherited ImporteDto: TcxDBCurrencyEdit
|
||||||
Left = 164
|
Left = 164
|
||||||
Top = 112
|
Top = 112
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 164
|
ExplicitLeft = 164
|
||||||
ExplicitTop = 112
|
ExplicitTop = 112
|
||||||
ExplicitWidth = 188
|
ExplicitWidth = 188
|
||||||
@ -422,7 +431,11 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
Left = 555
|
Left = 555
|
||||||
Top = 38
|
Top = 38
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 555
|
ExplicitLeft = 555
|
||||||
ExplicitTop = 38
|
ExplicitTop = 38
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
@ -431,7 +444,11 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
inherited ImporteTotal: TcxDBCurrencyEdit
|
inherited ImporteTotal: TcxDBCurrencyEdit
|
||||||
Left = 485
|
Left = 485
|
||||||
Top = 112
|
Top = 112
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 485
|
ExplicitLeft = 485
|
||||||
ExplicitTop = 112
|
ExplicitTop = 112
|
||||||
ExplicitWidth = 252
|
ExplicitWidth = 252
|
||||||
@ -440,7 +457,11 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
inherited edtDescuento: TcxDBSpinEdit
|
inherited edtDescuento: TcxDBSpinEdit
|
||||||
Left = 93
|
Left = 93
|
||||||
Top = 112
|
Top = 112
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 93
|
ExplicitLeft = 93
|
||||||
ExplicitTop = 112
|
ExplicitTop = 112
|
||||||
end
|
end
|
||||||
@ -448,14 +469,22 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
Left = 484
|
Left = 484
|
||||||
Top = 38
|
Top = 38
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 484
|
ExplicitLeft = 484
|
||||||
ExplicitTop = 38
|
ExplicitTop = 38
|
||||||
end
|
end
|
||||||
inherited ImporteBase: TcxDBCurrencyEdit
|
inherited ImporteBase: TcxDBCurrencyEdit
|
||||||
Left = 484
|
Left = 484
|
||||||
Top = 11
|
Top = 11
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 484
|
ExplicitLeft = 484
|
||||||
ExplicitTop = 11
|
ExplicitTop = 11
|
||||||
ExplicitWidth = 253
|
ExplicitWidth = 253
|
||||||
@ -465,7 +494,11 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
Left = 484
|
Left = 484
|
||||||
Top = 65
|
Top = 65
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 484
|
ExplicitLeft = 484
|
||||||
ExplicitTop = 65
|
ExplicitTop = 65
|
||||||
end
|
end
|
||||||
@ -473,7 +506,11 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
Left = 555
|
Left = 555
|
||||||
Top = 65
|
Top = 65
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 555
|
ExplicitLeft = 555
|
||||||
ExplicitTop = 65
|
ExplicitTop = 65
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
@ -482,7 +519,11 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
inherited eImporteNeto: TcxDBCurrencyEdit
|
inherited eImporteNeto: TcxDBCurrencyEdit
|
||||||
Left = 93
|
Left = 93
|
||||||
Top = 11
|
Top = 11
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 93
|
ExplicitLeft = 93
|
||||||
ExplicitTop = 11
|
ExplicitTop = 11
|
||||||
ExplicitWidth = 259
|
ExplicitWidth = 259
|
||||||
@ -492,7 +533,11 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
Left = 93
|
Left = 93
|
||||||
Top = 139
|
Top = 139
|
||||||
Properties.OnValidate = frViewTotales1ePortePropertiesValidate
|
Properties.OnValidate = frViewTotales1ePortePropertiesValidate
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 93
|
ExplicitLeft = 93
|
||||||
ExplicitTop = 139
|
ExplicitTop = 139
|
||||||
ExplicitWidth = 259
|
ExplicitWidth = 259
|
||||||
@ -502,6 +547,10 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
Left = 93
|
Left = 93
|
||||||
Top = 38
|
Top = 38
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 93
|
ExplicitLeft = 93
|
||||||
ExplicitTop = 38
|
ExplicitTop = 38
|
||||||
ExplicitWidth = 121
|
ExplicitWidth = 121
|
||||||
@ -518,9 +567,14 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
Top = 65
|
Top = 65
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
DataBinding.DataSource = nil
|
DataBinding.DataSource = nil
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 93
|
ExplicitLeft = 93
|
||||||
ExplicitTop = 65
|
ExplicitTop = 65
|
||||||
ExplicitWidth = 259
|
ExplicitWidth = 259
|
||||||
|
ExplicitHeight = 0
|
||||||
Width = 259
|
Width = 259
|
||||||
end
|
end
|
||||||
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
|
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
|
||||||
|
|||||||
@ -265,7 +265,7 @@ begin
|
|||||||
ADireccion := FAlbaran.Cliente.Direcciones;
|
ADireccion := FAlbaran.Cliente.Direcciones;
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
ADireccion := AClientesController.ElegirDireccionEntrega(FAlbaran.Cliente.Direcciones, 'Seleccione la dirección del cliente que quiere utilizar como dirección de envio de este albaran.');
|
ADireccion := AClientesController.ElegirDireccionEntrega(FAlbaran.Cliente, 'Seleccione la dirección del cliente que quiere utilizar como dirección de envio de este albaran.');
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -41,16 +41,20 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.Shadow = False
|
Style.Shadow = False
|
||||||
Style.ButtonStyle = bts3D
|
Style.ButtonStyle = bts3D
|
||||||
Style.ButtonTransparency = ebtNone
|
Style.ButtonTransparency = ebtNone
|
||||||
Style.PopupBorderStyle = epbsFrame3D
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
Width = 336
|
Width = 336
|
||||||
end
|
end
|
||||||
@ -65,9 +69,13 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 21
|
TabOrder = 21
|
||||||
Height = 141
|
Height = 141
|
||||||
Width = 399
|
Width = 399
|
||||||
@ -87,14 +95,18 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.Color = clMenuBar
|
StyleDisabled.Color = clMenuBar
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.TextColor = clWindowText
|
StyleDisabled.TextColor = clWindowText
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Width = 336
|
Width = 336
|
||||||
end
|
end
|
||||||
@ -119,29 +131,53 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 399
|
Width = 399
|
||||||
Align = alTop
|
Align = alTop
|
||||||
ExplicitWidth = 360
|
ExplicitWidth = 399
|
||||||
inherited edtlNombre: TcxDBTextEdit
|
inherited edtlNombre: TcxDBTextEdit
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 325
|
ExplicitWidth = 325
|
||||||
Width = 325
|
Width = 325
|
||||||
end
|
end
|
||||||
inherited edtNIFCIF: TcxDBTextEdit
|
inherited edtNIFCIF: TcxDBTextEdit
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 325
|
ExplicitWidth = 325
|
||||||
Width = 325
|
Width = 325
|
||||||
end
|
end
|
||||||
inherited edtCalle: TcxDBTextEdit
|
inherited edtCalle: TcxDBTextEdit
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 325
|
ExplicitWidth = 325
|
||||||
Width = 325
|
Width = 325
|
||||||
end
|
end
|
||||||
inherited edtPoblacion: TcxDBTextEdit
|
inherited edtPoblacion: TcxDBTextEdit
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 207
|
ExplicitWidth = 207
|
||||||
Width = 207
|
Width = 207
|
||||||
end
|
end
|
||||||
inherited edtProvincia: TcxDBTextEdit
|
inherited edtProvincia: TcxDBTextEdit
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 325
|
ExplicitWidth = 325
|
||||||
Width = 325
|
Width = 325
|
||||||
end
|
end
|
||||||
inherited edtCodigoPostal: TcxDBTextEdit
|
inherited edtCodigoPostal: TcxDBTextEdit
|
||||||
Left = 307
|
Left = 307
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 307
|
ExplicitLeft = 307
|
||||||
end
|
end
|
||||||
inherited Button3: TBitBtn
|
inherited Button3: TBitBtn
|
||||||
@ -176,12 +212,16 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 8
|
TabOrder = 8
|
||||||
Width = 336
|
Width = 336
|
||||||
end
|
end
|
||||||
@ -195,12 +235,16 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 10
|
TabOrder = 10
|
||||||
Width = 65
|
Width = 65
|
||||||
end
|
end
|
||||||
@ -215,12 +259,16 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 12
|
TabOrder = 12
|
||||||
Width = 336
|
Width = 336
|
||||||
end
|
end
|
||||||
@ -234,12 +282,16 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 13
|
TabOrder = 13
|
||||||
Width = 336
|
Width = 336
|
||||||
end
|
end
|
||||||
@ -273,13 +325,17 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.TextColor = clWindowText
|
StyleDisabled.TextColor = clWindowText
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 5
|
TabOrder = 5
|
||||||
Width = 198
|
Width = 198
|
||||||
end
|
end
|
||||||
@ -302,14 +358,18 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.ButtonStyle = bts3D
|
Style.ButtonStyle = bts3D
|
||||||
Style.PopupBorderStyle = epbsFrame3D
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
Width = 198
|
Width = 198
|
||||||
end
|
end
|
||||||
@ -336,14 +396,18 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.ButtonStyle = bts3D
|
Style.ButtonStyle = bts3D
|
||||||
Style.PopupBorderStyle = epbsFrame3D
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 20
|
TabOrder = 20
|
||||||
Width = 265
|
Width = 265
|
||||||
end
|
end
|
||||||
@ -375,14 +439,18 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.ButtonStyle = bts3D
|
Style.ButtonStyle = bts3D
|
||||||
Style.PopupBorderStyle = epbsFrame3D
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 16
|
TabOrder = 16
|
||||||
Width = 235
|
Width = 235
|
||||||
end
|
end
|
||||||
@ -401,14 +469,18 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.Color = clMenuBar
|
StyleDisabled.Color = clMenuBar
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.TextColor = clWindowText
|
StyleDisabled.TextColor = clWindowText
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 7
|
TabOrder = 7
|
||||||
Width = 336
|
Width = 336
|
||||||
end
|
end
|
||||||
@ -426,16 +498,20 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.Shadow = False
|
Style.Shadow = False
|
||||||
Style.ButtonStyle = bts3D
|
Style.ButtonStyle = bts3D
|
||||||
Style.ButtonTransparency = ebtNone
|
Style.ButtonTransparency = ebtNone
|
||||||
Style.PopupBorderStyle = epbsFrame3D
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 18
|
TabOrder = 18
|
||||||
Width = 265
|
Width = 265
|
||||||
end
|
end
|
||||||
@ -453,14 +529,18 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.Color = clMenuBar
|
StyleDisabled.Color = clMenuBar
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.TextColor = clWindowText
|
StyleDisabled.TextColor = clWindowText
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
Width = 336
|
Width = 336
|
||||||
end
|
end
|
||||||
@ -478,14 +558,18 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.ButtonStyle = bts3D
|
Style.ButtonStyle = bts3D
|
||||||
Style.PopupBorderStyle = epbsFrame3D
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 19
|
TabOrder = 19
|
||||||
Width = 265
|
Width = 265
|
||||||
end
|
end
|
||||||
@ -503,14 +587,18 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.ButtonStyle = bts3D
|
Style.ButtonStyle = bts3D
|
||||||
Style.PopupBorderStyle = epbsFrame3D
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 9
|
TabOrder = 9
|
||||||
Width = 235
|
Width = 235
|
||||||
end
|
end
|
||||||
@ -528,14 +616,18 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.ButtonStyle = bts3D
|
Style.ButtonStyle = bts3D
|
||||||
Style.PopupBorderStyle = epbsFrame3D
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 11
|
TabOrder = 11
|
||||||
Width = 336
|
Width = 336
|
||||||
end
|
end
|
||||||
|
|||||||
@ -166,7 +166,7 @@ begin
|
|||||||
AClientesController := TClientesController.Create;
|
AClientesController := TClientesController.Create;
|
||||||
AAlbaranController := TAlbaranesClienteController.Create;
|
AAlbaranController := TAlbaranesClienteController.Create;
|
||||||
try
|
try
|
||||||
ADireccion := AClientesController.ElegirDireccionEntrega(FAlbaran.Cliente.Direcciones,
|
ADireccion := AClientesController.ElegirDireccionEntrega(FAlbaran.Cliente,
|
||||||
'Seleccione la dirección del cliente que quiere utilizar como dirección de envio de este albaran.');
|
'Seleccione la dirección del cliente que quiere utilizar como dirección de envio de este albaran.');
|
||||||
if Assigned(ADireccion) then
|
if Assigned(ADireccion) then
|
||||||
begin
|
begin
|
||||||
@ -175,6 +175,7 @@ begin
|
|||||||
FAlbaran.IMPORTE_PORTE := ADireccion.PORTE;
|
FAlbaran.IMPORTE_PORTE := ADireccion.PORTE;
|
||||||
end;
|
end;
|
||||||
finally
|
finally
|
||||||
|
ADireccion := NIL;
|
||||||
AClientesController := NIL;
|
AClientesController := NIL;
|
||||||
AAlbaranController := NIL;
|
AAlbaranController := NIL;
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -3,14 +3,14 @@ unit uIEditorElegirDireccionEntrega;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
uBizDireccionesContacto, uGUIBase;
|
uBizContactos, uBizDireccionesContacto, uGUIBase;
|
||||||
|
|
||||||
type
|
type
|
||||||
IEditorElegirDireccionEntrega = interface
|
IEditorElegirDireccionEntrega = interface
|
||||||
['{AB909782-25E1-4715-B98A-EA62FB9DC03C}']
|
['{AB909782-25E1-4715-B98A-EA62FB9DC03C}']
|
||||||
function GetDireccion: IBizDireccionesContacto;
|
function GetContacto: IBizContacto;
|
||||||
procedure SetDireccion(const Value: IBizDireccionesContacto);
|
procedure SetContacto(const Value: IBizContacto);
|
||||||
property Direccion: IBizDireccionesContacto read GetDireccion write SetDireccion;
|
property Contacto : IBizContacto read GetContacto write SetContacto;
|
||||||
|
|
||||||
procedure SetMensaje (const AValue: String);
|
procedure SetMensaje (const AValue: String);
|
||||||
function GetMensaje: String;
|
function GetMensaje: String;
|
||||||
|
|||||||
@ -13,7 +13,7 @@ type
|
|||||||
['{AAC3C51A-37F7-4961-B39F-FBC6B6A2B0F1}']
|
['{AAC3C51A-37F7-4961-B39F-FBC6B6A2B0F1}']
|
||||||
function BuscarTodosTiendaWeb: IBizCliente;
|
function BuscarTodosTiendaWeb: IBizCliente;
|
||||||
function TieneDatosBancarios(ACliente: IBizCliente) : Boolean;
|
function TieneDatosBancarios(ACliente: IBizCliente) : Boolean;
|
||||||
function ElegirDireccionEntrega(ADirecciones: IBizDireccionesContacto; AMensaje: String): IBizDireccionesContacto;
|
function ElegirDireccionEntrega(ACliente: IBizCliente; AMensaje: String): IBizDireccionesContacto;
|
||||||
function ElegirPersonaContacto(APersonal: IBizContactoPersonal; AMensaje: String): IBizContactoPersonal;
|
function ElegirPersonaContacto(APersonal: IBizContactoPersonal; AMensaje: String): IBizContactoPersonal;
|
||||||
function EsEliminable(ACliente: IBizContacto): Boolean;
|
function EsEliminable(ACliente: IBizContacto): Boolean;
|
||||||
function Eliminar(ACliente: IBizContacto; AllItems: Boolean = false): Boolean; overload;
|
function Eliminar(ACliente: IBizContacto; AllItems: Boolean = false): Boolean; overload;
|
||||||
@ -40,7 +40,7 @@ type
|
|||||||
function ElegirContacto(AContactos : IBizContacto;
|
function ElegirContacto(AContactos : IBizContacto;
|
||||||
AMensaje: String; AMultiSelect: Boolean): IBizContacto; override;
|
AMensaje: String; AMultiSelect: Boolean): IBizContacto; override;
|
||||||
function TieneDatosBancarios(ACliente: IBizCliente) : Boolean;
|
function TieneDatosBancarios(ACliente: IBizCliente) : Boolean;
|
||||||
function ElegirDireccionEntrega(ADirecciones: IBizDireccionesContacto;
|
function ElegirDireccionEntrega(ACliente: IBizCliente;
|
||||||
AMensaje: String): IBizDireccionesContacto;
|
AMensaje: String): IBizDireccionesContacto;
|
||||||
function ElegirPersonaContacto(APersonal: IBizContactoPersonal;
|
function ElegirPersonaContacto(APersonal: IBizContactoPersonal;
|
||||||
AMensaje: String): IBizContactoPersonal;
|
AMensaje: String): IBizContactoPersonal;
|
||||||
@ -123,7 +123,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TClientesController.ElegirDireccionEntrega(ADirecciones: IBizDireccionesContacto;
|
function TClientesController.ElegirDireccionEntrega(ACliente: IBizCliente;
|
||||||
AMensaje: String): IBizDireccionesContacto;
|
AMensaje: String): IBizDireccionesContacto;
|
||||||
var
|
var
|
||||||
AEditor : IEditorElegirDireccionEntrega;
|
AEditor : IEditorElegirDireccionEntrega;
|
||||||
@ -134,7 +134,7 @@ begin
|
|||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
begin
|
begin
|
||||||
try
|
try
|
||||||
AEditor.Direccion := ADirecciones;
|
AEditor.Contacto := ACliente;
|
||||||
AEditor.Mensaje := AMensaje;
|
AEditor.Mensaje := AMensaje;
|
||||||
if IsPositiveResult(AEditor.ShowModal) then
|
if IsPositiveResult(AEditor.ShowModal) then
|
||||||
Result := AEditor.DireccionSeleccionada;
|
Result := AEditor.DireccionSeleccionada;
|
||||||
|
|||||||
@ -13,6 +13,7 @@ type
|
|||||||
procedure CopiarDireccionFiscal(AContacto: IBizContacto; ADireccion: IBizDireccionesContacto; AAnadir : Boolean = True);
|
procedure CopiarDireccionFiscal(AContacto: IBizContacto; ADireccion: IBizDireccionesContacto; AAnadir : Boolean = True);
|
||||||
procedure Ver(ADireccion : IBizDireccionesContacto);
|
procedure Ver(ADireccion : IBizDireccionesContacto);
|
||||||
function Localizar(ADirecciones: IBizDireccionesContacto; const ID : Integer): Boolean;
|
function Localizar(ADirecciones: IBizDireccionesContacto; const ID : Integer): Boolean;
|
||||||
|
function Nuevo : IBizDireccionesContacto;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TDireccionesContactoController = class(TControllerBase, IDireccionesContactoController)
|
TDireccionesContactoController = class(TControllerBase, IDireccionesContactoController)
|
||||||
@ -22,6 +23,7 @@ type
|
|||||||
procedure CopiarDireccionFiscal(AContacto: IBizContacto; ADireccion: IBizDireccionesContacto; AAnadir : Boolean = True);
|
procedure CopiarDireccionFiscal(AContacto: IBizContacto; ADireccion: IBizDireccionesContacto; AAnadir : Boolean = True);
|
||||||
procedure Ver(ADireccion : IBizDireccionesContacto);
|
procedure Ver(ADireccion : IBizDireccionesContacto);
|
||||||
function Localizar(ADirecciones: IBizDireccionesContacto; const ID : Integer): Boolean;
|
function Localizar(ADirecciones: IBizDireccionesContacto; const ID : Integer): Boolean;
|
||||||
|
function Nuevo : IBizDireccionesContacto;
|
||||||
constructor Create; override;
|
constructor Create; override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
end;
|
end;
|
||||||
@ -96,6 +98,16 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TDireccionesContactoController.Nuevo: IBizDireccionesContacto;
|
||||||
|
var
|
||||||
|
ADireccion : IBizDireccionesContacto;
|
||||||
|
begin
|
||||||
|
ADireccion := FDataModule.NewDireccion;
|
||||||
|
ADireccion.DataTable.Active := True;
|
||||||
|
ADireccion.Insert;
|
||||||
|
Result := ADireccion;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TDireccionesContactoController.Ver(
|
procedure TDireccionesContactoController.Ver(
|
||||||
ADireccion: IBizDireccionesContacto);
|
ADireccion: IBizDireccionesContacto);
|
||||||
var
|
var
|
||||||
|
|||||||
@ -11,7 +11,7 @@ type
|
|||||||
['{50F10D01-5120-470D-A61D-99FE8A76DF93}']
|
['{50F10D01-5120-470D-A61D-99FE8A76DF93}']
|
||||||
function BuscarSubcontratas: IBizProveedor;
|
function BuscarSubcontratas: IBizProveedor;
|
||||||
function BuscarTodosTiendaWeb: IBizProveedor;
|
function BuscarTodosTiendaWeb: IBizProveedor;
|
||||||
function ElegirDireccionEntrega(ADirecciones: IBizDireccionesContacto; AMensaje: String): IBizDireccionesContacto;
|
function ElegirDireccionEntrega(AProveedor: IBizProveedor; AMensaje: String): IBizDireccionesContacto;
|
||||||
function EsEliminable(AProveedor: IBizContacto): Boolean;
|
function EsEliminable(AProveedor: IBizContacto): Boolean;
|
||||||
function Eliminar(AProveedor: IBizContacto; AllItems: Boolean = false): Boolean; overload;
|
function Eliminar(AProveedor: IBizContacto; AllItems: Boolean = false): Boolean; overload;
|
||||||
procedure Preview(AProveedor : IBizProveedor; AllItems: Boolean = false);
|
procedure Preview(AProveedor : IBizProveedor; AllItems: Boolean = false);
|
||||||
@ -36,7 +36,7 @@ type
|
|||||||
procedure VerTodos(AContactos: IBizContacto); override;
|
procedure VerTodos(AContactos: IBizContacto); override;
|
||||||
function ElegirContacto(AContactos : IBizContacto;
|
function ElegirContacto(AContactos : IBizContacto;
|
||||||
AMensaje: String; AMultiSelect: Boolean): IBizContacto; override;
|
AMensaje: String; AMultiSelect: Boolean): IBizContacto; override;
|
||||||
function ElegirDireccionEntrega(ADirecciones: IBizDireccionesContacto;
|
function ElegirDireccionEntrega(AProveedor: IBizProveedor;
|
||||||
AMensaje: String): IBizDireccionesContacto;
|
AMensaje: String): IBizDireccionesContacto;
|
||||||
function EsEliminable(AProveedor: IBizContacto): Boolean;
|
function EsEliminable(AProveedor: IBizContacto): Boolean;
|
||||||
function Eliminar(AProveedor: IBizContacto; AllItems: Boolean = false): Boolean; overload;
|
function Eliminar(AProveedor: IBizContacto; AllItems: Boolean = false): Boolean; overload;
|
||||||
@ -130,7 +130,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TProveedoresController.ElegirDireccionEntrega(ADirecciones: IBizDireccionesContacto;
|
function TProveedoresController.ElegirDireccionEntrega(AProveedor: IBizProveedor;
|
||||||
AMensaje: String): IBizDireccionesContacto;
|
AMensaje: String): IBizDireccionesContacto;
|
||||||
var
|
var
|
||||||
AEditor : IEditorElegirDireccionEntrega;
|
AEditor : IEditorElegirDireccionEntrega;
|
||||||
@ -142,7 +142,7 @@ begin
|
|||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
with AEditor do
|
with AEditor do
|
||||||
begin
|
begin
|
||||||
Direccion := ADirecciones;
|
Contacto := AProveedor;
|
||||||
Mensaje := AMensaje;
|
Mensaje := AMensaje;
|
||||||
if IsPositiveResult(ShowModal) then
|
if IsPositiveResult(ShowModal) then
|
||||||
Result := DireccionSeleccionada;
|
Result := DireccionSeleccionada;
|
||||||
|
|||||||
@ -34,6 +34,7 @@ type
|
|||||||
function _GetDirecciones: IBizDireccionesContacto;
|
function _GetDirecciones: IBizDireccionesContacto;
|
||||||
function _GetItems (IDCategoria : Integer): IBizContacto; virtual;
|
function _GetItems (IDCategoria : Integer): IBizContacto; virtual;
|
||||||
function _GetPersonal: IBizContactoPersonal;
|
function _GetPersonal: IBizContactoPersonal;
|
||||||
|
function NewDireccion : IBizDireccionesContacto;
|
||||||
|
|
||||||
// Report
|
// Report
|
||||||
function GetReport(const ListaID: TIntegerList): Binary;
|
function GetReport(const ListaID: TIntegerList): Binary;
|
||||||
@ -72,6 +73,30 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TDataModuleContactos.NewDireccion: IBizDireccionesContacto;
|
||||||
|
var
|
||||||
|
Condicion: TDAWhereExpression;
|
||||||
|
begin
|
||||||
|
ShowHourglassCursor;
|
||||||
|
try
|
||||||
|
Result := Self._GetDirecciones;
|
||||||
|
|
||||||
|
with Result.DataTable.DynamicWhere do
|
||||||
|
begin
|
||||||
|
// (ID = :ID)
|
||||||
|
Condicion := NewBinaryExpression(NewField('', fld_DireccionesContactoID), NewConstant(ID_NULO, datInteger), dboEqual);
|
||||||
|
|
||||||
|
if IsEmpty then
|
||||||
|
Expression := Condicion
|
||||||
|
else
|
||||||
|
Expression := NewBinaryExpression(Expression, Condicion, dboAnd);
|
||||||
|
end;
|
||||||
|
|
||||||
|
finally
|
||||||
|
HideHourglassCursor;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
function TDataModuleContactos._GetDatosBancarios: IBizContactosDatosBancarios;
|
function TDataModuleContactos._GetDatosBancarios: IBizContactosDatosBancarios;
|
||||||
var
|
var
|
||||||
ADatosBancarios : TDAMemDataTable;
|
ADatosBancarios : TDAMemDataTable;
|
||||||
|
|||||||
@ -14,6 +14,7 @@ type
|
|||||||
function _GetDatosBancarios : IBizContactosDatosBancarios;
|
function _GetDatosBancarios : IBizContactosDatosBancarios;
|
||||||
function _GetDirecciones: IBizDireccionesContacto;
|
function _GetDirecciones: IBizDireccionesContacto;
|
||||||
function _GetPersonal: IBizContactoPersonal;
|
function _GetPersonal: IBizContactoPersonal;
|
||||||
|
function NewDireccion : IBizDireccionesContacto;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|||||||
Binary file not shown.
@ -2,13 +2,16 @@ object fEditorElegirDireccionEntrega: TfEditorElegirDireccionEntrega
|
|||||||
Left = 227
|
Left = 227
|
||||||
Top = 108
|
Top = 108
|
||||||
BorderStyle = bsDialog
|
BorderStyle = bsDialog
|
||||||
Caption = 'Elegir una direcciones de cliente'
|
Caption = 'Elegir una direcci'#243'n de cliente'
|
||||||
ClientHeight = 383
|
ClientHeight = 506
|
||||||
ClientWidth = 599
|
ClientWidth = 599
|
||||||
Color = clBtnFace
|
Color = clBtnFace
|
||||||
ParentFont = True
|
ParentFont = True
|
||||||
OldCreateOrder = True
|
OldCreateOrder = True
|
||||||
Position = poOwnerFormCenter
|
Position = poOwnerFormCenter
|
||||||
|
OnCreate = FormCreate
|
||||||
|
OnDestroy = FormDestroy
|
||||||
|
OnShow = FormShow
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
TextHeight = 13
|
TextHeight = 13
|
||||||
object JvgWizardHeader1: TJvgWizardHeader
|
object JvgWizardHeader1: TJvgWizardHeader
|
||||||
@ -48,7 +51,7 @@ object fEditorElegirDireccionEntrega: TfEditorElegirDireccionEntrega
|
|||||||
end
|
end
|
||||||
inline frViewBarraSeleccion1: TfrViewBarraSeleccion
|
inline frViewBarraSeleccion1: TfrViewBarraSeleccion
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 334
|
Top = 457
|
||||||
Width = 599
|
Width = 599
|
||||||
Height = 49
|
Height = 49
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
@ -60,7 +63,7 @@ object fEditorElegirDireccionEntrega: TfEditorElegirDireccionEntrega
|
|||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitTop = 334
|
ExplicitTop = 457
|
||||||
ExplicitWidth = 599
|
ExplicitWidth = 599
|
||||||
inherited JvFooter1: TJvFooter
|
inherited JvFooter1: TJvFooter
|
||||||
Width = 599
|
Width = 599
|
||||||
@ -85,10 +88,10 @@ object fEditorElegirDireccionEntrega: TfEditorElegirDireccionEntrega
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
object DBCtrlGrid1: TDBCtrlGrid
|
object DBCtrlGrid1: TDBCtrlGrid
|
||||||
Left = 8
|
Left = 45
|
||||||
Top = 66
|
Top = 214
|
||||||
Width = 583
|
Width = 539
|
||||||
Height = 261
|
Height = 241
|
||||||
Margins.Left = 10
|
Margins.Left = 10
|
||||||
Margins.Top = 10
|
Margins.Top = 10
|
||||||
Margins.Right = 10
|
Margins.Right = 10
|
||||||
@ -97,16 +100,15 @@ object fEditorElegirDireccionEntrega: TfEditorElegirDireccionEntrega
|
|||||||
AllowInsert = False
|
AllowInsert = False
|
||||||
Color = clBtnFace
|
Color = clBtnFace
|
||||||
DataSource = dsDirecciones
|
DataSource = dsDirecciones
|
||||||
PanelHeight = 87
|
PanelHeight = 80
|
||||||
PanelWidth = 566
|
PanelWidth = 522
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
SelectedColor = clHighlight
|
|
||||||
OnDblClick = DBCtrlGrid1DblClick
|
OnDblClick = DBCtrlGrid1DblClick
|
||||||
object eCalle: TDBText
|
object eCalle: TDBText
|
||||||
Left = 48
|
Left = 48
|
||||||
Top = 28
|
Top = 25
|
||||||
Width = 512
|
Width = 472
|
||||||
Height = 17
|
Height = 17
|
||||||
DataField = 'CALLE'
|
DataField = 'CALLE'
|
||||||
DataSource = dsDirecciones
|
DataSource = dsDirecciones
|
||||||
@ -121,8 +123,8 @@ object fEditorElegirDireccionEntrega: TfEditorElegirDireccionEntrega
|
|||||||
end
|
end
|
||||||
object ePoblacion: TDBText
|
object ePoblacion: TDBText
|
||||||
Left = 70
|
Left = 70
|
||||||
Top = 47
|
Top = 42
|
||||||
Width = 277
|
Width = 251
|
||||||
Height = 17
|
Height = 17
|
||||||
DataField = 'POBLACION'
|
DataField = 'POBLACION'
|
||||||
DataSource = dsDirecciones
|
DataSource = dsDirecciones
|
||||||
@ -136,9 +138,9 @@ object fEditorElegirDireccionEntrega: TfEditorElegirDireccionEntrega
|
|||||||
OnDblClick = ComponenteDblClick
|
OnDblClick = ComponenteDblClick
|
||||||
end
|
end
|
||||||
object eTelefono: TDBText
|
object eTelefono: TDBText
|
||||||
Left = 423
|
Left = 383
|
||||||
Top = 66
|
Top = 59
|
||||||
Width = 137
|
Width = 130
|
||||||
Height = 17
|
Height = 17
|
||||||
DataField = 'TELEFONO'
|
DataField = 'TELEFONO'
|
||||||
DataSource = dsDirecciones
|
DataSource = dsDirecciones
|
||||||
@ -152,9 +154,9 @@ object fEditorElegirDireccionEntrega: TfEditorElegirDireccionEntrega
|
|||||||
OnDblClick = ComponenteDblClick
|
OnDblClick = ComponenteDblClick
|
||||||
end
|
end
|
||||||
object eProvincia: TDBText
|
object eProvincia: TDBText
|
||||||
Left = 423
|
Left = 383
|
||||||
Top = 47
|
Top = 42
|
||||||
Width = 137
|
Width = 130
|
||||||
Height = 17
|
Height = 17
|
||||||
DataField = 'PROVINCIA'
|
DataField = 'PROVINCIA'
|
||||||
DataSource = dsDirecciones
|
DataSource = dsDirecciones
|
||||||
@ -169,8 +171,8 @@ object fEditorElegirDireccionEntrega: TfEditorElegirDireccionEntrega
|
|||||||
end
|
end
|
||||||
object ePersonaContacto: TDBText
|
object ePersonaContacto: TDBText
|
||||||
Left = 124
|
Left = 124
|
||||||
Top = 66
|
Top = 59
|
||||||
Width = 284
|
Width = 261
|
||||||
Height = 17
|
Height = 17
|
||||||
DataField = 'PERSONA_CONTACTO'
|
DataField = 'PERSONA_CONTACTO'
|
||||||
DataSource = dsDirecciones
|
DataSource = dsDirecciones
|
||||||
@ -200,9 +202,9 @@ object fEditorElegirDireccionEntrega: TfEditorElegirDireccionEntrega
|
|||||||
OnDblClick = ComponenteDblClick
|
OnDblClick = ComponenteDblClick
|
||||||
end
|
end
|
||||||
object eCodigoPostal: TDBText
|
object eCodigoPostal: TDBText
|
||||||
Left = 353
|
Left = 327
|
||||||
Top = 47
|
Top = 42
|
||||||
Width = 64
|
Width = 50
|
||||||
Height = 17
|
Height = 17
|
||||||
DataField = 'CODIGO_POSTAL'
|
DataField = 'CODIGO_POSTAL'
|
||||||
DataSource = dsDirecciones
|
DataSource = dsDirecciones
|
||||||
@ -217,31 +219,240 @@ object fEditorElegirDireccionEntrega: TfEditorElegirDireccionEntrega
|
|||||||
end
|
end
|
||||||
object Label1: TLabel
|
object Label1: TLabel
|
||||||
Left = 15
|
Left = 15
|
||||||
Top = 28
|
Top = 25
|
||||||
Width = 27
|
Width = 27
|
||||||
Height = 13
|
Height = 13
|
||||||
Caption = 'Calle:'
|
Caption = 'Calle:'
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = []
|
||||||
|
ParentFont = False
|
||||||
OnDblClick = ComponenteDblClick
|
OnDblClick = ComponenteDblClick
|
||||||
end
|
end
|
||||||
object Label2: TLabel
|
object Label2: TLabel
|
||||||
Left = 15
|
Left = 15
|
||||||
Top = 47
|
Top = 42
|
||||||
Width = 49
|
Width = 49
|
||||||
Height = 13
|
Height = 13
|
||||||
Caption = 'Poblaci'#243'n:'
|
Caption = 'Poblaci'#243'n:'
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = []
|
||||||
|
ParentFont = False
|
||||||
OnDblClick = ComponenteDblClick
|
OnDblClick = ComponenteDblClick
|
||||||
end
|
end
|
||||||
object Label4: TLabel
|
object Label4: TLabel
|
||||||
Left = 15
|
Left = 15
|
||||||
Top = 66
|
Top = 59
|
||||||
Width = 103
|
Width = 103
|
||||||
Height = 13
|
Height = 13
|
||||||
Caption = 'Persona de contacto:'
|
Caption = 'Persona de contacto:'
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = []
|
||||||
|
ParentFont = False
|
||||||
OnDblClick = ComponenteDblClick
|
OnDblClick = ComponenteDblClick
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
object rdxDestino1: TRadioButton
|
||||||
|
Left = 16
|
||||||
|
Top = 77
|
||||||
|
Width = 335
|
||||||
|
Height = 17
|
||||||
|
Action = actDirSocial
|
||||||
|
TabOrder = 2
|
||||||
|
TabStop = True
|
||||||
|
end
|
||||||
|
object RadioButton1: TRadioButton
|
||||||
|
Left = 16
|
||||||
|
Top = 193
|
||||||
|
Width = 335
|
||||||
|
Height = 17
|
||||||
|
Action = actOtro
|
||||||
|
TabOrder = 3
|
||||||
|
TabStop = True
|
||||||
|
end
|
||||||
|
object pnlDirSocial: TPanel
|
||||||
|
Left = 45
|
||||||
|
Top = 97
|
||||||
|
Width = 520
|
||||||
|
Height = 81
|
||||||
|
Color = clWindow
|
||||||
|
ParentBackground = False
|
||||||
|
TabOrder = 4
|
||||||
|
object DBText1: TDBText
|
||||||
|
Left = 8
|
||||||
|
Top = 5
|
||||||
|
Width = 497
|
||||||
|
Height = 17
|
||||||
|
DataField = 'NOMBRE'
|
||||||
|
DataSource = dsContacto
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = [fsBold]
|
||||||
|
ParentFont = False
|
||||||
|
Transparent = True
|
||||||
|
end
|
||||||
|
object Label3: TLabel
|
||||||
|
Left = 13
|
||||||
|
Top = 23
|
||||||
|
Width = 27
|
||||||
|
Height = 13
|
||||||
|
Caption = 'Calle:'
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = []
|
||||||
|
ParentFont = False
|
||||||
|
end
|
||||||
|
object DBText2: TDBText
|
||||||
|
Left = 46
|
||||||
|
Top = 23
|
||||||
|
Width = 465
|
||||||
|
Height = 17
|
||||||
|
DataField = 'CALLE'
|
||||||
|
DataSource = dsContacto
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = [fsBold]
|
||||||
|
ParentFont = False
|
||||||
|
Transparent = True
|
||||||
|
end
|
||||||
|
object Label5: TLabel
|
||||||
|
Left = 13
|
||||||
|
Top = 40
|
||||||
|
Width = 49
|
||||||
|
Height = 13
|
||||||
|
Caption = 'Poblaci'#243'n:'
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = []
|
||||||
|
ParentFont = False
|
||||||
|
end
|
||||||
|
object DBText3: TDBText
|
||||||
|
Left = 68
|
||||||
|
Top = 40
|
||||||
|
Width = 251
|
||||||
|
Height = 17
|
||||||
|
DataField = 'POBLACION'
|
||||||
|
DataSource = dsContacto
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = [fsBold]
|
||||||
|
ParentFont = False
|
||||||
|
Transparent = True
|
||||||
|
end
|
||||||
|
object DBText4: TDBText
|
||||||
|
Left = 325
|
||||||
|
Top = 40
|
||||||
|
Width = 50
|
||||||
|
Height = 17
|
||||||
|
DataField = 'CODIGO_POSTAL'
|
||||||
|
DataSource = dsContacto
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = [fsBold]
|
||||||
|
ParentFont = False
|
||||||
|
Transparent = True
|
||||||
|
end
|
||||||
|
object DBText5: TDBText
|
||||||
|
Left = 381
|
||||||
|
Top = 40
|
||||||
|
Width = 130
|
||||||
|
Height = 17
|
||||||
|
DataField = 'PROVINCIA'
|
||||||
|
DataSource = dsContacto
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = [fsBold]
|
||||||
|
ParentFont = False
|
||||||
|
Transparent = True
|
||||||
|
end
|
||||||
|
object DBText7: TDBText
|
||||||
|
Left = 381
|
||||||
|
Top = 57
|
||||||
|
Width = 130
|
||||||
|
Height = 17
|
||||||
|
DataField = 'TELEFONO_1'
|
||||||
|
DataSource = dsContacto
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = [fsBold]
|
||||||
|
ParentFont = False
|
||||||
|
Transparent = True
|
||||||
|
end
|
||||||
|
object Label6: TLabel
|
||||||
|
Left = 13
|
||||||
|
Top = 57
|
||||||
|
Width = 103
|
||||||
|
Height = 13
|
||||||
|
Caption = 'Persona de contacto:'
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = []
|
||||||
|
ParentFont = False
|
||||||
|
end
|
||||||
|
object DBText6: TDBText
|
||||||
|
Left = 122
|
||||||
|
Top = 57
|
||||||
|
Width = 261
|
||||||
|
Height = 17
|
||||||
|
DataField = 'PERSONA_CONTACTO'
|
||||||
|
DataSource = dsContacto
|
||||||
|
Font.Charset = DEFAULT_CHARSET
|
||||||
|
Font.Color = clWindowText
|
||||||
|
Font.Height = -11
|
||||||
|
Font.Name = 'Tahoma'
|
||||||
|
Font.Style = [fsBold]
|
||||||
|
ParentFont = False
|
||||||
|
Transparent = True
|
||||||
|
end
|
||||||
|
end
|
||||||
object dsDirecciones: TDADataSource
|
object dsDirecciones: TDADataSource
|
||||||
Left = 24
|
Left = 16
|
||||||
Top = 286
|
Top = 222
|
||||||
|
end
|
||||||
|
object ActionList1: TActionList
|
||||||
|
Left = 16
|
||||||
|
Top = 104
|
||||||
|
object actDirSocial: TAction
|
||||||
|
Caption = 'Utilizar la direcci'#243'n social del cliente:'
|
||||||
|
Checked = True
|
||||||
|
GroupIndex = 1
|
||||||
|
OnExecute = actDirSocialExecute
|
||||||
|
end
|
||||||
|
object actOtro: TAction
|
||||||
|
Caption = 'Utilizar la siguiente direcci'#243'n del cliente'
|
||||||
|
GroupIndex = 1
|
||||||
|
OnExecute = actOtroExecute
|
||||||
|
OnUpdate = actOtroUpdate
|
||||||
|
end
|
||||||
|
end
|
||||||
|
object dsContacto: TDADataSource
|
||||||
|
Left = 16
|
||||||
|
Top = 134
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -5,9 +5,10 @@ interface
|
|||||||
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
|
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
|
||||||
Buttons, ExtCtrls, Mask, DBCtrls, DB, uDADataTable,
|
Buttons, ExtCtrls, Mask, DBCtrls, DB, uDADataTable,
|
||||||
cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit,
|
cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit,
|
||||||
uIEditorElegirDireccionEntrega, uCustomView,
|
uIEditorElegirDireccionEntrega, uCustomView, uBizContactos,
|
||||||
uViewBase, uViewBarraSeleccion, JvExControls, JvComponent, JvgWizardHeader,
|
uViewBase, uViewBarraSeleccion, JvExControls, JvComponent, JvgWizardHeader,
|
||||||
DBCGrids, uBizDireccionesContacto, uDAInterfaces;
|
DBCGrids, uBizDireccionesContacto, uDAInterfaces, ActnList,
|
||||||
|
uDireccionesContactoController;
|
||||||
|
|
||||||
type
|
type
|
||||||
TfEditorElegirDireccionEntrega = class(TForm, IEditorElegirDireccionEntrega)
|
TfEditorElegirDireccionEntrega = class(TForm, IEditorElegirDireccionEntrega)
|
||||||
@ -25,32 +26,58 @@ type
|
|||||||
Label1: TLabel;
|
Label1: TLabel;
|
||||||
Label2: TLabel;
|
Label2: TLabel;
|
||||||
Label4: TLabel;
|
Label4: TLabel;
|
||||||
|
rdxDestino1: TRadioButton;
|
||||||
|
RadioButton1: TRadioButton;
|
||||||
|
ActionList1: TActionList;
|
||||||
|
actDirSocial: TAction;
|
||||||
|
actOtro: TAction;
|
||||||
|
dsContacto: TDADataSource;
|
||||||
|
pnlDirSocial: TPanel;
|
||||||
|
DBText1: TDBText;
|
||||||
|
Label3: TLabel;
|
||||||
|
DBText2: TDBText;
|
||||||
|
Label5: TLabel;
|
||||||
|
DBText3: TDBText;
|
||||||
|
DBText4: TDBText;
|
||||||
|
DBText5: TDBText;
|
||||||
|
DBText7: TDBText;
|
||||||
|
Label6: TLabel;
|
||||||
|
DBText6: TDBText;
|
||||||
procedure frViewBarraSeleccion1actSeleccionarExecute(Sender: TObject);
|
procedure frViewBarraSeleccion1actSeleccionarExecute(Sender: TObject);
|
||||||
procedure frViewBarraSeleccion1actCancelarExecute(Sender: TObject);
|
procedure frViewBarraSeleccion1actCancelarExecute(Sender: TObject);
|
||||||
procedure DBCtrlGrid1DblClick(Sender: TObject);
|
procedure DBCtrlGrid1DblClick(Sender: TObject);
|
||||||
procedure ComponenteDblClick(Sender: TObject);
|
procedure ComponenteDblClick(Sender: TObject);
|
||||||
|
procedure FormCreate(Sender: TObject);
|
||||||
|
procedure FormDestroy(Sender: TObject);
|
||||||
|
procedure FormShow(Sender: TObject);
|
||||||
|
procedure actDirSocialExecute(Sender: TObject);
|
||||||
|
procedure actOtroExecute(Sender: TObject);
|
||||||
|
procedure actOtroUpdate(Sender: TObject);
|
||||||
protected
|
protected
|
||||||
FDirecciones: IBizDireccionesContacto;
|
FDirecciones: IBizDireccionesContacto;
|
||||||
function GetDireccion: IBizDireccionesContacto;
|
FContacto : IBizContacto;
|
||||||
procedure SetDireccion(const Value: IBizDireccionesContacto);
|
FDireccionesController : IDireccionesContactoController;
|
||||||
|
function GetContacto: IBizContacto;
|
||||||
|
procedure SetContacto(const Value: IBizContacto);
|
||||||
|
|
||||||
procedure SetMensaje (const AValue: String);
|
procedure SetMensaje (const AValue: String);
|
||||||
function GetMensaje: String;
|
function GetMensaje: String;
|
||||||
|
|
||||||
function GetDireccionSeleccionada: IBizDireccionesContacto;
|
function GetDireccionSeleccionada: IBizDireccionesContacto;
|
||||||
|
|
||||||
|
procedure RefrescarEstado;
|
||||||
|
published
|
||||||
public
|
public
|
||||||
property Mensaje : String read GetMensaje write SetMensaje;
|
property Mensaje : String read GetMensaje write SetMensaje;
|
||||||
property Direccion: IBizDireccionesContacto read GetDireccion write SetDireccion;
|
property Contacto : IBizContacto read GetContacto write SetContacto;
|
||||||
property DireccionSeleccionada: IBizDireccionesContacto read GetDireccionSeleccionada;
|
property DireccionSeleccionada: IBizDireccionesContacto read GetDireccionSeleccionada;
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
uDireccionesContactoController;
|
uStringsUtils;
|
||||||
|
|
||||||
{ TfEditorDireccionEntrega }
|
{ TfEditorDireccionEntrega }
|
||||||
|
|
||||||
@ -59,6 +86,53 @@ begin
|
|||||||
frViewBarraSeleccion1.actSeleccionar.Execute;
|
frViewBarraSeleccion1.actSeleccionar.Execute;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfEditorElegirDireccionEntrega.FormCreate(Sender: TObject);
|
||||||
|
begin
|
||||||
|
FDireccionesController := TDireccionesContactoController.Create;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TfEditorElegirDireccionEntrega.FormDestroy(Sender: TObject);
|
||||||
|
begin
|
||||||
|
FDireccionesController := NIL;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TfEditorElegirDireccionEntrega.FormShow(Sender: TObject);
|
||||||
|
begin
|
||||||
|
if Assigned(FContacto) then
|
||||||
|
begin
|
||||||
|
if Supports(FContacto, IBizCliente) then
|
||||||
|
begin
|
||||||
|
Caption := 'Elegir una dirección de cliente';
|
||||||
|
JvgWizardHeader1.Captions.Text := 'Seleccione una dirección de cliente';
|
||||||
|
end;
|
||||||
|
if Supports(FContacto, IBizProveedor) then
|
||||||
|
begin
|
||||||
|
Caption := 'Elegir una dirección de proveedor';
|
||||||
|
JvgWizardHeader1.Captions.Text := 'Seleccione una dirección de proveedor';
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
|
actDirSocial.Checked := True;
|
||||||
|
RefrescarEstado;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TfEditorElegirDireccionEntrega.actDirSocialExecute(Sender: TObject);
|
||||||
|
begin
|
||||||
|
actDirSocial.Checked := True;
|
||||||
|
RefrescarEstado;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TfEditorElegirDireccionEntrega.actOtroExecute(Sender: TObject);
|
||||||
|
begin
|
||||||
|
actOtro.Checked := True;
|
||||||
|
RefrescarEstado;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TfEditorElegirDireccionEntrega.actOtroUpdate(Sender: TObject);
|
||||||
|
begin
|
||||||
|
(Sender as TAction).Enabled := (FDirecciones.RecordCount > 0)
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfEditorElegirDireccionEntrega.ComponenteDblClick(Sender: TObject);
|
procedure TfEditorElegirDireccionEntrega.ComponenteDblClick(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
DBCtrlGrid1DblClick(Sender);
|
DBCtrlGrid1DblClick(Sender);
|
||||||
@ -76,16 +150,45 @@ begin
|
|||||||
ModalResult := mrOk;
|
ModalResult := mrOk;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorElegirDireccionEntrega.GetDireccion: IBizDireccionesContacto;
|
function TfEditorElegirDireccionEntrega.GetContacto: IBizContacto;
|
||||||
begin
|
begin
|
||||||
Result := FDirecciones;
|
Result := FContacto;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorElegirDireccionEntrega.GetDireccionSeleccionada: IBizDireccionesContacto;
|
function TfEditorElegirDireccionEntrega.GetDireccionSeleccionada: IBizDireccionesContacto;
|
||||||
begin
|
begin
|
||||||
// Devuelvo el mismo objeto que recibo pero con el punto de lectura
|
Result := FDireccionesController.Nuevo;
|
||||||
// posicionado en la dirección elegida.
|
if actOtro.Checked then
|
||||||
Result := FDirecciones;
|
begin
|
||||||
|
with Result do
|
||||||
|
begin
|
||||||
|
NOMBRE := FDirecciones.NOMBRE;
|
||||||
|
CALLE := FDirecciones.CALLE;
|
||||||
|
POBLACION := FDirecciones.POBLACION;
|
||||||
|
CODIGO_POSTAL := FDirecciones.CODIGO_POSTAL;
|
||||||
|
PROVINCIA := FDirecciones.PROVINCIA;
|
||||||
|
TELEFONO := FDirecciones.TELEFONO;
|
||||||
|
FAX := FDirecciones.FAX;
|
||||||
|
MOVIL := FDirecciones.MOVIL;
|
||||||
|
EMAIL := FDirecciones.EMAIL;
|
||||||
|
PERSONA_CONTACTO := FDirecciones.PERSONA_CONTACTO;
|
||||||
|
end;
|
||||||
|
end
|
||||||
|
else begin
|
||||||
|
with Result do
|
||||||
|
begin
|
||||||
|
NOMBRE := FContacto.NOMBRE;
|
||||||
|
CALLE := FContacto.CALLE;
|
||||||
|
POBLACION := FContacto.POBLACION;
|
||||||
|
CODIGO_POSTAL := FContacto.CODIGO_POSTAL;
|
||||||
|
PROVINCIA := FContacto.PROVINCIA;
|
||||||
|
TELEFONO := FContacto.TELEFONO_1;
|
||||||
|
FAX := FContacto.FAX;
|
||||||
|
MOVIL := FContacto.MOVIL_1;
|
||||||
|
EMAIL := FContacto.EMAIL_1;
|
||||||
|
PERSONA_CONTACTO := FContacto.PERSONA_CONTACTO;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorElegirDireccionEntrega.GetMensaje: String;
|
function TfEditorElegirDireccionEntrega.GetMensaje: String;
|
||||||
@ -93,18 +196,47 @@ begin
|
|||||||
Result := JvgWizardHeader1.Comments.Text;
|
Result := JvgWizardHeader1.Comments.Text;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfEditorElegirDireccionEntrega.SetDireccion(const Value: IBizDireccionesContacto);
|
procedure TfEditorElegirDireccionEntrega.RefrescarEstado;
|
||||||
begin
|
begin
|
||||||
FDirecciones := Value;
|
if (actOtro.Checked) then
|
||||||
if Assigned(FDirecciones) then
|
begin
|
||||||
dsDirecciones.DataTable := FDirecciones.DataTable
|
DBCtrlGrid1.Enabled := True;
|
||||||
else
|
DBCtrlGrid1.Color := clWindow;
|
||||||
|
pnlDirSocial.Enabled := False;
|
||||||
|
pnlDirSocial.Color := clBtnFace;
|
||||||
|
end;
|
||||||
|
|
||||||
|
if (actDirSocial.Checked) then
|
||||||
|
begin
|
||||||
|
DBCtrlGrid1.Enabled := False;
|
||||||
|
DBCtrlGrid1.Color := clBtnFace;
|
||||||
|
pnlDirSocial.Enabled := True;
|
||||||
|
pnlDirSocial.Color := clWindow;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TfEditorElegirDireccionEntrega.SetContacto(const Value: IBizContacto);
|
||||||
|
begin
|
||||||
|
FContacto := Value;
|
||||||
|
if Assigned(FContacto) then
|
||||||
|
begin
|
||||||
|
FDirecciones := FContacto.Direcciones;
|
||||||
|
dsContacto.DataTable := FContacto.DataTable;
|
||||||
|
dsDirecciones.DataTable := FDirecciones.DataTable;
|
||||||
|
end
|
||||||
|
else begin
|
||||||
|
FDirecciones := NIL;
|
||||||
dsDirecciones.DataTable := NIL;
|
dsDirecciones.DataTable := NIL;
|
||||||
|
dsContacto.DataTable := NIL;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfEditorElegirDireccionEntrega.SetMensaje(const AValue: String);
|
procedure TfEditorElegirDireccionEntrega.SetMensaje(const AValue: String);
|
||||||
begin
|
begin
|
||||||
JvgWizardHeader1.Comments.Text := AValue;
|
if not EsCadenaVacia(AValue) then
|
||||||
|
JvgWizardHeader1.Comments.Text := AValue
|
||||||
|
else
|
||||||
|
JvgWizardHeader1.Comments.Text := ' ';
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|||||||
@ -112,12 +112,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
Width = 256
|
Width = 256
|
||||||
end
|
end
|
||||||
@ -134,14 +138,18 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.ButtonStyle = bts3D
|
Style.ButtonStyle = bts3D
|
||||||
Style.PopupBorderStyle = epbsFrame3D
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
Width = 155
|
Width = 155
|
||||||
end
|
end
|
||||||
@ -158,14 +166,18 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.ButtonStyle = bts3D
|
Style.ButtonStyle = bts3D
|
||||||
Style.PopupBorderStyle = epbsFrame3D
|
Style.PopupBorderStyle = epbsFrame3D
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 6
|
TabOrder = 6
|
||||||
Width = 256
|
Width = 256
|
||||||
end
|
end
|
||||||
@ -178,12 +190,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 5
|
TabOrder = 5
|
||||||
Width = 65
|
Width = 65
|
||||||
end
|
end
|
||||||
@ -197,12 +213,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 15
|
TabOrder = 15
|
||||||
Height = 86
|
Height = 86
|
||||||
Width = 630
|
Width = 630
|
||||||
@ -216,12 +236,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 9
|
TabOrder = 9
|
||||||
Width = 156
|
Width = 156
|
||||||
end
|
end
|
||||||
@ -234,12 +258,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 8
|
TabOrder = 8
|
||||||
Width = 156
|
Width = 156
|
||||||
end
|
end
|
||||||
@ -252,12 +280,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 10
|
TabOrder = 10
|
||||||
Width = 156
|
Width = 156
|
||||||
end
|
end
|
||||||
@ -270,12 +302,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.BorderStyle = ebs3D
|
Style.BorderStyle = ebs3D
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 11
|
TabOrder = 11
|
||||||
Width = 156
|
Width = 156
|
||||||
end
|
end
|
||||||
@ -290,12 +326,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
Width = 256
|
Width = 256
|
||||||
end
|
end
|
||||||
@ -309,12 +349,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
Width = 104
|
Width = 104
|
||||||
end
|
end
|
||||||
@ -331,12 +375,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 12
|
TabOrder = 12
|
||||||
Width = 127
|
Width = 127
|
||||||
end
|
end
|
||||||
@ -353,12 +401,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 13
|
TabOrder = 13
|
||||||
Width = 127
|
Width = 127
|
||||||
end
|
end
|
||||||
@ -375,12 +427,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 14
|
TabOrder = 14
|
||||||
Width = 127
|
Width = 127
|
||||||
end
|
end
|
||||||
@ -396,13 +452,17 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.TextColor = clWindowText
|
StyleDisabled.TextColor = clWindowText
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Width = 99
|
Width = 99
|
||||||
end
|
end
|
||||||
@ -416,12 +476,16 @@ inherited frViewContacto: TfrViewContacto
|
|||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.LookAndFeel.Kind = lfStandard
|
Style.LookAndFeel.Kind = lfStandard
|
||||||
Style.LookAndFeel.NativeStyle = True
|
Style.LookAndFeel.NativeStyle = True
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.Kind = lfStandard
|
StyleDisabled.LookAndFeel.Kind = lfStandard
|
||||||
StyleDisabled.LookAndFeel.NativeStyle = True
|
StyleDisabled.LookAndFeel.NativeStyle = True
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.Kind = lfStandard
|
StyleFocused.LookAndFeel.Kind = lfStandard
|
||||||
StyleFocused.LookAndFeel.NativeStyle = True
|
StyleFocused.LookAndFeel.NativeStyle = True
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.Kind = lfStandard
|
StyleHot.LookAndFeel.Kind = lfStandard
|
||||||
StyleHot.LookAndFeel.NativeStyle = True
|
StyleHot.LookAndFeel.NativeStyle = True
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
TabOrder = 7
|
TabOrder = 7
|
||||||
Width = 256
|
Width = 256
|
||||||
end
|
end
|
||||||
|
|||||||
@ -109,7 +109,7 @@ type
|
|||||||
procedure SetController (const Value : IContactosController); virtual;
|
procedure SetController (const Value : IContactosController); virtual;
|
||||||
public
|
public
|
||||||
constructor Create(AOwner : TComponent); override;
|
constructor Create(AOwner : TComponent); override;
|
||||||
destructor Destroy;
|
destructor Destroy; override;
|
||||||
property Controller : IContactosController read GetController
|
property Controller : IContactosController read GetController
|
||||||
write SetController;
|
write SetController;
|
||||||
property Contacto: IBizContacto read GetContacto write SetContacto;
|
property Contacto: IBizContacto read GetContacto write SetContacto;
|
||||||
@ -245,6 +245,8 @@ begin
|
|||||||
|
|
||||||
if Assigned(FPoblaciones) then
|
if Assigned(FPoblaciones) then
|
||||||
FreeANDNIL(FPoblaciones);
|
FreeANDNIL(FPoblaciones);
|
||||||
|
|
||||||
|
inherited;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfrViewContacto.eMailTrabajoPropertiesEditValueChanged(Sender: TObject);
|
procedure TfrViewContacto.eMailTrabajoPropertiesEditValueChanged(Sender: TObject);
|
||||||
|
|||||||
@ -13,4 +13,4 @@ BEGIN
|
|||||||
END
|
END
|
||||||
|
|
||||||
/* C:\Codigo Tecsitel\Source\Modulos\Gestion de documentos\Controller\GestorDocumentos_Controller.res */
|
/* C:\Codigo Tecsitel\Source\Modulos\Gestion de documentos\Controller\GestorDocumentos_Controller.res */
|
||||||
/* C:\DOCUME~1\Usuario\CONFIG~1\Temp\dtf285.tmp */
|
/* C:\DOCUME~1\Usuario\CONFIG~1\Temp\dtf498.tmp */
|
||||||
|
|||||||
@ -14,4 +14,4 @@ END
|
|||||||
|
|
||||||
/* C:\Codigo Tecsitel\Source\Modulos\Gestion de documentos\Data\uDataModuleGestorDocumentos.dfm */
|
/* C:\Codigo Tecsitel\Source\Modulos\Gestion de documentos\Data\uDataModuleGestorDocumentos.dfm */
|
||||||
/* C:\Codigo Tecsitel\Source\Modulos\Gestion de documentos\Data\GestorDocumentos_data.res */
|
/* C:\Codigo Tecsitel\Source\Modulos\Gestion de documentos\Data\GestorDocumentos_data.res */
|
||||||
/* C:\DOCUME~1\Usuario\CONFIG~1\Temp\dtf283.tmp */
|
/* C:\DOCUME~1\Usuario\CONFIG~1\Temp\dtf496.tmp */
|
||||||
|
|||||||
@ -1,24 +1,22 @@
|
|||||||
inherited frViewObra: TfrViewObra
|
inherited frViewObra: TfrViewObra
|
||||||
Width = 841
|
Width = 451
|
||||||
Height = 487
|
Height = 304
|
||||||
Align = alClient
|
Align = alClient
|
||||||
ExplicitWidth = 451
|
ExplicitWidth = 451
|
||||||
ExplicitHeight = 304
|
ExplicitHeight = 304
|
||||||
object dxLayoutControlObra: TdxLayoutControl
|
object dxLayoutControlObra: TdxLayoutControl
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 841
|
Width = 451
|
||||||
Height = 487
|
Height = 304
|
||||||
Align = alClient
|
Align = alClient
|
||||||
ParentBackground = True
|
ParentBackground = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
TabStop = False
|
TabStop = False
|
||||||
AutoContentSizes = [acsWidth, acsHeight]
|
AutoContentSizes = [acsWidth, acsHeight]
|
||||||
ExplicitWidth = 451
|
|
||||||
ExplicitHeight = 304
|
|
||||||
DesignSize = (
|
DesignSize = (
|
||||||
841
|
451
|
||||||
487)
|
304)
|
||||||
object eNombre: TcxDBTextEdit
|
object eNombre: TcxDBTextEdit
|
||||||
Left = 130
|
Left = 130
|
||||||
Top = 34
|
Top = 34
|
||||||
@ -171,7 +169,7 @@ inherited frViewObra: TfrViewObra
|
|||||||
Width = 203
|
Width = 203
|
||||||
end
|
end
|
||||||
object eCodigoPostal: TcxDBTextEdit
|
object eCodigoPostal: TcxDBTextEdit
|
||||||
Left = 310
|
Left = 189
|
||||||
Top = 145
|
Top = 145
|
||||||
DataBinding.DataField = 'CODIGO_POSTAL'
|
DataBinding.DataField = 'CODIGO_POSTAL'
|
||||||
DataBinding.DataSource = DADataSource
|
DataBinding.DataSource = DADataSource
|
||||||
@ -247,7 +245,7 @@ inherited frViewObra: TfrViewObra
|
|||||||
Width = 224
|
Width = 224
|
||||||
end
|
end
|
||||||
inline frViewSubcontrataObra1: TfrViewSubcontrataObra
|
inline frViewSubcontrataObra1: TfrViewSubcontrataObra
|
||||||
Left = 431
|
Left = 310
|
||||||
Top = 283
|
Top = 283
|
||||||
Width = 503
|
Width = 503
|
||||||
Height = 159
|
Height = 159
|
||||||
@ -259,7 +257,7 @@ inherited frViewObra: TfrViewObra
|
|||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 11
|
TabOrder = 11
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitLeft = 431
|
ExplicitLeft = 310
|
||||||
ExplicitTop = 283
|
ExplicitTop = 283
|
||||||
ExplicitWidth = 503
|
ExplicitWidth = 503
|
||||||
ExplicitHeight = 159
|
ExplicitHeight = 159
|
||||||
@ -312,16 +310,16 @@ inherited frViewObra: TfrViewObra
|
|||||||
Width = 375
|
Width = 375
|
||||||
end
|
end
|
||||||
inherited edtCodigoPostal: TcxDBTextEdit
|
inherited edtCodigoPostal: TcxDBTextEdit
|
||||||
Left = 296
|
Left = 249
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 296
|
ExplicitLeft = 249
|
||||||
end
|
end
|
||||||
inherited Button3: TBitBtn
|
inherited Button3: TBitBtn
|
||||||
Left = 155
|
Left = 108
|
||||||
ExplicitLeft = 155
|
ExplicitLeft = 108
|
||||||
end
|
end
|
||||||
inherited edtPersonaContacto: TcxDBTextEdit
|
inherited edtPersonaContacto: TcxDBTextEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -332,12 +330,12 @@ inherited frViewObra: TfrViewObra
|
|||||||
Width = 375
|
Width = 375
|
||||||
end
|
end
|
||||||
inherited edtReferenciaAsignada: TcxDBTextEdit
|
inherited edtReferenciaAsignada: TcxDBTextEdit
|
||||||
Left = 257
|
Left = 210
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 257
|
ExplicitLeft = 210
|
||||||
end
|
end
|
||||||
inherited edtTlf: TcxDBTextEdit
|
inherited edtTlf: TcxDBTextEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -362,7 +360,7 @@ inherited frViewObra: TfrViewObra
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
inline frViewClienteAsociadoObra1: TfrViewClienteAsociadoObra
|
inline frViewClienteAsociadoObra1: TfrViewClienteAsociadoObra
|
||||||
Left = 431
|
Left = 310
|
||||||
Top = 34
|
Top = 34
|
||||||
Width = 503
|
Width = 503
|
||||||
Height = 213
|
Height = 213
|
||||||
@ -374,7 +372,7 @@ inherited frViewObra: TfrViewObra
|
|||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 10
|
TabOrder = 10
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitLeft = 431
|
ExplicitLeft = 310
|
||||||
ExplicitTop = 34
|
ExplicitTop = 34
|
||||||
ExplicitWidth = 503
|
ExplicitWidth = 503
|
||||||
ExplicitHeight = 213
|
ExplicitHeight = 213
|
||||||
@ -424,16 +422,16 @@ inherited frViewObra: TfrViewObra
|
|||||||
Width = 429
|
Width = 429
|
||||||
end
|
end
|
||||||
inherited edtCodigoPostal: TcxDBTextEdit
|
inherited edtCodigoPostal: TcxDBTextEdit
|
||||||
Left = 296
|
Left = 192
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 296
|
ExplicitLeft = 192
|
||||||
end
|
end
|
||||||
inherited Button3: TBitBtn
|
inherited Button3: TBitBtn
|
||||||
Left = 186
|
Left = 82
|
||||||
ExplicitLeft = 186
|
ExplicitLeft = 82
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -207,14 +207,12 @@ procedure TfrViewObra.OnClienteChanged(Sender: TObject);
|
|||||||
var
|
var
|
||||||
AClientesController : IClientesController;
|
AClientesController : IClientesController;
|
||||||
ADireccion : IBizDireccionesContacto;
|
ADireccion : IBizDireccionesContacto;
|
||||||
AVerMensaje : Boolean;
|
|
||||||
begin
|
begin
|
||||||
if Assigned(FObra) then
|
if Assigned(FObra) then
|
||||||
begin
|
begin
|
||||||
FObra.Edit;
|
FObra.Edit;
|
||||||
FObra.ID_CLIENTE := frViewClienteAsociadoObra1.ID_Cliente;
|
FObra.ID_CLIENTE := frViewClienteAsociadoObra1.ID_Cliente;
|
||||||
|
|
||||||
AVerMensaje := False;
|
|
||||||
AClientesController := TClientesController.Create;
|
AClientesController := TClientesController.Create;
|
||||||
try
|
try
|
||||||
{ // Esto podría ser configurable en el programa
|
{ // Esto podría ser configurable en el programa
|
||||||
@ -224,14 +222,10 @@ begin
|
|||||||
case frViewClienteAsociadoObra1.Cliente.Direcciones.RecordCount of
|
case frViewClienteAsociadoObra1.Cliente.Direcciones.RecordCount of
|
||||||
0 : begin
|
0 : begin
|
||||||
FController.CopiarDireccion(frViewClienteAsociadoObra1.Cliente, FObra);
|
FController.CopiarDireccion(frViewClienteAsociadoObra1.Cliente, FObra);
|
||||||
AVerMensaje := True;
|
ShowInfoMessage('Dirección de la obra actualizada.', 'Se ha actualizado los datos de la dirección de la obra con los datos del cliente.');
|
||||||
end;
|
end;
|
||||||
1 : begin
|
|
||||||
FController.CopiarDireccion(frViewClienteAsociadoObra1.Cliente.Direcciones, FObra);
|
|
||||||
AVerMensaje := True;
|
|
||||||
end
|
|
||||||
else begin
|
else begin
|
||||||
ADireccion := AClientesController.ElegirDireccionEntrega(frViewClienteAsociadoObra1.Cliente.Direcciones, '');
|
ADireccion := AClientesController.ElegirDireccionEntrega(frViewClienteAsociadoObra1.Cliente, '');
|
||||||
ShowHourglassCursor;
|
ShowHourglassCursor;
|
||||||
try
|
try
|
||||||
if Assigned(ADireccion) then
|
if Assigned(ADireccion) then
|
||||||
@ -245,10 +239,6 @@ begin
|
|||||||
finally
|
finally
|
||||||
AClientesController := NIL;
|
AClientesController := NIL;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if AVerMensaje then
|
|
||||||
ShowInfoMessage('Dirección de la obra actualizada.', 'Se ha actualizado los datos de la dirección de la obra con los datos del cliente.');
|
|
||||||
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -179,6 +179,10 @@ inherited fEditorPresupuestoCliente: TfEditorPresupuestoCliente
|
|||||||
object pagContenido: TTabSheet
|
object pagContenido: TTabSheet
|
||||||
Caption = 'Contenido'
|
Caption = 'Contenido'
|
||||||
ImageIndex = 1
|
ImageIndex = 1
|
||||||
|
ExplicitLeft = 0
|
||||||
|
ExplicitTop = 0
|
||||||
|
ExplicitWidth = 0
|
||||||
|
ExplicitHeight = 0
|
||||||
inline frViewDetallesPresupuestoCliente1: TfrViewDetallesPresupuestoCliente
|
inline frViewDetallesPresupuestoCliente1: TfrViewDetallesPresupuestoCliente
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -199,101 +203,103 @@ inherited fEditorPresupuestoCliente: TfEditorPresupuestoCliente
|
|||||||
ExplicitHeight = 386
|
ExplicitHeight = 386
|
||||||
inherited ToolBar1: TToolBar
|
inherited ToolBar1: TToolBar
|
||||||
Width = 735
|
Width = 735
|
||||||
Height = 73
|
Height = 46
|
||||||
ExplicitWidth = 735
|
ExplicitWidth = 735
|
||||||
ExplicitHeight = 73
|
ExplicitHeight = 46
|
||||||
inherited ToolButton3: TToolButton
|
inherited ToolButton3: TToolButton
|
||||||
Wrap = False
|
Wrap = False
|
||||||
end
|
end
|
||||||
inherited ToolButton4: TToolButton
|
inherited ToolButton4: TToolButton
|
||||||
Left = 278
|
Left = 278
|
||||||
Top = 0
|
Top = 0
|
||||||
|
Wrap = True
|
||||||
ExplicitLeft = 278
|
ExplicitLeft = 278
|
||||||
ExplicitTop = 0
|
ExplicitTop = 0
|
||||||
end
|
end
|
||||||
inherited ToolButton14: TToolButton
|
inherited ToolButton14: TToolButton
|
||||||
Left = 334
|
Left = 0
|
||||||
Top = 0
|
Wrap = False
|
||||||
ExplicitLeft = 334
|
ExplicitLeft = 0
|
||||||
ExplicitTop = 0
|
|
||||||
end
|
end
|
||||||
inherited FontName: TJvFontComboBox
|
inherited FontName: TJvFontComboBox
|
||||||
|
Left = 65
|
||||||
Top = 22
|
Top = 22
|
||||||
|
ExplicitLeft = 65
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited FontSize: TEdit
|
inherited FontSize: TEdit
|
||||||
|
Left = 210
|
||||||
Top = 22
|
Top = 22
|
||||||
Width = 200
|
Width = 200
|
||||||
|
ExplicitLeft = 210
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
ExplicitWidth = 200
|
ExplicitWidth = 200
|
||||||
end
|
end
|
||||||
inherited UpDown1: TUpDown
|
inherited UpDown1: TUpDown
|
||||||
Left = 345
|
Left = 410
|
||||||
Top = 22
|
Top = 22
|
||||||
ExplicitLeft = 345
|
ExplicitLeft = 410
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton13: TToolButton
|
inherited ToolButton13: TToolButton
|
||||||
Left = 362
|
Left = 427
|
||||||
Top = 22
|
Top = 22
|
||||||
ExplicitLeft = 362
|
ExplicitLeft = 427
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton6: TToolButton
|
inherited ToolButton6: TToolButton
|
||||||
Left = 370
|
Left = 435
|
||||||
Top = 22
|
Top = 22
|
||||||
ExplicitLeft = 370
|
ExplicitLeft = 435
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton7: TToolButton
|
inherited ToolButton7: TToolButton
|
||||||
Left = 436
|
Left = 501
|
||||||
Top = 22
|
Top = 22
|
||||||
ExplicitLeft = 436
|
ExplicitLeft = 501
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton8: TToolButton
|
inherited ToolButton8: TToolButton
|
||||||
Left = 503
|
Left = 568
|
||||||
Top = 22
|
Top = 22
|
||||||
ExplicitLeft = 503
|
ExplicitLeft = 568
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton12: TToolButton
|
inherited ToolButton12: TToolButton
|
||||||
Left = 0
|
Left = 651
|
||||||
Top = 22
|
Top = 22
|
||||||
Wrap = True
|
ExplicitLeft = 651
|
||||||
ExplicitLeft = 0
|
|
||||||
ExplicitTop = 22
|
ExplicitTop = 22
|
||||||
ExplicitHeight = 27
|
|
||||||
end
|
end
|
||||||
inherited ToolButton9: TToolButton
|
inherited ToolButton9: TToolButton
|
||||||
Left = 0
|
Left = 659
|
||||||
Top = 49
|
Top = 22
|
||||||
ExplicitLeft = 0
|
ExplicitLeft = 659
|
||||||
ExplicitTop = 49
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton10: TToolButton
|
inherited ToolButton10: TToolButton
|
||||||
Left = 145
|
Left = 804
|
||||||
Top = 49
|
Top = 22
|
||||||
ExplicitLeft = 145
|
ExplicitLeft = 804
|
||||||
ExplicitTop = 49
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton11: TToolButton
|
inherited ToolButton11: TToolButton
|
||||||
Left = 270
|
Left = 929
|
||||||
Top = 49
|
Top = 22
|
||||||
ExplicitLeft = 270
|
ExplicitLeft = 929
|
||||||
ExplicitTop = 49
|
ExplicitTop = 22
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Top = 99
|
Top = 72
|
||||||
Width = 735
|
Width = 735
|
||||||
Height = 287
|
Height = 314
|
||||||
ExplicitTop = 72
|
ExplicitTop = 72
|
||||||
ExplicitWidth = 735
|
ExplicitWidth = 735
|
||||||
ExplicitHeight = 314
|
ExplicitHeight = 314
|
||||||
end
|
end
|
||||||
inherited TBXDock1: TTBXDock
|
inherited TBXDock1: TTBXDock
|
||||||
Top = 73
|
Top = 46
|
||||||
Width = 735
|
Width = 735
|
||||||
ExplicitTop = 46
|
ExplicitTop = 46
|
||||||
ExplicitWidth = 735
|
ExplicitWidth = 735
|
||||||
@ -315,6 +321,10 @@ inherited fEditorPresupuestoCliente: TfEditorPresupuestoCliente
|
|||||||
object pagPortada: TTabSheet
|
object pagPortada: TTabSheet
|
||||||
Caption = 'Portada'
|
Caption = 'Portada'
|
||||||
ImageIndex = 3
|
ImageIndex = 3
|
||||||
|
ExplicitLeft = 0
|
||||||
|
ExplicitTop = 0
|
||||||
|
ExplicitWidth = 0
|
||||||
|
ExplicitHeight = 0
|
||||||
object Panel1: TPanel
|
object Panel1: TPanel
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -446,6 +456,10 @@ inherited fEditorPresupuestoCliente: TfEditorPresupuestoCliente
|
|||||||
object pagMemoria: TTabSheet
|
object pagMemoria: TTabSheet
|
||||||
Caption = 'Memoria'
|
Caption = 'Memoria'
|
||||||
ImageIndex = 4
|
ImageIndex = 4
|
||||||
|
ExplicitLeft = 0
|
||||||
|
ExplicitTop = 0
|
||||||
|
ExplicitWidth = 0
|
||||||
|
ExplicitHeight = 0
|
||||||
object Panel2: TPanel
|
object Panel2: TPanel
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -748,6 +762,10 @@ inherited fEditorPresupuestoCliente: TfEditorPresupuestoCliente
|
|||||||
object pagInicidencias: TTabSheet
|
object pagInicidencias: TTabSheet
|
||||||
Caption = 'Incidencias'
|
Caption = 'Incidencias'
|
||||||
ImageIndex = 2
|
ImageIndex = 2
|
||||||
|
ExplicitLeft = 0
|
||||||
|
ExplicitTop = 0
|
||||||
|
ExplicitWidth = 0
|
||||||
|
ExplicitHeight = 0
|
||||||
inline frViewIncidenciasCli: TfrViewIncidencias
|
inline frViewIncidenciasCli: TfrViewIncidencias
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -1036,6 +1054,7 @@ inherited fEditorPresupuestoCliente: TfEditorPresupuestoCliente
|
|||||||
ExplicitLeft = 93
|
ExplicitLeft = 93
|
||||||
ExplicitTop = 65
|
ExplicitTop = 65
|
||||||
ExplicitWidth = 259
|
ExplicitWidth = 259
|
||||||
|
ExplicitHeight = 0
|
||||||
Width = 259
|
Width = 259
|
||||||
end
|
end
|
||||||
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
|
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
|
||||||
|
|||||||
@ -299,13 +299,8 @@ begin
|
|||||||
FPresupuesto.Edit;
|
FPresupuesto.Edit;
|
||||||
FPresupuesto.IMPORTE_PORTE := 0;
|
FPresupuesto.IMPORTE_PORTE := 0;
|
||||||
end;
|
end;
|
||||||
1 : begin
|
|
||||||
FController.CopiarDireccionEnvio(FPresupuesto.Cliente.Direcciones, FPresupuesto);
|
|
||||||
FPresupuesto.Edit;
|
|
||||||
FPresupuesto.IMPORTE_PORTE := FPresupuesto.Cliente.Direcciones.PORTE;
|
|
||||||
end
|
|
||||||
else begin
|
else begin
|
||||||
ADireccion := AClientesController.ElegirDireccionEntrega(FPresupuesto.Cliente.Direcciones, '');
|
ADireccion := AClientesController.ElegirDireccionEntrega(FPresupuesto.Cliente, '');
|
||||||
ShowHourglassCursor;
|
ShowHourglassCursor;
|
||||||
try
|
try
|
||||||
if Assigned(ADireccion) then
|
if Assigned(ADireccion) then
|
||||||
@ -327,6 +322,7 @@ begin
|
|||||||
FController.DetallesController.ActualizarDetalles(FPresupuesto.Detalles, FPresupuesto.Cliente);
|
FController.DetallesController.ActualizarDetalles(FPresupuesto.Detalles, FPresupuesto.Cliente);
|
||||||
|
|
||||||
finally
|
finally
|
||||||
|
ADireccion := NIL;
|
||||||
AClientesController := NIL;
|
AClientesController := NIL;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -2,6 +2,7 @@ inherited fEditorPresupuestosCliente: TfEditorPresupuestosCliente
|
|||||||
Caption = 'Lista de presupuestos de cliente'
|
Caption = 'Lista de presupuestos de cliente'
|
||||||
ClientWidth = 674
|
ClientWidth = 674
|
||||||
ExplicitWidth = 682
|
ExplicitWidth = 682
|
||||||
|
ExplicitHeight = 240
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
TextHeight = 13
|
TextHeight = 13
|
||||||
inherited JvNavPanelHeader: TJvNavPanelHeader
|
inherited JvNavPanelHeader: TJvNavPanelHeader
|
||||||
|
|||||||
@ -318,7 +318,7 @@ inherited frViewPresupuestoCliente: TfrViewPresupuestoCliente
|
|||||||
Width = 494
|
Width = 494
|
||||||
Height = 245
|
Height = 245
|
||||||
ExplicitWidth = 494
|
ExplicitWidth = 494
|
||||||
ExplicitHeight = 117
|
ExplicitHeight = 245
|
||||||
inherited edtlNombre: TcxDBTextEdit
|
inherited edtlNombre: TcxDBTextEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
@ -372,6 +372,12 @@ inherited frViewPresupuestoCliente: TfrViewPresupuestoCliente
|
|||||||
ExplicitLeft = 292
|
ExplicitLeft = 292
|
||||||
end
|
end
|
||||||
inherited edtPersonaContacto: TcxDBButtonEdit
|
inherited edtPersonaContacto: TcxDBButtonEdit
|
||||||
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
ExplicitWidth = 494
|
||||||
|
Width = 494
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -107,7 +107,7 @@ begin
|
|||||||
AClientesController := TClientesController.Create;
|
AClientesController := TClientesController.Create;
|
||||||
APresupuestoController := TPresupuestosClienteController.Create;
|
APresupuestoController := TPresupuestosClienteController.Create;
|
||||||
try
|
try
|
||||||
ADireccion := AClientesController.ElegirDireccionEntrega(FPresupuesto.Cliente.Direcciones,
|
ADireccion := AClientesController.ElegirDireccionEntrega(FPresupuesto.Cliente,
|
||||||
'Seleccione la dirección del cliente que quiere utilizar como dirección de envio de este presupuesto.');
|
'Seleccione la dirección del cliente que quiere utilizar como dirección de envio de este presupuesto.');
|
||||||
if Assigned(ADireccion) then
|
if Assigned(ADireccion) then
|
||||||
begin
|
begin
|
||||||
@ -116,6 +116,7 @@ begin
|
|||||||
FPresupuesto.IMPORTE_PORTE := ADireccion.PORTE;
|
FPresupuesto.IMPORTE_PORTE := ADireccion.PORTE;
|
||||||
end;
|
end;
|
||||||
finally
|
finally
|
||||||
|
ADireccion := NIL;
|
||||||
AClientesController := NIL;
|
AClientesController := NIL;
|
||||||
APresupuestoController := NIL;
|
APresupuestoController := NIL;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ProjectGuid>{ebdcd25d-40d7-4146-91ec-a0ea4aa1dcd1}</ProjectGuid>
|
<ProjectGuid>{ebdcd25d-40d7-4146-91ec-a0ea4aa1dcd1}</ProjectGuid>
|
||||||
|
|||||||
@ -14,7 +14,7 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
VALUE "FileVersion", "1.2.4.0\0"
|
VALUE "FileVersion", "1.2.4.0\0"
|
||||||
VALUE "ProductVersion", "1.2.4.0\0"
|
VALUE "ProductVersion", "1.2.4.0\0"
|
||||||
VALUE "CompileDate", "martes, 02 de septiembre de 2008 17:41\0"
|
VALUE "CompileDate", "martes, 02 de septiembre de 2008 20:39\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user