Alpha

Product Costing

Check prices, fix warnings, and update costing settings.

Products {items.length}

{readyCount} ready

Need Review {warningCount}

{missingLookupCount} missing cost{missingLookupCount === 1 ? '' : 's'}

Average Cost {money(averageDelivered)}

Delivered

{#if activeView === 'inputs'}

Settings

Change the standard costs used to calculate product prices.

{#if inputsDirty} Unsaved changes {/if}
{#if inputs}
Work Costs Enter dollars for grading and cracking.
Bagging Processes Dollars per kg. Example: 0.0400 is 4 cents.
{#each inputs.processes as process} {/each}
Bag Costs Dollars per bag or unit. Example: 2.0000 is two dollars.
{#each inputs.bags as bag} {/each}
Freight Dollars per pallet.
{#each inputs.freight as freight} {/each}
Client Margins Enter decimals. Example: 0.2000 is 20%.
{#each inputs.clients as client}
{client.client_category}
{/each}
{:else}
No input records loaded Refresh after the backend has seeded Product Costing inputs.
{/if}
{:else}

Products

Select a product to see or change its details.

{#if tableLoading} {#each Array(8) as _} {/each} {:else if pagedItems.length} {#each pagedItems as item} 0} onclick={() => selectItem(item)}> {/each} {:else} {/if}
Product Delivered Distributor Wholesale Review
{initials(item.product_name)}
{item.product_name} {item.client_category} ยท {item.mix_product_name}
{money(item.finished_product_delivered_cost)} {money(item.distributor_price)} {money(item.wholesale_price, 1)} {item.warnings.length ? 'Needs review' : 'Ready'}
No costing rows found Adjust the filters or search term.
{pageStart}-{pageEnd} of {visibleItems.length}
Page {page} of {totalPages}
{/if}