{{--
The Type cell of the Projects DataTable — docs/wireframes-v12/project-management.html:
Apartment
v12 draws every project type in the same primary-tinted pill; the type is
not a status and has no per-value colour anywhere in the wireframe, so
there is no tone to map and (which exists to map one) is
not what this is.
CR-5 §15.2.3 made a project multi-typed, and the pill stays ONE pill with
the labels comma-joined ("Apartment, Retail") rather than becoming a row of
them: the wireframe's cell is a single badge, the listing's rows are 44px
tall, and a project of four types would otherwise wrap the row.
Reached through ProjectsDataTable's rawColumns(['project_types']). Safe to
leave unescaped: the labels come from the ProjectType enum, not from the
row, and the class list is a constant. Blade still escapes the joined
string — the enum is the only thing that could change it, and that is a
code change.
yajra hands the row's model in as $model.
--}}
@php
/** @var \App\Models\Project $model */
@endphp
{{ $model->typeLabels() }}