@extends('layouts.master') @section('title') Follow-ups @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Supplier Management @endslot @slot('title') CRM Follow-ups @endslot @endcomponent @if(session('success'))
{{ session('success') }}
@endif
@forelse($followups as $f) @empty @endforelse
TitleSupplierRequisitionPriorityDueAssigneeStatusAction
{{ $f->title }}@if($f->notes){{ \Illuminate\Support\Str::limit($f->notes,60) }}@endif {{ $f->supplier?->name }} {{ $f->requisition?->reference_no ?? '—' }} @php $pc=['high'=>'danger','normal'=>'secondary','low'=>'light'][$f->priority]??'secondary'; @endphp{{ $f->priority }} @if($f->due_date){{ $f->due_date->format('d M Y') }}@if($f->isOverdue()) @endif @else — @endif {{ $f->assignee?->name ?? '—' }} @if($f->status==='done')Done@elseOpen@endif @if($f->status==='open')
@csrf
@else
@csrf
@endif
No follow-ups. Create one.
{{ $followups->links('pagination::bootstrap-5') }}
@endsection