Quick sales (pikamyynti) of active consumer products at the counter, in a new Sales module: - Product buttons add one to the sale's list per press; quantities can be lowered, raised or removed. Payment by cash or card, optional customer. - Product durations are booked as the seller's hours on the yearly "Pikamyynnit" job (internal customer, not billed) through Jobs' ProvideQuickSaleTask and TimeTracking's AddTaskHours. The sale stands even when the hours cannot be booked, and the seller is told. - Sales are never deleted: a credit records the lines negated on today's cash day, once per sale, by the seller or management. - Closing a cash day stores its balance by payment method and VAT rate and stops sales on it; only management reopens a day. - A printable A5 PDF receipt (barryvdh/laravel-dompdf) with the company's details, business ID, VAT number, lines and VAT breakdown. Company details are kept in the settings and edited by the admin only on the new Yritystiedot page. BusinessId moves from Customers to Shared so both use the same check. Co-Authored-By: Claude Opus 5.5 <[email protected]>
142 lines
6.5 KiB
PHP
142 lines
6.5 KiB
PHP
<?php
|
||
|
||
return [
|
||
'job_name' => 'Pikamyynnit :year',
|
||
'hours_note' => 'Pikamyynti #:number',
|
||
'payment_methods' => [
|
||
'cash' => 'Käteinen',
|
||
'card' => 'Pankkikortti',
|
||
],
|
||
'sell' => [
|
||
'title' => 'Pikamyynti',
|
||
'intro' => 'Käteis- ja korttimyynti kuluttajatuotteista. Hinnat sisältävät ALV:n. Tuotteiden kesto kirjataan tunneiksesi.',
|
||
'products' => 'Tuotteet',
|
||
'products_help' => 'Jokainen painallus lisää myyntiin yhden.',
|
||
'add_named' => 'Lisää :product, :price / :unit',
|
||
'cart' => 'Myynti',
|
||
'cart_empty' => 'Myynnissä ei ole vielä tuotteita.',
|
||
'line' => ':quantity × :price = :total',
|
||
'line_hours' => 'Kirjaa tunneiksesi :hours h.',
|
||
'decrease_named' => 'Vähennä yksi: :product',
|
||
'increase_named' => 'Lisää yksi: :product',
|
||
'remove_named' => 'Poista myynnistä: :product',
|
||
'changed' => ':product: :quantity. Yhteensä :total.',
|
||
'removed' => ':product poistettu. Yhteensä :total.',
|
||
'no_products' => 'Hinnastossa ei ole käytössä olevia kuluttajatuotteita.',
|
||
'total' => 'Yhteensä :total (sis. ALV)',
|
||
'payment_method' => 'Maksutapa',
|
||
'customer' => 'Asiakas (vapaaehtoinen)',
|
||
'customer_search' => 'Hae asiakasta',
|
||
'customer_search_description' => 'Jätä tyhjäksi, jos asiakas on nimetön kuluttaja.',
|
||
'customer_results' => '{0} Ei asiakkaita haulla.|{1} 1 asiakas löytyi.|[2,*] :count asiakasta löytyi.',
|
||
'choose_customer' => 'Valitse asiakas :name',
|
||
'change_customer' => 'Poista asiakas',
|
||
'save' => 'Kirjaa myynti',
|
||
'saved' => 'Myynti #:number kirjattu: :total, :method.',
|
||
'hours_booked' => 'Tunneillesi kirjattiin :hours h.',
|
||
'hours_not_booked' => 'Tunteja (:hours h) ei voitu kirjata, koska päivän tunnit on jo hyväksytty tai päivään tulisi yli 24 h. Kirjaa ne viikkonäkymässä tai pyydä johtoa perumaan hyväksyntä.',
|
||
'to_list' => 'Päivän myynnit ja kassapäivä',
|
||
],
|
||
'index' => [
|
||
'title' => 'Pikamyynnit',
|
||
'day_navigation' => 'Päivän valinta',
|
||
'previous' => 'Edellinen päivä',
|
||
'today' => 'Tänään',
|
||
'next' => 'Seuraava päivä',
|
||
'new_sale' => 'Uusi myynti',
|
||
'sales' => 'Myynnit',
|
||
'own_only' => 'Näet omat myyntisi. Kassapäivän saldo sisältää kaikkien myynnit.',
|
||
'seller' => 'Myyjä',
|
||
'all_sellers' => 'Kaikki myyjät',
|
||
'none' => 'Ei myyntejä tänä päivänä.',
|
||
'unclosed' => 'Päättämättömiä kassapäiviä:',
|
||
],
|
||
'columns' => [
|
||
'time' => 'Aika',
|
||
'number' => 'Numero',
|
||
'seller' => 'Myyjä',
|
||
'customer' => 'Asiakas',
|
||
'products' => 'Tuotteet',
|
||
'payment_method' => 'Maksutapa',
|
||
'total' => 'Summa',
|
||
'actions' => 'Toiminnot',
|
||
],
|
||
'anonymous' => 'Nimetön',
|
||
'line' => ':quantity × :product à :price',
|
||
'credit_of' => 'Hyvitys myynnille #:number',
|
||
'credited_by' => 'Hyvitetty (#:number)',
|
||
'credit' => 'Hyvitä',
|
||
'credit_named' => 'Hyvitä myynti #:number',
|
||
'credit_title' => 'Hyvitetäänkö myynti?',
|
||
'credit_text' => 'Myynnille #:number (:total) kirjataan tälle päivälle hyvitys, jossa samat tuotteet ovat miinusmerkkisinä. Palauta raha asiakkaalle samalla maksutavalla (:method). Myynnin tunnit eivät muutu: korjaa ne tarvittaessa viikkonäkymässä.',
|
||
'credit_confirm' => 'Kirjaa hyvitys',
|
||
'receipt_link' => 'Kuitti',
|
||
'receipt' => [
|
||
'open' => 'Avaa kuitti #:number (PDF, avautuu uuteen välilehteen)',
|
||
'open_named' => 'Kuitti #:number (PDF, avautuu uuteen välilehteen)',
|
||
'title' => 'Kuitti',
|
||
'credit_title' => 'Hyvityskuitti',
|
||
'file' => 'kuitti-:number.pdf',
|
||
'number' => 'Kuitti nro',
|
||
'date' => 'Päivämäärä',
|
||
'seller' => 'Myyjä',
|
||
'customer' => 'Asiakas',
|
||
'payment_method' => 'Maksutapa',
|
||
'credits' => 'Hyvittää kuitin nro :number',
|
||
'business_id' => 'Y-tunnus',
|
||
'vat_number' => 'ALV-tunnus',
|
||
'product' => 'Tuote',
|
||
'quantity' => 'Määrä',
|
||
'unit_price' => 'À-hinta',
|
||
'line_total' => 'Yhteensä',
|
||
'total' => 'Yhteensä (sis. ALV)',
|
||
'vat_heading' => 'Arvonlisävero',
|
||
'vat_rate' => 'ALV %',
|
||
'net' => 'Veroton',
|
||
'vat' => 'Vero',
|
||
'gross' => 'Verollinen',
|
||
'thanks' => 'Kiitos käynnistä!',
|
||
'company_missing' => 'Yrityksen tiedot puuttuvat: pääkäyttäjä täyttää ne kohdassa Yritystiedot.',
|
||
],
|
||
'credited' => 'Myynnille #:number kirjattiin hyvitys #:credit.',
|
||
'cash_day' => [
|
||
'title' => 'Kassapäivä',
|
||
'open' => 'Kassapäivä on avoinna.',
|
||
'closed' => 'Kassapäivä päätetty :at (:name).',
|
||
'reopened' => 'Avattu uudelleen :at (:name).',
|
||
'balance' => 'Saldo',
|
||
'preview' => 'Saldo, joka muodostuu päätettäessä',
|
||
'sale_count' => 'Myyntejä (hyvitykset mukaan lukien)',
|
||
'cash' => 'Käteinen',
|
||
'card' => 'Pankkikortti',
|
||
'total' => 'Yhteensä',
|
||
'vat_breakdown' => 'ALV-erittely',
|
||
'vat_rate' => 'ALV',
|
||
'gross' => 'Verollinen',
|
||
'net' => 'Veroton',
|
||
'vat' => 'Vero',
|
||
'item' => 'Erä',
|
||
'amount' => 'Summa',
|
||
'close' => 'Päätä kassapäivä',
|
||
'close_title' => 'Päätetäänkö kassapäivä?',
|
||
'close_text' => 'Päivän myynneistä muodostuu saldo, eikä päivälle voi enää kirjata myyntejä.',
|
||
'closed_message' => 'Kassapäivä :day päätetty.',
|
||
'reopen' => 'Avaa kassapäivä',
|
||
'reopen_title' => 'Avataanko kassapäivä uudelleen?',
|
||
'reopen_text' => 'Saldo poistetaan, ja se muodostetaan uudelleen, kun päivä päätetään.',
|
||
'reopened_message' => 'Kassapäivä :day avattu uudelleen.',
|
||
],
|
||
'errors' => [
|
||
'empty' => 'Anna vähintään yhdelle tuotteelle määrä.',
|
||
'quantity' => 'Anna määrä kokonaislukuna 0–999.',
|
||
'product' => 'Tuote ei ole enää myynnissä. Päivitä sivu.',
|
||
'customer' => 'Asiakasta ei löytynyt. Valitse asiakas uudelleen.',
|
||
'day_closed' => 'Kassapäivä on päätetty; pyydä johtoa avaamaan se.',
|
||
'already_credited' => 'Myynti on jo hyvitetty.',
|
||
'credit_of_credit' => 'Hyvitystä ei voi hyvittää.',
|
||
'not_found' => 'Myyntiä ei löytynyt.',
|
||
'future' => 'Tulevaa kassapäivää ei voi päättää.',
|
||
'not_closed' => 'Kassapäivä ei ole päätetty.',
|
||
],
|
||
];
|