Fix console hours, sign-in landing and counter usage races

- Hours the counter reading cannot parse (",5") no longer fail after
  they are saved; they just get no hour counter suggestion.
- The console's sign-in falls back to a console machine list
  (machines::console-picker at /console/machines) instead of /machines,
  so it stays in the console's own session.
- Recording counter usage locks the counter first, so usage saved at
  the same time from two devices is not lost.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-29 10:05:02 +02:00
co-authored by Claude Sonnet 5.5
parent 32c33e2a64
commit 6692396a63
14 changed files with 139 additions and 12 deletions
+5
View File
@@ -220,6 +220,11 @@ return [
'usage' => 'Enter the amount the job used as a number greater than zero, e.g. 350, at most three decimals.',
],
],
'console_picker' => [
'title' => 'Machine console',
'intro' => 'Choose the machine you are working at.',
'empty' => 'There are no machines in use.',
],
'console' => [
'ordered_at' => 'ordered at :time',
'order_step' => 'step :step/:steps',
+5
View File
@@ -220,6 +220,11 @@ return [
'usage' => 'Anna työn kulutus nollaa suurempana lukuna, esim. 350, enintään kolme desimaalia.',
],
],
'console_picker' => [
'title' => 'Konekäyttöliittymä',
'intro' => 'Valitse kone, jonka vieressä olet.',
'empty' => 'Käytössä olevia koneita ei ole.',
],
'console' => [
'ordered_at' => 'tilattu klo :time',
'order_step' => 'vaihe :step/:steps',