Give the machine console its own session with PIN sign-in, make counters cumulative
The console under console/ has its own session cookie and console guard (UseConsoleSession), so signing out or changing user there leaves the normal interface alone. Links open it in a new window through a one-time handoff key; a signed-out console asks for a PIN code or password on its own login page. Users set their 4-6 digit PIN on the profile's PIN page, and the console's change user dialog takes it on a keypad; five wrong PINs lock PIN sign-in for 15 minutes. Machine counters are cumulative: users record how much a job used and it is added to the latest reading. A maintenance record restarts the whole counter interval from the reading at the record. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
+10
-9
@@ -162,11 +162,11 @@ return [
|
||||
'deactivated' => 'Huoltokohde poistettu käytöstä. Sen historia säilyy.',
|
||||
'counters' => 'Laskurit',
|
||||
'no_reading' => 'Ei lukemia.',
|
||||
'latest_reading' => 'Viimeisin lukema :reading :unit (:at).',
|
||||
'new_reading' => 'Uusi lukema (:unit)',
|
||||
'save_reading' => 'Kirjaa lukema',
|
||||
'save_reading_named' => 'Kirjaa lukema: :counter',
|
||||
'reading_saved' => 'Laskurin :counter lukema :reading :unit kirjattu.',
|
||||
'latest_reading' => 'Laskuri nyt :reading :unit (päivitetty :at).',
|
||||
'usage' => 'Työn kulutus (:unit)',
|
||||
'save_usage' => 'Kirjaa kulutus',
|
||||
'save_usage_named' => 'Kirjaa kulutus: :counter',
|
||||
'usage_saved' => 'Laskuriin :counter lisätty :usage :unit, laskuri nyt :reading :unit.',
|
||||
'items' => 'Huollot',
|
||||
'add' => 'Uusi huoltokohde',
|
||||
'none' => 'Koneelle ei ole huoltokohteita.',
|
||||
@@ -193,7 +193,6 @@ return [
|
||||
'edit_named' => 'Muokkaa: :name',
|
||||
'done' => 'Huolto tehty',
|
||||
'done_named' => 'Huolto tehty: :name',
|
||||
'reading_at' => 'Lukema (:counter)',
|
||||
'note' => 'Huomautus',
|
||||
'confirm_done' => 'Kirjaa huolto',
|
||||
'recorded' => 'Huolto :name kirjattu.',
|
||||
@@ -209,7 +208,7 @@ return [
|
||||
'cancel' => 'Merkitse perutuksi',
|
||||
'cancel_named' => 'Merkitse perutuksi: :name :at',
|
||||
'cancel_title' => 'Merkitäänkö huolto perutuksi?',
|
||||
'cancel_text' => 'Huoltokirjaus jää historiaan perutuksi merkittynä, eikä se enää nollaa huoltovälin kertymää.',
|
||||
'cancel_text' => 'Huoltokirjaus jää historiaan perutuksi merkittynä, eikä se enää nollaa huoltoväliä.',
|
||||
'cancelled' => 'Huolto :name merkitty perutuksi.',
|
||||
'errors' => [
|
||||
'needs_interval' => 'Anna laskuriin perustuva huoltoväli, aikaan perustuva huoltoväli tai molemmat.',
|
||||
@@ -218,7 +217,7 @@ return [
|
||||
'counter' => 'Valitse koneen laskuri.',
|
||||
'period_count' => 'Anna jakso kokonaislukuna 1–365.',
|
||||
'warning' => 'Anna ennakkovaroitus prosentteina 1–99.',
|
||||
'reading' => 'Anna lukema nollana tai suurempana lukuna, enintään kolme desimaalia.',
|
||||
'usage' => 'Anna työn kulutus nollaa suurempana lukuna, esim. 350, enintään kolme desimaalia.',
|
||||
],
|
||||
],
|
||||
'console' => [
|
||||
@@ -274,7 +273,9 @@ return [
|
||||
'undo' => 'Peru viimeisin kirjaus',
|
||||
'reason_required' => 'Anna syy, kun tehtävää ei ole valittu.',
|
||||
'counters_and_maintenance' => 'Laskurit ja huollot',
|
||||
'latest' => 'Viimeisin lukema :reading',
|
||||
'latest' => 'Laskuri nyt :reading',
|
||||
'usage' => ':counter: työn kulutus (:unit)',
|
||||
'hour_suggestion' => 'Ehdotus: kirjaa :hours h laskuriin :counter. Vahvista painamalla Kirjaa kulutus.',
|
||||
],
|
||||
'process' => [
|
||||
'title' => 'Valmistusprosessi',
|
||||
|
||||
Reference in New Issue
Block a user