@if (itemResource.isLoading()) { } @else if (itemResource.error()) { } @else {

Product

Name Fraction Units
Sale Category @for (sc of saleCategories(); track sc) { {{ sc.name }} } Enabled?

Stock Keeping Units

Units @for (error of form.addRow.units().errors(); track error) { {{ error.message }} } Fraction @for (error of form.addRow.fraction().errors(); track error) { {{ error.message }} } Yield @for (error of form.addRow.productYield().errors(); track error) { {{ error.message }} } Cost Price @for (error of form.addRow.costPrice().errors(); track error) { {{ error.message }} } Sale Price @for (error of form.addRow.salePrice().errors(); track error) { {{ error.message }} } Menu Category @for (mc of menuCategories(); track mc) { {{ mc.name }} } @for (error of form.addRow.menuCategory().errors(); track error) { {{ error.message }} } Has Happy Hour? Not Available?
Units {{ row.units }} Fraction {{ row.fraction }} Yield {{ row.productYield }} Cost Price {{ row.costPrice | currency: 'INR' }} Sale Price {{ row.salePrice | currency: 'INR' }} Menu Category {{ row.menuCategory?.name ?? row.menuCategory?.id ?? '' }} Happy Hour Not Available Action
@if (!!item().id) { }
}