12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- @extends('layouts.admin.app')
- @section('content')
- <!-- Main content -->
- <section class="content">
- @include('layouts.errors-and-messages')
- <!-- Default box -->
- @if($product)
- <div class="box">
- <div class="box-body">
- <table class="table">
- <thead>
- <tr>
- <td class="col-md-2">Name</td>
- <td class="col-md-3">Description</td>
- <td class="col-md-3">Cover</td>
- <td class="col-md-2">Quantity</td>
- <td class="col-md-2">Price</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{ $product->name }}</td>
- <td>{{ $product->description }}</td>
- <td>
- @if(isset($product->cover))
- <img src="{{ asset("storage/$product->cover") }}" class="img-responsive" alt="">
- @endif
- </td>
- <td>{{ $product->quantity }}</td>
- <td>{{ config('cart.currency') }} {{ $product->price }}</td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- /.box-body -->
- <div class="box-footer">
- <div class="btn-group">
- <a href="{{ route('admin.products.index') }}" class="btn btn-default btn-sm">Back</a>
- </div>
- </div>
- </div>
- <!-- /.box -->
- @endif
- </section>
- <!-- /.content -->
- @endsection
|