2024-08-27 12:03:06 +00:00
|
|
|
@extends('layouts.app')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<div class="page-content">
|
|
|
|
<div class="container-fluid">
|
|
|
|
@include('layouts.partials.breadcrumb', ['title' => $title])
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-8">
|
|
|
|
<div class="card card-body p-4">
|
|
|
|
<div>
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table-borderless mb-0 table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th><span class="fw-medium">Product Name</span></th>
|
|
|
|
<td>{{ $product->name }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2024-09-11 06:47:15 +00:00
|
|
|
<th><span class="fw-medium">Product Code</span></th>
|
|
|
|
<td>{{ $product->code }}</td>
|
2024-08-27 12:03:06 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th><span class="fw-medium">Category</span></th>
|
|
|
|
<td>{{ optional($product->category)->title }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2024-09-11 06:47:15 +00:00
|
|
|
<th><span class="fw-medium">Fabric Category</span></th>
|
|
|
|
<td>{{ optional($product->fabricCategory)->title }}</td>
|
2024-08-27 12:03:06 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2024-09-11 06:47:15 +00:00
|
|
|
<th><span class="fw-medium">Description</span></th>
|
|
|
|
<td>{{ optional($product->desc) }}</td>
|
2024-08-27 12:03:06 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2024-09-11 06:47:15 +00:00
|
|
|
<th><span class="fw-medium">Status</span></th>
|
2024-08-27 12:03:06 +00:00
|
|
|
<td>{{ $product->status }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="mb-3 text-end">
|
|
|
|
<a href="{{ route('product.index') }}" class="btn btn-secondary w-sm">Back</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@push('js')
|
|
|
|
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
|
|
|
|
@endpush
|