Email quick sale receipts and send them again from the sales list
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -34,6 +34,9 @@ return [
|
||||
'choose_customer' => 'Choose customer :name',
|
||||
'change_customer' => 'Remove customer',
|
||||
'save' => 'Record sale',
|
||||
'receipt_email' => 'Email the receipt',
|
||||
'receipt_email_hint' => 'Optional. The PDF receipt is sent to this address after the sale. The address is not added to the customer register.',
|
||||
'receipt_queued' => 'The receipt is being sent to :email.',
|
||||
'saved' => 'Sale #:number recorded: :total, :method.',
|
||||
'hours_booked' => ':hours h were recorded as your hours.',
|
||||
'hours_not_booked' => 'The hours (:hours h) could not be recorded, because the day\'s hours have already been approved or the day would exceed 24 h. Enter them in the week view or ask management to cancel the approval.',
|
||||
@@ -101,6 +104,22 @@ return [
|
||||
'company_missing' => 'Company details are missing: the admin fills them in under Company details.',
|
||||
],
|
||||
'credited' => 'Credit #:credit was recorded for sale #:number.',
|
||||
'receipt_mail' => [
|
||||
'subject' => 'Receipt :number – :company',
|
||||
'credit_subject' => 'Credit receipt :number – :company',
|
||||
'greeting' => 'Hello,',
|
||||
'body' => 'attached is the receipt for your purchase on :date (receipt no. :number).',
|
||||
'credit_body' => 'attached is the credit receipt of :date (receipt no. :number).',
|
||||
'status_pending' => 'Receipt being sent',
|
||||
'status_sent' => 'Receipt sent',
|
||||
'status_failed' => 'Sending the receipt failed',
|
||||
'send' => 'Email receipt',
|
||||
'send_named' => 'Email receipt #:number',
|
||||
'send_title' => 'Email the receipt?',
|
||||
'send_text' => 'Receipt #:number is sent as a PDF attachment to the address below. You can correct the address before sending.',
|
||||
'send_confirm' => 'Send',
|
||||
'resent' => 'Receipt #:number is being sent to :email.',
|
||||
],
|
||||
'cash_day' => [
|
||||
'title' => 'Cash day',
|
||||
'open' => 'The cash day is open.',
|
||||
@@ -129,6 +148,7 @@ return [
|
||||
'reopened_message' => 'Cash day :day reopened.',
|
||||
],
|
||||
'errors' => [
|
||||
'receipt_email' => 'Enter a valid email address, e.g. [email protected].',
|
||||
'empty' => 'Enter a quantity for at least one product.',
|
||||
'quantity' => 'Enter the quantity as a whole number 0–999.',
|
||||
'product' => 'The product is no longer on sale. Refresh the page.',
|
||||
|
||||
@@ -34,6 +34,9 @@ return [
|
||||
'choose_customer' => 'Valitse asiakas :name',
|
||||
'change_customer' => 'Poista asiakas',
|
||||
'save' => 'Kirjaa myynti',
|
||||
'receipt_email' => 'Kuitti sähköpostiin',
|
||||
'receipt_email_hint' => 'Vapaaehtoinen. PDF-kuitti lähetetään tähän osoitteeseen myynnin jälkeen. Osoitetta ei tallenneta asiakasrekisteriin.',
|
||||
'receipt_queued' => 'Kuitti lähetetään osoitteeseen :email.',
|
||||
'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ä.',
|
||||
@@ -101,6 +104,22 @@ return [
|
||||
'company_missing' => 'Yrityksen tiedot puuttuvat: pääkäyttäjä täyttää ne kohdassa Yritystiedot.',
|
||||
],
|
||||
'credited' => 'Myynnille #:number kirjattiin hyvitys #:credit.',
|
||||
'receipt_mail' => [
|
||||
'subject' => 'Kuitti :number – :company',
|
||||
'credit_subject' => 'Hyvityskuitti :number – :company',
|
||||
'greeting' => 'Hei,',
|
||||
'body' => 'liitteenä on kuitti ostoksestasi :date (kuitti nro :number).',
|
||||
'credit_body' => 'liitteenä on hyvityskuitti :date (kuitti nro :number).',
|
||||
'status_pending' => 'Kuitti lähetetään',
|
||||
'status_sent' => 'Kuitti lähetetty',
|
||||
'status_failed' => 'Kuitin lähetys epäonnistui',
|
||||
'send' => 'Lähetä kuitti',
|
||||
'send_named' => 'Lähetä kuitti #:number sähköpostiin',
|
||||
'send_title' => 'Lähetetäänkö kuitti sähköpostiin?',
|
||||
'send_text' => 'Kuitti #:number lähetetään PDF-liitteenä alla olevaan osoitteeseen. Voit korjata osoitteen ennen lähetystä.',
|
||||
'send_confirm' => 'Lähetä',
|
||||
'resent' => 'Kuitti #:number lähetetään osoitteeseen :email.',
|
||||
],
|
||||
'cash_day' => [
|
||||
'title' => 'Kassapäivä',
|
||||
'open' => 'Kassapäivä on avoinna.',
|
||||
@@ -129,6 +148,7 @@ return [
|
||||
'reopened_message' => 'Kassapäivä :day avattu uudelleen.',
|
||||
],
|
||||
'errors' => [
|
||||
'receipt_email' => 'Anna kelvollinen sähköpostiosoite, esim. [email protected].',
|
||||
'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.',
|
||||
|
||||
Reference in New Issue
Block a user