Skip to content

Commit

Permalink
remove check for isLedgerPlaceholder
Browse files Browse the repository at this point in the history
Signed-off-by: Hongjing Chen <[email protected]>
  • Loading branch information
chenhongjing committed Jan 13, 2025
1 parent 785d288 commit e885ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legal-api/src/legal_api/core/meta/filing.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ class FilingMeta: # pylint: disable=too-few-public-methods
def display_name(business: Business, filing: FilingStorage) -> Optional[str]:
"""Return the name of the filing to display on outputs."""
# if filing is imported from COLIN and has custom disaply name
if filing.meta_data and filing.meta_data.get('isLedgerPlaceholder') and\
if filing.meta_data and\
(display_name := filing.meta_data.get('colinDisplayName')):
return display_name
# if there is no lookup
Expand Down

0 comments on commit e885ecf

Please sign in to comment.