improved uploads

This commit is contained in:
denisdulici
2017-09-28 18:10:13 +03:00
parent e5e703f9fd
commit 80c278ab12
11 changed files with 107 additions and 15 deletions

View File

@@ -45,7 +45,7 @@
<tbody>
@foreach($items as $item)
<tr>
<td><img src="{{ asset($item->picture) }}" class="img-thumbnail" width="50" alt="{{ $item->name }}"></td>
<td><img src="{{ Storage::url($item->picture) }}" class="img-thumbnail" width="50" alt="{{ $item->name }}"></td>
<td><a href="{{ url('items/items/' . $item->id . '/edit') }}">{{ $item->name }}</a></td>
<td>{{ $item->category ? $item->category->name : trans('general.na') }}</td>
<td>{{ $item->quantity }}</td>