Files correlati : pec.frm sc2.exe sc3100c.msk sc3100s.msk sc1400a.msk Ricompilazione Demo : [ ] Commento : 0001609: 002435 - Pharmatex - valute e stampe Il cliente richiede che nella stampa dell'estratto conto ed in quella dei mastrini venga indicato se la fattura è stata emessa in valuta. Se possibile dare la possibilità (tramite un flag nelle tabelle ditta) di riportare valuta ed importo nella descrizione aggiuntiva documento contabile. git-svn-id: svn://10.65.10.50/branches/R_10_00@21145 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			53 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
| #ifndef __SC2102_H
 | |
| #define __SC2102_H
 | |
|                     
 | |
| #ifndef __ASSOC_H
 | |
| #include <assoc.h>
 | |
| #endif
 | |
| 
 | |
| #ifndef __REAL_H
 | |
| #include <real.h>
 | |
| #endif
 | |
| 
 | |
| ///////////////////////////////////////////////////////////
 | |
| // Totalizzatore
 | |
| ///////////////////////////////////////////////////////////
 | |
| 
 | |
| class TTotal : public TObject
 | |
| {
 | |
|   TImporto _importo;
 | |
|   TImporto _unassigned;
 | |
|   real _scaduto;
 | |
|   real _esposto;
 | |
|   real _importo_euro;
 | |
|   
 | |
| public:
 | |
|   const TImporto& importo() const { return _importo; }  
 | |
|   const TImporto& unassigned() const { return _unassigned; }  
 | |
|   const real& importo_euro() const { return _importo_euro; }
 | |
|   const real& scaduto() const { return _scaduto; }
 | |
|   const real& esposto() const { return _esposto; }
 | |
|   TImporto& importo() { return _importo; }  
 | |
|   TImporto& unassigned() { return _unassigned; }  
 | |
|   real& importo_euro() { return _importo_euro; }  
 | |
|   real& scaduto() { return _scaduto; }
 | |
|   real& esposto() { return _esposto; }
 | |
|   
 | |
|   TTotal(const TImporto& imp, const real& scaduto, 
 | |
|          const real& esposto, const real& impeur);
 | |
|   TTotal(const TImporto& uns);
 | |
|   virtual ~TTotal() {}
 | |
| };
 | |
| 
 | |
| class TTotalizer : public TAssoc_array
 | |
| { 
 | |
| public:
 | |
|   void add(const TImporto& imp, const real& scaduto, const real& esposto,
 | |
|            const real& impeur, const TString& val);
 | |
|   void add(const TImporto& uns, const TString& val);
 | |
|   TTotalizer() { }
 | |
|   virtual ~TTotalizer() { }
 | |
| };
 | |
| 
 | |
| #endif // __SC2102_H
 |