{#if !$clientSession}

Client Access Required

Sign in on the Hunter Premium Produce home page before editing mixes.

Mix worksheets use live raw material pricing and save directly into Mix Master.

Return to sign-in
{:else}

{savedMix ? 'Edit Mix' : 'New Mix'}

{savedMix ? `Editing ${savedMix.name}` : 'Create a new costing worksheet'}

Use ingredient rows like a spreadsheet, with live costing based on market value, waste, and unit conversion.

Back to table
{#if feedback}

{feedback}

{/if} {#if errorMessage}

{errorMessage}

{/if}
Live Draft Kg {totalMixKg.toFixed(2)}

Total quantity in the current worksheet

Live Draft Cost {currency(totalMixCost)}

Calculated from current row factors

Cost / Kg {currency(mixCostPerKg, 4)}

Current worksheet output

Worksheet Meta

Mix details

Spreadsheet Rows

Ingredient builder

{#each draftRows as row, index} {/each}
Raw Material Market Value Waste % Cost / Kg Qty Kg Line Cost Notes
{currency(row.marketValue)} {row.wastePercentage !== null ? `${(row.wastePercentage * 100).toFixed(1)}%` : 'N/A'} {currency(row.costPerKg, 4)} updateIngredientField(index, 'quantity_kg', Number((event.currentTarget as HTMLInputElement).value)) } /> {currency(row.lineCost)} updateIngredientField(index, 'notes', (event.currentTarget as HTMLInputElement).value)} placeholder="Optional row note" />
{/if}