38 lines
607 B
C++
38 lines
607 B
C++
|
#include <applicat.h>
|
||
|
#include <report.h>
|
||
|
|
||
|
#include "ic0.h"
|
||
|
|
||
|
class TICpag_report : public TReport
|
||
|
{
|
||
|
protected:
|
||
|
virtual bool use_mask() { return false; }
|
||
|
public:
|
||
|
TICpag_report(const char* n) { load(n); }
|
||
|
};
|
||
|
|
||
|
class TICpag_print : public TSkeleton_application
|
||
|
{
|
||
|
public:
|
||
|
virtual void main_loop();
|
||
|
};
|
||
|
|
||
|
void TICpag_print::main_loop()
|
||
|
{
|
||
|
TMask m("ic0100a");
|
||
|
while (m.run() == K_ENTER)
|
||
|
{
|
||
|
TICpag_report r("ic0200p");
|
||
|
r.mask2report(m);
|
||
|
r.print_or_preview();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
int ic0200(int argc, char* argv[])
|
||
|
{
|
||
|
TICpag_print a;
|
||
|
a.run(argc, argv, TR("Stampa pagamenti IVA per cassa"));
|
||
|
return 0;
|
||
|
}
|
||
|
|