@extends('layouts.app') @section('content') @php $buttonData = array( 'label' => 'Link test', ); @endphp
Products
@php if( count($products) > 1) $count = 'products'; else $count = 'product'; @endphp
You have total {{ count($products) }} {{ $count }}.
Bulk Action
Edit
Remove
Apply
Actions
{{--
Export
--}}
Import
Add Product
Name
Price
Brand
Categories
Status
Created at
Action
@php $filterAction = array( array( 'label' => 'Clear Filter', 'type' => 'danger resetFilter', 'click' => '', ), array( 'label' => 'Submit', 'type' => 'primary', 'click' => '', ) ); @endphp
@csrf
@forelse($brands as $key => $brand)
{{ $brand->name }}
@empty
@endforelse
@forelse($categories as $key => $cat)
{{ $cat->name }}
@empty
@endforelse
@forelse($models as $key => $mod)
{{ $mod->name }}
@empty
@endforelse
@endsection @push('footerScripts')