diff --git a/src/Form/Part/PricedetailType.php b/src/Form/Part/PricedetailType.php index 5790e59a..2d2efd8c 100644 --- a/src/Form/Part/PricedetailType.php +++ b/src/Form/Part/PricedetailType.php @@ -51,7 +51,10 @@ class PricedetailType extends AbstractType 'html5' => true, 'attr' => ['min' => 0, 'step' => 'any'], ]); - $builder->add('currency', CurrencyEntityType::class, ['required' => false]); + $builder->add('currency', CurrencyEntityType::class, [ + 'required' => false, + 'label' => false + ]); } public function configureOptions(OptionsResolver $resolver) diff --git a/translations/messages.de.xlf b/translations/messages.de.xlf index 18932f71..7359732f 100644 --- a/translations/messages.de.xlf +++ b/translations/messages.de.xlf @@ -2289,7 +2289,7 @@ Subelemente werden beim Löschen nach oben verschoben. src\Controller\AdminPages\BaseAdminController.php:110 - + entity.edit_flash Änderungen erfolgreich gespeichert. @@ -2298,7 +2298,7 @@ Subelemente werden beim Löschen nach oben verschoben. src\Controller\AdminPages\BaseAdminController.php:116 - + entity.edit_flash.invalid Änderungen konnten nicht gespeichert werden! Prüfen Sie ihre Eingaben! @@ -2307,7 +2307,7 @@ Subelemente werden beim Löschen nach oben verschoben. src\Controller\AdminPages\BaseAdminController.php:166 - + entity.created_flash Element erfolgreich angelegt! @@ -2316,7 +2316,7 @@ Subelemente werden beim Löschen nach oben verschoben. src\Controller\AdminPages\BaseAdminController.php:172 - + entity.created_flash.invalid Element konnte nicht angelegt werden! Prüfen Sie ihre Eingaben! @@ -2336,182 +2336,11 @@ Subelemente werden beim Löschen nach oben verschoben. src\Controller\AdminPages\BaseAdminController.php:257 - + csfr_invalid CSFR-Token ungültig! Laden Sie diese Seite erneut oder kontaktieren Sie einen Administrator, wenn das Problem bestehen bleibt! - - - src\Controller\DebugController.php:57 - - - validator.noneofitschild.self - Ein Element kann nicht sich selbst als übergeordnet sein! - - - - - src\Controller\DebugController.php:58 - - - validator.noneofitschild.children - Ein Kindelement kann nicht das übergeordnete Element sein! - - - - - src\Controller\DebugController.php:59 - - - validator.isSelectable - Das Element muss auswählbar sein! - - - - - src\Controller\DebugController.php:60 - - - validator.part_lot.location_full.no_increasment - Der verwendete Lagerort wurde als voll markiert, daher kann der Bestand nicht erhöht werden. (Neuer Bestand maximal {{ old_amount }}) - - - - - src\Controller\DebugController.php:61 - - - validator.part_lot.location_full - Der Lagerort ist voll, daher können keine neue Teile hinzugefügt werden. - - - - - src\Controller\DebugController.php:62 - - - validator.part_lot.only_existing - Der Lagerort wurde als "nur bestehende Teile" markiert, daher können keine neuen Teile hinzugefügt werden. - - - - - src\Controller\DebugController.php:63 - - - validator.part_lot.single_part - Der Lagerort wurde als "Nur ein Bauteil" markiert, daher kann kein neues Bauteil hinzugefügt werden. - - - - - src\Controller\DebugController.php:66 - - - m_status.active.help - Das Bauteil wird momentan und in absehbarer Zukunft produziert. - - - - - src\Controller\DebugController.php:67 - - - m_status.announced.help - Das Bauteil wurde angekündigt, ist aber noch nicht erhältlich. - - - - - src\Controller\DebugController.php:68 - - - m_status.discontinued.help - Das Bauteil wird nicht mehr hergestellt. - - - - - src\Controller\DebugController.php:69 - - - m_status.eol.help - Die Produktion des Bauteils wird bald eingestellt. - - - - - src\Controller\DebugController.php:70 - - - m_status.nrfnd.help - Im Moment wird das Bauteil noch hergestellt, die Verwendung für neue Designs ist nicht mehr empfohlen. - - - - - src\Controller\DebugController.php:71 - - - m_status.unknown.help - Der Produktionstatus ist nicht bekannt. - - - - - src\Controller\DebugController.php:74 - - - flash.success - Erfolg - - - - - src\Controller\DebugController.php:75 - - - flash.error - Fehler - - - - - src\Controller\DebugController.php:76 - - - flash.warning - Warnung - - - - - src\Controller\DebugController.php:77 - - - flash.notice - Hinweis - - - - - src\Controller\DebugController.php:78 - - - flash.info - Info - - - - - src\Controller\DebugController.php:80 - - - validator.noLockout - Sie können sich nicht selbst die Berechtigung Berechtigungen zu bearbeiten entziehen, um sich nicht versehentlich auszusperren! - - src\Controller\PartController.php:100 @@ -2536,7 +2365,7 @@ Subelemente werden beim Löschen nach oben verschoben. src\Controller\PartController.php:133 - + part.deleted Bauteil erfolgreich gelöscht. @@ -2728,6 +2557,7 @@ Subelemente werden beim Löschen nach oben verschoben. src\DataTables\AttachmentDataTable.php:197 src\DataTables\PartsDataTable.php:258 src\DataTables\PartsDataTable.php:265 + src\Form\Type\SIUnitType.php:115 false @@ -3464,15 +3294,6 @@ Subelemente werden beim Löschen nach oben verschoben. Kommentar - - - src\Form\Part\PricedetailType.php:54 - - - currency - Währung - - src\Form\Permissions\PermissionsType.php:78 @@ -3484,42 +3305,42 @@ Subelemente werden beim Löschen nach oben verschoben. - src\Form\Type\SIUnitType.php:115 + src\Form\Type\SIUnitType.php:117 - + M M - src\Form\Type\SIUnitType.php:115 + src\Form\Type\SIUnitType.php:117 - + k k - - + + - src\Form\Type\SIUnitType.php:115 + src\Form\Type\SIUnitType.php:117 - + m m - src\Form\Type\SIUnitType.php:115 + src\Form\Type\SIUnitType.php:117 - + µ µ @@ -3890,6 +3711,186 @@ Subelemente werden beim Löschen nach oben verschoben. Neues Element + + + obsolete + + + validator.noneofitschild.self + Ein Element kann nicht sich selbst als übergeordnet sein! + + + + + obsolete + + + validator.noneofitschild.children + Ein Kindelement kann nicht das übergeordnete Element sein! + + + + + obsolete + + + validator.isSelectable + Das Element muss auswählbar sein! + + + + + obsolete + + + validator.part_lot.location_full.no_increasment + Der verwendete Lagerort wurde als voll markiert, daher kann der Bestand nicht erhöht werden. (Neuer Bestand maximal {{ old_amount }}) + + + + + obsolete + + + validator.part_lot.location_full + Der Lagerort ist voll, daher können keine neue Teile hinzugefügt werden. + + + + + obsolete + + + validator.part_lot.only_existing + Der Lagerort wurde als "nur bestehende Teile" markiert, daher können keine neuen Teile hinzugefügt werden. + + + + + obsolete + + + validator.part_lot.single_part + Der Lagerort wurde als "Nur ein Bauteil" markiert, daher kann kein neues Bauteil hinzugefügt werden. + + + + + obsolete + + + m_status.active.help + Das Bauteil wird momentan und in absehbarer Zukunft produziert. + + + + + obsolete + + + m_status.announced.help + Das Bauteil wurde angekündigt, ist aber noch nicht erhältlich. + + + + + obsolete + + + m_status.discontinued.help + Das Bauteil wird nicht mehr hergestellt. + + + + + obsolete + + + m_status.eol.help + Die Produktion des Bauteils wird bald eingestellt. + + + + + obsolete + + + m_status.nrfnd.help + Im Moment wird das Bauteil noch hergestellt, die Verwendung für neue Designs ist nicht mehr empfohlen. + + + + + obsolete + + + m_status.unknown.help + Der Produktionstatus ist nicht bekannt. + + + + + obsolete + + + flash.success + Erfolg + + + + + obsolete + + + flash.error + Fehler + + + + + obsolete + + + flash.warning + Warnung + + + + + obsolete + + + flash.notice + Hinweis + + + + + obsolete + + + flash.info + Info + + + + + obsolete + + + validator.noLockout + Sie können sich nicht selbst die Berechtigung Berechtigungen zu bearbeiten entziehen, um sich nicht versehentlich auszusperren! + + + + + obsolete + + + currency + Währung + + obsolete diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 067877db..ab4dd2b4 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -2280,7 +2280,7 @@ Subelements will be moved upwards.]]> src\Controller\AdminPages\BaseAdminController.php:110 - + entity.edit_flash Changes saved successful. @@ -2289,7 +2289,7 @@ Subelements will be moved upwards.]]> src\Controller\AdminPages\BaseAdminController.php:116 - + entity.edit_flash.invalid Can not save changed. Please check your input! @@ -2298,7 +2298,7 @@ Subelements will be moved upwards.]]> src\Controller\AdminPages\BaseAdminController.php:166 - + entity.created_flash Element created. @@ -2307,7 +2307,7 @@ Subelements will be moved upwards.]]> src\Controller\AdminPages\BaseAdminController.php:172 - + entity.created_flash.invalid Could not create element. Please check your input! @@ -2326,182 +2326,11 @@ Subelements will be moved upwards.]]> src\Controller\AdminPages\BaseAdminController.php:257 - + csfr_invalid CSFR Token invalid. Please reload this page or contact an administrator if this message stays. - - - src\Controller\DebugController.php:57 - - - validator.noneofitschild.self - A element can not be its own parent. - - - - - src\Controller\DebugController.php:58 - - - validator.noneofitschild.children - The parent can not be one of the children of itself. - - - - - src\Controller\DebugController.php:59 - - - validator.isSelectable - The element must be selectable. - - - - - src\Controller\DebugController.php:60 - - - validator.part_lot.location_full.no_increasment - The storage location was marked as full, so you can not increase the instock amount. (New amount max. {{ old_amount }}) - - - - - src\Controller\DebugController.php:61 - - - validator.part_lot.location_full - The storage location was marked as full, so you can not add a new part to it. - - - - - src\Controller\DebugController.php:62 - - - validator.part_lot.only_existing - The storage location was marked as "only existing", so you can not add new part to it. - - - - - src\Controller\DebugController.php:63 - - - validator.part_lot.single_part - The storage location was marked as "single part", so you can not add a new part to it. - - - - - src\Controller\DebugController.php:66 - - - m_status.active.help - The part is currently and in forseeable future in production - - - - - src\Controller\DebugController.php:67 - - - m_status.announced.help - The part was announced but is not available yet. - - - - - src\Controller\DebugController.php:68 - - - m_status.discontinued.help - The part is discontinued and not produced anymore. - - - - - src\Controller\DebugController.php:69 - - - m_status.eol.help - The product has reached its end-of-life and the production will be stopped soon. - - - - - src\Controller\DebugController.php:70 - - - m_status.nrfnd.help - The part is currently in production but is not recommended for new designs. - - - - - src\Controller\DebugController.php:71 - - - m_status.unknown.help - The manufacturing status of the part is not known. - - - - - src\Controller\DebugController.php:74 - - - flash.success - Success - - - - - src\Controller\DebugController.php:75 - - - flash.error - Error - - - - - src\Controller\DebugController.php:76 - - - flash.warning - Warning - - - - - src\Controller\DebugController.php:77 - - - flash.notice - Notice - - - - - src\Controller\DebugController.php:78 - - - flash.info - Info - - - - - src\Controller\DebugController.php:80 - - - validator.noLockout - You can not withdraw yourself the "change permission" permission, to prevent that you lockout yourself accidentally. - - src\Controller\PartController.php:100 @@ -2525,7 +2354,7 @@ Subelements will be moved upwards.]]> src\Controller\PartController.php:133 - + part.deleted Part deleted successful. @@ -2714,6 +2543,7 @@ Subelements will be moved upwards.]]> src\DataTables\AttachmentDataTable.php:197 src\DataTables\PartsDataTable.php:258 src\DataTables\PartsDataTable.php:265 + src\Form\Type\SIUnitType.php:115 false @@ -3461,42 +3291,42 @@ Subelements will be moved upwards.]]> - src\Form\Type\SIUnitType.php:115 + src\Form\Type\SIUnitType.php:117 - + M M - src\Form\Type\SIUnitType.php:115 + src\Form\Type\SIUnitType.php:117 - + k k - - + + - src\Form\Type\SIUnitType.php:115 + src\Form\Type\SIUnitType.php:117 - + m m - src\Form\Type\SIUnitType.php:115 + src\Form\Type\SIUnitType.php:117 - + µ µ @@ -3859,6 +3689,177 @@ Subelements will be moved upwards.]]> New Element + + + obsolete + + + validator.noneofitschild.self + A element can not be its own parent. + + + + + obsolete + + + validator.noneofitschild.children + The parent can not be one of the children of itself. + + + + + obsolete + + + validator.isSelectable + The element must be selectable. + + + + + obsolete + + + validator.part_lot.location_full.no_increasment + The storage location was marked as full, so you can not increase the instock amount. (New amount max. {{ old_amount }}) + + + + + obsolete + + + validator.part_lot.location_full + The storage location was marked as full, so you can not add a new part to it. + + + + + obsolete + + + validator.part_lot.only_existing + The storage location was marked as "only existing", so you can not add new part to it. + + + + + obsolete + + + validator.part_lot.single_part + The storage location was marked as "single part", so you can not add a new part to it. + + + + + obsolete + + + m_status.active.help + The part is currently and in forseeable future in production + + + + + obsolete + + + m_status.announced.help + The part was announced but is not available yet. + + + + + obsolete + + + m_status.discontinued.help + The part is discontinued and not produced anymore. + + + + + obsolete + + + m_status.eol.help + The product has reached its end-of-life and the production will be stopped soon. + + + + + obsolete + + + m_status.nrfnd.help + The part is currently in production but is not recommended for new designs. + + + + + obsolete + + + m_status.unknown.help + The manufacturing status of the part is not known. + + + + + obsolete + + + flash.success + Success + + + + + obsolete + + + flash.error + Error + + + + + obsolete + + + flash.warning + Warning + + + + + obsolete + + + flash.notice + Notice + + + + + obsolete + + + flash.info + Info + + + + + obsolete + + + validator.noLockout + You can not withdraw yourself the "change permission" permission, to prevent that you lockout yourself accidentally. + + obsolete