Skip to content

Commit

Permalink
bugfix a2982ff
Browse files Browse the repository at this point in the history
  • Loading branch information
vananiev committed Nov 5, 2024
1 parent 6db9494 commit 0d2c3ca
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import org.spacious_team.broker.pojo.SecurityEventCashFlow;
import org.spacious_team.broker.report_parser.api.ReportTable;
import org.spacious_team.broker.report_parser.api.SecurityTransaction;
import org.spacious_team.table_wrapper.api.Table;
import org.spacious_team.table_wrapper.api.TableRow;

import java.math.BigDecimal;
Expand All @@ -37,7 +36,8 @@
import java.util.Map;

import static java.util.Collections.emptyList;
import static java.util.Objects.*;
import static java.util.Objects.nonNull;
import static java.util.Objects.requireNonNull;
import static ru.investbook.parser.uralsib.PaymentsTable.PaymentsTableHeader.*;

@Slf4j
Expand Down Expand Up @@ -110,7 +110,8 @@ private boolean isRedemption(String securityName, Instant amortizationDay) {
return nonNull(redemptionDate) && redemptionDate.equals(LocalDate.ofInstant(amortizationDay, getReport().getReportZoneId()));
}

protected BigDecimal getTax(Table table, TableRow row) {
@Override
protected BigDecimal getTax(TableRow row) {
// информация о налоге по купонам облигаций не выводится в отчет брокера
return BigDecimal.ZERO;
}
Expand Down

0 comments on commit 0d2c3ca

Please sign in to comment.