diff --git a/app/Models/Contratti.php b/app/Models/Contratti.php
index 17aaaf0..57a5f85 100644
--- a/app/Models/Contratti.php
+++ b/app/Models/Contratti.php
@@ -13,8 +13,8 @@ class Contratti extends Model
public static function storeContratto($req){
- /* dd($req);*/
- $filename=$req->file('filename')->store('Contratti');
+ dd($req);
+ /* $filename=$req->file('filename')->store('Contratti');
self::create([
'numero'=>$req['numero'],
@@ -29,7 +29,7 @@ class Contratti extends Model
'note'=>$req['note'],
'filename'=>$filename,
]);
-
+*/
}
public static function getAllContratto(){
diff --git a/public/contratti b/public/contratti
deleted file mode 120000
index d248a87..0000000
--- a/public/contratti
+++ /dev/null
@@ -1 +0,0 @@
-/var/www/html/bubofamily/storage/app/Contratti
\ No newline at end of file
diff --git a/resources/views/auto/detail.blade.php b/resources/views/auto/detail.blade.php
index 05967c1..83b730b 100644
--- a/resources/views/auto/detail.blade.php
+++ b/resources/views/auto/detail.blade.php
@@ -1,10 +1,10 @@
-@extends('admin')
+@extends('adminlte::page')
+
+@section('content_header')
+
{{ $dettagli->marca; }} {{ $dettagli->modello; }} targa: {{ $dettagli->targa; }}
+@endsection
+
@section('content')
-
@@ -243,6 +243,6 @@
@endsection
-@section('script')
+@section('js')
@endsection
diff --git a/resources/views/progetti/dettaglio.blade.php b/resources/views/progetti/dettaglio.blade.php
index 79786d0..0ae8e02 100644
--- a/resources/views/progetti/dettaglio.blade.php
+++ b/resources/views/progetti/dettaglio.blade.php
@@ -86,61 +86,61 @@
-
-
-
-
- @if($progetto->stato !='chiuso')
@endif
+
+
+
+
+ @if($progetto->stato !='chiuso')@endif
+
+
+
+
+
+ Data |
+ Descrizione |
+ Ore lavoro |
+ Costo |
+ Azioni |
+
+
+
+ @foreach($righe as $riga) @if(isset($riga->data))
+
+ {{ date('d/m/Y',strtotime($riga->data)) }} |
+ {{ $riga->descrizione }} |
+ {{ $riga->ore }} |
+ {{ $riga->prezzo }} |
+ @if($progetto->stato !='chiuso')X
+ @endif |
+
+
+ @else
+
+ non c'è |
+ non c'è |
+ non c'è |
+ non c'è |
+
+ @endif @endforeach
+
+
+
+
+
+ Totale |
+ |
+ {{ $totale->costo}} € |
+
+
+
+
-
-
-
-
- Data |
- Descrizione |
- Ore lavoro |
- Costo |
- Azioni |
-
-
-
- @foreach($righe as $riga) @if(isset($riga->data))
-
- {{ date('d/m/Y',strtotime($riga->data)) }} |
- {{ $riga->descrizione }} |
- {{ $riga->ore }} |
- {{ $riga->prezzo }} |
- @if($progetto->stato !='chiuso')X
- @endif |
-
-
- @else
-
- non c'è |
- non c'è |
- non c'è |
- non c'è |
-
- @endif @endforeach
-
-
-
-
-
- Totale |
- |
- {{ $totale->costo}} € |
-
-
-
-
-