Skip to content

Commit

Permalink
Refactor: Move legal rep above beneficial owner in business ui
Browse files Browse the repository at this point in the history
  • Loading branch information
p-janik committed Nov 5, 2024
1 parent b2afd92 commit e6b5556
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions src/templates/business.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,35 +126,36 @@ <h4>Account</h4>
</div>
</div>

<!-- Beneficial Owners -->

<!-- Legal Representatives -->
<div class="panel panel-default">
<div class="panel-heading">
<h4>Beneficial Owners</h4>
<h4>Legal Representatives</h4>
</div>
<div class="panel-body">
{% for owner in business.beneficialOwners %}
{% for representative in business.legalRepresentatives %}
<div class="form-group">
<p><strong>Owner ID:</strong> {{ owner.beneficial_owner_id }}</p>
<p><strong>Person ID:</strong> {{ owner.person_id }}</p>
<p><strong>Voting Share:</strong> {{ owner.voting_share }}%</p>
<p><strong>Relationship:</strong> {{ owner.relationship_to_business }}</p>
<p><strong>Representative ID:</strong> {{ representative.legal_representative_id }}</p>
<p><strong>Type of Representation:</strong> {{ representative.type_of_representation }}</p>
<p><strong>Power of Attorney Confirmed At:</strong> {{ representative.power_of_attorney_confirmed_at }}</p>
</div>
<hr>
{% endfor %}
</div>
</div>

<!-- Legal Representatives -->
<!-- Beneficial Owners -->
<div class="panel panel-default">
<div class="panel-heading">
<h4>Legal Representatives</h4>
<h4>Beneficial Owners</h4>
</div>
<div class="panel-body">
{% for representative in business.legalRepresentatives %}
{% for owner in business.beneficialOwners %}
<div class="form-group">
<p><strong>Representative ID:</strong> {{ representative.legal_representative_id }}</p>
<p><strong>Type of Representation:</strong> {{ representative.type_of_representation }}</p>
<p><strong>Power of Attorney Confirmed At:</strong> {{ representative.power_of_attorney_confirmed_at }}</p>
<p><strong>Owner ID:</strong> {{ owner.beneficial_owner_id }}</p>
<p><strong>Person ID:</strong> {{ owner.person_id }}</p>
<p><strong>Voting Share:</strong> {{ owner.voting_share }}%</p>
<p><strong>Relationship:</strong> {{ owner.relationship_to_business }}</p>
</div>
<hr>
{% endfor %}
Expand Down

0 comments on commit e6b5556

Please sign in to comment.