Skip to content

Commit

Permalink
fix: remove extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
viralkansodiya authored Nov 6, 2023
1 parent bd36b15 commit 41facbd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_party_addresses_and_contact(party_type, party, party_group, filters):

if party:
query_filters = {"name": party}
if filters.get("party_type") in ["Customer","Supplier"]:
if filters.get("party_type") in ["Customer", "Supplier"]:
field = filters.get("party_type").lower() + "_name"
else:
field = "partner_name"
Expand Down Expand Up @@ -112,7 +112,7 @@ def get_party_addresses_and_contact(party_type, party, party_group, filters):
for idx in range(0, max_length):
result = [party]
result.append(party_groups[party])
if filters.get("party_type") in ["Customer" , "Supplier"]:
if filters.get("party_type") in ["Customer", "Supplier"]:
result.append(party_name_map[party])
address = addresses[idx] if idx < len(addresses) else add_blank_columns_for("Address")
contact = contacts[idx] if idx < len(contacts) else add_blank_columns_for("Contact")
Expand Down

0 comments on commit 41facbd

Please sign in to comment.