@if(session('success')) @endif @if(session('error')) @endif
@if(request('search')) Clear @endif
@if(auth()->check() && auth()->user()->hasRole('Admin')) @if(request('trashed') === 'only') View Active @else View Deleted @endif @endif + Add Line
@if(request('trashed') === 'only')
Showing Soft Deleted Lines.
@endif
@csrf
@forelse($lines as $line) @empty @endforelse
# Name of Line Created Date Actions
{{ $loop->iteration + ($lines->currentPage() - 1) * $lines->perPage() }} {{ $line->name }} {{ $line->created_at ? $line->created_at->format('d-m-Y') : '-' }}
Edit @csrf @method('DELETE')
No lines found.
Showing {{ $lines->firstItem() ?? 0 }} to {{ $lines->lastItem() ?? 0 }} of {{ $lines->total() }} entries
{{ $lines->links('pagination::bootstrap-5') }}
@push('scripts') @endpush