package com.axelor.apps.hr.service;

import com.axelor.apps.base.db.Period;
import com.axelor.apps.hr.db.Absence;
import com.axelor.apps.hr.db.Employee;
import com.axelor.apps.hr.db.DailyReport;
import com.axelor.apps.hr.db.MonthlyReport;
import com.google.inject.persist.Transactional;
import java.time.LocalDate;
import java.util.List;

public interface MonthlyReportService {

  @Transactional
  void createMensuelReport(Employee employee, Period period, LocalDate startDate, LocalDate endDate, List<DailyReport> employeeDailyReports, List<Absence> employeeAbsences);
  
  void updateMensuelReport(MonthlyReport monthlyReport, Employee employee, Period period, LocalDate startDate, LocalDate endDate, List<DailyReport> employeeDailyReports, List<Absence> employeeAbsences);

  /*void calculePrimeAssiduite(Mensuels mensuels);*/
}
