@if (step() === 'select') {
}
@if (step() === 'review' && preview()) {
Summary for {{ date() }}
@for (c of actionCounts(); track c.action) {
-
{{ c.action }} {{ c.count }} dishes
}
- master data {{ masterChanges().length }} changes
@if (warnings().length > 0) {
Warnings
@for (w of warnings(); track w) {
- {{ w }}
}
}
Update sale prices from the menu summary
Update fraction and yield %
Apply menu sections as tags
Dish details ({{ dishes().length }})
| Action |
{{ row.action }}
|
Name |
{{ row.name }} |
Sheet |
{{ row.sheet }} |
Yield |
{{ row.recipeYield | number: '1.0-4' }} |
Price |
{{ row.salePrice === null ? '—' : (row.salePrice | number: '1.2-2') }}
|
Message |
{{ row.message ?? '—' }} |
}
@if (step() === 'result' && result()) {
Import complete
- {{ result()!.dishes.length }} dishes processed
- {{ result()!.createdProducts.length }} items created
- {{ result()!.masterChanges }} master-data changes applied
@if (result()!.createdProducts.length > 0) {
Created: {{ result()!.createdProducts.join(', ') }}
}
@if (result()!.warnings.length > 0) {
Warnings
@for (w of result()!.warnings; track w) {
- {{ w }}
}
}
@if (result()!.dishes.length > 0) {
Per-dish report ({{ result()!.dishes.length }})
| Status |
{{ row.status }}
|
Name |
{{ row.name }} |
Message |
{{ row.message ?? '—' }} |
}
}
@if (errorMessage()) {
{{ errorMessage() }}
}