mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-19 08:39:34 +00:00
# Conflicts: # src/Services/Trees/TreeViewGenerator.php # templates/components/tree_macros.html.twig # translations/messages.cs.xlf # translations/messages.da.xlf # translations/messages.de.xlf # translations/messages.el.xlf # translations/messages.en.xlf # translations/messages.es.xlf # translations/messages.fr.xlf # translations/messages.it.xlf # translations/messages.ja.xlf # translations/messages.nl.xlf # translations/messages.pl.xlf # translations/messages.ru.xlf # translations/messages.zh.xlf
24 lines
972 B
Twig
24 lines
972 B
Twig
{% extends "admin/base_company_admin.html.twig" %}
|
|
|
|
{% block card_title %}
|
|
{% set dataSourceName = get_data_source_name('supplier', 'supplier.caption') %}
|
|
{% set translatedSource = 'supplier.caption'|trans %}
|
|
<i class="fas fa-truck fa-fw"></i> {% if dataSourceName != translatedSource %}{{ 'datasource.synonym'|trans({'%name%': translatedSource, '%synonym%': dataSourceName}) }}{% else %}{{ translatedSource }}{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block additional_panes %}
|
|
<div class="tab-pane" id="home_advanced">
|
|
{{ form_row(form.alternative_names) }}
|
|
{{ form_row(form.default_currency) }}
|
|
{{ form_row(form.shipping_costs) }}
|
|
{{ form_row(form.comment) }}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block edit_title %}
|
|
{% trans %}supplier.edit{% endtrans %}: <a href="{{ path('part_list_supplier', {'id': entity.id}) }}">{{ entity.name }}</a>
|
|
{% endblock %}
|
|
|
|
{% block new_title %}
|
|
{% trans %}supplier.new{% endtrans %}
|
|
{% endblock %}
|