2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

visual consolidation

This commit is contained in:
Oliver Walters
2020-04-06 20:50:33 +10:00
parent e6f6a936e0
commit 44c10c45cd
11 changed files with 37 additions and 17 deletions

View File

@ -43,6 +43,7 @@ InvenTree | {% trans "Company" %} - {{ company.name }}
</div>
<div class="col-sm-6">
<table class="table">
<col width='25'>
{% if company.website %}
<tr>
<td><span class='fas fa-link'></span></td>

View File

@ -9,14 +9,18 @@
<hr>
<table class='table table-striped'>
<tr>
<td>{% trans "Customer" %}</td>
<td>{% include 'yesnolabel.html' with value=company.is_customer %}</td>
</tr>
<tr>
<td>{% trans "Supplier" %}</td>
<td>{% include 'yesnolabel.html' with value=company.is_supplier %}</td>
</tr>
<col width='25'>
<col>
<tr>
<td><span class='fas fa-user-tag'></span></td>
<td>{% trans "Customer" %}</td>
<td>{% include 'yesnolabel.html' with value=company.is_customer %}</td>
</tr>
<tr>
<td><span class='fas fa-industry'></span></td>
<td>{% trans "Supplier" %}</td>
<td>{% include 'yesnolabel.html' with value=company.is_supplier %}</td>
</tr>
</table>
{% endblock %}