PriceSlot [ {selectedCountry.toUpperCase()} ]

Edit sheet PriceSlot names, descriptions, and product prices.

{#if enabledCountries.length > 0} { if (v) { selectedCountry = v; goto(`/sheet/priceslot/${v}`); } }} > {selectedCountry.toUpperCase()} {#each enabledCountries as country} {country.toUpperCase()} {/each} {/if}
{#each slots as slot} {/each}

PriceSlot{selectedSlot}

{hasChanges ? `${changedCount} changes` : 'No changes'}
updateSlotField('name', event.currentTarget.value)} />
updateSlotField('description', event.currentTarget.value)} />

Showing {filteredProducts.length} of {currentSlot.products.length} products

ProductCode ProductName [{selectedCountryLanguage}] ProductNameEng Price {#each filteredProducts as product (product.product_code)} {@const productNames = getProductNames(product)} {product.product_code} {productNames.local} {productNames.english} updateProductPrice(product.product_code, event.currentTarget.value)} /> {/each} {#if filteredProducts.length === 0} No product code found. {/if}
Create PriceSlot Choose how to adjust base prices before creating a new PriceSlot.
{ if (v) adjustmentMode = v as AdjustmentMode; applyCreateTemplate(); }} > {adjustmentModeLabels[adjustmentMode]} Increase by Percentage (%) Increase by Fixed Amount Decrease by Percentage (%) Decrease by Fixed Amount
{ adjustmentValue = Number(event.currentTarget.value); applyCreateTemplate(); }} />
(createName = event.currentTarget.value)} />
(createDescription = event.currentTarget.value)} />