{% extends "company/company_base.html" %}
{% load static %}
{% block details %}

{% include 'company/tabs.html' with tab='details' %}

<h4>Company Details</h4>
<hr>

<table class='table table-striped'>
<tr>
    <td>Customer</td>
    <td>{% include 'yesnolabel.html' with value=company.is_customer %}</td>
</tr>
<tr>
    <td>Supplier</td>
    <td>{% include 'yesnolabel.html' with value=company.is_supplier %}</td>
</tr>
</table>

{% if company.notes %}
<div class="panel panel-default">
    <div class="panel-heading"><b>Notes</b></div>
  <div class="panel-body">{{ company.notes }}</div>
</div>
{% endif %}

{% endblock %}
{% block js_ready %}
{{ block.super }}
   
{% endblock %}