24 lines
945 B
PHP
24 lines
945 B
PHP
{{--
|
|
Body of the email that carries a quick sale's PDF receipt. Always in
|
|
Finnish, like the receipt.
|
|
--}}
|
|
<!DOCTYPE html>
|
|
<html lang="fi">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{{ $sale->isCredit() ? __('sales.receipt.credit_title') : __('sales.receipt.title') }} {{ $sale->id }}</title>
|
|
</head>
|
|
<body style="font-family: Arial, sans-serif; font-size: 15px; color: #111;">
|
|
<p>{{ __('sales.receipt_mail.greeting') }}</p>
|
|
<p>{{ __($sale->isCredit() ? 'sales.receipt_mail.credit_body' : 'sales.receipt_mail.body', ['number' => $sale->id, 'date' => \Carbon\CarbonImmutable::parse($sale->soldAt)->format('j.n.Y')]) }}</p>
|
|
<p>{{ __('sales.receipt.thanks') }}</p>
|
|
@if ($company !== null)
|
|
<p>
|
|
{{ $company->name }}
|
|
@if ($company->phone !== null)<br>{{ $company->phone }}@endif
|
|
@if ($company->email !== null)<br>{{ $company->email }}@endif
|
|
</p>
|
|
@endif
|
|
</body>
|
|
</html>
|