double income = payments.stream()
.filter(payment -> !payment.getType().equalsIgnoreCase("prepayment"))
.mapToDouble(getCostInRub)</BUG>
.sum();
double profit = payments.stream()
<BUG>.filter(payment -> payment.getType().equals("repair"))
.mapToDouble(getCostInRub)</BUG>
.sum();
<BUG>createRow(sheet, i, dollarStyle,
cheque.getId(),

cheque.getReceiptDate().toLocalDate(),
cheque.getModelName().split("\\.")[0],</BUG>
user.getFullname(),

double income = payments.stream()
.filter(getPaymentIncome)
.mapToDouble(getCostInRub)
.sum();
double profit = payments.stream()
.filter(getPaymentProfit)
.mapToDouble(getCostInRub)
.sum();
createRow(cheque.getId(),
cheque.getReceiptDate().toLocalDate(),
cheque.getReturnedToClientDate().toLocalDate(),
cheque.getModelName().split("\\.")[0],
user.getFullname(),
