refactor(helpdesk): remove redundant readonly fields from software product form

Code and BC description are already shown in the aside — no need to
duplicate them as readonly inputs in the form.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-14 22:26:18 +02:00
parent 14ba29c468
commit 20f582f459

View File

@@ -12,26 +12,6 @@ $formId = $formId ?? 'software-product-form';
<fieldset> <fieldset>
<legend><?php e(t('Product details')); ?></legend> <legend><?php e(t('Product details')); ?></legend>
<label for="software-product-code"><?php e(t('Code')); ?></label>
<input
type="text"
id="software-product-code"
name="code"
value="<?php e($values['code'] ?? ''); ?>"
readonly
aria-readonly="true"
>
<label for="software-product-bc-description"><?php e(t('BC description')); ?></label>
<input
type="text"
id="software-product-bc-description"
name="bc_description"
value="<?php e($values['bc_description'] ?? ''); ?>"
readonly
aria-readonly="true"
>
<label for="software-product-name"><?php e(t('Product name')); ?></label> <label for="software-product-name"><?php e(t('Product name')); ?></label>
<input <input
type="text" type="text"