From b22630a870dc9ba9b7d497350c9985d2faece9dd Mon Sep 17 00:00:00 2001 From: David Beccue Date: Sat, 16 May 2026 11:52:58 +0500 Subject: [PATCH] Preset out/qty=1 and use button group for movement type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When arriving at /movements/new with ?part_id=…, default to an 'out' movement of 1 — recording a sale is the common reason to follow that link from a part page. Also fix the part option not appearing selected in the listbox (option value was a number, bound value a string). Replace the type - - - - - +
+ {$t('movements.type')} + +
+ {#each ['in', 'out', 'adjust'] as opt} + + {/each} +
+