Skip to content

Commit

Permalink
Merge pull request #100 from uktrade/LTD-strip-territory-code-foreign…
Browse files Browse the repository at this point in the history
…-trader

Strip territory code from Foreign trader address
  • Loading branch information
saruniitr authored Mar 2, 2022
2 parents 0d123d0 + 466e880 commit 5cc8a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mail/libraries/lite_to_edifact_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def licences_to_edifact(licences: QuerySet, run_number: int) -> str:
trader.get("address").get("line_4", ""),
trader.get("address").get("line_5", ""),
trader.get("address").get("postcode", ""),
trader.get("address").get("country").get("id"),
get_country_id(trader.get("address").get("country")),
)
line_no += 1
edifact_file += "\n{}\\restrictions\\{}".format(line_no, "Provisos may apply please see licence")
Expand Down

0 comments on commit 5cc8a53

Please sign in to comment.