Examples of FmJbsReportOptions


Examples of org.jabusuite.webclient.reporting.FmJbsReportOptions

            logger.error("Error printing dunnings.",ex);
        }
    }
   
    protected void printUnprinted(final DunningsPrinter dunningsPrinter) {
        final FmJbsReportOptions fmReportOptions = new FmJbsReportOptions("dunning");
        fmReportOptions.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                if (arg0.getActionCommand().equals(JbsDialogWindowOKCancel.ACTION_OK)) {
                    dunningsPrinter.setPageTemplate(fmReportOptions.getSelectedPageTemplate());
                    dunningsPrinter.setReportTemplate(fmReportOptions.getSelectedReportTemplate());
                    doPrintUnprinted(dunningsPrinter);
                }
            }
        });
        fmReportOptions.showForm();
    }
View Full Code Here

Examples of org.jabusuite.webclient.reporting.FmJbsReportOptions

            JbsOptionPane.showErrorDialog(this, JbsL10N.getString(JbsL10N.getString("Dunning.printError")), ex1);
        }
    }
   
    protected void printSingleDunning() {
        final FmJbsReportOptions fmReportOptions = new FmJbsReportOptions("dunning");
        fmReportOptions.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                if (arg0.getActionCommand().equals(JbsDialogWindowOKCancel.ACTION_OK)) {
                    printSingleDunning(fmReportOptions.getSelectedPageTemplate(), fmReportOptions.getSelectedReportTemplate());
                }
            }
        });
        fmReportOptions.showForm();
    }
View Full Code Here

Examples of org.jabusuite.webclient.reporting.FmJbsReportOptions

    }
   
    protected void printLetters() {
        final LetterPrinter letterPrinter = new LetterPrinter(((MassLetterWizard)this.getWizard()).getLetterTemplate(), ((MassLetterWizard)this.getWizard()).getCreatedLetters(), ClientGlobals.getUser(), ClientGlobals.getCompany());

        final FmJbsReportOptions fmReportOptions = new FmJbsReportOptions("letter");
        fmReportOptions.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                if (arg0.getActionCommand().equals(JbsDialogWindowOKCancel.ACTION_OK)) {
                    letterPrinter.setPageTemplate(fmReportOptions.getSelectedPageTemplate());
                    letterPrinter.setReportTemplate(fmReportOptions.getSelectedReportTemplate());
                    doPrintLetters(letterPrinter);
                }
            }
        });
        fmReportOptions.showForm();
       
    }
View Full Code Here

Examples of org.jabusuite.webclient.reporting.FmJbsReportOptions

    protected String getReportTypeId() {
        return "transaction";
    }
   
    protected void printTransaction() {
        final FmJbsReportOptions fmReportOptions = new FmJbsReportOptions(this.getReportTypeId());
        fmReportOptions.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                if (arg0.getActionCommand().equals(JbsDialogWindowOKCancel.ACTION_OK)) {
                    //getControlData();
                    printTransaction(fmReportOptions.getSelectedPageTemplate(), fmReportOptions.getSelectedReportTemplate());
                }
            }
        });
        fmReportOptions.showForm();
    }
View Full Code Here

Examples of org.jabusuite.webclient.reporting.FmJbsReportOptions

   
    protected void printDunnings() {
        if ((this.getDunningWizard().getCreatedDunnings()!=null) && (this.getDunningWizard().getCreatedDunnings().size()>0)) {
            final DunningsPrinter dunningsPrinter = new DunningsPrinter(this.getDunningWizard().getCreatedDunnings(),ClientGlobals.getUser(), ClientGlobals.getCompany());

            final FmJbsReportOptions fmReportOptions = new FmJbsReportOptions("dunning");
            fmReportOptions.addActionListener(new ActionListener() {

                public void actionPerformed(ActionEvent arg0) {
                    if (arg0.getActionCommand().equals(JbsDialogWindowOKCancel.ACTION_OK)) {
                        dunningsPrinter.setPageTemplate(fmReportOptions.getSelectedPageTemplate());
                        dunningsPrinter.setReportTemplate(fmReportOptions.getSelectedReportTemplate());
                        doPrintDunnings(dunningsPrinter);
                    }
                }
            });
            fmReportOptions.showForm();
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.