mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-13 05:39:33 +00:00
Die Implementierung berücksichtigt nun zusätzlich die Bauteilbeschreibung zu maximal 150 Zeichen Länge für die Generierung von IPN-Vorschlägen und Inkrementen.
15 lines
No EOL
579 B
Twig
15 lines
No EOL
579 B
Twig
{{ form_row(form.needsReview) }}
|
|
{{ form_row(form.favorite) }}
|
|
{{ form_row(form.mass) }}
|
|
<div {{ stimulus_controller('elements/ipn_suggestion', {
|
|
partId: part.id,
|
|
partCategoryId: part.category ? part.category.id : null,
|
|
partDescription: part.description,
|
|
suggestions: ipnSuggestions,
|
|
'commonSectionHeader': 'part.edit.tab.advanced.ipn.commonSectionHeader'|trans,
|
|
'partIncrementHeader': 'part.edit.tab.advanced.ipn.partIncrementHeader'|trans,
|
|
'suggestUrl': url('ipn_suggestions')
|
|
}) }}>
|
|
{{ form_row(form.ipn) }}
|
|
</div>
|
|
{{ form_row(form.partUnit) }} |