2009-06-30 16:39:42 +00:00
|
|
|
unit uEditorAsignarDescuento;
|
|
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
|
|
uses
|
|
|
|
|
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
|
|
|
|
Dialogs, StdCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit,
|
|
|
|
|
cxDropDownEdit, cxCalendar, ExtCtrls, uEditorBasico, uIEditorAsignarDescuento,
|
|
|
|
|
cxGraphics, DB, uDAInterfaces, uDADataTable, cxDBEdit, uEmpresasController,
|
|
|
|
|
cxSpinEdit;
|
|
|
|
|
|
|
|
|
|
type
|
|
|
|
|
TfEditorAsignarDescuento = class(TfEditorBasico, IEditorAsignarDescuento)
|
|
|
|
|
Label1: TLabel;
|
|
|
|
|
bAceptar: TButton;
|
|
|
|
|
bCancelar: TButton;
|
|
|
|
|
Label2: TLabel;
|
|
|
|
|
Panel1: TPanel;
|
|
|
|
|
sDescuento: TcxSpinEdit;
|
|
|
|
|
Label3: TLabel;
|
|
|
|
|
|
|
|
|
|
private
|
2009-10-06 14:03:13 +00:00
|
|
|
//FDescuento: Variant;
|
2009-06-30 16:39:42 +00:00
|
|
|
function GetDescuento: Variant;
|
|
|
|
|
procedure SetDescuento(const Value: Variant);
|
|
|
|
|
|
|
|
|
|
public
|
|
|
|
|
property Descuento: Variant Read GetDescuento write SetDescuento;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
{$R *.dfm}
|
|
|
|
|
|
|
|
|
|
uses uFactuGES_App;
|
|
|
|
|
|
|
|
|
|
function TfEditorAsignarDescuento.GetDescuento: Variant;
|
|
|
|
|
begin
|
|
|
|
|
Result := sDescuento.EditValue;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure TfEditorAsignarDescuento.SetDescuento(const Value: Variant);
|
|
|
|
|
begin
|
|
|
|
|
sDescuento.EditValue := Value;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
end.
|