feat: implement discount and transport features in the quote system
- 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.
This commit is contained in:
@@ -16,7 +16,11 @@ indicativo (prezzi IVA esclusa).
|
||||
|
||||
Un nostro consulente ti ricontatterà al più presto per finalizzare l'offerta.
|
||||
|
||||
**Totale indicativo:** € {{ number_format($preventivo->totale, 2, ',', '.') }}
|
||||
**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
|
||||
|
||||
Reference in New Issue
Block a user