Package custom.energypro.vinnica.overlim

Source Code of custom.energypro.vinnica.overlim.customerWithPaymentsScriptlet

package custom.energypro.vinnica.overlim;

import java.sql.Connection;

import system.LangLogic;
import system.PeriodLogic;
import net.sf.jasperreports.engine.JRDefaultScriptlet;
import net.sf.jasperreports.engine.JRScriptletException;

public class customerWithPaymentsScriptlet extends JRDefaultScriptlet {

  public String getMonthYearUA(int periodCode) throws JRScriptletException {
    PeriodLogic pl = new PeriodLogic(
        (Connection) getParameterValue("REPORT_CONNECTION"));
    pl.loadPeriodByCode(periodCode);
    return LangLogic.getMonthYearUA(pl.getStartDate());
  }
}
TOP

Related Classes of custom.energypro.vinnica.overlim.customerWithPaymentsScriptlet

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.