Skip to content

Commit 0e723e5

Browse files
committed
wip
1 parent 98faf6b commit 0e723e5

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

app/Filament/Resources/AppointmentResource/RelationManagers/ServicesRelationManager.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use Filament\Tables\Table;
2121
use Illuminate\Database\Eloquent\Builder;
2222
use Illuminate\Database\Eloquent\Model;
23+
use Illuminate\Support\HtmlString;
2324

2425
class ServicesRelationManager extends RelationManager
2526
{
@@ -81,14 +82,14 @@ public function table(Table $table): Table
8182
->icon('heroicon-o-plus-circle')
8283
->color('primary')
8384
->recordTitle(
84-
fn (Intervention $record, Appointment $ownerRecord) => view('components.forms.appointment-intervention-item', [
85+
fn (Intervention $record, Appointment $ownerRecord) => view('forms.components.appointment-intervention-item', [
8586
'appointment' => $ownerRecord,
8687
'intervention' => $record,
8788
])
8889
)
8990
->recordSelect(
9091
fn (Select $select) => $select
91-
->helperText(__('appointment.service_already_associated'))
92+
->helperText(new HtmlString(__('appointment.service_already_associated')))
9293
->allowHtml()
9394
)
9495
->recordSelectSearchColumns([

app/Filament/Resources/ReportResource/Pages/GenerateStandardReport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ protected function getFormSchema(): array
100100
->withActivityAreas()
101101
->get()
102102
->mapWithKeys(fn (User $nurse) => [
103-
$nurse->getKey() => view('components.forms.option-label', [
103+
$nurse->getKey() => view('forms.components.option-label', [
104104
'name' => $nurse->full_name,
105105
'suffix' => $nurse->activityCities
106106
->pluck('name')

app/Forms/Components/Location.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public static function getRenderedOptionLabel(?Model $model): ?string
123123
return null;
124124
}
125125

126-
return view('components.forms.option-label', [
126+
return view('forms.components.option-label', [
127127
'name' => $model->name,
128128
'suffix' => $model->parent_name,
129129
])->render();

resources/views/forms/components/appointment-intervention-item.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
</div>
77

88
@if ($intervention->appointment_id !== null && $intervention->appointment_id !== $appointment->id)
9-
<x-heroicon-o-exclamation class="w-6 h-6 text-warning-500" />
9+
<x-heroicon-o-exclamation-triangle class="w-6 h-6 text-warning-500" />
1010
@endif
1111
</div>

0 commit comments

Comments
 (0)