{{Form::label('search', 'Search', ['class'=>'control-label dark:text-slate-300 text-l'])}}
{{Form::text('search', $_GET['search'] ?? null, ['class'=>'dark:bg-slate-800 dark:text-slate-300 border-none','onkeydown' => 'search()'])}}
ID |
CId |
Category |
Sort |
Name |
Subtitle |
Description |
Slug |
Qty on Hand |
Cost |
Price |
Status |
@foreach ($products as $product)
{{$product->id}} |
@if($product->category_id)
{{$product->category->id}}
@endif
|
@if($product->category_id)
{{$product->category->title}}
@endif
|
{{$product->sort}} |
{{$product->title}} |
{{$product->subtitle}} |
{!! $product->description !!} |
{{$product->slug}} |
@if($product->quantity_on_hand < 10)
{{ $product->quantity_on_hand}}
@else
{{ $product->quantity_on_hand}}
@endif
|
${{ number_format($product->cost,2)}} |
${{ number_format($product->price,2)}} |
@if($product->published)
Published
@else
Not Published
@endif
@if($product->is_sellable)
Sellable
@else
Not Sellable
@endif
|
@endforeach
{{-- {{$products->links()}} --}}