![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/resources/views/admin/products/ |
@extends('layouts.admin.app') @section('content') <section class="content"> @include('layouts.errors-and-messages') @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 img-products" alt=""> @endif </td> <td>{{ $product->quantity }}</td> <td>{{ config('cart.currency') }}{{ $product->price }}</td> </tr> </tbody> </table> </div> <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> @endif </section> @endsection