Count stock and correct the differences on confirmation

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-26 16:34:08 +02:00
co-authored by Claude Sonnet 5.5
parent bca1eed166
commit 0de0e332b2
27 changed files with 1568 additions and 0 deletions
+55
View File
@@ -194,6 +194,61 @@ return [
'undone_mark' => 'undone',
],
'counts' => [
'title' => 'Stock counts',
'intro' => 'In a stock count the items are counted and the book balances corrected. One count may be open at a time; several people may count, in several parts.',
'start_title' => 'Start a stock count',
'groups' => 'Item groups',
'groups_hint' => 'Leave all unchecked to count the whole stock.',
'start' => 'Start stock count',
'list' => 'Stock counts',
'none' => 'No stock counts yet.',
'name' => 'Stock count :date',
'whole_stock' => 'Whole stock',
'counted_items' => '{0} no items counted|{1} 1 item counted|[2,*] :count items counted',
'open' => 'Open',
'confirmed_by' => 'Confirmed :at (:name)',
'started_by' => 'started by :name',
'values' => 'Stock value before corrections :before, after corrections :after.',
'count_help' => 'Type the counted quantity; it is saved when you leave the field. An empty field takes the item back to not counted. The difference is to the book balance at the moment of counting.',
'only_uncounted' => 'Show only items not counted',
'uncounted' => '{0} All items counted.|{1} 1 item not counted.|[2,*] :count items not counted.',
'counted' => 'Counted (:unit)',
'book' => 'book balance :book',
'difference' => 'difference :difference',
'current' => 'balance now :balance',
'not_counted' => 'Not counted',
'saved' => ':item: counted :counted, difference :difference.',
'cleared' => ':item taken back to not counted.',
'no_lines' => 'No items in this selection.',
'confirm' => 'Confirm stock count',
'confirm_title' => 'Confirm the stock count?',
'confirm_text' => 'Every difference is recorded as a stock count correction at the average cost. A confirmed count cannot be changed.',
'confirm_uncounted' => '{1} 1 item is not counted, and its balance is not changed.|[2,*] :count items are not counted, and their balances are not changed.',
'confirmed_message' => '{0} Stock count confirmed. There were no differences.|{1} Stock count confirmed: 1 correction recorded.|[2,*] Stock count confirmed: :count corrections recorded.',
'download_csv' => 'Download CSV',
'csv_named' => 'Download stock count :date as CSV',
'back' => 'Back to stock counts',
'csv' => [
'file' => 'stock-count-:date',
'item' => 'Item',
'code' => 'Code',
'group' => 'Group',
'unit' => 'Unit',
'book' => 'Balance',
'counted' => 'Counted',
'difference' => 'Difference',
'unit_cost' => 'Average cost (€)',
'book_value' => 'Balance value (cents)',
'counted_value' => 'Counted value (cents)',
'difference_value' => 'Difference value (cents)',
],
'errors' => [
'already_open' => 'Another stock count is open. Confirm it before starting a new one.',
'confirmed' => 'The stock count has been confirmed and cannot be changed.',
'quantity' => 'Enter a quantity of zero or more, at most three decimals.',
],
],
'errors' => [
'name' => 'Enter a name (1–150 characters).',
'name_taken' => 'The name is already in use.',
+55
View File
@@ -194,6 +194,61 @@ return [
'undone_mark' => 'peruttu',
],
'counts' => [
'title' => 'Inventaario',
'intro' => 'Inventaariossa lasketaan varaston nimikkeet ja korjataan kirjanpitosaldot. Kesken voi olla yksi inventaario kerrallaan; laskennan voi tehdä useampi henkilö ja useassa osassa.',
'start_title' => 'Aloita inventaario',
'groups' => 'Nimikeryhmät',
'groups_hint' => 'Jätä kaikki valitsematta, niin inventaario koskee koko varastoa.',
'start' => 'Aloita inventaario',
'list' => 'Inventaariot',
'none' => 'Ei vielä inventaarioita.',
'name' => 'Inventaario :date',
'whole_stock' => 'Koko varasto',
'counted_items' => '{0} ei laskettuja nimikkeitä|{1} 1 laskettu nimike|[2,*] :count laskettua nimikettä',
'open' => 'Kesken',
'confirmed_by' => 'Vahvistettu :at (:name)',
'started_by' => 'aloittanut :name',
'values' => 'Varaston arvo ennen korjauksia :before, korjausten jälkeen :after.',
'count_help' => 'Kirjoita laskettu määrä; se tallentuu, kun siirryt pois kentästä. Tyhjä kenttä palauttaa nimikkeen laskemattomaksi. Ero lasketaan laskentahetken kirjanpitosaldosta.',
'only_uncounted' => 'Näytä vain laskemattomat',
'uncounted' => '{0} Kaikki nimikkeet laskettu.|{1} 1 nimike laskematta.|[2,*] :count nimikettä laskematta.',
'counted' => 'Laskettu (:unit)',
'book' => 'kirjanpitosaldo :book',
'difference' => 'ero :difference',
'current' => 'saldo nyt :balance',
'not_counted' => 'Laskematta',
'saved' => ':item: laskettu :counted, ero :difference.',
'cleared' => ':item palautettu laskemattomaksi.',
'no_lines' => 'Ei nimikkeitä tällä rajauksella.',
'confirm' => 'Vahvista inventaario',
'confirm_title' => 'Vahvistetaanko inventaario?',
'confirm_text' => 'Jokaisesta erosta kirjataan inventaariokorjaus keskihinnalla. Vahvistettua inventaariota ei voi muuttaa.',
'confirm_uncounted' => '{1} 1 nimike on laskematta, eikä sen saldoa muuteta.|[2,*] :count nimikettä on laskematta, eikä niiden saldoja muuteta.',
'confirmed_message' => '{0} Inventaario vahvistettu. Eroja ei ollut.|{1} Inventaario vahvistettu: 1 korjaus kirjattu.|[2,*] Inventaario vahvistettu: :count korjausta kirjattu.',
'download_csv' => 'Lataa CSV',
'csv_named' => 'Lataa inventaario :date CSV-tiedostona',
'back' => 'Takaisin inventaarioihin',
'csv' => [
'file' => 'inventaario-:date',
'item' => 'Nimike',
'code' => 'Koodi',
'group' => 'Ryhmä',
'unit' => 'Yksikkö',
'book' => 'Saldo',
'counted' => 'Laskettu',
'difference' => 'Ero',
'unit_cost' => 'Keskihinta (€)',
'book_value' => 'Saldon arvo (snt)',
'counted_value' => 'Lasketun arvo (snt)',
'difference_value' => 'Eron arvo (snt)',
],
'errors' => [
'already_open' => 'Toinen inventaario on kesken. Vahvista se ennen uuden aloittamista.',
'confirmed' => 'Inventaario on vahvistettu, eikä sitä voi muuttaa.',
'quantity' => 'Anna määrä nollana tai suurempana lukuna, enintään kolme desimaalia.',
],
],
'errors' => [
'name' => 'Anna nimi (1–150 merkkiä).',
'name_taken' => 'Nimi on jo käytössä.',