122 lines
3.7 KiB
C++
122 lines
3.7 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef mainH
|
|
#define mainH
|
|
//---------------------------------------------------------------------------
|
|
#include <Classes.hpp>
|
|
#include <Controls.hpp>
|
|
#include <StdCtrls.hpp>
|
|
#include <Forms.hpp>
|
|
#include <ComCtrls.hpp>
|
|
#include <Menus.hpp>
|
|
#include <ExtCtrls.hpp>
|
|
#include <Graphics.hpp>
|
|
#include <DBCtrls.hpp>
|
|
#include <Mask.hpp>
|
|
#include <Buttons.hpp>
|
|
#include <Db.hpp>
|
|
#include <DBTables.hpp>
|
|
#include <DBGrids.hpp>
|
|
#include <Grids.hpp>
|
|
//---------------------------------------------------------------------------
|
|
class TeRecibos : public TForm
|
|
{
|
|
__published: // IDE-managed Components
|
|
TStatusBar *StatusBar1;
|
|
TPageControl *PageControl1;
|
|
TTabSheet *AcercaDe;
|
|
TTabSheet *EmisionRecibos;
|
|
TTabSheet *ListadoRecibos;
|
|
TPanel *Panel1;
|
|
TImage *Image1;
|
|
TBevel *Bevel1;
|
|
TLabel *Label1;
|
|
TLabel *Label2;
|
|
TImage *Image2;
|
|
TBevel *Bevel2;
|
|
TLabel *Label3;
|
|
TLabel *Label4;
|
|
TShape *Shape1;
|
|
TShape *spLineaSup;
|
|
TLabel *Label5;
|
|
TLabel *Label6;
|
|
TLabel *Label7;
|
|
TLabel *Label8;
|
|
TDBEdit *DBEdit1;
|
|
TDBEdit *DBEdit2;
|
|
TDBEdit *DBEdit3;
|
|
TDBEdit *DBEdit4;
|
|
TLabel *Label9;
|
|
TShape *Shape2;
|
|
TShape *Shape3;
|
|
TLabel *Label10;
|
|
TLabel *Label11;
|
|
TShape *Shape4;
|
|
TDBEdit *DBEdit5;
|
|
TLabel *Label12;
|
|
TDBEdit *DBEdit6;
|
|
TDBEdit *DBEdit7;
|
|
TLabel *Label13;
|
|
TShape *Shape5;
|
|
TLabel *Label14;
|
|
TLabel *Label15;
|
|
TLabel *Label16;
|
|
TShape *Shape6;
|
|
TDBEdit *DBEdit8;
|
|
TDBEdit *DBEdit9;
|
|
TLabel *Label17;
|
|
TDBEdit *DBEdit10;
|
|
TDBEdit *DBEdit11;
|
|
TDBEdit *DBEdit12;
|
|
TDBEdit *DBEdit13;
|
|
TLabel *Label18;
|
|
TShape *Shape7;
|
|
TLabel *Label19;
|
|
TLabel *Label20;
|
|
TShape *Shape8;
|
|
TLabel *Label21;
|
|
TBitBtn *BitBtn1;
|
|
TDataSource *DsRecibos;
|
|
TTable *TbRecibos;
|
|
TAutoIncField *TbRecibosId;
|
|
TStringField *TbRecibosLugarLibramiento;
|
|
TDateField *TbRecibosFechaLibramiento;
|
|
TDateField *TbRecibosVencimiento;
|
|
TStringField *TbRecibosPagarA;
|
|
TCurrencyField *TbRecibosImporte;
|
|
TStringField *TbRecibosPersonaEntidad;
|
|
TStringField *TbRecibosDomicilio;
|
|
TStringField *TbRecibosCent;
|
|
TStringField *TbRecibosCsuc;
|
|
TStringField *TbRecibosCdc;
|
|
TStringField *TbRecibosCnum;
|
|
TStringField *TbRecibosImporteTXT;
|
|
TStringField *TbRecibosImporteTXTcent;
|
|
TDBText *DBText1;
|
|
TDBNavigator *DBNavigator1;
|
|
TDBGrid *DBGrid1;
|
|
TLabel *Label22;
|
|
TDateTimePicker *FechaMin;
|
|
TDateTimePicker *FechaMax;
|
|
TBitBtn *BitBtn2;
|
|
TDBCheckBox *DBCheckBox1;
|
|
TBooleanField *TbRecibosPagado;
|
|
TBitBtn *BitBtn3;
|
|
TBitBtn *BitBtn4;
|
|
void __fastcall ToolButton1Click(TObject *Sender);
|
|
void __fastcall TbRecibosCalcFields(TDataSet *DataSet);
|
|
void __fastcall BitBtn2Click(TObject *Sender);
|
|
void __fastcall DBGrid1DblClick(TObject *Sender);
|
|
void __fastcall BitBtn1Click(TObject *Sender);
|
|
void __fastcall BitBtn3Click(TObject *Sender);
|
|
void __fastcall BitBtn4Click(TObject *Sender);
|
|
private: // User declarations
|
|
public: // User declarations
|
|
__fastcall TeRecibos(TComponent* Owner);
|
|
AnsiString __fastcall entero2txt(int num);
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
extern PACKAGE TeRecibos *eRecibos;
|
|
//---------------------------------------------------------------------------
|
|
#endif
|