{{ item.id ? item.name : t('New Product') }}
{{ t('Product Name') }}
{{ f.name.value.length }}/50
{{ t('Description') }}
{{ f.description.value?.length ?? 0 }}/250
{{ t('Category') }}
{{ t('Sub-Category') }}
{{ t('Allergens') }}
@if (showAllergens) { @for (allergen of allergensList; track allergen) {
{{ allergen }}
}
}
{{ t('Amount') }}
{{ t('Unit') }}
{{ f.unit.value }}
@if (currencyList(); as currencyList) {
{{ t('Price') }}
{{ t('Currency') }}
{{ f.currency.value }}
} @if (item.id) {
}