886efa8b82
git-svn-id: svn://10.65.10.50/branches/R_10_00@22760 c028cbd2-c16b-5b4b-a496-9718f37d4682
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;
|
|
}
|
|
|