effettuato alcune modifiche per capire cosa non va nell'upload dei contatti... da rivedere domani
This commit is contained in:
parent
03900b5b61
commit
c6f82a9c62
@ -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(){
|
||||
|
@ -1 +0,0 @@
|
||||
/var/www/html/bubofamily/storage/app/Contratti
|
@ -1,10 +1,10 @@
|
||||
@extends('admin')
|
||||
@extends('adminlte::page')
|
||||
|
||||
@section('content_header')
|
||||
<h1>{{ $dettagli->marca; }} {{ $dettagli->modello; }} targa: {{ $dettagli->targa; }}</h1>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header">{{ $dettagli->marca; }} {{ $dettagli->modello; }} targa: {{ $dettagli->targa; }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<!-- Content here -->
|
||||
|
||||
@ -243,6 +243,6 @@
|
||||
|
||||
@endsection
|
||||
|
||||
@section('script')
|
||||
@section('js')
|
||||
<script src="/js/app/auto.js"></script>
|
||||
@endsection
|
||||
|
@ -86,7 +86,7 @@
|
||||
<div class="row">
|
||||
<div class="col-xs-10"> </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-10">
|
||||
<div class="row p-3">
|
||||
@ -140,7 +140,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- MODAL EDIT Riga-->
|
||||
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
|
||||
aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
|
Loading…
Reference in New Issue
Block a user