Skip to content

Commit

Permalink
remove observation
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Sep 16, 2024
1 parent acbf777 commit 40134ae
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/Filament/Resources/PointResource/Pages/ViewMapPoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ public function infolist(Infolist $infolist): Infolist
TextEntry::make('notes')
->icon('heroicon-s-pencil-square')
->label(__('map_points.fields.notes')),

TextEntry::make('observations')
->icon('heroicon-s-pencil-square')
->label(__('map_points.fields.observations')),
]
)
->headerActions(
Expand All @@ -149,8 +145,6 @@ public function infolist(Infolist $infolist): Infolist
->hiddenLabel(),
Textarea::make('notes')
->label(__('map_points.fields.notes')),
Textarea::make('observations')
->label(__('map_points.fields.observations')),

]
)->action(function (array $data, $livewire) {
Expand All @@ -177,7 +171,6 @@ public function infolist(Infolist $infolist): Infolist
'location' => ['lat' => $this->record->location->latitude, 'lng' => $this->record->location->longitude],
'nominatim_autocomplete' => $this->record->address,
'notes' => $this->record->notes,
'observations' => $this->record->observations,
]),
]
)->columnSpan(3),
Expand Down

0 comments on commit 40134ae

Please sign in to comment.