feat: add previous configuration handling for user selections in quotes
- Implemented session storage management for the last configuration choices made by the user. - Added functionality to prompt users when changing models to retain their previous selections. - Introduced methods to apply previous choices to the newly loaded model, including finishes, handles, glass types, and options. - Enhanced user experience by ensuring selections are automatically applied where applicable.
This commit is contained in:
@@ -18,6 +18,8 @@ class CatalogoSeeder extends Seeder
|
||||
$pvc = Sistema::firstOrCreate(['codice' => 'pvc'], ['nome' => 'PVC', 'ordine' => 1]);
|
||||
|
||||
$this->seedModelli($pvc, require __DIR__.'/data/modelli_pvc.php');
|
||||
|
||||
Modello::normalizzaOrdine($pvc->id);
|
||||
}
|
||||
|
||||
private function seedModelli(Sistema $sistema, array $modelli): void
|
||||
|
||||
Reference in New Issue
Block a user