@extends('layouts.customer') @section('title', 'Automation') @section('page-title', 'Automation') @section('content')
Search
Create Automation
@forelse($automations as $automation) @empty @endforelse
Name Status Updated Actions
{{ $automation->name }}
@php $statusColors = [ 'draft' => 'bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300', 'active' => 'bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200', 'inactive' => 'bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200', ]; @endphp {{ ucfirst($automation->status) }} {{ $automation->updated_at?->format('M d, Y') }}
Edit
@csrf @method('DELETE') Delete
No automations found. Create your first automation
@if($automations->hasPages())
{{ $automations->links() }}
@endif
@endsection