@extends('layouts.app') @section('title', 'Workflow Group Templates') @section('content')
Workflow Group Templates
@can('HoReCa Workflow Templates create') @endcan

Clear
@forelse($templates as $template) @empty @endforelse
Template Name Workflows Outlets Using Status Last Updated Actions
@if(str_starts_with($template->icon ?? '', 'fa-')) @else {{ $template->icon ?? '📋' }} @endif
{{ $template->name }} @if($template->description)
{{ Str::limit($template->description, 50) }} @endif
{{ $template->workflows_count }} workflows {{ $template->outlets_count }} outlets
status === 'active' ? 'checked' : '' }}>
{{ $template->updated_at->format('Y-m-d H:i') }}
@can('HoReCa Workflow Templates update') @endcan @can('HoReCa Workflow Templates delete') @if($template->outlets_count === 0) @endif @endcan
No templates found.
@if ($templates->total() > 0)
Showing {{ $paginationDetails['firstItem'] }} to {{ $paginationDetails['lastItem'] }} of {{ $paginationDetails['total'] }} entries
@endif
{{ $templates->appends(request()->query())->links() }}
@endsection @push('js') @endpush