+ {{ form_widget(form.part) }}
{{ form_errors(form.part) }}
-
- {% if form.vars.value is not null and form.vars.value.project is not null %}
- {% set hasAssembly = false %}
- {% if is_granted("@assemblies.read") or has_assembly(form.vars.value.project.bomEntries.toArray) %}
-
{% set lots = build_request.partLotsForBOMEntry(bom_entry) %}
- {% set assemblyBomEntriesWithoutPart = build_request.assemblyBomEntriesWithoutPart(bom_entry) %}
- {% set assemblyBomEntriesWithPartNoStock = build_request.assemblyBomEntriesWithPartNoStock(bom_entry) %}
{% if lots is not null %}
- {% set previousLabel = null %}
-
{% for lot in lots %}
{# @var lot \App\Entity\Parts\PartLot #}
-
- {% set label = '' %}
- {% if form["lot_"~lot.id].vars.label is defined and form["lot_"~lot.id].vars.label is not empty %}
- {% set label = form["lot_"~lot.id].vars.label %}
- {% endif %}
-
- {% if label != '' and (previousLabel is null or label != previousLabel) %}
-
{% endfor %}
{% endif %}
- {% if assemblyBomEntriesWithoutPart is not null %}
- {% for bomEntryWithoutPart in assemblyBomEntriesWithoutPart %}
-
-
-
-
- / {% trans %}project.builds.no_stock{% endtrans %}
-
-
- {% endfor %}
- {% endif %}
- {% if assemblyBomEntriesWithPartNoStock is not null %}
- {% for bomEntryWithPartNoStock in assemblyBomEntriesWithPartNoStock %}
-
-
-
-
-
- / {% trans %}project.builds.no_stock{% endtrans %}
-
-
-
- {% endfor %}
- {% endif %}
{% endfor %}
diff --git a/translations/messages.cs.xlf b/translations/messages.cs.xlf
index 4e557b6a..3c044e36 100644
--- a/translations/messages.cs.xlf
+++ b/translations/messages.cs.xlf
@@ -9906,18 +9906,6 @@ Element 3
Díl
-
-
- project.bom.assembly
- Baugruppe
-
-
-
-
- project.bom.partOrAssembly
- Auswahl
-
- project.bom.add_entry
diff --git a/translations/messages.da.xlf b/translations/messages.da.xlf
index 2e3b9814..cee4f08c 100644
--- a/translations/messages.da.xlf
+++ b/translations/messages.da.xlf
@@ -4820,18 +4820,6 @@ Bemærk også, at uden to-faktor-godkendelse er din konto ikke længere så godt
Navn
-
-
- project.bom.assembly
- Montering
-
-
-
-
- project.bom.partOrAssembly
- Valg
-
- Part-DB1\src\DataTables\PartsDataTable.php:178
@@ -9932,18 +9920,6 @@ Element 3
Komponent
-
-
- project.bom.assembly
- Baugruppe
-
-
-
-
- project.bom.partOrAssembly
- Auswahl
-
- project.bom.add_entry
@@ -10340,12 +10316,6 @@ Element 3
På lager
-
-
- project.builds.no_stock
- intet lager angivet
-
- project.builds.needed
@@ -10418,12 +10388,6 @@ Element 3
Mål mængde
-
-
- project.build.builds_part_lot_label
- %name% (%quantity% påkrævet)
-
- project.builds.number_of_builds
diff --git a/translations/messages.de.xlf b/translations/messages.de.xlf
index 628cac91..5e48f9e7 100644
--- a/translations/messages.de.xlf
+++ b/translations/messages.de.xlf
@@ -9986,18 +9986,6 @@ Element 1 -> Element 1.2
Bauteil
-
-
- project.bom.assembly
- Baugruppe
-
-
-
-
- project.bom.partOrAssembly
- Auswahl
-
- project.bom.add_entry
@@ -10430,12 +10418,6 @@ Element 1 -> Element 1.2
vorhanden
-
-
- project.builds.no_stock
- kein Lager angegeben
-
- project.builds.needed
@@ -10508,12 +10490,6 @@ Element 1 -> Element 1.2
Ziel-Bestand
-
-
- project.build.builds_part_lot_label
- %name% (%quantity% benötigt)
-
- project.builds.number_of_builds
@@ -13740,6 +13716,12 @@ Bitte beachten Sie, dass Sie sich nicht als deaktivierter Benutzer ausgeben kön
benötigt
+
+
+ assembly.bom.delete.confirm
+ Wollen sie diesen Eintrag wirklich löschen?
+
+ assembly.add_parts_to_assembly
diff --git a/translations/messages.el.xlf b/translations/messages.el.xlf
index ad8e5f68..176d2a2f 100644
--- a/translations/messages.el.xlf
+++ b/translations/messages.el.xlf
@@ -2620,22 +2620,10 @@
%value% (Μέρος)
-
+
- part.table.name.value.for_assembly
- %value% (Συναρμολόγηση)
-
-
-
-
- project.bom.assembly
- Συναρμολόγηση
-
-
-
-
- project.bom.partOrAssembly
- Επιλογή
+ part.table.name.value.for_project
+ %value% (Έργο)
@@ -2674,18 +2662,6 @@
Αρχειοθετήθηκε
-
-
- project.builds.no_stock
- δεν έχει καθοριστεί απόθεμα
-
-
-
-
- project.build.builds_part_lot_label
- %name% (%quantity% απαιτείται)
-
- assembly.label
@@ -2914,12 +2890,24 @@
απαιτούμενο
+
+
+ assembly.bom.delete.confirm
+ Θέλετε πραγματικά να διαγράψετε αυτήν την εγγραφή;
+
+ assembly.add_parts_to_assemblyΠροσθήκη εξαρτημάτων στη συναρμολόγηση
+
+
+ assembly.bom.project
+ έργο
+
+ assembly.bom.name
@@ -2956,9 +2944,9 @@
Εισαγωγή εξαρτημάτων συναρμολόγησης
-
+
- assembly.bom.part
+ assembly.bom.partOrProjectΕξάρτημα
@@ -3405,41 +3393,5 @@
-
-
- typeahead.parts.part.name
- %name% (Εξάρτημα)
-
-
-
-
- typeahead.parts.assembly.name
- %name% (Συναρμολόγηση)
-
-
-
-
- projects.build.form.part
- Εξάρτημα "%name%"
-
-
-
-
- projects.build.form.assembly
- Συναρμολόγηση "%name%"
-
-
-
-
- projects.build.form.assembly.bom.entry
- %name% (%quantity% απαιτείται)
-
-
-
-
- projects.build.form.assembly.bom.entry.no.stock
- δεν υπάρχει στο απόθεμα
-
-
diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf
index 22e4a4cc..694f7676 100644
--- a/translations/messages.en.xlf
+++ b/translations/messages.en.xlf
@@ -9999,18 +9999,6 @@ Element 1 -> Element 1.2
Part
-
-
- project.bom.assembly
- Assembly
-
-
-
-
- project.bom.partOrAssembly
- Selection
-
- project.bom.add_entry
@@ -10407,12 +10395,6 @@ Element 1 -> Element 1.2
stocked
-
-
- project.builds.no_stock
- no stock specified
-
- project.builds.needed
@@ -10485,12 +10467,6 @@ Element 1 -> Element 1.2
Target lot
-
-
- project.build.builds_part_lot_label
- %name% (%quantity% needed)
-
- project.builds.number_of_builds
diff --git a/translations/messages.es.xlf b/translations/messages.es.xlf
index 66e93680..999fd71a 100644
--- a/translations/messages.es.xlf
+++ b/translations/messages.es.xlf
@@ -9930,18 +9930,6 @@ Elemento 3
Componente
-
-
- project.bom.assembly
- Baugruppe
-
-
-
-
- project.bom.partOrAssembly
- Auswahl
-
- project.bom.add_entry
@@ -10338,12 +10326,6 @@ Elemento 3
Almacenado
-
-
- project.builds.no_stock
- no se ha especificado stock
-
- project.builds.needed
@@ -10416,12 +10398,6 @@ Elemento 3
Lote objetivo
-
-
- project.build.builds_part_lot_label
- %name% (se requiere %quantity%)
-
- project.builds.number_of_builds
diff --git a/translations/messages.it.xlf b/translations/messages.it.xlf
index 68125368..951a1bd3 100644
--- a/translations/messages.it.xlf
+++ b/translations/messages.it.xlf
@@ -9932,18 +9932,6 @@ Element 3
Componente
-
-
- project.bom.assembly
- Assemblaggio
-
-
-
-
- project.bom.partOrAssembly
- Selezione
-
- project.bom.add_entry
@@ -10340,12 +10328,6 @@ Element 3
a magazzino
-
-
- project.builds.no_stock
- nessuna scorta specificata
-
- project.builds.needed
@@ -10418,12 +10400,6 @@ Element 3
Lotto target
-
-
- project.build.builds_part_lot_label
- %name% (%quantity% richiesti)
-
- project.builds.number_of_builds
diff --git a/translations/messages.ja.xlf b/translations/messages.ja.xlf
index fb772306..101afd62 100644
--- a/translations/messages.ja.xlf
+++ b/translations/messages.ja.xlf
@@ -8960,18 +8960,6 @@ Exampletown
Part-DBについての質問は、<a href="%href%" class="link-external" target="_blank">GitHub</a> にスレッドがあります。
-
-
- project.bom.assembly
- アセンブリ
-
-
-
-
- project.bom.partOrAssembly
- 選択
-
- assembly.edit.status
@@ -9008,18 +8996,6 @@ Exampletown
アーカイブ済み
-
-
- project.builds.no_stock
- nessuna scorta specificata
-
-
-
-
- project.build.builds_part_lot_label
- %name% (必要数: %quantity%)
-
- assembly.label
diff --git a/translations/messages.pl.xlf b/translations/messages.pl.xlf
index 5654d1de..d9d4eac2 100644
--- a/translations/messages.pl.xlf
+++ b/translations/messages.pl.xlf
@@ -10331,12 +10331,6 @@ Element 3
dostępny
-
-
- project.builds.no_stock
- brak podanego stanu magazynowego
-
- project.builds.needed
@@ -10409,12 +10403,6 @@ Element 3
Partia docelowa
-
-
- project.build.builds_part_lot_label
- %name% (%quantity% wymagane)
-
- project.builds.number_of_builds
diff --git a/translations/messages.ru.xlf b/translations/messages.ru.xlf
index 326044b8..5850914f 100644
--- a/translations/messages.ru.xlf
+++ b/translations/messages.ru.xlf
@@ -9939,18 +9939,6 @@
Компонент
-
-
- project.bom.assembly
- Сборка
-
-
-
-
- project.bom.partOrAssembly
- Выбор
-
- project.bom.add_entry
@@ -10347,12 +10335,6 @@
запасено
-
-
- project.builds.no_stock
- склад не указан
-
- project.builds.needed
@@ -10425,12 +10407,6 @@
Целевой лот
-
-
- project.build.builds_part_lot_label
- %name% (требуется: %quantity%)
-
- project.builds.number_of_builds
@@ -13122,6 +13098,12 @@
Добавить детали в сборку
+
+
+ assembly.bom.project
+ Проект
+
+ part.info.add_part_to_assembly
diff --git a/translations/messages.zh.xlf b/translations/messages.zh.xlf
index aa730c08..a3e44de6 100644
--- a/translations/messages.zh.xlf
+++ b/translations/messages.zh.xlf
@@ -9938,18 +9938,6 @@ Element 3
部件
-
-
- project.bom.assembly
- 装配
-
-
-
-
- project.bom.partOrAssembly
- 选择
-
- project.bom.add_entry
@@ -10346,12 +10334,6 @@ Element 3
在库
-
-
- project.builds.no_stock
- 未指定库存
-
- project.builds.needed
@@ -10424,12 +10406,6 @@ Element 3
目标批次
-
-
- project.build.builds_part_lot_label
- %name% (需求数量: %quantity%)
-
- project.builds.number_of_builds
diff --git a/translations/validators.en.xlf b/translations/validators.en.xlf
index 89677cb4..08d3f2df 100644
--- a/translations/validators.en.xlf
+++ b/translations/validators.en.xlf
@@ -429,6 +429,7 @@
validator.assembly.bom_entry.name_or_part_neededYou must select a part or set a name for the entry!
+ You must select a part or set a name for the entry!