Initial Commit

This commit is contained in:
dann4624
2022-09-28 09:38:08 +02:00
parent cac476f80f
commit 2d04a269e6
355 changed files with 52166 additions and 25 deletions
@@ -0,0 +1,38 @@
@extends('Layouts.master')
@section('content')
<div class="main-container pb-4">
@include('Partials.Pages.index_top')
<table class="table table-striped table-hover mt-4">
<thead>
<th>@lang('name')</th>
<th>@lang('action')</th>
</thead>
<tbody>
@foreach($data as $object)
<tr>
<td>
@can('cabelCategories_view')
<a href="{{route('cabelCategories.show',['cabelCategory' => $object])}}" class="btn btn-success">
{{$object->name}}
</a>
@else
{{$role->name}}
@endcan
</td>
<td>
@can('cabelCategories_edit')
<a href="{{route('cabelCategories.edit',['cabelCategory' => $object])}}"
class="btn btn-outline-success">@lang('edit')</a>
@endcan
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@endsection
@section('scripting')
@endsection