<%- include('../partials/wrap-start') %>
<section class="panel"><h2>Add SKU</h2><form class="form-grid" method="post"><input name="sku_code" placeholder="SKU Code" required><input name="sku_name" placeholder="SKU Name" required><input name="brand" placeholder="Brand"><input name="category" placeholder="Category"><select name="factory_section"><option>NSD</option><option>NTR</option><option>Pouch</option><option>Sachet</option><option>Manual Packing</option><option>Dishbar</option><option>Liquid</option></select><input name="packing_type" placeholder="Packing Type"><input name="batch_size" type="number" step="0.001" placeholder="Batch Size"><input name="standard_yield" type="number" step="0.001" placeholder="Standard Yield %"><input name="standard_labor" type="number" step="0.0001" placeholder="Labor / unit"><input name="standard_utility" type="number" step="0.0001" placeholder="Utility / unit"><input name="standard_overhead" type="number" step="0.0001" placeholder="Overhead / unit"><input name="selling_price" type="number" step="0.0001" placeholder="Selling Price"><input name="target_margin" type="number" step="0.001" placeholder="Target Margin %"><input name="unit_type" placeholder="kg / pcs / liter" value="kg"><button class="btn">Save SKU</button></form></section>
<section class="panel"><h2>SKU Master</h2><table><thead><tr><th>Code</th><th>SKU</th><th>Brand</th><th>Section</th><th>Batch</th><th>Yield</th><th>Price</th></tr></thead><tbody><% rows.forEach(r=>{ %><tr><td><%= r.sku_code %></td><td><%= r.sku_name %></td><td><%= r.brand %></td><td><%= r.factory_section %></td><td><%= r.batch_size %></td><td><%= r.standard_yield %>%</td><td><%= r.selling_price %></td></tr><% }) %></tbody></table></section>
<%- include('../partials/wrap-end') %>
