@extends('backend.partials.master') @section('title') {{ ___('menus.my_tasks') }} @endsection @section('maincontent') @foreach($tasks as $t) @php $pc = $t->priority === 'High' ? 'danger' : ($t->priority === 'Low' ? 'success' : 'warning'); $sc = $t->status === 'Done' ? 'success' : ($t->status === 'In Progress' ? 'warning' : 'secondary'); @endphp {{ $t->title }} {{ $t->project }} {{ $t->assignedTo->name ?? '—' }} {{ $t->due_date?->translatedFormat('d M Y') }} {{ admin_label($t->priority) }} {{ admin_label($t->status) }} @endforeach @endsection