From 4e5cd6bc29d3a2ca0dabc7d3ad153a58b6221fb1 Mon Sep 17 00:00:00 2001 From: Flavio Barachino Date: Wed, 3 May 2023 18:45:22 +0200 Subject: [PATCH] sistemazione form per inserimento task/costi progetto e creazione model migration e controller RigaProgetto --- .../Controllers/RigaProgettoController.php | 10 ++++ app/Models/RigaProgetto.php | 11 ++++ ..._03_164304_create_riga_progettos_table.php | 31 ++++++++++++ resources/views/progetti/dettaglio.blade.php | 50 ++++++++++++++++--- 4 files changed, 95 insertions(+), 7 deletions(-) create mode 100644 app/Http/Controllers/RigaProgettoController.php create mode 100644 app/Models/RigaProgetto.php create mode 100644 database/migrations/2023_05_03_164304_create_riga_progettos_table.php diff --git a/app/Http/Controllers/RigaProgettoController.php b/app/Http/Controllers/RigaProgettoController.php new file mode 100644 index 0000000..e58e9a0 --- /dev/null +++ b/app/Http/Controllers/RigaProgettoController.php @@ -0,0 +1,10 @@ +id(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('riga_progettos'); + } +} diff --git a/resources/views/progetti/dettaglio.blade.php b/resources/views/progetti/dettaglio.blade.php index 07b084a..8467474 100644 --- a/resources/views/progetti/dettaglio.blade.php +++ b/resources/views/progetti/dettaglio.blade.php @@ -93,14 +93,50 @@ - + +
-
-
- - -
-
+
+
+
+ Inserisci riga +
+
+
+
+ @csrf +
+ + + + + +
+
+ + + + + +
+
+ + + + +
+
+ + + + +
+ +
+
+
+
+