- Added maximum discount settings configurable by the administrator. - Implemented discount calculations in the quote confirmation process. - Introduced transport options with associated costs, including handling for exceeding maximum piece limits. - Updated frontend to display discounts and transport information in the quote summary. - Created new database migrations for storing discount and transport settings. - Developed a new Filament page for managing global discount settings. - Enhanced email templates to include discount and transport details. - Added tests to ensure proper functionality of discounts and transport calculations.
28 lines
860 B
PHP
28 lines
860 B
PHP
<x-mail::message>
|
|
<x-slot:header>
|
|
<x-mail::header :url="config('app.url')">
|
|
<img src="{{ config('app.url') }}/images/kreios-logo.jpg" alt="Krèios" style="height: 40px;">
|
|
</x-mail::header>
|
|
</x-slot:header>
|
|
|
|
# Grazie per la tua richiesta
|
|
|
|
Ciao {{ $preventivo->cliente?->nome }},
|
|
|
|
abbiamo ricevuto la tua richiesta di preventivo **n. {{ $preventivo->numero }}**.
|
|
|
|
In allegato trovi il **PDF riassuntivo** con le configurazioni che hai selezionato e il totale
|
|
indicativo (prezzi IVA esclusa).
|
|
|
|
Un nostro consulente ti ricontatterà al più presto per finalizzare l'offerta.
|
|
|
|
**Totale indicativo (IVA esclusa{{ $preventivo->haSconti() ? ', sconti inclusi' : '' }}):** € {{ number_format($preventivo->totale, 2, ',', '.') }}
|
|
@if($preventivo->trasportoDaQuantificare())
|
|
|
|
{{ $preventivo->notaTrasporto() }}
|
|
@endif
|
|
|
|
Grazie,<br>
|
|
Il team di Krèios
|
|
</x-mail::message>
|