File tree Expand file tree Collapse file tree
app/Filament/Resources/PointResource/Pages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,6 +159,16 @@ public function infolist(Infolist $infolist): Infolist
159159
160160 Textarea::make ('notes ' )
161161 ->label (__ ('map_points.fields.notes ' )),
162+ \Filament \Forms \Components \Section::make (__ ('map_points.fields.manual_location ' ))
163+ ->collapsed ()
164+ ->schema ([
165+ TextInput::make ('address ' )
166+ ->label (__ ('map_points.fields.address ' )),
167+ TextInput::make ('location.lat ' )
168+ ->label (__ ('map_points.fields.latitude ' )),
169+ TextInput::make ('location.lng ' )
170+ ->label (__ ('map_points.fields.longitude ' )),
171+ ]),
162172 ])
163173 ->fillForm ([
164174 'location ' => [
Original file line number Diff line number Diff line change 6363
6464 ],
6565 'fields ' => [
66+ 'manual_location ' => 'Seteaza manual locatia ' ,
6667 'address ' => 'Adresǎ ' ,
6768 'coordinate ' => 'Coordonate ' ,
6869 'notes ' => 'Notițe localizare (private) ' ,
You can’t perform that action at this time.
0 commit comments