Let quick sale quantities be typed and specify quick sale production

Each line on the quick sale page gets a quantity field beside the
minus and plus buttons: the typed quantity is saved on change or
Enter, 0 removes the line and an invalid value keeps the old one
with an error.

The specification gets section 19.7 for phase 5: products with a
production process are sold as orders that go to a machine's work
list, are marked made at the machine (booking material and hours)
and are then paid in cash or by card.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-26 07:22:14 +02:00
co-authored by Claude Sonnet 5.5
parent 42b470d01c
commit 290936d8de
6 changed files with 123 additions and 20 deletions
+3 -1
View File
@@ -11,7 +11,9 @@ return [
'title' => 'Pikamyynti',
'intro' => 'Käteis- ja korttimyynti kuluttajatuotteista. Hinnat sisältävät ALV:n. Tuotteiden kesto kirjataan tunneiksesi.',
'products' => 'Tuotteet',
'products_help' => 'Jokainen painallus lisää myyntiin yhden.',
'products_help' => 'Jokainen painallus lisää myyntiin yhden. Määrää voi muuttaa myös kirjoittamalla; 0 poistaa rivin.',
'quantity' => 'Määrä',
'quantity_named' => 'Määrä: :product',
'add_named' => 'Lisää :product, :price / :unit',
'cart' => 'Myynti',
'cart_empty' => 'Myynnissä ei ole vielä tuotteita.',