Refactor navigation icon declarations in various resources for consistency; enhance Group model with new relationships and fillable properties; update Hotel and Pilgrim models with fillable attributes; improve table configurations across resources.
This commit is contained in:
1 parent
f9f4c476ce
commit
e2b47eb73f
39 files changed
+634
-53
No files matched your search
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Hotels\Schemas;
|
||||
|
||||
use Filament\Infolists;
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class HotelInfolist
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema->components([
|
||||
Infolists\Components\TextEntry::make('name'),
|
||||
Infolists\Components\TextEntry::make('city'),
|
||||
Infolists\Components\ImageEntry::make('image')
|
||||
->columnSpanFull(),
|
||||
Infolists\Components\ImageEntry::make('images')
|
||||
->columnSpanFull(),
|
||||
Infolists\Components\TextEntry::make('geo_location'),
|
||||
Infolists\Components\TextEntry::make('haram_distance'),
|
||||
Infolists\Components\TextEntry::make('star'),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user