produzione 1 #9

Merged
JoeKung merged 135 commits from dev into main 2026-03-03 09:58:04 +01:00
Showing only changes of commit fcf439e369 - Show all commits

View File

@@ -214,7 +214,11 @@ export class CalculatorPageComponent {
let details = `Richiesta Preventivo:\n`; let details = `Richiesta Preventivo:\n`;
details += `- Materiale: ${req.material}\n`; details += `- Materiale: ${req.material}\n`;
details += `- Qualità: ${req.quality}\n`; details += `- Qualità: ${req.quality}\n`;
details += `- Quantità: ${req.quantity}\n`;
details += `- File:\n`;
req.items.forEach(item => {
details += ` * ${item.file.name} (Qtà: ${item.quantity})\n`;
});
if (req.mode === 'advanced') { if (req.mode === 'advanced') {
if (req.color) details += `- Colore: ${req.color}\n`; if (req.color) details += `- Colore: ${req.color}\n`;
@@ -224,7 +228,7 @@ export class CalculatorPageComponent {
if (req.notes) details += `\nNote: ${req.notes}`; if (req.notes) details += `\nNote: ${req.notes}`;
this.estimator.setPendingConsultation({ this.estimator.setPendingConsultation({
files: req.files, files: req.items.map(i => i.file),
message: details message: details
}); });