@extends('dashboard.admin.layouts.master') @section('toolbar')

{{ trans('clinic.followups.worklist_title') }}

@endsection @section('content')
@if (session('success'))
{{ session('success') }}
@endif
{{ $pendingCount }}
{{ trans('clinic.followups.pending_count') }}
{{ $overdueCount }}
{{ trans('clinic.followups.overdue_count') }}
{{ trans('clinic.followups.patient') }} {{ trans('clinic.followups.doctor') }} {{ trans('clinic.followups.clinic') }} {{ trans('clinic.followups.last_visit') }} {{ trans('clinic.followups.due_date') }} {{ trans('clinic.followups.status') }} {{ trans('clinic.common.actions') }}
@endsection @section('js') @include('dashboard.admin.partials.crud-table-js') @include('dashboard.admin.partials.server-table', [ 'tableId' => 'followupsTable', 'url' => route('admin.dashboard.clinic.followups.index'), 'columns' => [ ['data' => 'patient', 'name' => 'patient', 'orderable' => false], ['data' => 'doctor', 'name' => 'doctor', 'orderable' => false, 'searchable' => false], ['data' => 'clinic', 'name' => 'clinic', 'orderable' => false, 'searchable' => false], ['data' => 'last_visit', 'name' => 'last_visit', 'orderable' => false, 'searchable' => false], ['data' => 'due_date', 'name' => 'due_date', 'searchable' => false], ['data' => 'status', 'name' => 'status', 'searchable' => false], ['data' => 'action', 'name' => 'action', 'orderable' => false, 'searchable' => false], ], 'order' => [[4, 'asc']], ]) @endsection