From c6f82a9c628c450102f053f4d87e7fe7d442b163 Mon Sep 17 00:00:00 2001 From: FlavioBarachino Date: Thu, 5 Oct 2023 21:11:08 +0200 Subject: [PATCH] effettuato alcune modifiche per capire cosa non va nell'upload dei contatti... da rivedere domani --- app/Models/Contratti.php | 6 +- public/contratti | 1 - resources/views/auto/detail.blade.php | 14 +-- resources/views/progetti/dettaglio.blade.php | 104 +++++++++---------- 4 files changed, 62 insertions(+), 63 deletions(-) delete mode 120000 public/contratti 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') -
-
-

{{ $dettagli->marca; }} {{ $dettagli->modello; }} targa: {{ $dettagli->targa; }}

-
-
@@ -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 +
+
+ + + + + + + + + + + + @foreach($righe as $riga) @if(isset($riga->data)) + + + + + + + + + @else + + + + + + + @endif @endforeach + + +
DataDescrizioneOre lavoroCostoAzioni
{{ date('d/m/Y',strtotime($riga->data)) }}{{ $riga->descrizione }}{{ $riga->ore }}{{ $riga->prezzo }}@if($progetto->stato !='chiuso')X   + @endif
non c'ènon c'ènon c'ènon c'è
+ + + + + + +
Totale{{ $totale->costo}} €
+
+
-
- - - - - - - - - - - - @foreach($righe as $riga) @if(isset($riga->data)) - - - - - - - - - @else - - - - - - - @endif @endforeach - - -
DataDescrizioneOre lavoroCostoAzioni
{{ date('d/m/Y',strtotime($riga->data)) }}{{ $riga->descrizione }}{{ $riga->ore }}{{ $riga->prezzo }}@if($progetto->stato !='chiuso')X   - @endif
non c'ènon c'ènon c'ènon c'è
- - - - - - -
Totale{{ $totale->costo}} €
-
-
-