Brew

{#if !isAdbConnected} {:else if !isRecipeLoaded} {#if !isAndroidSocketConnected} {/if} {:else} {/if}
{#key refresh_counter}
{#if $recipeFromMachineLoading}

Please wait

{:else} {/if}
{/key}
Confirm Brew Check the material and topping list before sending this menu to Android. {#if pendingBrewMenu}
Menu
{pendingBrewMenu.name || pendingBrewMenu.otherName || pendingBrewMenu.productCode}
{pendingBrewMenu.productCode}

Materials

{getPendingBrewMaterials().length} items
{#each getPendingBrewMaterials() as material}
Step {material.index}
{material.name}
{material.materialPathId}
{#if material.values.length > 0}
{#each material.values as field} {field.label}: {field.value} {/each}
{:else}
No amount values set
{/if}
{/each}

Toppings

{getPendingBrewToppings().length} items
{#if getPendingBrewToppings().length === 0}
No toppings selected.
{:else}
{#each getPendingBrewToppings() as topping}
Slot {topping.slot}: {topping.slotName}
{topping.toppingName}
{topping.groupName}
{/each}
{/if}
{/if}