Package com.structis.fichesst.server.bean.domain

Examples of com.structis.fichesst.server.bean.domain.Deduction


        }

        List<Deduction> deductionList = persistence.getDeductions();
        if (deductionList != null) {
          for (Iterator<Deduction> iterator = deductionList.iterator(); iterator.hasNext();) {
            Deduction deduction = iterator.next();
            deduction.setFicheSt(null);
            iterator.remove();
          }
        }

        List<Progress> progressList = persistence.getProgresses();
View Full Code Here


   * @param listDeduction
   * @return
   */
  private String [] createDeductionGrid(FicheSt ficheSt){
    List<Deduction> listDeduction = ficheSt.getDeductions();
    Deduction deduction = null;
    String srcDeduction = "";
    String srcSumDeduction = "";
    double canto = 0.0;
    double badge = 0.0;
    double grue = 0.0;
    double lift = 0.0;
    double benne = 0.0;
    double nettoyage = 0.0;
    double autres = 0.0; // khong co nhan
    double prorata = 0.0;
    double refacturations = 0.0;//khong co nhan
   
    for (int j = 0; j < listDeduction.size(); j++) {         
      deduction = listDeduction.get(j);
      /*srcDeduction += deduction.getDate() + Constants.SEPRATE + deduction.getCanto() + Constants.SEPRATE +
      deduction.getBadge() + Constants.SEPRATE + deduction.getGrue() + Constants.SEPRATE +
      deduction.getLift() + Constants.SEPRATE + deduction.getBenne() + Constants.SEPRATE + deduction.getNettoyage() + Constants.SEPRATE +
      deduction.getAutres() + Constants.SEPRATE + deduction.getProrata() + Constants.SEPRATE + deduction.getRefacturations() + Constants.SEPRATE;*/
      srcDeduction += append(deduction.getDate(),deduction.getCanto(),deduction.getBadge(),deduction.getGrue(),deduction.getLift(),
          deduction.getBenne(),deduction.getNettoyage(),deduction.getAutres(),deduction.getProrata(),deduction.getRefacturations());
     
      canto += deduction.getCanto();
      badge += deduction.getBadge();
      grue += deduction.getGrue();
      lift += deduction.getLift();
      benne += deduction.getBenne();
      nettoyage += deduction.getNettoyage();
      autres += deduction.getAutres();
      prorata += deduction.getProrata();
      refacturations += deduction.getRefacturations();
    }
    canto = canto * ficheSt.getPrestaCanto();
    badge = badge * ficheSt.getPrestaBadge();
    grue = grue * ficheSt.getPrestaGrue();
    lift = lift * ficheSt.getPrestaLift();
 
View Full Code Here

TOP

Related Classes of com.structis.fichesst.server.bean.domain.Deduction

Copyright © 2018 www.massapicom. 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.