Patch level : 10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
Aggiunto file per nuovo saldaconto


git-svn-id: svn://10.65.10.50/branches/R_10_00@22585 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2012-02-23 17:05:10 +00:00
parent 1159b1d092
commit 565cb6c0a7

View File

@ -5,6 +5,10 @@
#include "../cg/cgsaldac.h"
#endif
#ifndef __CGPAGAME_H__
#include "../cg/cgpagame.h"
#endif
#ifndef __AUTOMASK_H__
#include <automask.h>
#endif
@ -69,4 +73,40 @@ public:
virtual ~TPay_mask();
};
class TFattura_mask : public TMask
{
TRiga_partite& _fattura;
TPagamento* _pag;
TString_array _pag_rows;
protected:
static bool clifo_handler(TMask_field& f, KEY key);
static bool datadoc_handler(TMask_field& f, KEY key);
static bool codpag_handler(TMask_field& f, KEY key);
static bool nrate_handler(TMask_field& f, KEY key);
static bool recalc_handler(TMask_field& f, KEY key);
static bool codcab_handler(TMask_field& f, KEY key);
static bool pag_notify(TSheet_field& ps, int r, KEY k);
static bool pag_handler(TMask_field& f, KEY key);
static bool reset_handler(TMask_field& f, KEY key);
static bool tipopag_handler(TMask_field& f, KEY key);
TPagamento& pagamento() const { return *_pag; }
TPagamento& set_pagamento(const char* cod, const char* dat);
TSheet_field& pag_sheet() const;
void pag2sheet();
bool read_scadenze();
public:
void set_totale_pagamento(bool update);
void set_scadenze();
void write_scadenze() const;
real totale_rate(bool val) const;
TFattura_mask(TRiga_partite& fattura);
virtual ~TFattura_mask();
};
#endif