@extends('admin.layouts.contentLayoutMaster') @section('title','原料分類') @section('vendor-styles') @endsection @section('page-styles') @endsection @section('content') {{-- search bar --}}
搜尋
關鍵字
狀態
@if (!empty($status)) @foreach ($status as $key => $value)
input('status') == (string)$key ? 'selected' : '' }} >{{ $value }}
@endforeach @endif
列表
@can('原料管理-原料分類列表-編輯') {{--
新增
--}} @endcan
@if ($material_categories->isNotEmpty()) @foreach ($material_categories as $material_category) @endforeach @else @include('admin.panels.list-no-data') @endif
名稱
狀態
建立時間
操作
{{ $material_category->name }}
{{ $status[$material_category->status] }}
{{ $material_category->created_at }}
@csrf @method('DELETE') @can('原料管理-原料分類列表-編輯')
@endcan @can('原料管理-原料分類列表-刪除') {{--
--}} @endcan
@endsection @section('vendor-scripts') @endsection @section('page-scripts') @endsection