@Override
    public boolean isAllowedToBorrow(Loan loan, StockController stockController) {

        if (stockController.numberOfLoans(this) < 7) {

            if (loan.getQuantity() < 25) {

                if (CalendarController.differenceDate(loan.getStart(),
                        loan.getEnd()) < 15) {

                    if (CalendarController.differenceDate(
                            new GregorianCalendar(), loan.getStart()) < 15) {

                        return true;
                    }
                }
            }
        }

        return false;
    }