{% macro company_summary(view_model) %}
| {{ gettext("ID") }} | {{ view_model.id }} |
| {{ gettext("Name") }} | {{ view_model.name }} |
| {{ gettext("Email") }} | {{ view_model.email }} |
| {{ gettext("Registered since") }} | {{ view_model.registered_on }} |
|
{{ "industry"|icon }}
{{ gettext("Account p") }} |
{{ "oil-can"|icon }}
{{ gettext("Account r") }} |
{{ "users"|icon }}
{{ gettext("Account a") }} |
{{ "exchange-alt"|icon }}
{{ gettext("Account prd") }} |
|
|---|---|---|---|---|
| {{ gettext("Expectations") }} | {% for exp in view_model.expectations %}{{ exp }} | {% endfor %}|||
| {{ gettext("Balances") }} | {% for bal in view_model.account_balances %}{{ bal }} | {% endfor %}|||
| {{ gettext("Deviation (%)") }} | {% for dev_rel in view_model.deviations_relative %}{{ dev_rel.percentage }} | {% endfor %}
{{ supplier.company_name }} - {{ supplier.volume_of_sales }}
{% endfor %} {% else %}{{ gettext("This company has no suppliers.") }}
{% endif %}| {{ gettext("Status") }} | {{ gettext("Planned sales") }} | {{ gettext("Sales deviation") }} | {{ gettext("Sales deviation (%)") }} | |
|---|---|---|---|---|
| {{ plan.name }} | {{ plan.status }} | {{ plan.sales_volume }} | {{ plan.sales_balance }} | {{ plan.deviation_relative.percentage }} |