import java.util.Date;
import javax.ejb.EJB;
import javax.ejb.Stateless;
-import org.mxchange.jcontactsbusiness.model.employee.Employee;
+import org.mxchange.jcontactsbusiness.model.employee.Employable;
import org.mxchange.jfinancials.database.BaseFinancialsDatabaseBean;
import org.mxchange.jfinancials.exceptions.receipt.ReceiptAlreadyAddedException;
import org.mxchange.jusercore.model.user.User;
}
// Is employee instance set?
- if (receipt.getReceiptSellerEmployee() instanceof Employee) {
+ if (receipt.getReceiptSellerEmployee() instanceof Employable) {
// Then get managed instanced
- final Employee managedEmployee = this.createManaged(receipt.getReceiptSellerEmployee());
+ final Employable managedEmployee = this.createManaged(receipt.getReceiptSellerEmployee());
// Set it back
receipt.setReceiptSellerEmployee(managedEmployee);