init
This commit is contained in:
232 files changed
+25416
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\BazaarReviews\Schemas;
|
||||
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class BazaarReviewForm
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
//
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\BazaarReviews\Schemas;
|
||||
|
||||
use Filament\Infolists\Components\IconEntry;
|
||||
use Filament\Infolists\Components\TextEntry;
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class BazaarReviewInfolist
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
TextEntry::make('bazaar_review_id')->label('Bazaar review ID'),
|
||||
TextEntry::make('rate')->badge(),
|
||||
TextEntry::make('text')->columnSpanFull(),
|
||||
TextEntry::make('app_version_code'),
|
||||
IconEntry::make('is_edited')->boolean(),
|
||||
TextEntry::make('published_at')->dateTime(),
|
||||
TextEntry::make('developer_reply_text')->columnSpanFull(),
|
||||
TextEntry::make('developer_reply_email'),
|
||||
TextEntry::make('developer_replied_at')->dateTime(),
|
||||
TextEntry::make('bazaar_response')->formatStateUsing(fn (?array $state): string => json_encode($state, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE))->columnSpanFull(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user