fixes the empty block with the apropriate condition and the
needed behaviour. FEA: ItEr76S22ExpenseTrackingSystem
This commit is contained in:
parent
fbad40f945
commit
99d7a69885
1 changed files with 2 additions and 2 deletions
|
|
@ -79,8 +79,8 @@ public final class ExpenseSheetConverter {
|
|||
}
|
||||
|
||||
BigDecimal value = line.getValue();
|
||||
if (value != null && value.compareTo(BigDecimal.ZERO) > 0) {
|
||||
|
||||
if (value == null || value.compareTo(BigDecimal.ZERO) < 0) {
|
||||
value = BigDecimal.ZERO;
|
||||
}
|
||||
String resourceCode = null;
|
||||
if (line.getResource() != null) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue