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' => 'Quick sale',
'intro' => 'Cash and card sales of consumer products. Prices include VAT. The duration of the products is recorded as your hours.',
'products' => 'Products',
'products_help' => 'Each press adds one to the sale.',
'products_help' => 'Each press adds one to the sale. You can also type the quantity; 0 removes the line.',
'quantity' => 'Quantity',
'quantity_named' => 'Quantity: :product',
'add_named' => 'Add :product, :price / :unit',
'cart' => 'Sale',
'cart_empty' => 'The sale has no products yet.',