git-svn-id: svn://10.65.10.50/branches/R_10_00@22736 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			38 lines
		
	
	
		
			579 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			579 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include <applicat.h>
 | 
						|
#include <report.h>
 | 
						|
 | 
						|
#include "ic0.h"
 | 
						|
 | 
						|
class TIC_report : public TReport
 | 
						|
{
 | 
						|
protected:
 | 
						|
  virtual bool use_mask() { return false; }
 | 
						|
public:
 | 
						|
  TIC_report(const char* n) { load(n); }
 | 
						|
};
 | 
						|
 | 
						|
class TIC_print : public TSkeleton_application
 | 
						|
{
 | 
						|
public:
 | 
						|
  virtual void main_loop();
 | 
						|
};
 | 
						|
 | 
						|
void TIC_print::main_loop()
 | 
						|
{
 | 
						|
  TMask m("ic0100a");
 | 
						|
  while (m.run() == K_ENTER)
 | 
						|
  {
 | 
						|
    TIC_report r("ic0100f");
 | 
						|
    r.mask2report(m);
 | 
						|
    r.print_or_preview();
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
int ic0100(int argc, char* argv[])
 | 
						|
{
 | 
						|
  TIC_print a;
 | 
						|
  a.run(argc, argv, TR("Stampa IVA per cassa"));
 | 
						|
  return 0;
 | 
						|
}
 | 
						|
 |