Skip to content

Commit

Permalink
PI-2521: Minor com api comparison fixes (#4239)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcphee77 authored Sep 17, 2024
1 parent d027556 commit b21ff8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import java.time.LocalDate
@Immutable
@Entity
@Table(name = "provision")
@SQLRestriction("soft_deleted = 0 and (finish_date is null or finish_date > current_date)")
@SQLRestriction("soft_deleted = 0")
class Provision(
@Id
@Column(name = "provision_id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ fun Person.toContactDetails() = ContactDetails(
from = it.startDate,
to = it.endDate,
noFixedAbode = it.noFixedAbode,
notes = it.notes,
notes = it.notes?.takeIf { it.isNotBlank() },
addressNumber = it.addressNumber,
buildingName = it.buildingName,
streetName = it.streetName,
Expand Down

0 comments on commit b21ff8e

Please sign in to comment.