Add stock items, groups and movements at a moving average cost
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,189 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'units' => [
|
||||
'piece' => 'pcs',
|
||||
'sheet' => 'sheet',
|
||||
'roll' => 'roll',
|
||||
'metre' => 'm',
|
||||
'square_metre' => 'm²',
|
||||
'litre' => 'l',
|
||||
'package' => 'pack',
|
||||
],
|
||||
'kinds' => [
|
||||
'purchase' => 'Purchase',
|
||||
'consumption' => 'Use',
|
||||
'write_off' => 'Write-off',
|
||||
'adjustment' => 'Stock count correction',
|
||||
'reversal' => 'Reversal',
|
||||
],
|
||||
|
||||
'index' => [
|
||||
'title' => 'Stock',
|
||||
'intro' => 'Balances of stock items. Items to order (balance at or below the reorder level) and negative balances are marked.',
|
||||
'search' => 'Search by name or code',
|
||||
'group' => 'Item group',
|
||||
'all_groups' => 'All groups',
|
||||
'only_reorder' => 'Only items to order',
|
||||
'include_inactive' => 'Also show items out of use',
|
||||
'new_item' => 'New item',
|
||||
'groups' => 'Item groups',
|
||||
'none' => 'No items match.',
|
||||
'count' => '{0} No items|{1} 1 item|[2,*] :count items',
|
||||
'total_value' => 'Total stock value: :value',
|
||||
],
|
||||
'columns' => [
|
||||
'name' => 'Item',
|
||||
'group' => 'Group',
|
||||
'balance' => 'Balance',
|
||||
'reorder_level' => 'Reorder level',
|
||||
'status' => 'Status',
|
||||
'average_cost' => 'Average cost',
|
||||
'value' => 'Value',
|
||||
'time' => 'Time',
|
||||
'kind' => 'Kind',
|
||||
'quantity' => 'Quantity',
|
||||
'balance_after' => 'Balance after',
|
||||
'user' => 'Recorded by',
|
||||
'target' => 'For',
|
||||
'actions' => 'Actions',
|
||||
],
|
||||
'status' => [
|
||||
'ok' => 'Enough',
|
||||
'reorder' => 'To order',
|
||||
'negative' => 'Negative balance',
|
||||
'inactive' => 'Out of use',
|
||||
],
|
||||
|
||||
'groups' => [
|
||||
'title' => 'Item groups',
|
||||
'intro' => 'Groups order the stock list and the material search of the machine console. Groups that have been used are not deleted but taken out of use.',
|
||||
'new' => 'New group',
|
||||
'name' => 'Group name',
|
||||
'add' => 'Add group',
|
||||
'items' => '{0} no items|{1} 1 item|[2,*] :count items',
|
||||
'rename' => 'Rename',
|
||||
'rename_named' => 'Rename: :name',
|
||||
'save' => 'Save name',
|
||||
'cancel' => 'Cancel',
|
||||
'up_named' => 'Move up: :name',
|
||||
'down_named' => 'Move down: :name',
|
||||
'deactivate_named' => 'Take out of use: :name',
|
||||
'activate_named' => 'Take into use: :name',
|
||||
'deactivate' => 'Take out of use',
|
||||
'activate' => 'Take into use',
|
||||
'none' => 'No groups yet. Add the first group, e.g. Papers and boards.',
|
||||
'added' => 'Group :name added.',
|
||||
'renamed' => 'Group renamed: :name.',
|
||||
'moved_up' => ':name moved up.',
|
||||
'moved_down' => ':name moved down.',
|
||||
'first' => ':name is already first.',
|
||||
'last' => ':name is already last.',
|
||||
'activated' => ':name taken into use.',
|
||||
'deactivated' => ':name taken out of use.',
|
||||
'back' => 'Back to stock',
|
||||
],
|
||||
|
||||
'form' => [
|
||||
'create_title' => 'New item',
|
||||
'edit_title' => 'Edit item',
|
||||
'group' => 'Item group',
|
||||
'name' => 'Name',
|
||||
'unit' => 'Unit',
|
||||
'code' => 'Product code or barcode',
|
||||
'code_hint' => 'Optional. A barcode scanner types the code into the search field.',
|
||||
'supplier' => 'Supplier',
|
||||
'reorder_level' => 'Reorder level',
|
||||
'reorder_level_hint' => 'Optional. When the balance is at or below this, the item is shown as to order. At most three decimals.',
|
||||
'image' => 'Image',
|
||||
'image_hint' => 'An optional image that helps recognise the item on a touch screen. JPEG, PNG, WebP or GIF, at most :size MB.',
|
||||
'remove_image' => 'Remove image',
|
||||
'current_image' => 'Current image',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'no_groups' => 'Add an item group first.',
|
||||
'created' => 'Item :name added.',
|
||||
'updated' => 'Item :name saved.',
|
||||
],
|
||||
|
||||
'item' => [
|
||||
'details' => 'Details',
|
||||
'balance' => 'Balance',
|
||||
'edit' => 'Edit',
|
||||
'deactivate' => 'Take out of use',
|
||||
'activate' => 'Take into use',
|
||||
'deactivated' => 'The item was taken out of use. It can no longer be used, but its movements are kept.',
|
||||
'activated' => 'The item was taken into use.',
|
||||
'inactive_note' => 'The item is out of use.',
|
||||
'image_alt' => 'Image: :name',
|
||||
'history' => 'Movement history',
|
||||
'history_none' => 'No movements yet.',
|
||||
'history_limit' => 'At most the :count newest movements are shown.',
|
||||
'reverse' => 'Reverse',
|
||||
'reverse_named' => 'Reverse movement :kind :quantity (:time)',
|
||||
'reverse_title' => 'Reverse the movement?',
|
||||
'reverse_text' => 'A reversal that cancels :kind :quantity is recorded for today. The original movement stays in the history.',
|
||||
'reverse_confirm' => 'Record reversal',
|
||||
'reversed' => 'Reversal recorded. Balance now :balance.',
|
||||
'reversed_by' => 'Reversed (#:number)',
|
||||
'reverses' => 'Reverses movement #:number',
|
||||
'target_task' => 'Task #:id',
|
||||
'target_machine' => 'Machine #:id',
|
||||
'target_order' => 'Quick sale order',
|
||||
'target_maintenance' => 'Maintenance',
|
||||
'target_count' => 'Stock count #:id',
|
||||
'document' => 'Document :number',
|
||||
],
|
||||
|
||||
'purchase' => [
|
||||
'title' => 'Record purchase',
|
||||
'intro' => 'Goods received. Give the price without VAT either in total or per unit; the average cost is updated.',
|
||||
'day' => 'Day',
|
||||
'quantity' => 'Quantity (:unit)',
|
||||
'total_price' => 'Total price (€, VAT 0)',
|
||||
'unit_price' => 'Or unit price (€/:unit, VAT 0)',
|
||||
'unit_price_hint' => 'At most four decimals, e.g. 0.0123.',
|
||||
'supplier' => 'Supplier',
|
||||
'document_number' => 'Purchase invoice or receipt number',
|
||||
'save' => 'Record purchase',
|
||||
'saved' => 'Purchase recorded: :quantity. Balance now :balance, average cost :cost.',
|
||||
],
|
||||
|
||||
'write_off' => [
|
||||
'title' => 'Record write-off',
|
||||
'quantity' => 'Quantity (:unit)',
|
||||
'reason' => 'Reason',
|
||||
'reason_hint' => 'E.g. damaged, expired.',
|
||||
'save' => 'Record write-off',
|
||||
'saved' => 'Write-off recorded: :quantity. Balance now :balance.',
|
||||
],
|
||||
|
||||
'use' => [
|
||||
'title' => 'Record use without a target',
|
||||
'intro' => 'Use with no task or machine (e.g. a test run). A task\'s material is recorded on the task.',
|
||||
'quantity' => 'Quantity (:unit)',
|
||||
'reason' => 'Reason',
|
||||
'save' => 'Record use',
|
||||
'saved' => 'Use recorded: :quantity. Balance now :balance.',
|
||||
'negative_warning' => 'The balance is negative. Correct it with a purchase or a stock count.',
|
||||
],
|
||||
|
||||
'errors' => [
|
||||
'name' => 'Enter a name (1–150 characters).',
|
||||
'name_taken' => 'The name is already in use.',
|
||||
'group' => 'Choose an item group in use.',
|
||||
'quantity' => 'Enter a quantity greater than zero, at most three decimals (e.g. 2.5).',
|
||||
'reorder_level' => 'Enter the reorder level as a number, at most three decimals.',
|
||||
'cost' => 'Enter a price in euros (e.g. 12.50) or a unit price with at most four decimals.',
|
||||
'price_required' => 'Enter a total price or a unit price.',
|
||||
'day' => 'Enter the day as dd.mm.yyyy.',
|
||||
'reason' => 'Enter a reason.',
|
||||
'inactive' => 'The item is out of use and cannot be used.',
|
||||
'image' => 'The file is not a usable image (JPEG, PNG, WebP or GIF).',
|
||||
'image_too_large' => 'The image is too large (at most :size MB).',
|
||||
'not_found' => 'The row was not found. Refresh the page.',
|
||||
'already_reversed' => 'The movement has already been reversed.',
|
||||
'not_reversible' => 'A reversal or a stock count correction cannot be reversed.',
|
||||
'reversal_not_allowed' => 'You can only undo your own use recorded today. Management makes other corrections.',
|
||||
],
|
||||
];
|
||||
@@ -17,6 +17,9 @@ return [
|
||||
'users' => 'Users',
|
||||
'company' => 'Company details',
|
||||
'holidays' => 'Public holidays',
|
||||
'inventory' => 'Stock',
|
||||
'inventory_counts' => 'Stock counts',
|
||||
'machines' => 'Machines',
|
||||
'catalog' => 'Basic data',
|
||||
'prices' => 'Price list',
|
||||
'logout' => 'Sign out',
|
||||
|
||||
@@ -0,0 +1,189 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'units' => [
|
||||
'piece' => 'kpl',
|
||||
'sheet' => 'arkki',
|
||||
'roll' => 'rulla',
|
||||
'metre' => 'm',
|
||||
'square_metre' => 'm²',
|
||||
'litre' => 'l',
|
||||
'package' => 'pakkaus',
|
||||
],
|
||||
'kinds' => [
|
||||
'purchase' => 'Hankinta',
|
||||
'consumption' => 'Käyttö',
|
||||
'write_off' => 'Hävikki',
|
||||
'adjustment' => 'Inventaariokorjaus',
|
||||
'reversal' => 'Vastakirjaus',
|
||||
],
|
||||
|
||||
'index' => [
|
||||
'title' => 'Varasto',
|
||||
'intro' => 'Nimikkeiden saldot. Tilattavat nimikkeet (saldo hälytysrajalla tai alle) ja negatiiviset saldot näytetään merkinnällä.',
|
||||
'search' => 'Hae nimellä tai koodilla',
|
||||
'group' => 'Nimikeryhmä',
|
||||
'all_groups' => 'Kaikki ryhmät',
|
||||
'only_reorder' => 'Vain tilattavat',
|
||||
'include_inactive' => 'Näytä myös käytöstä poistetut',
|
||||
'new_item' => 'Uusi nimike',
|
||||
'groups' => 'Nimikeryhmät',
|
||||
'none' => 'Ei nimikkeitä näillä ehdoilla.',
|
||||
'count' => '{0} Ei nimikkeitä|{1} 1 nimike|[2,*] :count nimikettä',
|
||||
'total_value' => 'Varaston arvo yhteensä: :value',
|
||||
],
|
||||
'columns' => [
|
||||
'name' => 'Nimike',
|
||||
'group' => 'Ryhmä',
|
||||
'balance' => 'Saldo',
|
||||
'reorder_level' => 'Hälytysraja',
|
||||
'status' => 'Tila',
|
||||
'average_cost' => 'Keskihinta',
|
||||
'value' => 'Arvo',
|
||||
'time' => 'Aika',
|
||||
'kind' => 'Laji',
|
||||
'quantity' => 'Määrä',
|
||||
'balance_after' => 'Saldo jälkeen',
|
||||
'user' => 'Kirjaaja',
|
||||
'target' => 'Kohde',
|
||||
'actions' => 'Toiminnot',
|
||||
],
|
||||
'status' => [
|
||||
'ok' => 'Riittää',
|
||||
'reorder' => 'Tilattava',
|
||||
'negative' => 'Saldo negatiivinen',
|
||||
'inactive' => 'Poistettu käytöstä',
|
||||
],
|
||||
|
||||
'groups' => [
|
||||
'title' => 'Nimikeryhmät',
|
||||
'intro' => 'Ryhmät järjestävät varastolistan ja konekäyttöliittymän materiaalihaun. Käytössä olleita ryhmiä ei poisteta, vaan ne poistetaan käytöstä.',
|
||||
'new' => 'Uusi ryhmä',
|
||||
'name' => 'Ryhmän nimi',
|
||||
'add' => 'Lisää ryhmä',
|
||||
'items' => '{0} ei nimikkeitä|{1} 1 nimike|[2,*] :count nimikettä',
|
||||
'rename' => 'Nimeä uudelleen',
|
||||
'rename_named' => 'Nimeä uudelleen: :name',
|
||||
'save' => 'Tallenna nimi',
|
||||
'cancel' => 'Peruuta',
|
||||
'up_named' => 'Siirrä ylös: :name',
|
||||
'down_named' => 'Siirrä alas: :name',
|
||||
'deactivate_named' => 'Poista käytöstä: :name',
|
||||
'activate_named' => 'Ota käyttöön: :name',
|
||||
'deactivate' => 'Poista käytöstä',
|
||||
'activate' => 'Ota käyttöön',
|
||||
'none' => 'Ei vielä ryhmiä. Lisää ensimmäinen ryhmä, esim. Paperit ja kartongit.',
|
||||
'added' => 'Ryhmä :name lisätty.',
|
||||
'renamed' => 'Ryhmä nimetty: :name.',
|
||||
'moved_up' => ':name siirretty ylöspäin.',
|
||||
'moved_down' => ':name siirretty alaspäin.',
|
||||
'first' => ':name on jo ensimmäisenä.',
|
||||
'last' => ':name on jo viimeisenä.',
|
||||
'activated' => ':name otettu käyttöön.',
|
||||
'deactivated' => ':name poistettu käytöstä.',
|
||||
'back' => 'Takaisin varastoon',
|
||||
],
|
||||
|
||||
'form' => [
|
||||
'create_title' => 'Uusi nimike',
|
||||
'edit_title' => 'Muokkaa nimikettä',
|
||||
'group' => 'Nimikeryhmä',
|
||||
'name' => 'Nimi',
|
||||
'unit' => 'Yksikkö',
|
||||
'code' => 'Tuotekoodi tai viivakoodi',
|
||||
'code_hint' => 'Vapaaehtoinen. Viivakoodinlukija kirjoittaa koodin hakukenttään.',
|
||||
'supplier' => 'Toimittaja',
|
||||
'reorder_level' => 'Hälytysraja',
|
||||
'reorder_level_hint' => 'Vapaaehtoinen. Kun saldo on tällä tai alle, nimike näytetään tilattavana. Enintään kolme desimaalia.',
|
||||
'image' => 'Kuva',
|
||||
'image_hint' => 'Vapaaehtoinen kuva, joka helpottaa nimikkeen tunnistamista kosketusnäytöllä. JPEG, PNG, WebP tai GIF, enintään :size Mt.',
|
||||
'remove_image' => 'Poista kuva',
|
||||
'current_image' => 'Nykyinen kuva',
|
||||
'save' => 'Tallenna',
|
||||
'cancel' => 'Peruuta',
|
||||
'no_groups' => 'Lisää ensin nimikeryhmä.',
|
||||
'created' => 'Nimike :name lisätty.',
|
||||
'updated' => 'Nimike :name tallennettu.',
|
||||
],
|
||||
|
||||
'item' => [
|
||||
'details' => 'Tiedot',
|
||||
'balance' => 'Saldo',
|
||||
'edit' => 'Muokkaa',
|
||||
'deactivate' => 'Poista käytöstä',
|
||||
'activate' => 'Ota käyttöön',
|
||||
'deactivated' => 'Nimike poistettu käytöstä. Sitä ei voi enää kirjata käytetyksi, mutta tapahtumat säilyvät.',
|
||||
'activated' => 'Nimike otettu käyttöön.',
|
||||
'inactive_note' => 'Nimike on poistettu käytöstä.',
|
||||
'image_alt' => 'Kuva: :name',
|
||||
'history' => 'Tapahtumahistoria',
|
||||
'history_none' => 'Ei vielä tapahtumia.',
|
||||
'history_limit' => 'Näytetään enintään :count uusinta tapahtumaa.',
|
||||
'reverse' => 'Vastakirjaa',
|
||||
'reverse_named' => 'Vastakirjaa tapahtuma :kind :quantity (:time)',
|
||||
'reverse_title' => 'Vastakirjataanko tapahtuma?',
|
||||
'reverse_text' => 'Tapahtumalle :kind :quantity kirjataan tälle päivälle vastakirjaus, joka kumoaa sen. Alkuperäinen tapahtuma säilyy historiassa.',
|
||||
'reverse_confirm' => 'Kirjaa vastakirjaus',
|
||||
'reversed' => 'Vastakirjaus kirjattu. Saldo nyt :balance.',
|
||||
'reversed_by' => 'Vastakirjattu (#:number)',
|
||||
'reverses' => 'Kumoaa tapahtuman #:number',
|
||||
'target_task' => 'Tehtävä #:id',
|
||||
'target_machine' => 'Kone #:id',
|
||||
'target_order' => 'Pikamyyntitilaus',
|
||||
'target_maintenance' => 'Huolto',
|
||||
'target_count' => 'Inventaario #:id',
|
||||
'document' => 'Tosite :number',
|
||||
],
|
||||
|
||||
'purchase' => [
|
||||
'title' => 'Kirjaa hankinta',
|
||||
'intro' => 'Saapunut tavara. Anna hinta ilman ALV:tä joko yhteensä tai yksikköhintana; keskihinta päivitetään.',
|
||||
'day' => 'Päivä',
|
||||
'quantity' => 'Määrä (:unit)',
|
||||
'total_price' => 'Hinta yhteensä (€, ALV 0)',
|
||||
'unit_price' => 'Tai yksikköhinta (€/:unit, ALV 0)',
|
||||
'unit_price_hint' => 'Enintään neljä desimaalia, esim. 0,0123.',
|
||||
'supplier' => 'Toimittaja',
|
||||
'document_number' => 'Ostolaskun tai kuitin numero',
|
||||
'save' => 'Kirjaa hankinta',
|
||||
'saved' => 'Hankinta kirjattu: :quantity. Saldo nyt :balance, keskihinta :cost.',
|
||||
],
|
||||
|
||||
'write_off' => [
|
||||
'title' => 'Kirjaa hävikki tai poisto',
|
||||
'quantity' => 'Määrä (:unit)',
|
||||
'reason' => 'Syy',
|
||||
'reason_hint' => 'Esim. vaurioitunut, vanhentunut.',
|
||||
'save' => 'Kirjaa hävikki',
|
||||
'saved' => 'Hävikki kirjattu: :quantity. Saldo nyt :balance.',
|
||||
],
|
||||
|
||||
'use' => [
|
||||
'title' => 'Kirjaa käyttö ilman kohdetta',
|
||||
'intro' => 'Käyttö, jolla ei ole tehtävää tai konetta (esim. koeajo). Tehtävän materiaalit kirjataan tehtävältä.',
|
||||
'quantity' => 'Määrä (:unit)',
|
||||
'reason' => 'Syy',
|
||||
'save' => 'Kirjaa käyttö',
|
||||
'saved' => 'Käyttö kirjattu: :quantity. Saldo nyt :balance.',
|
||||
'negative_warning' => 'Saldo on negatiivinen. Korjaa se hankinnalla tai inventaariolla.',
|
||||
],
|
||||
|
||||
'errors' => [
|
||||
'name' => 'Anna nimi (1–150 merkkiä).',
|
||||
'name_taken' => 'Nimi on jo käytössä.',
|
||||
'group' => 'Valitse käytössä oleva nimikeryhmä.',
|
||||
'quantity' => 'Anna määrä nollaa suurempana lukuna, enintään kolme desimaalia (esim. 2,5).',
|
||||
'reorder_level' => 'Anna hälytysraja lukuna, enintään kolme desimaalia.',
|
||||
'cost' => 'Anna hinta euroina (esim. 12,50) tai yksikköhinta enintään neljällä desimaalilla.',
|
||||
'price_required' => 'Anna hinta yhteensä tai yksikköhinta.',
|
||||
'day' => 'Anna päivä muodossa pp.kk.vvvv.',
|
||||
'reason' => 'Anna syy.',
|
||||
'inactive' => 'Nimike on poistettu käytöstä, eikä sitä voi kirjata käytetyksi.',
|
||||
'image' => 'Tiedosto ei ole kuva, jota voi käyttää (JPEG, PNG, WebP tai GIF).',
|
||||
'image_too_large' => 'Kuva on liian suuri (enintään :size Mt).',
|
||||
'not_found' => 'Riviä ei löytynyt. Päivitä sivu.',
|
||||
'already_reversed' => 'Tapahtuma on jo vastakirjattu.',
|
||||
'not_reversible' => 'Vastakirjausta tai inventaariokorjausta ei voi vastakirjata.',
|
||||
'reversal_not_allowed' => 'Voit perua vain oman tänään kirjatun käyttösi. Muut korjaukset tekee johto.',
|
||||
],
|
||||
];
|
||||
@@ -17,6 +17,9 @@ return [
|
||||
'users' => 'Käyttäjät',
|
||||
'company' => 'Yritystiedot',
|
||||
'holidays' => 'Arkipyhät',
|
||||
'inventory' => 'Varasto',
|
||||
'inventory_counts' => 'Inventaario',
|
||||
'machines' => 'Koneet',
|
||||
'catalog' => 'Pohjatiedot',
|
||||
'prices' => 'Hinnasto',
|
||||
'logout' => 'Kirjaudu ulos',
|
||||
|
||||
Reference in New Issue
Block a user